/*서브페이지*/

/* 구독하기 */
.content_header {
  text-align: center;
  margin-bottom: 70px;
}
.content_header h1 {
  font-size: 32px;
  font-weight: bold;
  color: #27180c;
  margin-bottom: 7px;
  font-family: "Merriweather", serif;
  line-height: 1.4;
}
.content_header p {
  font-size: 16px;
  color: #655747;
  margin: 0;
}

.featured {
  margin-bottom: 50px;
}
.featured-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2%;
}
.featured-grid .sub_card {
  background: #fff;
  border: 2px solid #ded6d1;
  padding: 50px 30px 130px;
  text-align: left;
  position: relative;
  width: 32%;
  border-radius: 0;
}
.featured-grid .sub_card:hover {
  border: 2px solid #27180c;
}
.featured-grid .card-label {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  font-size: 15px;
  font-weight: 500;
  color: white;
}
.featured-grid .card-title {
  margin: 20px 0 10px 0;
}
.featured-grid .card-title-text {
  font-size: 22px;
  font-weight: 600;
}
.featured-grid .card-title-duration {
  font-size: 16px;
  margin: 3px 0 20px;
  display: block;
}
.featured-grid .card-price {
  margin: 27px 0 10px 0;
}
.featured-grid .card-price-text {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 2px;
}
.featured-grid .card-price-duration {
  font-size: 16px;
}
.featured-grid .card-content-text {
  margin: 25px 0 10px 0;
  font-size: 17px;
  font-weight: 500;
  color: #27180c;
  line-height: 1.7;
}
.featured-grid .btn-subscribe {
  background: #27180c;
  color: white;
  border: none;
  padding: 16px 0;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  display: block;
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
}
.featured-grid .btn-subscribe:hover {
  color: white;
}

.all-section {
  margin-top: 40px;
}
.all-section .section-header {
  display: flex;
  justify-content: right;
  align-items: center;
  margin-bottom: 30px;
}
.all-section .products-grid .sub_card {
  width: 100%;
  height: 420px;
  margin-bottom: 50px;
  padding: 26px 24px 100px;
}
.all-section .section-title {
  font-size: 24px;
  font-weight: bold;
  color: #27180c;
  margin: 0;
}
.all-section .toggle-btn {
  background: white;
  border: 1px solid #27180c;
  height: 48px;
  line-height: 46px;
  width: 220px;
  text-align: center;
  font-size: 16px;
  color: #27180c;
  cursor: pointer;
  letter-spacing: -0.5px;
}
.all-section .toggle-btn img {
  margin-left: 10px;
  height: 8px;
  width: auto;
  vertical-align: 1.5px;
}
.all-section .toggle-icon {
  transition: transform 0.2s ease;
}
.all-section .toggle-icon.rotated {
  transform: rotate(180deg);
}
.all-section .all-content {
  display: none;
}
.all-section .all-content.show {
  display: block;
  padding-top: 40px;
}

.all-section .category-col {
  width: 32%;
}
.all-section .category-title {
  font-size: 20px;
  font-weight: bold;
  color: #27180c;
  margin-bottom: 25px;
  text-align: center;
}
.subscription-footer {
  background: #f5f3f0;
  padding: 35px;
  margin-top: 40px;
  border-radius: 0;
}
.subscription-footer h2 {
  font-size: 18px;
  font-weight: bold;
  color: #27180c;
  text-align: center;
  margin-bottom: 12px;
}
.subscription-footer p {
  font-size: 15.5px;
  color: #27180c;
  line-height: 1.6;
  text-align: center;
}

/*구독기간 선택*/
.subscription-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}
.subscription-container .selected-product {
  margin-bottom: 30px;
}
.subscription-container .section-title {
  font-size: 18px;
  font-weight: bold;
  color: #27180c;
  margin-bottom: 15px;
}
.subscription-container .product-info {
  background: #f5f3f0;
  padding: 25px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.subscription-container .product-details {
  flex: 1;
}
.subscription-container .product-name {
  font-size: 18px;
  font-weight: bold;
  color: #27180c;
  margin-bottom: 5px;
}
.subscription-container .product-sale-price {
  font-size: 15px;
  color: #614f39;
  font-weight: 500;
}
.subscription-container .product-price-info {
  text-align: right;
}
.subscription-container .monthly-price {
  font-size: 18px;
  font-weight: bold;
  color: #27180c;
  margin-bottom: 5px;
}
.subscription-container .vat-note {
  font-size: 13px;
  color: #615547;
}
.subscription-container .subscription-period {
  margin-bottom: 30px;
}
.subscription-container .period-tip {
  display: flex;
  align-items: center;
  padding: 7px 0;
}
.subscription-container .tip-icon {
  font-size: 16px;
  margin-right: 8px;
}
.subscription-container .tip-text {
  font-size: 15px;
  color: #615241;
  font-weight: 500;
}
.subscription-container .subscription-options {
  display: flex;
  flex-direction: column;
  gap: 25px;
  border: 1px solid #ccc2bc;
  padding: 25px;
}
.subscription-container .option-card {
  border: 1px solid #9b8d84;
  padding: 25px 30px;
  cursor: pointer;
  position: relative;
}
.subscription-container .option-card:hover {
  border: 1px solid #8b4513;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.subscription-container .option-card.selected {
  border: 2px solid #27180c;
  background: #f9f7f6;
}
.subscription-container .option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.subscription-container .option-title {
  font-size: 18px;
  font-weight: bold;
  color: #27180c;
  display: flex;
  align-items: center;
  gap: 5px;
}
.subscription-container .option-title .option-title-text {
  margin-right: 8px;
}
.subscription-container .option-badges {
  display: flex;
  gap: 8px;
}
.subscription-container .badge {
  padding: 0 10px;
  height: 26px;
  line-height: 26px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 500;
}
.subscription-container .badge.recommended {
  background: #e2a90e;
  color: #fff;
}
.subscription-container .badge.lowest {
  background: #241300;
  color: white;
}
.subscription-container .option-content {
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
}
.subscription-container .option-left {
  flex: 1;
}
.subscription-container .monthly-fee {
  margin-bottom: 0;
}
.subscription-container .monthly-fee-label {
  font-size: 14px;
  color: #7d7164;
  margin-right: 8px;
}
.subscription-container .monthly-fee-amount {
  font-size: 20px;
  font-weight: bold;
  color: #ff3c3c;
}
.subscription-container .savings {
  font-size: 14px;
  color: #4e9a4c;
  font-weight: 400;
  padding-top: 8px;
  width: 100%;
}
.subscription-container .option-right {
  text-align: right;
}
.subscription-container .option-right div {
  text-align: left;
}
.subscription-container .total-fee-label {
  font-size: 14px;
  color: #666;
}
.subscription-container .total-fee-amount {
  font-size: 18px;
  font-weight: bold;
  color: #27180c;
}
.subscription-container .payment-footer {
  background: #241300;
  color: white;
  padding: 20px;
  text-align: center;
  margin: 30px 0 40px;
  cursor: pointer;
}
.subscription-container .payment-info {
  font-size: 15px;
  margin-bottom: 4px;
  opacity: 0.9;
}
.subscription-container .payment-amount {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0;
  background: none;
  border: none;
  color: white;
}

/*구독결제*/
.shop-order-form {
  position: relative;
  background: #fff;
}
.shop-order-form .order-member-area {
  position: relative;
  margin-right: 410px;
  padding: 0;
}
.shop-order-form .sod-frm-title {
  position: relative;
  margin-bottom: 15px;
  padding-bottom: 0;
  border-bottom: none;
}
.shop-order-form .sod-frm-title h4 {
  font-size: 20px;
  font-weight: bold;
  color: #27180c;
  margin: 0;
  line-height: 1;
  padding: 20px 0;
  border-bottom: 1px solid #241300;
}
.shop-order-form .sod-frm-orderer {
  padding: 0;
  margin-bottom: 0;
}
.shop-order-form .sod-frm-orderer .sod-frm-title h4 {
  border-bottom: none;
  padding: 0;
}
.shop-order-form .sod-frm-taker {
  padding: 0;
  margin-bottom: 0;
}
.shop-order-form .sod-frm-recipient {
  padding: 0;
}
.shop-order-form .order-product-box {
  background: #fff;
  border: 1px solid #a2978a;
  padding: 23px 30px;
  margin-bottom: 15px;
}
.shop-order-form .product-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
  flex-wrap: wrap;
}
.shop-order-form .product-left {
  flex: 1;
}
.shop-order-form .product-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.shop-order-form .product-name {
  font-size: 17px;
  font-weight: bold;
  color: #27180c;
  margin-bottom: 3px;
}
.shop-order-form .product-details {
  font-size: 14px;
  color: #614f39;
  margin-bottom: 13px;
  font-weight: 500;
}
.shop-order-form .monthly-price {
  font-size: 17px;
  font-weight: bold;
  color: #27180c;
  margin-bottom: 0;
}
.shop-order-form .coupon-btn {
  background: #241300;
  color: white;
  border: none;
  padding: 7px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.shop-order-form .points-info {
  display: flex;
  justify-content: space-between;
  background: #f5f3f2;
  padding: 15px 30px;
  margin: 15px 0 25px;
  color: #67625c;
  font-size: 14px;
  flex-wrap: wrap;
}
.shop-order-form .points-info span:first-child {
  font-weight: bold;
  color: #27180c;
  font-size: 16px;
}
.shop-order-form .inline-group {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 15px;
  margin: 0;
}
.shop-order-form .inline-group label {
  display: inline-block !important;
  width: auto !important;
  margin-right: 15px;
  white-space: nowrap;
  vertical-align: middle;
  font-weight: 400 !important;
  font-size: 14px;
  line-height: 28px;
}
.shop-order-form .inline-group .deli_select_btn {
  border: 1px solid #241300;
  color: #241300;
  background: #fff;
  padding: 3px 8px;
}
.shop-order-form .inline-group input[type="radio"] {
  margin-right: 5px;
  vertical-align: middle;
}
.shop-order-form .order-table {
  margin: 0;
}
.shop-order-form .order-table table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}
.shop-order-form .order-table th {
  width: 110px;
  padding: 8px 0;
  background: none;
  text-align: left;
  font-weight: bold;
  color: #27180c;
  vertical-align: top;
  height: 46px;
  line-height: 46px;
  font-size: 16px;
}
.shop-order-form .order-table td {
  padding: 8px 0;
  background: transparent;
}
.shop-order-form .order-table input[type="text"],
.shop-order-form .order-table input[type="email"],
.shop-order-form .order-table input[type="tel"],
.shop-order-form .order-table textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #dfdcd5;
  font-size: 14px;
}
.shop-order-form .order-table input[type="text"],
.shop-order-form .order-table input[type="email"],
.shop-order-form .order-table input[type="tel"] {
  height: 42px;
}
.shop-order-form .order-table textarea {
  height: 90px;
  resize: none;
  overflow: auto;
}
.shop-order-form .order-table label {
  margin-right: 15px;
  font-weight: 500;
  width: 100%;
  margin-bottom: 0;
  font-size: 14px;
  color: #27180c;
}
.shop-order-form .order-table input[type="radio"],
.shop-order-form .order-table input[type="checkbox"] {
  margin-right: 5px;
}
.shop-order-form .search-btn {
  background: #241300;
  color: white;
  border: none;
  padding: 0 20px;
  height: 42px;
  line-height: 42px;
  font-size: 14px;
  cursor: pointer;
  margin-left: 10px;
}
.shop-order-form .order-payment-area {
  position: absolute;
  top: 0;
  right: 0;
  width: 370px;
  height: 100%;
  background: #fff;
  padding: 35px 0;
}
.shop-order-form .payment-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}
.shop-order-form .payment-info-box {
  background: #fff;
  border: 2px solid #241300;
  padding: 20px;
  margin-bottom: 20px;
}
.shop-order-form .payment-info-box h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}
.shop-order-form .payment-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}
.shop-order-form .payment-row:last-child {
  border-top: 1px solid #c4baae;
  padding-top: 18px;
}
.shop-order-form .payment-label {
  font-size: 16px;
  color: #27180c;
}
.shop-order-form .payment-amount {
  font-size: 16px;
  color: #27180c;
  font-weight: 500;
}
.shop-order-form .payment-total {
  background: #fff;
  border: 0;
  padding: 15px 0;
  font-weight: bold;
  margin-bottom: 5px;
}
.shop-order-form .payment-total .payment-amount {
  color: #ff3c3c;
  font-weight: bold;
}
.shop-order-form .payment-row .shop-order-form .payment-total-label {
  font-size: 14px;
  margin-bottom: 5px;
  color: #333;
}
.shop-order-form .payment-total-amount {
  font-size: 20px;
  font-weight: bold;
  color: #e53e3e;
}
.shop-order-form .payment-button {
  width: 100%;
  background: #241300;
  color: white;
  padding: 13px 15px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border: none;
}
.shop-order-form .order_privacy * {
  font-family: "Noto Sans KR", sans-serif !important;
  line-height: 1.4;
}
.shop-order-form .order_privacy p {
  margin-bottom: 10px;
}

/*마이페이지 대시보드*/
.mypage-wrapper {
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  gap: 50px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.mypage-wrapper .mypage-sidebar-title {
  font-family: "Merriweather", serif;
  font-size: 28px;
  font-weight: bold;
  padding-bottom: 17px;
}
.dashboard-container {
  flex: 1;
  background: white;
  padding: 0;
  margin-top: 53px;
}
.mypage-wrapper .without-sidebar .dashboard-container {
  max-width: 100%;
  margin: 0;
  padding: 20px;
}
.mypage-wrapper .subscription-status-section {
  margin-bottom: 40px;
}
.mypage-wrapper .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.mypage-wrapper .section-title {
  font-size: 20px;
  font-weight: bold;
  color: #27180c;
  margin: 0;
}
.mypage-wrapper .view-all-link {
  color: #7a6b5b;
  text-decoration: none;
  font-size: 15px;
}
.mypage-wrapper .view-all-link img {
  height: 11px;
  opacity: 0.7;
  vertical-align: 0;
  margin-left: 5px;
}
.mypage-wrapper .view-all-link:hover {
  color: #333;
  text-decoration: none;
}
.mypage-wrapper .subscription-cards-container {
  display: flex;
  gap: 0;
  border: 1px solid #e1dad8;
  background: #fcfaf9;
}
.mypage-wrapper .subscription-info-box {
  border: none;
  padding: 30px 35px;
  position: relative;
  width: 33.3333%;
}
.mypage-wrapper .subscription-info-box::after {
  content: "";
  position: absolute;
  right: 0;
  top: 30px;
  bottom: 30px;
  width: 1px;
  background: #e1dad8;
}
.mypage-wrapper .content_no {
  width: 100%;
  text-align: center;
  color: #897763;
  font-size: 15px;
}
.mypage-wrapper .subscription-info-box:last-child::after {
  display: none;
}
.mypage-wrapper .subscription-info-box:nth-child(3n)::after {
  display: none;
}
.mypage-wrapper .subscription-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
}
.mypage-wrapper .subscription-name {
  font-size: 17px;
  font-weight: bold;
  color: #27180c;
  margin: 0;
  width: calc(100% - 95px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mypage-wrapper .status-badge {
  padding: 4px 10px;
  background: #dcf3d9;
  color: #155724;
  font-size: 12px;
  font-weight: 500;
  border-radius: 15px;
}
.mypage-wrapper .subscription-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}
.mypage-wrapper .detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.mypage-wrapper .detail-label {
  font-size: 14px;
  color: #27180c;
  font-weight: normal;
  width: 68px;
}
.mypage-wrapper .detail-value {
  font-size: 14px;
  font-weight: 600;
  color: #27180c;
  width: calc(100% - 72px);
  text-align: right;
}
.mypage-wrapper .subscription-points {
  color: #27180c;
  font-weight: 600;
  font-size: 14px;
}
.mypage-wrapper .view-details-btn {
  background: white;
  color: #27180c;
  padding: 10px 16px;
  border: 1px solid #27180c;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
.mypage-wrapper .view-details-btn:hover {
  color: #27180c;
  text-decoration: none;
}
.mypage-wrapper .order-details-section {
  margin-bottom: 40px;
}
.mypage-wrapper .order-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  table-layout: fixed;
}
.mypage-wrapper .order-table thead {
  border-top: 1px solid #241300;
  border-color: #241300;
}
.mypage-wrapper .order-table th,
.mypage-wrapper .order-table td {
  padding: 15px 10px;
  text-align: center;
  border-bottom: 1px solid #e7e3e1;
  border-color: #e7e3e1;
}
.mypage-wrapper .order-table th {
  font-weight: bold;
  color: #817568;
  font-size: 15px;
}
.mypage-wrapper .order-table td {
  font-size: 15px;
  color: #27180c;
}
.mypage-wrapper .order-table td.empty-table {
  color: #897763;
}
.mypage-wrapper .order-number {
  text-decoration: underline;
}
.mypage-wrapper .order-number:hover {
  color: #0056b3;
  text-decoration: underline;
}
.mypage-wrapper .product-info {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.mypage-wrapper .product-image {
  width: 70px;
  height: 70px;
  border-radius: 0;
  flex-shrink: 0;
  border: 1px solid #e7e3e1;
}
.mypage-wrapper .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mypage-wrapper .product-info span {
  width: calc(100% - 80px);
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mypage-wrapper .order-status {
  font-size: 15px;
  font-weight: bold;
  color: #27180c;
}

.mypage-sidebar {
  width: 270px;
  flex-shrink: 0;
  height: fit-content;
  display: flex;
  flex-direction: column;
}
.mypage-sidebar-menu {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  background: white;
  border: 1px solid #e1dad8;
  border-radius: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mypage-sidebar-menu li {
  border-bottom: none;
  flex: 1;
  display: flex;
}
.mypage-sidebar-menu li:last-child {
  border-bottom: none;
}
.mypage-sidebar-menu a {
  display: flex;
  align-items: center;
  padding: 10px 25px;
  color: #a49e8d;
  text-decoration: none;
  font-size: 16px;
  flex: 1;
  font-weight: 500;
}
.mypage-sidebar-menu a:hover {
  color: #a49e8d;
  text-decoration: none;
}
.mypage-sidebar-menu .active a {
  color: #27180c;
  font-weight: bold;
}

/*마이페이지 구독관리*/
.subscription_manage .subscription-list-container {
  flex: 1;
  background: white;
  padding: 0;
  margin-top: 53px;
}
.subscription_manage.without-sidebar .subscription-list-container {
  max-width: 100%;
  margin: 0;
  padding: 20px;
}
.subscription_manage .cancellation-summary-section {
  background: #f2f1ee;
  padding: 25px;
  margin-bottom: 30px;
  text-align: center;
  border: 0;
}
.subscription_manage .cancellation-summary-title {
  font-size: 18px;
  font-weight: bold;
  color: #27180c;
  margin-bottom: 9px;
}
.subscription_manage .cancellation-summary-content {
  font-size: 15px;
  color: #534539;
  line-height: 1.7;
}
.subscription_manage .current-subscription-section {
  background: white;
  border: 0;
  margin-bottom: 40px;
}
.subscription_manage .current-subscription-header {
  padding: 20px 0;
  border-bottom: 1px solid #27180c;
}
.subscription_manage .current-subscription-title {
  font-size: 18px;
  font-weight: bold;
  color: #27180c;
  margin: 0;
}
.subscription_manage .subscription-item {
  padding: 20px 10px;
  border-bottom: 1px solid #e7e3e1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  position: relative;
}

.subscription_manage .subscription-info {
  width: calc(100% - 410px);
}
.subscription_manage .subscription-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  justify-content: start;
}
.subscription_manage .status-badge {
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 500;
  color: white;
}
.subscription_manage .status-active {
  background: #dcf3d9;
  color: #155724;
}
.subscription_manage .status-cancel-request {
  background: #f8d7da;
  color: #cf1616;
}
.subscription_manage .status-return-inspect {
  background: #f9eff9;
  color: #5e0b64;
}
.subscription_manage .status-settlement {
  background: #f8f2d5;
  color: #cf9700;
}
.subscription_manage .status-finished {
  background: #e8eef8;
  color: #00059c;
}
.subscription_manage .status-finished-cancel-request {
  background: #a2b0c7;
  color: white;
}
.subscription_manage .status-late {
  background: #ff3c3c;
  color: white;
}
.subscription_manage .status-late-cancel-request {
  background: #b56c6c;
  color: white;
}
.subscription_manage .status-ended {
  background: #e5e5e5;
  color: #656565;
}
.subscription_manage .subscription-name {
  font-size: 16px;
  font-weight: bold;
  color: #27180c;
}
.subscription_manage .subscription-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 15px;
}
.subscription_manage .detail-left,
.subscription_manage .detail-right {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.subscription_manage .detail-item {
  font-size: 14px;
  color: #27180c;
  font-weight: 400;
  justify-content: start;
}
.subscription_manage .detail-label {
  font-weight: 400;
  color: #27180c;
  padding-right: 5px;
  width: auto;
}
.subscription_manage .subscription-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: flex-end;
}
.subscription_manage .action-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.subscription_manage .action-btn {
  width: 120px;
  height: 38px;
  align-content: center;
  line-height: 1.3;
  border: none;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
.subscription_manage .btn-purchase {
  background: #004632;
  color: white;
}
.subscription_manage .btn-cancel {
  background: #713533;
  color: white;
}
.subscription_manage .btn-settlement {
  background: #dc3545;
  color: white;
}
.subscription_manage .btn-return-schedule {
  background: #8a530d;
  color: white;
}
.subscription_manage .btn-return-complete {
  background: #eba93b;
  color: white;
}
.subscription_manage .btn-cancel-outline {
  background: white;
  color: #cf1616;
  border: 1px solid #cf1616;
}

.subscription_manage .btn-payment {
  background: #241300;
  color: white;
}

.subscription_manage .detail-link {
  color: #27180c;
  text-decoration: underline;
  font-size: 14px;
  margin-top: 12px;
  position: absolute;
  top: 73px;
  right: 10px;
}
.subscription_manage .detail-link:hover {
  color: #27180c;
  text-decoration: underline;
}

/*구독상세*/
.subscription-detail-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  background: white;
  min-height: 100vh;
}
.subscription-detail-container .detail-header {
  display: flex;
  justify-content: right;
  align-items: center;
  padding: 20px 0;
  border-bottom: 0;
}

.subscription-detail-container .inquiry-btn {
  background: white;
  color: #27180c;
  padding: 8px 26px;
  border: 1px solid #27180c;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
}
.subscription-detail-container .inquiry-btn:hover {
  background: #f8f9fa;
  text-decoration: none;
}
.subscription-detail-container .product-info-section {
  background: white;
  padding: 25px 0;
  margin-bottom: 20px;
  border-top: 1px solid #d5ceca;
  border-bottom: 1px solid #d5ceca;
}
.subscription-detail-container .product-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.subscription-detail-container .product-left {
  width: calc(100% - 410px);
}
.subscription-detail-container .product-name {
  font-size: 20px;
  font-weight: bold;
  color: #27180c;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.subscription-detail-container .product-details {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 5px;
}
.subscription-detail-container .product-price {
  font-size: 16px;
  font-weight: bold;
  color: #dc3545;
}
.subscription-detail-container .product-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.subscription-detail-container .action-btn {
  width: 120px;
  height: 38px;
  align-content: center;
  line-height: 1.2;
  border: none;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
.subscription-detail-container .btn-purchase {
  background: #004632;
  color: white;
}
.subscription-detail-container .btn-cancel {
  background: #713533;
  color: white;
}
.subscription-detail-container .btn-settlement {
  background: #dc3545;
  color: white;
}
.subscription-detail-container .btn-return-schedule {
  background: #8a530d;
  color: white;
}
.subscription-detail-container .btn-return-complete {
  background: #eba93b;
  color: white;
}
.subscription-detail-container .btn-cancel-outline {
  background: white;
  color: #cf1616;
  border: 1px solid #cf1616;
}
.subscription-detail-container .btn-payment {
  background: #241300;
  color: white;
}
.subscription-detail-container .subscription-info-section {
  background: white;
  padding: 20px 0;
  margin-bottom: 20px;
  border: 0;
}
.subscription-detail-container .section-title {
  font-size: 18px;
  font-weight: bold;
  color: #27180c;
  margin-bottom: 0;
  padding-bottom: 8px;
  border: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.subscription-detail-container .info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 20px;
  margin-bottom: 15px;
  padding: 20px 0;
  border: 1px solid #d5ceca;
  background: #fcfaf9;
}
.subscription-detail-container .info-item {
  text-align: left;
  padding-left: 25px;
  border-left: 1px solid #e6ddd7;
}
.subscription-detail-container .info-grid .info-item:first-child {
  border-left: 0;
}
.subscription-detail-container .info-label {
  font-size: 14px;
  color: #8d867f;
  margin-bottom: 2px;
}
.subscription-detail-container .info-value {
  font-size: 15px;
  font-weight: 500;
  color: #27180c;
}
.subscription-detail-container .payment-method-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: #f8f9fa;
}
.subscription-detail-container .payment-info {
  display: flex;
  align-items: center;
  gap: 8px;
}
.subscription-detail-container .payment-icon {
  width: 24px;
  height: 24px;
  background: #007bff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
}
.subscription-detail-container .payment-details {
  font-size: 14px;
  color: #333;
}
.subscription-detail-container .change-payment-btn {
  background: white;
  color: #27180c;
  padding: 6px 12px;
  border: 1px solid #27180c;
  cursor: pointer;
  font-size: 13px;
  text-decoration: none;
  display: inline-block;
  font-weight: 400;
}
.subscription-detail-container .change-payment-btn:hover {
  background: #f8f9fa;
  text-decoration: none;
}
.subscription-detail-container .payment-history-section {
  background: white;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #e9ecef;
}
.subscription-detail-container .payment-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.subscription-detail-container .payment-table th,
.subscription-detail-container .payment-table td {
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid #e9ecef;
}
.subscription-detail-container .payment-table th {
  background: #f8f9fa;
  font-weight: bold;
  color: #333;
  font-size: 14px;
}
.subscription-detail-container .payment-table td {
  font-size: 14px;
  color: #666;
}
.subscription-detail-container .status-badge {
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 20px;
}
.subscription-detail-container .status-success {
  background: #d4edda;
  color: #155724;
}
.subscription-detail-container .status-fail {
  background: #f8d7da;
  color: #721c24;
}
.subscription-detail-container .status-canceled {
  background: #fff3cd;
  color: #856404;
}
.subscription-detail-container .view-receipt-btn {
  color: #27180c;
  text-decoration: underline;
  font-size: 14px;
}

.subscription-detail-container .monthly-payment-section {
  background: white;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #e9ecef;
}
.subscription-detail-container .monthly-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.subscription-detail-container .monthly-table th,
.subscription-detail-container .monthly-table td {
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid #e9ecef;
}
.subscription-detail-container .monthly-table th {
  background: #f8f9fa;
  font-weight: bold;
  color: #333;
  font-size: 14px;
}
.subscription-detail-container .monthly-table td {
  font-size: 14px;
  color: #666;
}
.subscription-detail-container .cancel-history-section {
  background: white;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #e9ecef;
}
.subscription-detail-container .cancel-history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 8px;
}
.subscription-detail-container .cancel-history-summary {
  color: #ff6b35;
  font-weight: bold;
  font-size: 16px;
}
.subscription-detail-container .cancel-history-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.subscription-detail-container .cancel-history-table th,
.subscription-detail-container .cancel-history-table td {
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid #e9ecef;
}
.subscription-detail-container .cancel-history-table th {
  background: #f8f9fa;
  font-weight: bold;
  color: #333;
  font-size: 14px;
}
.subscription-detail-container .cancel-history-table td {
  font-size: 14px;
  color: #666;
}
.subscription-detail-container .cancel-history-amount {
  color: #ff6b35;
  font-weight: bold;
}
.subscription-detail-container .payment-section {
  background: white;
  padding: 20px 0;
  margin-bottom: 20px;
  border: 0;
}
.subscription-detail-container .data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  border-top: 1px solid #27180c;
}
.subscription-detail-container .data-table th,
.subscription-detail-container .data-table td {
  padding: 16px 10px;
  text-align: center;
  border-bottom: 1px solid #ebe8e7;
}
.subscription-detail-container .data-table th {
  background: #fff;
  font-weight: bold;
  color: #817568;
  font-size: 14px;
}
.subscription-detail-container .data-table td {
  font-size: 14px;
  color: #27180c;
}
.subscription-detail-container .back-to-list {
  text-align: center;
  margin-top: 50px;
}
.subscription-detail-container .back-to-list-btn {
  background: white;
  color: #6a6454;
  padding: 12px 55px;
  border: 1px solid #6a6454;
  cursor: pointer;
  font-size: 15.5px;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
}
.subscription-detail-container .back-to-list-btn:hover {
  background: #f8f9fa;
  text-decoration: none;
}
.subscription-detail-container .status-active {
  background: #dcf3d9;
  color: #155724;
}
.subscription-detail-container .status-cancel-request {
  background: #ffefef;
  color: #cf1616;
}
.subscription-detail-container .status-return-inspect {
  background: #f9eff9;
  color: #5e0b64;
}
.subscription-detail-container .status-settlement {
  background: #f8f2d5;
  color: #cf9700;
}
.subscription-detail-container .status-finished {
  background: #e8eef8;
  color: #00059c;
}
.subscription-detail-container .status-finished-cancel-request {
  background: #a2b0c7;
  color: white;
}
.subscription-detail-container .status-late {
  background: #ff3c3c;
  color: white;
}
.subscription-detail-container .status-late-cancel-request {
  background: #b56c6c;
  color: white;
}
.subscription-detail-container .status-ended {
  background: #e5e5e5;
  color: #656565;
}
.subscription_qa-header.modal-header {
  position: relative;
  justify-content: center !important;
  padding: 15px 15px 5px;
}
.subscription_qa-title {
  text-align: center;
  flex: 1;
  font-size: 22px !important;
}
.subscription_qa-header .btn-close {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}
.subscription_qa-sub-title {
  text-align: center !important;
  font-size: 15px;
}
.subscription_qa-body {
  max-height: 700px !important;
  overflow: auto;
}

/* 마이페이지 주문내역 */
.orderinquiry-container {
  flex: 1 !important;
  background: white !important;
  padding: 0 !important;
}
.orderinquiry-wrapper.without-sidebar .orderinquiry-container {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 20px !important;
}
.orderinquiry-wrapper .order-history-layout {
  margin-top: 53px;
}
.orderinquiry-wrapper .order-history-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  color: #27180c;
}
.orderinquiry-wrapper .order-history-header p {
  margin: 0;
  font-size: 14px;
  color: #7a6b5b;
}
.orderinquiry-wrapper .order-table-container table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-top: 15px;
}
.orderinquiry-wrapper .order-table-container thead {
  border-top: 1px solid;
}
.orderinquiry-wrapper .order-table-container th {
  padding: 15px 10px;
  text-align: center;
  color: #817568;
  font-size: 15px;
  border-bottom: 1px solid #27180c;
}
.orderinquiry-wrapper .order-table-container tbody tr {
  border-bottom: 1px solid #e7e3e1;
  border-color: #e7e3e1;
}
.orderinquiry-wrapper .order-table-container td {
  padding: 15px 10px;
  text-align: center;
  font-size: 15px;
  color: #27180c;
  vertical-align: middle;
}
.orderinquiry-wrapper .order-number-link {
  text-decoration: underline;
  color: #27180c;
}
.orderinquiry-wrapper .order-number-link:hover {
  color: #0056b3;
  text-decoration: underline;
}
.orderinquiry-wrapper .product-info {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
}
.orderinquiry-wrapper .product-image {
  width: 70px;
  height: 70px;
  border-radius: 0;
  flex-shrink: 0;
  border: 1px solid #d5ceca;
}
.orderinquiry-wrapper .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.orderinquiry-wrapper .product-name {
  font-weight: normal;
}
.orderinquiry-wrapper .order-amount {
  font-weight: normal;
}
.orderinquiry-wrapper .order-status {
  font-size: 15px;
  font-weight: bold;
  background: none;
  color: #27180c;
}
.pagination-container {
  margin-top: 20px;
  text-align: center;
}
.pagination-buttons {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.pagination-btn {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  color: #6c757d;
}
.pagination-btn.active {
  background: #007bff;
  color: white;
  border: 1px solid #007bff;
  font-weight: 500;
}

/*구독문의 작성 모달*/
.shop-product-qa-write {
  position: relative;
  overflow: hidden;
  padding: 0;
}
.shop-product-qa-write .win-title {
  position: relative;
  margin: 0 0 20px;
  font-size: 1.0625rem;
}
.shop-product-qa-write .radio {
  width: 60px;
}
.shop-product-qa-write .write-edit-wrap #is_content {
  display: block;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  width: 100%;
  min-height: 200px;
  padding: 6px 10px;
  outline: none;
  border-width: 1px;
  border-style: solid;
  border-radius: 0;
  background: #fff;
  color: #353535;
  appearance: normal;
  -moz-appearance: none;
  -webkit-appearance: none;
  resize: vertical;
}
.product-qa-write .cke_sc {
  margin-bottom: 10px !important;
}
.product-qa-write .btn_cke_sc {
  padding: 0 10px;
}
.product-qa-write .cke_sc_def {
  padding: 10px;
  margin-bottom: 10px;
  margin-top: 10px;
  background: #fbfbfb;
}
.product-qa-write .cke_sc_def button {
  padding: 3px 15px;
  background: #555555;
  color: #fff;
  border: none;
}
.product-qa-write #sq_question {
  display: block;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  width: 100%;
  height: 150px;
  padding: 12px 16px;
  outline: none;
  overflow: auto;

  -webkit-appearance: none;
  resize: none;
  border: 1px solid #ddd;
  box-shadow: none;
  font-size: 1em;
}
.product-qa-write .item-name-box {
  background-color: #f1eeea;
  padding: 13px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column; /* 세로로 배치 */
  gap: 5px; /* 요소 간 간격 */
}
.product-qa-write .item-name-item {
  display: flex;
  flex-direction: row; /* 가로로 배치 */
  align-items: center; /* 세로 중앙 정렬 */
}
.product-qa-write .item-name-label {
  color: #27180c;
  font-weight: 600;
  margin-right: 10px;
  min-width: 70px;
  font-size: 14px;
}
.product-qa-write .item-name-value {
  color: #27180c;
  font-weight: 400;
  flex: 1;
  font-size: 14px;
}
.product-qa-write .sq-category-select {
  width: 100%;
  height: 46px;
  border-color: #dfdcd5;
  color: #777;
  padding: 0 13px;
  appearance: none;
  background: url(../../../../img/down_arrow.svg) no-repeat center right 12px;
  background-size: 11px auto;
  outline: 0;
  font-size: 14px;
}
.product-qa-write .input {
  margin-bottom: 10px;
}
.product-qa-write textarea,
.product-qa-write .input input {
  font-size: 14px;
}
.product-qa-write .sq-sub-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 7px;
  display: block;
}
/* 사진첨부 */
.product-qa-write .upload-box {
  cursor: pointer;
  padding: 0;
  width: 100px;
  height: 100px;
  align-content: center;
  border: 1px solid #cec7b9;
  font-size: 13px;
  background-color: #f6f4ef;
  line-height: 1.2;
  color: #9a8a78;
}
.product-qa-write .upload-box img {
  width: 26px;
  height: auto;
}
.product-qa-write .upload-box span {
  font-size: 13px;
  color: #aaa;
}
.product-qa-write .property_img_box {
  width: 100%;
  position: relative !important;
  text-align: center;
  overflow: auto !important;
}
.product-qa-write .img_box {
  display: inline-block;
  position: relative;
  width: 100px !important;
  height: 100px;
  margin-left: 10px;
  padding: 0;
  border: 1px solid #ddd;
  overflow: hidden;
}
.product-qa-write .img_box img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.product-qa-write .image-list {
  display: flex;
}
.product-qa-write .img_del_btn {
  position: absolute;
  top: 5px;
  right: 5px;
  color: #999 !important;
  border: 0;
  text-indent: 0;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  cursor: pointer;
  display: block;
  font-size: 16px;
  font-weight: bold;
  padding: 0;
  z-index: 2;
}
.product-qa-write .info-text {
  font-size: 13px;
  color: #8f8272;
}
.product-qa-write .info-box {
  display: flex;
  flex-direction: column; /* 세로로 배치 */
  margin-top: 10px;
}
.product-qa-write .info-text-title {
  font-size: 15px;
  font-weight: bold;
}
.modal_bottom {
  display: flex;
  justify-content: center;
  margin-top: 35px;
}
.modal_bottom input[type="submit"] {
  background: #27180c;
  border-color: #27180c;
  width: 40%;
  height: 52px;
  font-size: 16px;
  font-weight: 500;
}

/*마이페이지 리뷰관리*/
.review-container .product-use-info {
  display: flex;
  align-items: center;
  gap: 10px; /* 또는 gap: 0; 으로 설정하면 완전히 붙음 */
}
.review-container .product-use-thumbnail {
  width: 60px;
  height: 60px;
  overflow: hidden;
}
.review-container .product-use-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.review-container .product-use-subject {
  text-align: left !important;
}
.review-container .star_box {
  margin: 10px auto;
  width: 100%;
  padding: 20px 15px;
}
.review-container .star_box h4 {
  font-size: 1.2em;
  font-weight: 700;
}
.review-container .star_rating {
  direction: rtl;
  display: inline-block;
  cursor: default;
}
.review-container .star_rating label {
  font-size: 15px;
  color: #ddd;
}
.review-container .star_checked {
  color: #ffd700 !important;
}
.review-container .review-btn {
  width: 50px;
  height: 30px;
  vertical-align: top;
}
.review-container .review_edit_btn {
  background-color: transparent;
  border: 1px solid;
}
.review-container .review_delete_btn {
  background-color: transparent;
  border: 1px solid #777;
  color: #777;
}
.review-container {
  flex: 1;
  background: white;
  padding: 0;
  margin-top: 53px;
}
.review-container .review-details-section {
  margin-bottom: 40px;
}
.review-container .review-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  table-layout: fixed;
}
.mypage-wrapper .review-table thead {
  border-top: 1px solid #241300;
  border-color: #241300;
}
.mypage-wrapper .review-table th {
  font-weight: bold;
  color: #817568;
  font-size: 15px;
}
.mypage-wrapper .review-table th,
.mypage-wrapper .review-table td {
  padding: 15px 10px;
  text-align: center;
  border-bottom: 1px solid #e7e3e1;
  border-color: #e7e3e1;
}

/*구독문의*/
.sq-container .product-sq-info {
  display: flex;
  align-items: center;
  gap: 10px; /* 또는 gap: 0; 으로 설정하면 완전히 붙음 */
}
.sq-container .product-sq-thumbnail {
  width: 100px;
  height: 100px;
  overflow: hidden;
}
.sq-container .product-sq-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sq-container .product-sq-subject {
  text-align: left !important;
}
.sq-container .sq-btn {
  width: 50px;
  height: 30px;
}
.sq-container .sq_edit_btn {
  background-color: transparent;
  border: 1px solid;
}
.sq-container .sq_delete_btn {
  background-color: transparent;
  border: 1px solid #777;
  color: #777;
}
.sq-container {
  flex: 1;
  background: white;
  padding: 0;
  margin-top: 53px;
}
.sq-container .sq-details-section {
  margin-bottom: 40px;
}
.sq-container .sq-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  table-layout: fixed;
}
.mypage-wrapper .sq-table thead {
  border-top: 1px solid #241300;
  border-color: #241300;
}
.mypage-wrapper .sq-table th {
  font-weight: bold;
  color: #817568;
  font-size: 15px;
}
.mypage-wrapper .sq-table th,
.mypage-wrapper .sq-table td {
  padding: 15px 10px;
  text-align: center;
  border-bottom: 1px solid #e7e3e1;
  border-color: #e7e3e1;
}
.sq-container .qa_stats_done {
  color: #dba000;
}

/*반응형*/
@media (min-width: 768px) {
  .table_mobile_label {
    display: none !important;
  }
}
@media (max-width: 1300px) {
  .featured-grid .sub_card {
    padding: 40px 26px 110px;
  }
  .featured-grid .card-title-text {
    font-size: 20px;
  }
  .featured-grid .card-title-duration,
  .featured-grid .card-price-duration {
    font-size: 15px;
  }
  .featured-grid .card-price {
    margin: 22px 0 0;
  }
  .featured-grid .card-price-text {
    font-size: 27px;
  }
  .featured-grid .card-content-text {
    font-size: 16px;
  }
  .featured-grid .btn-subscribe {
    left: 26px;
    right: 26px;
  }
  .all-section .products-grid .sub_card {
    height: 380px;
    margin-bottom: 30px;
  }
  .mypage-wrapper {
    padding: 0;
    gap: 35px;
  }
  .mypage-wrapper .mypage-sidebar-title {
    font-size: 26px;
  }
  .mypage-wrapper .section-header {
    margin-bottom: 12px;
  }
  .mypage-wrapper .section-title {
    font-size: 18px;
  }
  .mypage-wrapper .subscription-info-box {
    padding: 20px 26px;
  }
  .orderinquiry-wrapper .order-history-header h2 {
    font-size: 18px;
  }
  .subscription_manage .action-btn {
    width: 110px;
  }
  .subscription_manage .subscription-item {
    padding: 20px 0;
  }
}

@media (max-width: 1150px) {
  .featured-grid .sub_card {
    padding: 40px 24px 100px;
  }
  .featured-grid .card-title-text {
    font-size: 18px;
  }
  .featured-grid .card-title-duration,
  .featured-grid .card-price-duration {
    font-size: 14px;
  }
  .featured-grid .card-title-duration {
    margin: 2px 0 0;
  }
  .featured-grid .card-price-text {
    font-size: 24px;
  }
  .featured-grid .card-price {
    margin: 17px 0 0;
  }
  .featured-grid .card-content-text {
    font-size: 15px;
    margin: 15px 0 10px;
  }
  .featured-grid .btn-subscribe {
    font-size: 16.5px;
    padding: 13px 0;
    bottom: 26px;
  }
  .all-section .products-grid .sub_card {
    height: 350px;
  }
  .subscription-footer {
    text-align: center;
  }
  .subscription-footer h2 {
    font-size: 17px;
  }
  .subscription-footer p {
    display: inline;
    font-size: 14.5px;
  }
  .all-section .toggle-btn {
    font-size: 15px;
    width: 200px;
    height: 46px;
    line-height: 44px;
  }
  .subscription-container {
    padding: 0;
  }
  .subscription-container .period-tip {
    padding: 0;
  }
  .subscription-container .subscription-options {
    padding: 20px;
    gap: 20px;
  }
  .subscription-container .option-card {
    padding: 20px 25px;
  }
  .shop-order-form .order-member-area {
    margin-right: 0;
  }
  .shop-order-form .order-payment-area {
    position: initial;
    width: 100%;
  }
  .mypage-wrapper {
    gap: 0;
  }
  .mypage-wrapper .mypage-sidebar-title {
    font-size: 24px;
  }
  .mypage-sidebar {
    width: 100%;
  }
  .mypage-sidebar-menu {
    flex-direction: row;
    white-space: nowrap;
    border: 0;
    margin: 0 -20px;
    border-bottom: 1px solid #e1dad8;
    padding: 0 20px;
    overflow: auto;
  }
  .mypage-sidebar-menu li {
    text-align: center;
    padding: 10px 0;
    border-bottom: 3px solid #fff;
  }
  .mypage-sidebar-menu li.active {
    border-bottom: 3px solid #27180c;
  }
  .mypage-sidebar-menu a {
    padding: 0 15px;
    font-size: 15px;
    display: block;
    align-content: center;
    line-height: 25px;
    height: 25px;
  }
  .mypage-wrapper .subscription-name {
    font-size: 16px;
  }
  .mypage-wrapper .subscription-info-box {
    padding: 16px 20px;
  }
}

@media (max-width: 991px) {
  .shop-order-form .order-table th {
    display: none;
  }
  .shop-order-form .order-table td .label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 7px;
  }
  .shop-order-form .search-btn {
    margin-left: 5px;
  }
  .mypage-wrapper .mypage-sidebar-title {
    font-size: 22px;
  }
  .mypage-wrapper .section-title {
    font-size: 17px;
  }
  .mypage-wrapper .subscription-name {
    font-size: 15.5px;
  }
  .mypage-wrapper .view-all-link {
    font-size: 14px;
  }
  .mypage-wrapper .view-all-link img {
    height: 10px;
  }
  .mypage-wrapper .order-table th {
    font-size: 14.5px;
  }
  .mypage-wrapper .order-table td {
    font-size: 13.5px;
  }
  .mypage-wrapper .order-status {
    font-size: 14px;
  }
  .mypage-wrapper .view-details-btn {
    padding: 8px;
    font-size: 14px;
  }
  .orderinquiry-wrapper .order-history-header h2 {
    font-size: 17px;
  }
  .subscription_manage .cancellation-summary-title {
    font-size: 17px;
  }
  .subscription_manage .cancellation-summary-content {
    font-size: 14px;
    line-height: 1.5;
  }
  .subscription_manage .current-subscription-title {
    font-size: 17px;
  }
  .subscription_manage .subscription-item {
    display: block;
  }
  .subscription_manage .subscription-info {
    width: 100%;
  }
  .subscription_manage .subscription-actions {
    align-items: start;
  }
  .content_header {
    margin-bottom: 50px;
  }
  .content_header h1 {
    font-size: 26px;
  }
  .content_header p {
    font-size: 15px;
  }
  .subscription-detail-container {
    padding: 0;
  }
  .subscription-detail-container .info-label {
    font-size: 13.5px;
  }
  .subscription-detail-container .info-value {
    font-size: 14px;
  }
  .subscription-detail-container .product-name {
    font-size: 18px;
  }
  .subscription-detail-container .product-price {
    font-size: 15px;
  }
  .subscription-detail-container .section-title {
    font-size: 17px;
  }
  .subscription-detail-container .subscription-info-section {
    margin-bottom: 0;
  }
  .subscription_manage .detail-link {
    position: initial;
    margin-top: 15px;
    display: inline-block;
  }
  .subscription_manage .subscription-actions {
    gap: 7px;
  }
  .review-container .review-table colgroup {
    display: none;
  }
  .mypage-wrapper .review-container .review-table thead {
    display: none;
  }
  .mypage-wrapper .review-table th,
  .mypage-wrapper .review-table td {
    border-bottom: 0;
  }
  .mypage-wrapper .review-container .review-table tr {
    display: block;
    border: 1px solid #d5ceca;
    padding: 15px;
    position: relative;
    padding-right: 100px;
  }
  .mypage-wrapper .review-table td {
    display: block;
    text-align: left;
    padding: 0;
    font-size: 13px;
  }
  .mypage-wrapper .review-table td.product-use-info {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 60px;
  }
  .review-container .product-use-thumbnail {
    margin-bottom: 5px;
  }
  .mypage-wrapper .review-table td.product-use-info span {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    display: block;
    text-align: center;
  }
  .mypage-wrapper .review-table td.product-use-subject {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 7px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .review-container .review-btn {
    margin-top: 10px;
  }
}

@media (max-width: 900px) {
  .all-section .category-title {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .featured-grid .card-price-text {
    font-size: 22px;
  }
  .featured-grid {
    display: block;
  }
  .featured-grid .sub_card {
    width: 100%;
    margin-bottom: 40px;
  }
  .all-section .category-col {
    width: 100%;
    margin-bottom: 60px;
  }
  .all-section .products-grid .sub_card {
    height: auto;
  }
  .all-section .section-header {
    justify-content: center;
  }
  .all-section .toggle-btn {
    width: 190px;
  }
  .all-section .toggle-btn img {
    height: 7px;
    vertical-align: 2px;
  }
  .all-section .all-content.show {
    padding-top: 15px;
  }
  .subscription-footer {
    padding: 30px;
  }
  .subscription-footer h2 {
    font-size: 16px;
  }
  .subscription-footer p {
    font-size: 14px;
  }
  .featured-grid .sub_card:hover {
    border: 2px solid #ded6d1;
  }
  .subscription-detail-container .product-header {
    display: block;
  }
  .subscription-detail-container .product-left {
    width: 100%;
  }
  .subscription-detail-container .product-actions {
    margin-top: 13px;
  }
  .subscription-detail-container .payment-section {
    margin-bottom: 0;
  }
}

@media (max-width: 767px) {
  .subscription-container .product-info {
    padding: 20px 30px;
  }
  .subscription-container .section-title {
    font-size: 17px;
  }
  .subscription-container .product-name,
  .subscription-container .monthly-price {
    font-size: 17px;
  }
  .subscription-container .option-card {
    padding: 17px 23px;
  }
  .subscription-container .tip-icon {
    font-size: 15px;
  }
  .subscription-container .tip-text {
    font-size: 14.5px;
  }
  .subscription-container .option-title {
    font-size: 16.5px;
  }
  .subscription-container .monthly-fee-amount {
    font-size: 17px;
  }
  .subscription-container .total-fee-amount {
    font-size: 17px;
  }
  .subscription-container .badge {
    height: 24px;
    line-height: 24px;
    padding: 0 8px;
  }
  .subscription-container .payment-info {
    font-size: 14px;
  }
  .subscription-container .payment-amount {
    font-size: 17px;
  }
  .shop-order-form .sod-frm-title h4 {
    font-size: 17px;
  }
  .shop-order-form .order-product-box {
    padding: 20px 25px;
  }
  .shop-order-form .product-name {
    font-size: 15.5px;
  }
  .shop-order-form .product-details {
    font-size: 13.5px;
  }
  .shop-order-form .monthly-price {
    font-size: 15.5px;
  }
  .shop-order-form .coupon-btn {
    padding: 6px 18px;
    font-size: 13.5px;
  }
  .shop-order-form .points-info {
    padding: 13px 25px;
    font-size: 13.5px;
  }
  .shop-order-form .points-info span:first-child {
    font-size: 15px;
    padding-bottom: 3px;
    display: block;
    width: 100%;
  }
  .shop-order-form .order_privacy * {
    font-size: 14px !important;
  }
  .shop-order-form .inline-group {
    gap: 10px;
  }
  .shop-order-form .order-table label {
    margin-right: 0;
  }
  .shop-order-form .order-table label.input {
    width: 100% !important;
  }
  .shop-order-form .order-table label.input.num_search {
    width: calc(100% - 90px) !important;
  }
  .shop-order-form .search-btn {
    width: 80px;
    padding: 0;
    font-size: 13.5px;
  }
  .shop-order-form .order-table input[type="text"],
  .shop-order-form .order-table input[type="email"],
  .shop-order-form .order-table input[type="tel"],
  .shop-order-form .order-table textarea {
    font-size: 13.5px;
  }
  .shop-order-form .order-table td #delivery_name {
    width: calc(100% - 170px) !important;
  }
  .shop-order-form .payment-info-box h3 {
    font-size: 17px;
    border-bottom: 1px solid #27180c;
    padding-bottom: 15px;
    margin-bottom: 15px;
  }
  .shop-order-form .payment-info-box {
    border: 0;
    padding: 0;
  }
  .shop-order-form .order-payment-area {
    padding: 0;
  }
  .shop-order-form .payment-label,
  .shop-order-form .payment-amount {
    font-size: 15px;
  }
  .shop-order-form .payment-total .payment-label,
  .shop-order-form .payment-total .payment-amount {
    font-size: 16px;
  }
  .subscription_manage {
    display: block;
    padding: 0;
  }
  .subscription_manage .subscription-list-container {
    padding: 0;
    margin-top: 30px;
  }
  .subscription_manage .cancellation-summary-section {
    margin-bottom: 20px;
    padding: 20px;
  }
  .subscription_manage .current-subscription-header {
    padding: 15px 0;
  }
  .subscription_manage .action-buttons {
    justify-content: flex-start;
    width: 100%;
  }
  .subscription_manage .subscription-details {
    display: block;
  }
  .subscription_manage .subscription-actions {
    align-items: flex-start;
  }
  .subscription_manage .detail-right {
    margin-top: 5px;
  }
  .mypage-wrapper .subscription-cards-container {
    display: block;
  }
  .mypage-wrapper .subscription-info-box {
    width: 100%;
    padding: 20px;
  }
  .mypage-wrapper .subscription-info-box::after {
    bottom: 0;
    right: 15px;
    left: 15px;
    height: 1px;
    top: auto;
    width: auto;
  }
  .mypage-wrapper .order-table thead {
    display: none;
  }
  .mypage-wrapper .order-table colgroup {
    display: none;
  }
  .mypage-wrapper .order-table td {
    display: flex;
    text-align: left;
    border-bottom: 0;
    padding: 6px 0;
    align-items: start;
    flex-wrap: wrap;
  }
  .mypage-wrapper .order-table tr {
    border: 1px solid #d5ceca;
    padding: 10px 15px;
    display: block;
    position: relative;
  }
  .mypage-wrapper .order-table td a {
    font-weight: 600;
  }
  .mypage-wrapper .product-info {
    align-items: start;
    width: 100%;
  }
  .mypage-wrapper .order-table td.order-amount {
    left: 95px;
    position: absolute;
    top: 62px;
    font-weight: 600;
  }
  .mypage-wrapper .order-table td.order-time {
    left: 95px;
    position: absolute;
    top: 88px;
    font-size: 12.5px;
  }
  .orderinquiry-wrapper .order-table-container thead {
    display: none;
  }
  .orderinquiry-wrapper .order-table-container tr {
    border: 1px solid #d5ceca;
    padding: 10px 15px;
    display: block;
    position: relative;
  }
  .orderinquiry-wrapper .order-table-container td {
    font-size: 14px;
    display: block;
    text-align: left;
    padding: 7px 0;
  }
  .orderinquiry-wrapper .order-number-link {
    font-weight: bold;
  }
  .orderinquiry-wrapper .order-table-container table colgroup {
    display: none;
  }
  .orderinquiry-wrapper .order-table-container td.order-count {
    left: 95px;
    position: absolute;
    top: 65px;
  }
  .orderinquiry-wrapper .order-table-container td.order-amount {
    left: 95px;
    position: absolute;
    top: 88px;
    font-weight: 600;
  }
  .orderinquiry-wrapper .order-table-container td.od-time {
    font-size: 13px;
  }
  .orderinquiry-wrapper .order-table-container td.od-status {
    position: absolute;
    bottom: 10px;
    right: 15px;
  }
  .subscription_manage .cancellation-summary-content br {
    display: none;
  }
  .subscription_manage .cancellation-summary-content {
    font-size: 13.5px;
  }
  .content_header h1 {
    font-size: 24px;
  }
  .subscription-detail-container .product-name {
    font-size: 17px;
  }
  .subscription-detail-container .status-badge {
    font-size: 11.5px;
  }
  .subscription-detail-container .info-grid {
    display: block;
    padding: 6px 0;
  }
  .subscription-detail-container .info-item {
    border-left: 0;
    padding-left: 0;
    padding: 5px 15px;
  }
  .subscription-detail-container .action-btn {
    font-size: 13px;
  }
  .subscription-detail-container .section-title {
    font-size: 16px;
  }
  .subscription-detail-container .data-table th,
  .subscription-detail-container .data-table td {
    font-size: 13px;
    padding: 15px 5px;
  }
  .subscription-detail-container .view-receipt-btn {
    font-size: 13px;
  }
  .subscription-detail-container .back-to-list {
    margin-top: 35px;
  }
  .subscription-detail-container .back-to-list-btn {
    padding: 10px 50px;
    font-size: 15px;
  }
  .subscription-detail-container .inquiry-btn {
    padding: 5px 15px;
  }
}

@media (max-width: 499px) {
  .content_header {
    margin-bottom: 40px;
  }
  .content_header h1 {
    font-size: 22px;
    margin-bottom: 5px;
  }
  .featured-grid .card-title-text {
    font-size: 17px;
  }
  .featured-grid .card-price-text {
    font-size: 20px;
  }
  .featured {
    margin-bottom: 30px;
  }
  .subscription-footer {
    margin-top: 30px;
  }
  .featured-grid .card-label {
    font-size: 14px;
    width: 68px;
  }
  .all-section .products-grid .sub_card {
    padding: 22px 20px 90px;
  }
  .featured-grid .sub_card {
    padding: 40px 20px 90px;
  }
  .featured-grid .btn-subscribe {
    left: 20px;
    right: 20px;
    bottom: 22px;
    font-size: 16px;
  }
  .subscription-container .section-title {
    font-size: 16.5px;
    margin-bottom: 10px;
  }
  .subscription-container .product-info {
    padding: 16px 20px;
  }
  .subscription-container .product-name,
  .subscription-container .monthly-price {
    font-size: 15.5px;
    margin-bottom: 3px;
  }
  .subscription-container .product-sale-price {
    font-size: 13.5px;
  }
  .subscription-container .tip-text {
    font-size: 14px;
  }
  .subscription-container .subscription-options {
    padding: 15px 17px;
    gap: 15px;
  }
  .subscription-container .tip-icon {
    font-size: 14px;
    margin-right: 3px;
  }
  .subscription-container .option-card {
    padding: 15px 18px;
  }
  .subscription-container .option-title {
    font-size: 15.5px;
  }
  .subscription-container .monthly-fee-amount,
  .subscription-container .total-fee-amount {
    font-size: 16px;
  }
  .subscription-container .option-title .option-title-text {
    margin-right: 5px;
  }
  .subscription-container .savings {
    font-size: 13px;
  }
  .subscription-container .option-header {
    margin-bottom: 10px;
  }
  .subscription-container .monthly-fee-label,
  .subscription-container .total-fee-label {
    font-size: 13px;
  }
  .subscription-container .badge {
    height: 22px;
    line-height: 22px;
  }
  .subscription-container .payment-footer {
    padding: 15px 17px;
    margin: 25px 0 30px;
  }
  .subscription-container .subscription-period {
    margin-bottom: 25px;
  }
  .subscription-container .payment-amount {
    font-size: 16px;
  }
  .shop-order-form .order-product-box {
    padding: 15px 20px;
  }
  .shop-order-form .product-name {
    margin-bottom: 0;
  }
  .shop-order-form .product-info {
    display: block;
  }
  .shop-order-form .product-details {
    margin-bottom: 10px;
  }
  .shop-order-form .product-right {
    display: block;
    margin-top: 10px;
  }
  .shop-order-form .points-info {
    padding: 12px 20px;
  }
  .mypage-sidebar-menu {
    -ms-overflow-style: none;
  }
  .mypage-sidebar-menu::-webkit-scrollbar {
    display: none;
  }
  .dashboard-container {
    margin-top: 30px;
  }
  .mypage-wrapper .mypage-sidebar-title {
    padding-bottom: 10px;
  }
  .mypage-sidebar-menu a {
    font-size: 14.5px;
    padding: 0 10px;
    line-height: 22px;
  }
  .mypage-wrapper .subscription-name {
    font-size: 15px;
  }
  .mypage-wrapper .status-badge {
    font-size: 11.5px;
    padding: 3px 9px;
  }
  .mypage-wrapper .subscription-header {
    margin-bottom: 10px;
  }
  .mypage-wrapper .subscription-details {
    gap: 6px;
    margin-bottom: 15px;
  }
  .mypage-wrapper .detail-label {
    font-size: 13.5px;
  }
  .mypage-wrapper .detail-value {
    font-size: 13.5px;
  }
  .mypage-wrapper .view-all-link {
    font-size: 13px;
  }
  .order-history-header div {
    display: block !important;
  }
  .orderinquiry-wrapper .order-history-header p {
    margin: 5px 0 0;
    font-size: 13px;
  }
  .subscription_manage .subscription-list-container {
    margin-top: 20px;
  }
  .subscription_manage .cancellation-summary-section {
    padding: 15px;
  }
  .subscription_manage .cancellation-summary-title {
    font-size: 15.5px;
    margin-bottom: 5px;
  }
  .subscription_manage .current-subscription-title {
    font-size: 16px;
  }
  .subscription_manage .subscription-item {
    padding: 17px 0;
  }
  .subscription_manage .action-btn {
    font-size: 13.5px;
    width: 90px;
  }
  .subscription-detail-container .payment-section {
    overflow: auto;
  }
  .subscription-detail-container .data-table {
    min-width: 320px;
  }
  .subscription-detail-container .back-to-list-btn {
    padding: 10px 40px;
    font-size: 14.5px;
  }
  .subscription-detail-container .back-to-list {
    margin-top: 10px;
  }
}
