/* ==========================================================================
   SECTION 22: WOOCOMMERCE (CART, CHECKOUT, ACCOUNT) & CONTENT PAGES
   ========================================================================== */

/* WooCommerce Container Layout */
.woocommerce {
  width: 100%;
}
.page-title-banner {
  padding: 40px 0 20px 0;
  text-align: center;
}
.page-title-banner h1 {
  font-family: 'Ivy Ora', 'Kepler Std', Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  color: #111;
  letter-spacing: -0.01em;
  margin: 0 0 10px 0;
}
.page-title-banner p {
  color: #666;
  font-size: 14px;
  margin: 0;
}

/* CART PAGE */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
  margin: 30px 0 60px 0;
}
@media (max-width: 991px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
}
.woocommerce-cart-form {
  background: #fff;
}
.shop_table.cart {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.shop_table.cart th {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  padding: 12px 14px;
  border-bottom: 2px solid #ECEAE6;
}
.shop_table.cart td {
  padding: 20px 14px;
  border-bottom: 1px solid #ECEAE6;
  vertical-align: middle;
}
.product-thumbnail img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  background: #F8F7F5;
  border-radius: 3px;
  display: block;
}
.product-name a {
  font-size: 14px;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  line-height: 1.4;
  display: block;
  margin-bottom: 4px;
}
.product-name a:hover {
  color: #666;
}
.product-meta-sub {
  font-size: 12px;
  color: #888;
}
.product-price, .product-subtotal {
  font-size: 15px;
  font-weight: 600;
  color: #111;
}
.product-quantity .quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid #D5D2CD;
  border-radius: 2px;
}
.qty-btn {
  background: none;
  border: none;
  width: 28px;
  height: 32px;
  cursor: pointer;
  font-size: 15px;
  color: #333;
}
.qty-input {
  width: 36px;
  height: 32px;
  border: none;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  outline: none;
}
.product-remove .remove {
  color: #999;
  font-size: 22px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s;
}
.product-remove .remove:hover {
  color: #ff3366;
}

/* Coupon & Cart Actions */
.cart-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 15px;
}
.coupon-box {
  display: flex;
  gap: 8px;
}
.coupon-input {
  padding: 9px 14px;
  border: 1px solid #D5D2CD;
  border-radius: 2px;
  font-size: 13px;
  outline: none;
  width: 180px;
}
.coupon-input:focus {
  border-color: #000;
}
.btn-outline {
  background: transparent;
  border: 1px solid #111;
  color: #111;
  padding: 9px 18px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
}
.btn-outline:hover {
  background: #111;
  color: #fff;
}

/* Cart Totals Box */
.cart_totals {
  background: #FAF9F7;
  border: 1px solid #E5E3DF;
  border-radius: 3px;
  padding: 28px;
}
.cart_totals h2 {
  font-family: 'Ivy Ora', 'Kepler Std', Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 20px 0;
  color: #111;
  border-bottom: 1px solid #E5E3DF;
  padding-bottom: 12px;
}
.totals-table {
  width: 100%;
  border-collapse: collapse;
}
.totals-table tr {
  border-bottom: 1px solid #EAE8E4;
}
.totals-table th {
  font-size: 13px;
  color: #666;
  font-weight: 400;
  padding: 12px 0;
  text-align: left;
}
.totals-table td {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  padding: 12px 0;
  text-align: right;
}
.totals-table tr.order-total th {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  padding-top: 16px;
}
.totals-table tr.order-total td {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  padding-top: 16px;
}
.affirm-cart-note {
  font-size: 12px;
  color: #666;
  margin: 14px 0 20px 0;
  line-height: 1.4;
}
.affirm-cart-note a {
  color: #111;
  text-decoration: underline;
  font-weight: 600;
}
.checkout-button, .btn-primary-luxury {
  display: block;
  width: 100%;
  background: #000;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid #000;
  cursor: pointer;
  transition: all 0.2s;
  box-sizing: border-box;
}
.checkout-button:hover, .btn-primary-luxury:hover {
  background: #242424;
}
.trust-badges-cart {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid #E5E3DF;
  padding-top: 18px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #444;
}
.trust-item svg {
  flex-shrink: 0;
  color: #111;
}

/* CHECKOUT PAGE */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 50px;
  align-items: start;
  margin: 30px 0 70px 0;
}
@media (max-width: 991px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}
.checkout-section-title {
  font-family: 'Ivy Ora', 'Kepler Std', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  color: #111;
  margin: 0 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #ECEAE6;
}
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field {
  margin-bottom: 16px;
}
.form-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #333;
  margin-bottom: 6px;
}
.form-field label .required {
  color: #ff3366;
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #D5D2CD;
  border-radius: 2px;
  font-size: 13.5px;
  outline: none;
  box-sizing: border-box;
  color: #111;
  transition: border-color 0.15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #000;
}
.order-review-box {
  background: #FAF9F7;
  border: 1px solid #E5E3DF;
  border-radius: 3px;
  padding: 30px;
}
.review-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #EAE8E4;
}
.review-item-img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  background: #fff;
  border-radius: 2px;
  border: 1px solid #EAE8E4;
}
.review-item-info {
  flex: 1;
}
.review-item-title {
  font-size: 13px;
  font-weight: 500;
  color: #111;
  line-height: 1.35;
  margin-bottom: 4px;
}
.review-item-qty {
  font-size: 12px;
  color: #777;
}
.review-item-price {
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

/* Payment Methods */
.wc_payment_methods {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  border-top: 1px solid #E5E3DF;
  padding-top: 16px;
}
.wc_payment_method {
  border: 1px solid #E0DED9;
  border-radius: 3px;
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
}
.wc_payment_method.active {
  border-color: #000;
}
.payment-method-header {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}
.payment-method-header input[type="radio"] {
  accent-color: #000;
  width: 16px;
  height: 16px;
}
.payment-method-header label {
  font-size: 13px;
  font-weight: 600;
  color: #111;
  cursor: pointer;
  flex: 1;
}
.payment_box {
  padding: 16px 18px;
  background: #FAF9F7;
  border-top: 1px solid #EAE8E4;
  font-size: 12.5px;
  color: #555;
  line-height: 1.5;
}

/* MY ACCOUNT PAGE */
.myaccount-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  margin: 30px 0 70px 0;
  align-items: start;
}
@media (max-width: 991px) {
  .myaccount-layout {
    grid-template-columns: 1fr;
  }
}
.woocommerce-MyAccount-navigation {
  background: #FAF9F7;
  border: 1px solid #E5E3DF;
  border-radius: 3px;
  overflow: hidden;
}
.my-account-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.my-account-nav-list li {
  border-bottom: 1px solid #EAE8E4;
}
.my-account-nav-list li:last-child {
  border-bottom: none;
}
.my-account-nav-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 500;
  color: #444;
  text-decoration: none;
  transition: all 0.15s;
}
.my-account-nav-list li.active a,
.my-account-nav-list li a:hover {
  background: #111;
  color: #fff;
}
.account-welcome-card {
  background: #FAF9F7;
  border: 1px solid #E5E3DF;
  border-radius: 3px;
  padding: 24px;
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.account-welcome-card h3 {
  font-family: 'Ivy Ora', 'Kepler Std', Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 4px 0;
  color: #111;
}
.account-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}
@media (max-width: 768px) {
  .account-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.account-stat-card {
  background: #fff;
  border: 1px solid #E5E3DF;
  border-radius: 3px;
  padding: 18px;
  text-align: center;
}
.account-stat-num {
  font-size: 26px;
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
}
.account-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #777;
}
.orders-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #E5E3DF;
  border-radius: 3px;
}
.orders-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  padding: 12px 16px;
  border-bottom: 1px solid #E5E3DF;
  text-align: left;
}
.orders-table td {
  padding: 16px;
  border-bottom: 1px solid #EAE8E4;
  font-size: 13.5px;
  color: #222;
}
.order-status-badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 2px;
  background: #E8F5E9;
  color: #2E7D32;
}

/* CONTENT & POLICY PAGES */
.policy-page-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 80px 20px;
}
.policy-header {
  text-align: center;
  margin-bottom: 40px;
}
.policy-header h1 {
  font-family: 'Ivy Ora', 'Kepler Std', Georgia, serif;
  font-size: 38px;
  font-weight: 400;
  color: #111;
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
}
.policy-header .policy-updated {
  font-size: 12px;
  color: #888;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.policy-body {
  font-size: 14.5px;
  line-height: 1.8;
  color: #333;
}
.policy-body h2 {
  font-family: 'Ivy Ora', 'Kepler Std', Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  color: #111;
  margin: 35px 0 14px 0;
}
.policy-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: #111;
  margin: 25px 0 10px 0;
}
.policy-body p {
  margin: 0 0 16px 0;
}
.policy-body ul, .policy-body ol {
  margin: 0 0 18px 20px;
  padding: 0;
}
.policy-body li {
  margin-bottom: 8px;
}
.policy-body a {
  color: #111;
  text-decoration: underline;
  font-weight: 500;
}
.policy-highlight-card {
  background: #FAF9F7;
  border-left: 3px solid #111;
  padding: 20px 24px;
  margin: 25px 0;
  border-radius: 2px;
}

/* ABOUT US PAGE */
.about-hero-section {
  position: relative;
  margin-bottom: 50px;
  border-radius: 4px;
  overflow: hidden;
}
.about-hero-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}
.about-story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin: 60px 0;
}
.about-story-row.reverse {
  direction: rtl;
}
.about-story-row.reverse > * {
  direction: ltr;
}
@media (max-width: 850px) {
  .about-story-row, .about-story-row.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
    direction: ltr;
  }
}
.about-story-img-box img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  display: block;
}
.about-story-text h2 {
  font-family: 'Ivy Ora', 'Kepler Std', Georgia, serif;
  font-size: 30px;
  font-weight: 400;
  color: #111;
  margin: 0 0 16px 0;
  letter-spacing: -0.01em;
}
.about-story-text p {
  font-size: 14.5px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 16px;
}

/* CONTACT US PAGE */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin: 40px 0 70px 0;
}
@media (max-width: 850px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}
.contact-card {
  background: #FAF9F7;
  border: 1px solid #E5E3DF;
  border-radius: 3px;
  padding: 30px;
  margin-bottom: 24px;
}
.contact-card h3 {
  font-family: 'Ivy Ora', 'Kepler Std', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  color: #111;
  margin: 0 0 16px 0;
}
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
.contact-detail-icon {
  width: 22px;
  height: 22px;
  color: #111;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-detail-text h4 {
  margin: 0 0 2px 0;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #111;
}
.contact-detail-text p {
  margin: 0;
  font-size: 14px;
  color: #444;
}
.contact-form-card {
  background: #fff;
  border: 1px solid #E5E3DF;
  border-radius: 3px;
  padding: 36px;
}
.contact-form-card h2 {
  font-family: 'Ivy Ora', 'Kepler Std', Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  color: #111;
  margin: 0 0 10px 0;
}