@charset "UTF-8";
/**
 * WooCommerce skin — My Account + Cart pages.
 * Loaded only on WooCommerce pages (see functions.php).
 *
 * Mirrors the theme design system: white cards, deep green #0c3b2e,
 * gold accents #d4af37, Plus Jakarta Sans, --radius-* / --shadow-* tokens.
 * Checkout keeps its own styling in styles.css and is intentionally untouched,
 * so every rule here is scoped to body.woocommerce-account or body.woocommerce-cart.
 *
 * Note: WooCommerce 11 renders account content BEFORE the navigation in the
 * DOM (floats used to re-order it). We use flex `order` so nav stays first
 * visually and on mobile regardless of DOM order.
 */

/* --------------------------------------------------------------------------
   1. Account page layout (nav rail + content on desktop, stacked on mobile)
   --------------------------------------------------------------------------
   WooCommerce's float-era clearfix pseudo-elements (::before/::after with
   display:table) become real grid/flex items in modern layouts — they push
   children into the wrong cells. Neutralise them within the account scope. */
body.woocommerce-account .woocommerce::before,
body.woocommerce-account .woocommerce::after,
body.woocommerce-account .col2-set::before,
body.woocommerce-account .col2-set::after {
  content: none;
  display: none;
}

/* Empty notices wrapper (whitespace only) must not eat a flex row + gap. */
body.woocommerce-account .woocommerce-notices-wrapper:not(:has(*)) {
  display: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content {
  float: none;
  width: auto;
}

@media (min-width: 901px) {
  body.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 30px;
  }
  body.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) > .woocommerce-notices-wrapper {
    flex: 1 0 100%;
    order: 0;
  }
  body.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) > .woocommerce-MyAccount-navigation {
    flex: 0 0 272px;
    order: 1;
  }
  body.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) > .woocommerce-MyAccount-content {
    flex: 1 1 0%;
    min-width: 0;
    order: 2;
  }
}

@media (max-width: 900px) {
  body.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  body.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) > .woocommerce-notices-wrapper {
    order: 0;
  }
  body.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) > .woocommerce-MyAccount-navigation {
    order: 1;
  }
  body.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) > .woocommerce-MyAccount-content {
    order: 2;
  }
}

/* --------------------------------------------------------------------------
   2. Account navigation — card-style menu
   -------------------------------------------------------------------------- */
body.woocommerce-account .woocommerce-MyAccount-navigation {
  background: #fff;
  border: 1px solid var(--line, rgba(12, 59, 46, 0.18));
  border-radius: var(--radius-lg, 16px);
  box-shadow: var(--shadow-card, 0 4px 12px rgba(12, 59, 46, 0.06));
  padding: 10px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 15px;
  border-left: 3px solid transparent;
  border-radius: 10px;
  color: var(--navy, #0c3b2e);
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.3;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  background: rgba(12, 59, 46, 0.06);
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  background: var(--navy, #0c3b2e);
  border-left-color: var(--gold, #d4af37);
  color: #fff;
  box-shadow: 0 10px 22px rgba(12, 59, 46, 0.18);
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
  background: rgba(180, 35, 24, 0.08);
  color: #b42318;
}

@media (max-width: 900px) {
  body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
}

/* --------------------------------------------------------------------------
   3. Account content — white card + typography + links
   -------------------------------------------------------------------------- */
body.woocommerce-account .woocommerce-MyAccount-content {
  background: #fff;
  border: 1px solid var(--line, rgba(12, 59, 46, 0.18));
  border-radius: var(--radius-lg, 16px);
  box-shadow: var(--shadow-card, 0 4px 12px rgba(12, 59, 46, 0.06));
  padding: clamp(22px, 2.6vw, 34px);
}

@media (max-width: 620px) {
  body.woocommerce-account .woocommerce-MyAccount-content {
    padding: 20px 16px;
  }
}

body.woocommerce-account .woocommerce-MyAccount-content p {
  line-height: 1.75;
}

body.woocommerce-account .woocommerce-MyAccount-content a:not(.button):not(.woocommerce-button):not(.edit) {
  color: var(--navy, #0c3b2e);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: var(--gold, #d4af37);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

body.woocommerce-account .woocommerce-MyAccount-content a:not(.button):not(.woocommerce-button):not(.edit):hover {
  text-decoration-color: var(--navy, #0c3b2e);
}

body.woocommerce-account .woocommerce-Price-amount {
  color: var(--navy, #0c3b2e);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   4. Buttons
   --------------------------------------------------------------------------
   Submits (Save changes / Log in / Register / Save address) → solid deep green,
   hover gold. Inline action links (View order, Edit, Browse products) →
   outline pills. The cart's checkout CTA is styled gold further below. */
body.woocommerce-account .woocommerce button.button,
body.woocommerce-account .woocommerce input.button,
body.woocommerce-account .woocommerce .woocommerce-Button,
body.woocommerce-account .woocommerce button.button.alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  background: var(--navy, #0c3b2e);
  color: #fff;
  border: 1.5px solid var(--navy, #0c3b2e);
  border-radius: var(--radius-btn, 9px 28px);
  font-family: inherit;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body.woocommerce-account .woocommerce button.button:hover,
body.woocommerce-account .woocommerce input.button:hover,
body.woocommerce-account .woocommerce .woocommerce-Button:hover,
body.woocommerce-account .woocommerce button.button.alt:hover {
  background: var(--gold, #d4af37);
  border-color: var(--gold, #d4af37);
  color: var(--navy, #0c3b2e);
  box-shadow: 0 12px 26px rgba(212, 175, 55, 0.35);
}

body.woocommerce-account .woocommerce button.button:focus-visible,
body.woocommerce-account .woocommerce a.button:focus-visible,
body.woocommerce-account .woocommerce a.woocommerce-button:focus-visible {
  outline: 2px solid var(--gold, #d4af37);
  outline-offset: 2px;
}

body.woocommerce-account .woocommerce a.button,
body.woocommerce-account .woocommerce a.woocommerce-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 20px;
  background: #fff;
  color: var(--navy, #0c3b2e);
  border: 1.5px solid var(--line, rgba(12, 59, 46, 0.18));
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

body.woocommerce-account .woocommerce a.button:hover,
body.woocommerce-account .woocommerce a.woocommerce-button:hover {
  background: var(--navy, #0c3b2e);
  border-color: var(--navy, #0c3b2e);
  color: #fff;
}

/* --------------------------------------------------------------------------
   5. Forms — login / register / account details / addresses
   -------------------------------------------------------------------------- */

/* Breathing room above and below the account area — the stock section
   rhythm feels tight against the hero and the closing band. */
body.woocommerce-account .section {
  padding-block: clamp(44px, 6vw, 72px);
}

body.woocommerce-account .u-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  max-width: 1040px;
  margin-inline: auto;
}

/* Registration disabled → single card instead of a half-empty grid. */
body.woocommerce-account .u-columns:not(:has(.u-column2)) {
  grid-template-columns: minmax(0, 540px);
}

body.woocommerce-account .u-columns .u-column1,
body.woocommerce-account .u-columns .u-column2 {
  float: none;
  width: 100%;
}

body.woocommerce-account .woocommerce-form-login,
body.woocommerce-account .woocommerce-form-register {
  background: #fff;
  border: 1px solid var(--line, rgba(12, 59, 46, 0.18));
  border-radius: 18px;
  box-shadow: var(--shadow-card, 0 4px 12px rgba(12, 59, 46, 0.06));
  padding: clamp(22px, 2.4vw, 32px);
  margin: 0;
  height: auto;
}

/* Registration runs on the dedicated /register/ page, so the logged-out
   account screen renders just the login form — card width, not full-bleed. */
body.woocommerce-account .woocommerce > .woocommerce-form-login {
  max-width: 560px;
}

/* The "Login" / "Register" headings sit above the form — in the column when
   both columns render, or directly under .woocommerce when they don't. */
body.woocommerce-account .woocommerce > h2,
body.woocommerce-account .u-column1 h2,
body.woocommerce-account .u-column2 h2,
body.woocommerce-account .woocommerce-form-login h2,
body.woocommerce-account .woocommerce-form-register h2 {
  margin: 0 0 16px;
  color: var(--navy, #0c3b2e);
  font-size: 1.5rem;
  font-weight: 800;
}

/* styles.css ships a checkout skin that resets .form-row with !important
   (float:none, margin:0) and it is not scoped to the checkout page, so it
   leaks into every account form: WooCommerce's stock 47%-wide name rows
   rendered as narrow stacks with no vertical rhythm. Re-assert the intended
   account-form layout here (higher specificity + !important wins). */
body.woocommerce-account .woocommerce form .form-row {
  margin-bottom: 16px !important;
}

/* Account details: first / last name as two equal columns with a 16px gutter,
   edges flush with the wide rows (Display name, Email…). Below 621px they
   collapse into full-width rows so every field lines up on phones. */
body.woocommerce-account .woocommerce form.woocommerce-EditAccountForm .form-row-first,
body.woocommerce-account .woocommerce form.woocommerce-EditAccountForm .form-row-last {
  float: left !important;
  width: calc(50% - 8px) !important;
}

body.woocommerce-account .woocommerce form.woocommerce-EditAccountForm .form-row-last {
  float: right !important;
}

@media (max-width: 620px) {
  body.woocommerce-account .woocommerce form.woocommerce-EditAccountForm .form-row-first,
  body.woocommerce-account .woocommerce form.woocommerce-EditAccountForm .form-row-last {
    float: none !important;
    width: 100% !important;
  }
}

body.woocommerce-account .woocommerce form .form-row label {
  margin-bottom: 6px;
  color: var(--navy, #0c3b2e);
  font-size: 13px;
  font-weight: 650;
}

body.woocommerce-account .woocommerce-form-login__submit,
body.woocommerce-account .woocommerce-form-register__submit {
  width: 100%;
  margin-top: 4px;
}

/* Extra-specific so WooCommerce's generic label margin can't collapse it —
   "Remember me" sat flush against the password field. */
body.woocommerce-account .woocommerce form .woocommerce-form-login__rememberme {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0;
  color: var(--navy, #0c3b2e);
  font-size: 13.5px;
  font-weight: 600;
}

body.woocommerce-account .woocommerce-form-login input[type="checkbox"],
body.woocommerce-account .woocommerce-form-register input[type="checkbox"],
body.woocommerce-account .woocommerce-EditAccountForm input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--navy, #0c3b2e);
}

body.woocommerce-account .woocommerce-LostPassword {
  margin: 2px 0 0;
}

body.woocommerce-account .woocommerce-LostPassword a {
  color: var(--navy, #0c3b2e);
  font-size: 13.5px;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: var(--gold, #d4af37);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

/* Password change fieldset on Account details */
body.woocommerce-account form.woocommerce-EditAccountForm {
  max-width: 760px;
}

body.woocommerce-account form.woocommerce-EditAccountForm fieldset {
  margin: 28px 0 22px;
  padding: 20px 22px 8px;
  border: 1px solid var(--line, rgba(12, 59, 46, 0.18));
  border-radius: 14px;
  background: #f9fbfa;
}

body.woocommerce-account form.woocommerce-EditAccountForm fieldset legend {
  padding: 0 10px;
  color: var(--navy, #0c3b2e);
  font-size: 14px;
  font-weight: 800;
}

/* Password strength meter (register) */
body.woocommerce-account .woocommerce-password-strength {
  display: block;
  margin-top: 8px;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 650;
}

body.woocommerce-account .woocommerce-password-strength.bad {
  background: #fdecea;
  color: #b42318;
}

body.woocommerce-account .woocommerce-password-strength.short,
body.woocommerce-account .woocommerce-password-strength.good {
  background: #fff6e2;
  color: #8a6100;
}

body.woocommerce-account .woocommerce-password-strength.strong {
  background: #e6f5ec;
  color: #0c6b3d;
}

body.woocommerce-account .woocommerce-password-hint {
  display: block;
  margin-top: 6px;
  color: #6b7c76;
  font-size: 12px;
}

@media (max-width: 860px) {
  body.woocommerce-account .u-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}

/* --------------------------------------------------------------------------
   Lost / reset password — a proper card instead of a bare full-width form
   (WooCommerce renders the field floated at 47% and the button full-bleed).
   -------------------------------------------------------------------------- */
body.woocommerce-account .woocommerce form.woocommerce-ResetPassword {
  max-width: 560px;
  margin: 0;
  padding: clamp(22px, 2.4vw, 32px);
  background: #fff;
  border: 1px solid var(--line, rgba(12, 59, 46, 0.18));
  border-radius: 18px;
  box-shadow: var(--shadow-card, 0 4px 12px rgba(12, 59, 46, 0.06));
  float: none;
}

body.woocommerce-account .woocommerce form.woocommerce-ResetPassword > p:first-of-type {
  margin: 0 0 18px;
  color: #5b6b7e;
  font-size: 14.5px;
  line-height: 1.65;
}

body.woocommerce-account .woocommerce form.woocommerce-ResetPassword .form-row {
  float: none;
  clear: both;
  width: 100%;
  margin: 0 0 18px;
}

body.woocommerce-account .woocommerce form.woocommerce-ResetPassword p.form-row:last-of-type {
  margin-bottom: 0;
}

body.woocommerce-account .woocommerce form.woocommerce-ResetPassword .button {
  width: 100%;
  margin-top: 2px;
}

body.woocommerce-account .woocommerce form.woocommerce-ResetPassword .clear {
  display: none;
}

/* "Don't have an account? Create one here" under the login form. */
body.woocommerce-account .mtts-login-register-link {
  margin: 14px 0 0;
  color: #5b6b7e;
  font-size: 14px;
}

body.woocommerce-account .mtts-login-register-link a {
  color: var(--navy, #0c3b2e);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: var(--gold, #d4af37);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   6. Tables — orders, downloads, order details
   -------------------------------------------------------------------------- */
body.woocommerce-account .woocommerce table.shop_table {
  width: 100%;
  margin: 0 0 22px;
  border: 1px solid var(--line, rgba(12, 59, 46, 0.18));
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

body.woocommerce-account .woocommerce table.shop_table th {
  padding: 13px 18px;
  background: #f3f7f5;
  border: 0;
  border-bottom: 1px solid var(--line, rgba(12, 59, 46, 0.18));
  color: rgba(12, 59, 46, 0.8);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: left;
}

body.woocommerce-account .woocommerce table.shop_table td {
  padding: 16px 18px;
  border-top: 1px solid rgba(12, 59, 46, 0.1);
  color: var(--navy, #0c3b2e);
  font-size: 14.5px;
  vertical-align: middle;
}

body.woocommerce-account .woocommerce table.shop_table tbody tr:first-child td {
  border-top: 0;
}

body.woocommerce-account .woocommerce table.shop_table tbody tr:hover td {
  background: #fafcfb;
}

body.woocommerce-account .woocommerce-orders-table__cell-order-status {
  color: var(--navy, #0c3b2e);
  font-weight: 700;
}

/* Order / downloads actions as small outline pills */
body.woocommerce-account .woocommerce-orders-table .woocommerce-button,
body.woocommerce-account .woocommerce-table--downloads .woocommerce-button {
  min-height: 36px;
  padding: 8px 18px;
  font-size: 12.5px;
}

/* Order details (view order) */
body.woocommerce-account .woocommerce-order-details {
  margin-top: 26px;
}

body.woocommerce-account .woocommerce-customer-details {
  margin-top: 26px;
}

body.woocommerce-account .woocommerce-customer-details address {
  padding: 20px;
  border: 1px solid var(--line, rgba(12, 59, 46, 0.18));
  border-radius: 14px;
  font-style: normal;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   7. Addresses page — two cards with an edit pill
   -------------------------------------------------------------------------- */
body.woocommerce-account .woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
}

body.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
  float: none;
  width: auto;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line, rgba(12, 59, 46, 0.18));
  border-radius: 16px;
}

body.woocommerce-account .woocommerce-Address .woocommerce-Address-title,
body.woocommerce-account .woocommerce-Address header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

/* WC 11 uses h2 for address titles (classic used h3) — cover both. */
body.woocommerce-account .woocommerce-Address h2,
body.woocommerce-account .woocommerce-Address h3 {
  margin: 0 0 10px;
  color: var(--navy, #0c3b2e);
  font-size: 1.05rem;
  font-weight: 800;
}

body.woocommerce-account .woocommerce-Address header h2,
body.woocommerce-account .woocommerce-Address header h3 {
  margin: 0;
}

body.woocommerce-account .woocommerce-Address .edit {
  display: inline-flex;
  align-items: center;
  flex: none;
  white-space: nowrap;
  min-height: 36px;
  padding: 8px 16px;
  background: #fff;
  color: var(--navy, #0c3b2e);
  border: 1.5px solid var(--line, rgba(12, 59, 46, 0.18));
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 750;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

body.woocommerce-account .woocommerce-Address .edit:hover {
  background: var(--navy, #0c3b2e);
  border-color: var(--navy, #0c3b2e);
  color: #fff;
}

body.woocommerce-account .woocommerce-Address address {
  margin: 0;
  font-style: normal;
  line-height: 1.75;
}

@media (max-width: 760px) {
  body.woocommerce-account .woocommerce-Addresses {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

/* --------------------------------------------------------------------------
   8. Mobile tables — WC smallscreen rows become cards with labels
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  body.woocommerce-account .woocommerce table.shop_table {
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
  }

  body.woocommerce-account .woocommerce table.shop_table thead {
    display: none;
  }

  /* WC hides the order-number row header (tbody th) on mobile; without it,
     order cards are indistinguishable. Show it as the card's title row. */
  body.woocommerce-account .woocommerce table.shop_table tbody th {
    display: block;
    width: 100%;
    padding: 8px 0 10px;
    border-bottom: 1px dashed rgba(12, 59, 46, 0.14);
    color: var(--navy, #0c3b2e);
    font-size: 13.5px;
    font-weight: 750;
    text-align: left;
  }

  body.woocommerce-account .woocommerce table.shop_table tbody th a {
    color: var(--navy, #0c3b2e);
    font-weight: 750;
    text-decoration: underline;
    text-decoration-color: var(--gold, #d4af37);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
  }

  body.woocommerce-account .woocommerce table.shop_table tr {
    display: block;
    margin: 0 0 14px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid var(--line, rgba(12, 59, 46, 0.18));
    border-radius: 14px;
  }

  body.woocommerce-account .woocommerce table.shop_table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    padding: 10px 0;
    border-top: 1px dashed rgba(12, 59, 46, 0.14);
    text-align: right;
  }

  body.woocommerce-account .woocommerce table.shop_table td::before {
    content: attr(data-title);
    color: rgba(12, 59, 46, 0.6);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-align: left;
  }

  body.woocommerce-account .woocommerce table.shop_table td:first-child {
    border-top: 0;
  }

  body.woocommerce-account .woocommerce table.shop_table td:not([data-title])::before,
  body.woocommerce-account .woocommerce table.shop_table td[data-title=""]::before {
    content: none;
  }

  body.woocommerce-account .woocommerce table.shop_table tbody tr:hover td {
    background: transparent;
  }
}

/* --------------------------------------------------------------------------
   9. Cart — WooCommerce Cart block (.wp-block-woocommerce-cart)
   --------------------------------------------------------------------------
   body.woocommerce-cart prefix keeps these above the styles WooCommerce
   blocks inject at runtime. */
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-sidebar-layout {
  gap: 34px;
}

/* Items list as a card table */
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-items {
  background: #fff;
  border: 1px solid var(--line, rgba(12, 59, 46, 0.18));
  border-radius: 16px;
  overflow: hidden;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-items__header {
  background: #f3f7f5;
  border-bottom: 1px solid var(--line, rgba(12, 59, 46, 0.18));
  color: rgba(12, 59, 46, 0.75);
  font-weight: 750;
  letter-spacing: 0.5px;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-items__row {
  border-bottom: 1px solid rgba(12, 59, 46, 0.1);
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-items__row:last-child {
  border-bottom: 0;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-name {
  color: var(--navy, #0c3b2e);
  font-size: 15px;
  font-weight: 700;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-price__value {
  font-size: 14.5px;
  font-weight: 700;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-metadata__description {
  color: rgba(12, 59, 46, 0.6);
  font-size: 13px;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__image img,
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__image > div {
  border-radius: 12px;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__remove-link {
  color: rgba(12, 59, 46, 0.55);
  font-size: 12.5px;
  font-weight: 650;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__remove-link:hover {
  color: #b42318;
}

/* Quantity stepper */
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-quantity-selector {
  height: 42px;
  border: 1.5px solid rgba(12, 59, 46, 0.28) !important;
  border-radius: 10px;
  background: #fff;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-quantity-selector__button {
  width: 40px;
  height: 100%;
  color: var(--navy, #0c3b2e);
  font-size: 16px;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-quantity-selector__button:hover {
  background: rgba(12, 59, 46, 0.07);
  color: var(--navy, #0c3b2e);
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-quantity-selector__button:disabled {
  opacity: 0.4;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-quantity-selector__input {
  width: 44px;
  height: 100%;
  background: transparent;
  border: 0;
  color: var(--navy, #0c3b2e);
  font-size: 15px;
  font-weight: 650;
}

/* Order summary card */
body.woocommerce-cart .wp-block-woocommerce-cart .wp-block-woocommerce-cart-order-summary-block {
  background: #fff;
  border: 1px solid var(--line, rgba(12, 59, 46, 0.18));
  border-radius: 18px;
  box-shadow: var(--shadow-card, 0 4px 12px rgba(12, 59, 46, 0.06));
  padding: 20px 22px;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__totals-title {
  margin: 0 0 4px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line, rgba(12, 59, 46, 0.18));
  color: rgba(12, 59, 46, 0.75);
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: 0.6px;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-item {
  padding: 10px 0;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-item__label {
  color: rgba(12, 59, 46, 0.72);
  font-size: 14px;
  font-weight: 600;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-item__value {
  color: var(--navy, #0c3b2e);
  font-size: 14.5px;
  font-weight: 700;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-footer-item {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line, rgba(12, 59, 46, 0.18));
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  color: var(--navy, #0c3b2e);
  font-size: 16px;
  font-weight: 800;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-size: 20px;
  font-weight: 800;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-footer-item-tax {
  color: rgba(12, 59, 46, 0.55);
  font-size: 12.5px;
}

/* Coupon row */
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-panel {
  border: 0;
  padding: 0;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-panel__button {
  padding: 12px 0;
  color: var(--navy, #0c3b2e);
  font-size: 13.5px;
  font-weight: 700;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-panel__button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-coupon input[type="text"] {
  min-height: 46px;
  padding: 10px 14px;
  background: #fff;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  color: #0f172a;
  font-size: 14.5px;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-coupon input[type="text"]:focus {
  border-color: var(--navy, #0c3b2e);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
  outline: none;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-coupon button {
  min-height: 46px;
  padding: 10px 22px;
  background: var(--navy, #0c3b2e);
  border: 1.5px solid var(--navy, #0c3b2e);
  border-radius: 999px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-coupon button:hover {
  background: var(--gold, #d4af37);
  border-color: var(--gold, #d4af37);
  color: var(--navy, #0c3b2e);
}

/* Proceed to checkout — gold CTA, matches the checkout page's Place order */
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__submit {
  margin-top: 16px;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__submit-button.wc-block-components-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 14px 26px !important;
  background: var(--gold, #d4af37) !important;
  border: 1.5px solid var(--gold, #d4af37) !important;
  border-radius: var(--radius-btn, 9px 28px) !important;
  color: var(--navy, #0c3b2e) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(212, 175, 55, 0.32);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__submit-button.wc-block-components-button:hover {
  background: var(--navy, #0c3b2e) !important;
  border-color: var(--navy, #0c3b2e) !important;
  color: var(--gold, #d4af37) !important;
  box-shadow: 0 14px 30px rgba(12, 59, 46, 0.25);
}

/* Other block buttons (coupon apply fallback, etc.) */
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-button {
  border-radius: 999px;
  font-weight: 700;
}

/* Empty cart */
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__empty-cart__title {
  color: var(--navy, #0c3b2e);
  font-size: 1.55rem;
  font-weight: 800;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-paragraph {
  margin-top: 12px;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wp-block-woocommerce-empty-cart-block a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 11px 26px;
  background: var(--navy, #0c3b2e);
  border: 1.5px solid var(--navy, #0c3b2e);
  border-radius: var(--radius-btn, 9px 28px);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wp-block-woocommerce-empty-cart-block a:hover {
  background: var(--gold, #d4af37);
  border-color: var(--gold, #d4af37);
  color: var(--navy, #0c3b2e);
}

@media (max-width: 900px) {
  body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-sidebar-layout {
    gap: 24px;
  }
}

@media (max-width: 620px) {
  body.woocommerce-cart .wp-block-woocommerce-cart .wp-block-woocommerce-cart-order-summary-block {
    padding: 16px;
    border-radius: 14px;
  }
}
