/* ============================================================
   INSTANT COSMETICS — WooCommerce overrides (ic-woocommerce.css)
   ============================================================ */

/* ============================================================
   1. SHOP ARCHIVE
   ============================================================ */

/* --- Layout + sidebar --- */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: flex-start;
}

img.img-fluid,
img {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.shop-filters {
  background: var(--ic-paper);
  border: 1px solid var(--ic-line);
  border-radius: var(--r-lg);
  padding: 22px;
  position: sticky;
  top: 24px;
}

.shop-filters h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin-bottom: 14px;
  color: var(--ic-ink);
}

.shop-filters .section-label {
  font-family: var(--ic-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ic-ink-3);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

.shop-filters .section-label + .section-label {
  margin-top: 22px;
}

.shop-filters label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 14px;
  color: var(--ic-ink-2);
  cursor: pointer;
}

.shop-filters label:hover {
  color: var(--ic-ink);
}

.shop-filters input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--ic-primary);
  cursor: pointer;
  flex: none;
}

.shop-filters .filter-actions {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--ic-line);
}

/* Mobile filter accordion toggle — hidden on desktop. */
.shop-filters-mobile-toggle {
  display: none;
}

/* --- Supplier cards (brand grid on /shop/) --- */
.supplier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.supplier-card {
  display: flex;
  flex-direction: column;
  background: var(--ic-paper);
  border: 1px solid var(--ic-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition:
    box-shadow 0.15s,
    transform 0.15s;
  text-decoration: none;
  color: inherit;
}

.supplier-card:hover {
  box-shadow: var(--sh-2);
  transform: translateY(-2px);
}

.supplier-card .sup-img {
  aspect-ratio: 1 / 0.78;
  background: linear-gradient(
    135deg,
    var(--ic-crimson-50) 0%,
    var(--ic-crimson-100) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.supplier-card .sup-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.supplier-card .sup-initials {
  font-family: var(--ic-serif);
  font-size: 52px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ic-primary);
  line-height: 1;
}

.supplier-card .sup-body {
  padding: 16px 18px 20px;
}

.supplier-card .sup-name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.005em;
  color: var(--ic-ink);
  margin-bottom: 6px;
}

.supplier-card .sup-desc {
  font-size: 13.5px;
  color: var(--ic-ink-3);
  line-height: 1.45;
}

/* --- Page header + toolbar + grid loading state --- */
.shop-header {
  margin-bottom: 26px;
}

.shop-header__title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ic-ink);
  margin: 0 0 4px;
  line-height: 1.15;
}

.shop-header__sub {
  font-size: 14.5px;
  color: var(--ic-ink-3);
  margin: 0;
  line-height: 1.5;
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.shop-toolbar__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 0;
  color: var(--ic-ink);
}

/* AJAX loading state — shop-filter.js sets aria-busy="true" on the grid while a
   fetch is in flight (it does not toggle a class), so target that. */
[data-ic-shop-grid][aria-busy="true"] {
  opacity: 0.55;
  transition: opacity 0.12s ease-in;
  pointer-events: none;
}

/* --- Load more + skeleton cards (shop-filter.js) --- */
.shop-loadmore {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.shop-loadmore[hidden] {
  display: none;
}
.shop-loadmore .btn {
  min-width: 220px;
}

.prod-skeleton {
  border: 1px solid var(--ic-line);
  border-radius: var(--r);
  background: var(--ic-paper);
  overflow: hidden;
  padding: 0 0 16px;
}
.prod-skeleton__img {
  aspect-ratio: 1 / 1;
  background: var(--ic-paper-2);
}
.prod-skeleton__line {
  height: 12px;
  border-radius: 6px;
  background: var(--ic-paper-2);
  margin: 16px 14px 0;
}
.prod-skeleton__line--short {
  width: 55%;
}
.prod-skeleton__btn {
  height: 36px;
  border-radius: 999px;
  background: var(--ic-paper-2);
  margin: 18px 14px 0;
}
.prod-skeleton__img,
.prod-skeleton__line,
.prod-skeleton__btn {
  position: relative;
  overflow: hidden;
}
.prod-skeleton__img::after,
.prod-skeleton__line::after,
.prod-skeleton__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  animation: ic-shimmer 1.2s infinite;
}
@keyframes ic-shimmer {
  100% {
    transform: translateX(100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .prod-skeleton__img::after,
  .prod-skeleton__line::after,
  .prod-skeleton__btn::after {
    animation: none;
  }
}

/* --- WC "Default sorting" dropdown — restyle to match IC controls --- */
.woocommerce .woocommerce-ordering {
  margin: 0;
}

.woocommerce-ordering select.orderby {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: var(--ic-paper);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23677'  stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 12px;
  border: 1px solid var(--ic-line);
  border-radius: var(--r-md);
  color: var(--ic-ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.2;
  padding: 9px 38px 9px 14px;
  min-width: 180px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

.woocommerce-ordering select.orderby:hover {
  border-color: var(--ic-ink-3);
}

.woocommerce-ordering select.orderby:focus {
  outline: none;
  border-color: var(--ic-primary);
  box-shadow: 0 0 0 3px var(--ic-crimson-50);
}

/* --- Shop archive — responsive --- */
@media (max-width: 1200px) {
  .supplier-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1199px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-filters {
    padding: 0;
    border: none;
    background: none;
    position: static;
  }

  .shop-filters-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: var(--ic-paper);
    border: 1px solid var(--ic-line);
    border-radius: var(--r-md);
    padding: 12px 16px;
    font-family: inherit;
    font-weight: 700;
    font-size: 15px;
    color: var(--ic-ink);
    cursor: pointer;
    line-height: 1.2;
  }

  .shop-filters-mobile-toggle .chevron {
    transition: transform 0.18s ease;
    flex: none;
  }

  .shop-filters-mobile-toggle[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
  }

  .shop-filters[data-ic-shop-filters] > form {
    display: none;
    margin-top: 8px;
    background: var(--ic-paper);
    border: 1px solid var(--ic-line);
    border-radius: var(--r-md);
    padding: 18px;
  }

  .shop-filters[data-ic-shop-filters][data-mobile-open] > form {
    display: block;
  }

  .shop-filters > form h3 {
    display: none;
  }
}

@media (max-width: 991px) {
  .supplier-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .supplier-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   2. PRODUCT CARDS (archive loop — content-product.php)
   ============================================================ */
a.card {
  text-decoration: none;
  color: inherit;
}

.pcard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  transition:
    box-shadow 0.15s,
    transform 0.15s;
}

.pcard:hover {
  box-shadow: var(--sh-2);
  transform: translateY(-2px);
}

.pcard .pimg {
  position: relative;
  aspect-ratio: 1 / 0.82;
  width: 100%;
  border-radius: 0;
  border-bottom: 1px solid var(--ic-line);
}

.pcard .pimg .corner {
  position: absolute;
  top: 10px;
  right: 10px;
}

.pcard .pbody {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pcard .brandname {
  font-family: var(--ic-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ic-ink-3);
}

.pcard h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--ic-ink);
  margin: 0;
}

.pcard .price-row {
  font-size: 14.5px;
  color: var(--ic-ink);
  margin-top: 2px;
}

.pcard .price-row del {
  color: var(--ic-ink-3);
  margin-right: 6px;
  opacity: 0.75;
}

.pcard .price-row ins,
.pcard .price-row .amount {
  text-decoration: none;
  font-weight: 600;
}

.pcard .row.g6 {
  margin-top: 8px;
  gap: 6px;
  flex-wrap: wrap;
}

/* ============================================================
   3. SINGLE PRODUCT (PDP) — layout + add-to-cart
   ============================================================ */

/* --- PDP layout (from single-product.php) --- */
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--ic-ink-3);
  margin-bottom: 14px;
}

.breadcrumb a:hover {
  color: var(--ic-ink);
}
.breadcrumb span {
  font-weight: bold;
}

.pdp {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: start;
}

.pdp .was {
  display: block;
  width: 100%;
  margin-bottom: 4px;
}

/* PDP sale price — WC's get_price_html() emits <del>regular</del> <ins>sale</ins>.
   The regular price is shown separately as the labelled "RRP" strikethrough
   (.was), so hide the inline <del> to avoid showing it twice, and drop the
   browser-default underline on <ins>. */
.single-product__price del {
  display: none;
}
.single-product__price ins {
  text-decoration: none;
  background: none;
  color: inherit;
}
.pdp .price-list-wrap {
  text-align: left !important;
}
.pdp .btw {
  flex-wrap: wrap;
}
.pdp .btw .left-pdp {
  width: 100%;
}
.pdp .tag--primary {
  display: inline-block;
  text-align: left;
}
.pdp .row.g8.ctr {
  flex-wrap: wrap;
}
@media (min-width: 992px) {
  .pdp .price-list-wrap {
    text-align: right !important;
  }
  .pdp .btw .left-pdp {
    width: auto;
  }
}
/* Grid + flex children default to min-width:auto, which lets long content
   (tab row, price string, tier cells) expand the column beyond its track
   and overflow the viewport on mobile. Force shrink-to-fit. */
.pdp > * {
  min-width: 0;
}

/* ≤991 (md-and-down) — stack gallery above product info. The 2-col grid was
   forcing both columns to fit on narrow viewports, causing horizontal
   overflow / the page to scroll sideways. */
@media (max-width: 991px) {
  .pdp {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .gallery .main {
    max-height: 400px;
  }
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.gallery .main {
  aspect-ratio: 1/1;
  border-radius: var(--r-lg);
}

.gallery .thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery .thumbs .imgph {
  aspect-ratio: 1/1;
  border-radius: var(--r-sm);
  cursor: pointer;
}

.gallery .thumbs .imgph:first-child {
  outline: 2px solid var(--ic-primary);
  outline-offset: 2px;
}

.display.single-product__price {
  font-size: 28px;
}
@media (min-width: 768px) and (max-width: 1199px) {
  .display.single-product__price {
    font-size: 24px !important;
  }
}

/* 576–767 (tablet portrait) — PDP info column is full width here, so the 4
   tiers still fit in one row; just compress padding + price font slightly. */
@media (min-width: 576px) and (max-width: 767px) {
  .tiers .t {
    padding: 10px 8px;
  }
  .tiers .t .p {
    font-size: 18px;
  }
  .tiers .t .q,
  .tiers .t .s {
    font-size: 10px;
  }
  .display.single-product__price {
    font-size: 24px !important;
  }
}

/* ≤575 (phones) — 4-up overflows / clips the last tier. Switch to a 2x2 grid
   so all four are visible and legible. Rebuild the cell borders for the new
   layout: vertical rule between columns, horizontal rule between rows. */
@media (max-width: 575px) {
  .pdp h1.display {
    font-size: 28px !important;
  }

  .tiers {
    grid-template-columns: repeat(2, 1fr);
  }
  .tiers .t {
    min-width: 0;
    padding: 12px 14px;
    border-right: 1px solid var(--ic-line);
  }
  /* Right column: no dangling right border (the container frame handles it). */
  .tiers .t:nth-child(2n) {
    border-right: none;
  }
  /* Top row: horizontal divider down to the second row. */
  .tiers .t:nth-child(-n + 2) {
    border-bottom: 1px solid var(--ic-line);
  }
  .tiers .t .p {
    font-size: 19px;
  }
  .tiers .t .q,
  .tiers .t .s {
    font-size: 11px;
  }
}

.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--ic-line);
  border-radius: var(--r);
  overflow: hidden;
}

.tiers .t {
  padding: 12px;
  border-right: 1px solid var(--ic-line);
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.tiers .t:last-child {
  border-right: none;
}

.tiers .t.on {
  background: var(--ic-primary);
  color: #fff;
}

.tiers .t .q {
  font-family: var(--ic-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  opacity: 0.8;
}

.pdp .tiers .t .p {
  font-family: var(--ic-serif);
  font-size: 16px;
  font-weight: 600;
}
@media (min-width: 1200px) {
  .pdp .tiers .t .p {
    font-size: 19px;
  }
}

.tiers .t .s {
  font-size: 11px;
  opacity: 0.8;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--ic-line-2);
  border-radius: 999px;
  overflow: hidden;
}

.qty button {
  width: 42px;
  height: 46px;
  border: none;
  background: var(--ic-paper);
  font-size: 20px;
  cursor: pointer;
  color: var(--ic-ink-2);
}

.qty .n {
  width: 54px;
  text-align: center;
  font-family: var(--ic-mono);
  font-weight: 600;
  font-size: 17px;
}

/* --- WC's add-to-cart form on the PDP ---
   NB: our custom single-product.php doesn't render WC's `div.product` wrapper,
   so these are scoped to `form.cart` (PDP single add-to-cart) rather than
   `div.product form.cart`, or none of it would apply. */
.woocommerce form.cart,
.woocommerce-page form.cart {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  flex-wrap: wrap;
}

.woocommerce form.cart .quantity,
.woocommerce-page form.cart .quantity {
  margin: 0;
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--ic-line-2);
  border-radius: 999px;
  overflow: hidden;
  background: var(--ic-paper);
}

.woocommerce form.cart .quantity input.qty,
.woocommerce-page form.cart .quantity input.qty,
.woocommerce .quantity input.qty {
  width: 64px;
  height: 46px;
  text-align: center;
  border: 0;
  border-radius: 0;
  margin: 0;
  background: transparent;
  font-family: var(--ic-mono);
  font-weight: 600;
  font-size: 16px;
  color: var(--ic-ink);
  padding: 0;
  -moz-appearance: textfield;
}

/* −/+ stepper buttons injected by portal.js, inside the rounded pill. */
.woocommerce form.cart .quantity .qty-step {
  width: 42px;
  height: 46px;
  border: 0;
  background: var(--ic-paper);
  color: var(--ic-ink-2);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.woocommerce form.cart .quantity .qty-step:hover {
  color: var(--ic-primary);
}

.woocommerce .quantity input.qty:focus {
  outline: none;
}
/* Visible focus ring on the qty pill itself — the input sits inside an
   overflow:hidden rounded container, so the ring goes on the wrapper. */
.woocommerce form.cart .quantity:focus-within,
.woocommerce-page form.cart .quantity:focus-within {
  border-color: var(--ic-primary);
  box-shadow: 0 0 0 3px var(--ic-crimson-50);
}

.woocommerce .quantity input.qty::-webkit-outer-spin-button,
.woocommerce .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* --- Single Add to cart button (PDP) --- */
.woocommerce button.single_add_to_cart_button,
.woocommerce div.product button.single_add_to_cart_button,
.woocommerce-page button.single_add_to_cart_button,
button.single_add_to_cart_button,
.single_add_to_cart_button {
  background: var(--ic-primary) !important;
  background-color: var(--ic-primary) !important;
  color: #fff !important;
  border: 0 !important;
  padding: 13px 32px !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  font-family: var(--ic-sans) !important;
  letter-spacing: -0.005em;
  line-height: 1.3;
  cursor: pointer;
  text-shadow: none !important;
  box-shadow: none !important;
  text-transform: none;
  height: 46px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.woocommerce button.single_add_to_cart_button:hover,
.woocommerce div.product button.single_add_to_cart_button:hover,
button.single_add_to_cart_button:hover,
.single_add_to_cart_button:hover {
  background: var(--ic-primary-2) !important;
  background-color: var(--ic-primary-2) !important;
}

.woocommerce button.single_add_to_cart_button:disabled,
.woocommerce button.single_add_to_cart_button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* --- Loop "Add to cart" buttons (shop archive) — same styling --- */
.woocommerce a.button.add_to_cart_button,
.woocommerce a.button.product_type_simple,
.woocommerce-page a.button.add_to_cart_button,
.woocommerce-page a.button.product_type_simple {
  background: var(--ic-primary) !important;
  color: #fff !important;
  border: 0 !important;
  padding: 9px 18px !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  font-family: var(--ic-sans) !important;
  letter-spacing: -0.005em;
  text-shadow: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.woocommerce a.button.add_to_cart_button:hover,
.woocommerce-page a.button.add_to_cart_button:hover {
  background: var(--ic-primary-2) !important;
}

/* ============================================================
   4. CART — layout, line items, quantity stepper
   ============================================================ */

/* --- Grid (lines column + sticky summary on the right) --- */
.cart-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 28px;
  align-items: start;
}

.cart-grid .hint.mono {
  margin-top: 2px;
}

/* --- Line items (one row per product) --- */
.cart-line {
  display: grid;
  grid-template-columns: 56px 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--ic-line);
}

.cart-line:last-child {
  border-bottom: none;
}

.cart-line .th {
  width: 56px;
  height: 56px;
  border-radius: 9px;
}

.cart-line .nm {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.cart-line.warn {
  background: var(--ic-danger-tint);
}

.cart-prod-subtotal {
  min-width: 100px;
  text-align: right;
}

/* --- Quantity stepper — pill with − / input / +
       Buttons injected by cart.php inline script. --- */
.cart-qty {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--ic-line-2);
  border-radius: 999px;
  overflow: hidden;
  background: var(--ic-paper);
  height: 46px;
}

.cart-qty .quantity {
  display: inline-flex;
  align-items: stretch;
  margin: 0 !important;
}

.cart-qty input {
  width: 42px;
  height: 100%;
  text-align: center;
  border: 0;
  border-radius: 0;
  margin: 0 !important;
  padding: 0;
  background: transparent;
  font-family: var(--ic-mono);
  font-weight: 600;
  font-size: 15px;
  color: var(--ic-ink);
  outline: none;
  appearance: textfield;
  -moz-appearance: textfield;
}

.cart-qty input::-webkit-outer-spin-button,
.cart-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-qty .cart-qty-btn {
  width: 36px;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--ic-ink-2);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  transition:
    background-color 0.12s,
    color 0.12s;
  user-select: none;
}

.cart-qty .cart-qty-btn:hover {
  background: var(--ic-paper-2);
  color: var(--ic-ink);
}

.cart-qty .cart-qty-btn:active {
  background: var(--ic-line);
}

.cart-qty .cart-qty-btn:disabled {
  color: var(--ic-faint);
  cursor: not-allowed;
}

.cart-qty .cart-qty-btn--dec {
  border-right: 1px solid var(--ic-line-2);
}

.cart-qty .cart-qty-btn--inc {
  border-left: 1px solid var(--ic-line-2);
}

.cart-qty.danger {
  border-color: var(--ic-danger);
}

/* --- Discount-breakdown summary --- */
.summary {
  position: sticky;
  top: 90px;
}

.sum-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 5px 0;
}

.sum-line .disc {
  color: var(--ic-success);
  font-weight: 600;
}
/* Consolidated "You saved" line — caps the breakdown above the total. */
.sum-line--saved {
  margin-top: 6px;
  padding-top: 11px;
  border-top: 1px dashed var(--ic-line);
  font-weight: 700;
  color: var(--ic-success);
}
.sum-line--saved .mono-num {
  color: var(--ic-success);
  font-weight: 700;
}

/* Cart page renders inside the portal shell — flush the actions right. */
body.woocommerce-cart .app-top {
  justify-content: space-between;
}

/* --- Cart — responsive --- */
/* ≤1199 (xl) — stack the cart layout (lines on top, summary below). */
@media (max-width: 1199px) {
  .cart-grid {
    grid-template-columns: 1fr;
  }

  .summary {
    position: static;
  }

  .cart-prod-subtotal {
    min-width: 80px;
    text-align: left;
  }
}

/* ≥576 (sm and up) — keep subtotal right-aligned again on tablet+. */
@media (min-width: 576px) {
  .cart-prod-subtotal {
    text-align: right;
  }
}

/* ≤575 (sm-and-down) — collapse the 4-column row: thumb+name on row 1,
   qty + price/remove drop to a new row. */
@media (max-width: 575px) {
  .cart-line {
    grid-template-columns: 56px 1fr !important;
    column-gap: 10px;
    row-gap: 16px;
    padding: 12px 14px;
  }

  .cart-line > *:nth-child(3),
  .cart-line > *:nth-child(4) {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .cart-line .th {
    width: 40px;
    height: 40px;
  }

  .cart-line .nm {
    font-size: 13.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .cart-line > div:nth-child(2) {
    min-width: 0;
  }

  .cart-qty {
    height: 40px;
  }

  .cart-qty input {
    width: 36px;
    height: 40px !important;
    font-size: 13.5px;
  }

  .cart-qty .cart-qty-btn {
    width: 32px;
    font-size: 16px;
  }

  /* Continue shopping + Update cart buttons stack on narrow viewports. */
  .woocommerce-cart-form .cart-grid .card > div:last-child {
    flex-direction: column;
    gap: 10px;
  }

  .woocommerce-cart-form .cart-grid .card > div:last-child > * {
    width: 100%;
    justify-content: center;
  }
}

/* ≤374 (xs) — tightest cart line for the smallest phones. */
@media (max-width: 374px) {
  .cart-line .th {
    width: 34px;
    height: 34px;
  }

  .cart-qty {
    height: 40px;
  }

  .cart-qty input {
    width: 30px;
    font-size: 13px;
  }

  .cart-qty .cart-qty-btn {
    width: 28px;
    font-size: 15px;
  }
}

@media (min-width: 992px) {
  body.woocommerce-cart .app-top {
    justify-content: flex-end;
  }
}

/* ============================================================
   5. CART / CHECKOUT FOCUSED-FLOW SHELL
   Top bar + breadcrumb band rendered by index.php for checkout
   (and historically cart, now living in the portal shell).
   ============================================================ */
.wc-topbar {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 18px 48px;
  border-bottom: 1px solid var(--ic-line);
  background: var(--ic-paper);
}

.wc-topbar .wc-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ic-ink);
}

.wc-topbar .wc-brand .brand__mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--ic-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--ic-serif);
  font-weight: 700;
  font-size: 16px;
}

.wc-topbar .wc-brand .brand__name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.wc-topbar .wc-secure {
  margin-left: auto;
  font-family: var(--ic-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ic-ink-3);
}

.wc-crumbs-bar {
  background: var(--ic-canvas);
  border-bottom: 1px solid var(--ic-line);
}

.wc-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ic-ink-3);
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 48px;
}

.wc-crumbs a {
  color: var(--ic-ink-3);
  text-decoration: none;
}

.wc-crumbs a:hover {
  color: var(--ic-ink);
}

.wc-crumbs .sep {
  opacity: 0.55;
}

.wc-crumbs .current {
  color: var(--ic-ink);
  font-weight: 600;
}

.wc-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 48px 80px;
}

/* --- Focused-flow shell — responsive --- */
@media (max-width: 767px) {
  .wc-topbar {
    padding: 14px 20px;
    gap: 14px;
  }

  .wc-topbar .wc-secure {
    margin-left: 0;
  }

  .wc-crumbs {
    padding: 10px 20px;
  }

  .wc-page {
    padding: 28px 20px 60px;
  }
}

/* ============================================================
   6. CHECKOUT — layout + payment options
   ============================================================ */
.co {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: start;
}

.co-step {
  margin-bottom: 18px;
}

.co-step__h {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.co-step__n {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ic-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.co-step__n.done {
  background: var(--ic-success);
}

.co-step__t {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.pay-opt {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1.5px solid var(--ic-line-2);
  border-radius: var(--r);
  cursor: pointer;
}

.pay-opt.on {
  border-color: var(--ic-primary);
  background: var(--ic-primary-tint);
}

.conditional-tag {
  font-size: 11px;
  font-family: var(--ic-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--ic-accent-tint);
  color: var(--ic-accent-2);
  padding: 3px 8px;
  border-radius: var(--r-sm);
  border: 1px solid #ecd9c9;
}

/* --- Checkout — responsive --- */
@media (max-width: 991px) {
  .co {
    grid-template-columns: 1fr;
  }

  .co .summary {
    position: static;
  }

  .co-step__h {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
  }

  .co-step__n {
    width: 26px;
    height: 26px;
    font-size: 13px;
  }

  .co-step__t {
    font-size: 16px;
  }

  .card.card--pad {
    padding: 18px;
  }
}

/* ============================================================
   7. WC FORM FIELDS (checkout + address)
   Crimson focus ring + warm-paper inputs to match the rest of
   the theme. NB: my-account inner-page form styles live in
   section 13 (scoped under .ic-account-main).
   ============================================================ */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-checkout select,
.woocommerce-checkout .select2-selection {
  width: 100%;
  font-family: var(--ic-sans);
  font-size: 15px;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  background: var(--ic-paper);
  border: 1.5px solid var(--ic-line-2);
  color: var(--ic-ink);
  line-height: 1.4;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  outline: none;
  border-color: var(--ic-primary);
  box-shadow: 0 0 0 3px var(--ic-primary-tint);
}

.woocommerce form .form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ic-ink-2);
  letter-spacing: -0.005em;
  margin-bottom: 6px;
}

.woocommerce form .form-row .required {
  color: var(--ic-danger);
  text-decoration: none;
}

/* --- WC form fields — responsive --- */
@media (max-width: 991px) {
  /* form-row halves stack on tablet down */
  .woocommerce form .form-row-first,
  .woocommerce form .form-row-last,
  .woocommerce-page form .form-row-first,
  .woocommerce-page form .form-row-last {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
  }

  .woocommerce form .form-row {
    padding: 0 0 12px;
  }
}

/* ============================================================
   8. COUPON STRIP (cart + checkout)
   Heavy !important + parent selectors because WC's own stylesheet
   ships rules at equal specificity and loads after ic-woocommerce.css.
   ============================================================ */
.woocommerce .woocommerce-form-coupon-toggle {
  margin: 0 0 18px;
}

.woocommerce .woocommerce-form-coupon-toggle .woocommerce-info {
  background: var(--ic-paper) !important;
  border: 1px solid var(--ic-line) !important;
  border-left: 3px solid var(--ic-primary) !important;
  border-top: 1px solid var(--ic-line) !important;
  border-radius: var(--r) !important;
  padding: 12px 18px 12px 18px !important;
  color: var(--ic-ink-2) !important;
  font-size: 14.5px;
  list-style: none;
  margin: 0;
}

.woocommerce .woocommerce-form-coupon-toggle .woocommerce-info::before {
  display: none !important;
}

.woocommerce .woocommerce-form-coupon-toggle .showcoupon {
  color: var(--ic-primary) !important;
  font-weight: 600;
  text-decoration: none;
}

.woocommerce .woocommerce-form-coupon-toggle .showcoupon:hover {
  text-decoration: underline;
}

/* The coupon form itself — flex row, input grows, button beside.
   Overrides WC's float-based form-row-first/last layout. */
.woocommerce form.checkout_coupon.woocommerce-form-coupon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  background: var(--ic-paper);
  border: 1px solid var(--ic-line);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  margin: 0 0 22px;
  box-shadow: var(--sh-1);
  width: 100%;
  overflow: hidden;
}

.woocommerce
  form.checkout_coupon.woocommerce-form-coupon
  > p:first-of-type:not(.form-row) {
  display: none;
}

.woocommerce form.checkout_coupon.woocommerce-form-coupon p.form-row {
  margin: 0;
  padding: 0;
  width: auto;
  float: none;
}

.woocommerce form.checkout_coupon.woocommerce-form-coupon .form-row-first {
  flex: 1 1 240px;
  min-width: 0;
}

.woocommerce form.checkout_coupon.woocommerce-form-coupon .form-row-last {
  flex: 0 0 auto;
}

/* Newer WC uses <div class="coupon"> wrapping input + button. */
.woocommerce form.checkout_coupon.woocommerce-form-coupon .coupon {
  display: flex;
  flex: 1 1 100%;
  gap: 10px;
  align-items: center;
}

.woocommerce
  form.checkout_coupon.woocommerce-form-coupon
  .coupon
  input[type="text"] {
  flex: 1 1 240px;
}

.woocommerce form.checkout_coupon.woocommerce-form-coupon input[type="text"],
.woocommerce form.checkout_coupon.woocommerce-form-coupon input.input-text {
  width: 100%;
  padding: 11px 14px !important;
  border-radius: var(--r-sm) !important;
  border: 1.5px solid var(--ic-line-2) !important;
  background: var(--ic-paper) !important;
  font-family: var(--ic-sans);
  font-size: 14.5px;
  color: var(--ic-ink);
  box-shadow: none !important;
}

.woocommerce
  form.checkout_coupon.woocommerce-form-coupon
  input[type="text"]:focus,
.woocommerce
  form.checkout_coupon.woocommerce-form-coupon
  input.input-text:focus {
  outline: none;
  border-color: var(--ic-primary) !important;
  box-shadow: 0 0 0 3px var(--ic-primary-tint) !important;
}

.woocommerce form.checkout_coupon.woocommerce-form-coupon button,
.woocommerce form.checkout_coupon.woocommerce-form-coupon button.button {
  background: var(--ic-primary) !important;
  background-color: var(--ic-primary) !important;
  color: #fff !important;
  border: 0 !important;
  padding: 11px 22px !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  font-family: var(--ic-sans) !important;
  font-size: 14px !important;
  cursor: pointer;
  white-space: nowrap;
  text-shadow: none !important;
  box-shadow: none !important;
}

.woocommerce form.checkout_coupon.woocommerce-form-coupon button:hover,
.woocommerce form.checkout_coupon.woocommerce-form-coupon button.button:hover {
  background: var(--ic-primary-2) !important;
  background-color: var(--ic-primary-2) !important;
}

.woocommerce form.checkout_coupon.woocommerce-form-coupon .clear {
  display: none;
}

/* --- Coupon strip — responsive --- */
@media (max-width: 991px) {
  .woocommerce form.checkout_coupon.woocommerce-form-coupon {
    padding: 14px 16px;
  }

  .woocommerce form.checkout_coupon.woocommerce-form-coupon button,
  .woocommerce form.checkout_coupon.woocommerce-form-coupon button.button {
    flex: 1 1 100%;
  }
}

/* ============================================================
   9. SUPPRESS DUPLICATE PLACE ORDER BLOCK
   WC's hooks inject a .place-order row + privacy text inside
   .woocommerce-checkout-payment. form-checkout.php renders its
   own crimson Place Order button under the summary, so hide WC's.
   ============================================================ */
.co-step .place-order,
.co-step .form-row.place-order,
.co-step button[name="woocommerce_checkout_place_order"],
.co-step .woocommerce-privacy-policy-text,
.co-step .woocommerce-terms-and-conditions-wrapper,
#payment .place-order,
#payment .form-row.place-order,
#payment button[name="woocommerce_checkout_place_order"],
#payment .woocommerce-privacy-policy-text,
#payment .woocommerce-terms-and-conditions-wrapper,
.woocommerce-checkout-payment .place-order,
.woocommerce-checkout-payment .form-row.place-order,
.woocommerce-checkout-payment button[name="woocommerce_checkout_place_order"],
.woocommerce-checkout-payment .woocommerce-privacy-policy-text,
.woocommerce-checkout-payment .woocommerce-terms-and-conditions-wrapper {
  display: none !important;
}

/* ============================================================
   9b. PAYMENT METHODS LIST
   The selectable methods (Direct bank transfer / Cash on delivery
   now; any gateway added later — Stripe/PayPal/Afterpay etc. —
   renders into this SAME list, so this styling carries forward).
   We style the WRAPPER only; gateway logos/buttons stay default.
   Scoped under `.woocommerce-checkout #payment` + the ul's double
   class so it out-specifies WooCommerce's own #payment defaults.
   ============================================================ */
.woocommerce-checkout #payment ul.wc_payment_methods.payment_methods {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  border: 1px solid var(--ic-line);
  border-radius: var(--r-lg);
  background: var(--ic-paper);
  overflow: hidden;
}
.woocommerce-checkout #payment ul.wc_payment_methods.payment_methods li.wc_payment_method {
  margin: 0;
  padding: 14px 18px;
  list-style: none;
  border-top: 1px solid var(--ic-line);
}
.woocommerce-checkout #payment ul.wc_payment_methods.payment_methods li.wc_payment_method:first-child {
  border-top: none;
}
/* Selected method — subtle on-brand highlight (degrades gracefully where :has isn't supported). */
.woocommerce-checkout #payment ul.wc_payment_methods.payment_methods li.wc_payment_method:has(input.input-radio:checked) {
  background: var(--ic-primary-tint, var(--ic-paper-2));
}
.woocommerce-checkout #payment ul.wc_payment_methods.payment_methods li.wc_payment_method input.input-radio {
  accent-color: var(--ic-primary);
  width: 16px;
  height: 16px;
  margin: 0 10px 0 0;
  vertical-align: -3px;
  cursor: pointer;
}
.woocommerce-checkout #payment ul.wc_payment_methods.payment_methods li.wc_payment_method label {
  display: inline;
  margin: 0;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ic-ink);
  cursor: pointer;
}
/* Gateway logo (default <img> a gateway supplies) — keep it, just size + space it. */
.woocommerce-checkout #payment ul.wc_payment_methods.payment_methods li.wc_payment_method label img {
  max-height: 24px;
  width: auto;
  vertical-align: middle;
  margin-left: 8px;
}
/* Description box under the selected method — drop WC's grey box + triangle. */
.woocommerce-checkout #payment ul.wc_payment_methods.payment_methods li.wc_payment_method .payment_box {
  margin: 12px 0 0;
  padding: 0;
  background: transparent;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ic-ink-2);
}
.woocommerce-checkout #payment ul.wc_payment_methods.payment_methods li.wc_payment_method .payment_box::before {
  display: none;
}
.woocommerce-checkout #payment ul.wc_payment_methods.payment_methods li.wc_payment_method .payment_box p {
  margin: 0 0 8px;
}
.woocommerce-checkout #payment ul.wc_payment_methods.payment_methods li.wc_payment_method .payment_box p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   10. SESSION NOTICES (wc-message / -info / -error)
   Boxes WC prints via wc_print_notices() after add-to-cart,
   coupon apply, validation errors, etc.
   ============================================================ */
.woocommerce-notices-wrapper {
  margin: 0 0 22px;
}

.woocommerce-notices-wrapper:empty {
  display: none;
  margin: 0;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
ul.woocommerce-error {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 14px;
  padding: 14px 18px;
  border-radius: var(--r);
  border: 1px solid var(--ic-line);
  border-left-width: 3px;
  background: var(--ic-paper);
  color: var(--ic-ink-2);
  font-size: 14.5px;
  line-height: 1.5;
  box-shadow: var(--sh-1);
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  content: "";
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px 14px;
  top: 0.938rem !important;
  font-family: inherit;
  position: static;
  color: transparent;
}
.single-product .woocommerce-message::before {
  top: 1.125rem !important;
}
@media (min-width: 992px) {
  .woocommerce-notices-wrapper .woocommerce-message a.button,
  .woocommerce-notices-wrapper .woocommerce-info a.button,
  .woocommerce-notices-wrapper .woocommerce-error a.button {
    margin: 0 0 0 auto;
    display: block;
  }
}

/* --- Success — "Product added to cart", "Coupon applied", "Cart updated" --- */
.wc-page .woocommerce-message {
  border-top-color: var(--ic-success);
  border-left-color: var(--ic-success);
  background: linear-gradient(
    to right,
    var(--ic-success-tint) 0%,
    var(--ic-paper) 65%
  );
  outline: none;
}

.woocommerce-message::before {
  color: var(--ic-success);
}

/* --- Info — "Have a coupon?", "Please log in to checkout" --- */
.woocommerce-info {
  border-top-color: var(--ic-info) !important;
  border-left-color: var(--ic-info);
  background: linear-gradient(
    to right,
    var(--ic-info-tint) 0%,
    var(--ic-paper) 65%
  );
}

/* --- Errors / validation failures (cart MOQ block, checkout cart issues) --- */
.woocommerce-error,
ul.woocommerce-error {
  border-left-color: var(--ic-danger);
  background: linear-gradient(
    to right,
    var(--ic-danger-tint) 0%,
    var(--ic-paper) 65%
  );
  color: var(--ic-ink);
  align-items: flex-start; /* top-align the icon with multi-line messages */
}

/* Red circle + white "!" icon. !important + position:static defeat WooCommerce's
   own absolute-positioned ::before, which otherwise leaks as a stray red dot. */
.woocommerce-error::before,
ul.woocommerce-error::before {
  content: "" !important;
  position: static !important;
  margin: 1px 0 0 !important;
  background-color: var(--ic-danger) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='7' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 13px 13px !important;
}

.woocommerce-error li,
ul.woocommerce-error li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* "Return to cart" / "Return to shop" back buttons (checkout cart-error screen,
   empty states) — brand them as a light button instead of the WC default. */
.woocommerce a.button.wc-backward,
.woocommerce .button.wc-backward,
.wc-page a.button.wc-backward,
.wc-page .button.wc-backward {
  display: inline-flex;
  align-items: center;
  background: var(--ic-paper) !important;
  color: var(--ic-ink) !important;
  border: 1px solid var(--ic-line) !important;
  padding: 9px 18px !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  font-family: var(--ic-sans) !important;
  box-shadow: var(--sh-1) !important;
  text-decoration: none !important;
  transition: all 0.4s;
}
.woocommerce a.button.wc-backward:hover,
.woocommerce .button.wc-backward:hover,
.wc-page a.button.wc-backward:hover,
.wc-page .button.wc-backward:hover {
  border-color: var(--ic-primary) !important;
  color: var(--ic-primary) !important;
  transition: all 0.4s;
}

/* "View cart" button inside the success / info notice — brand it. */
.woocommerce-message .button,
.woocommerce-message a.button,
.woocommerce-message .wc-forward,
.woocommerce-info .button,
.woocommerce-info a.button {
  margin-left: auto;
  background: var(--ic-primary) !important;
  background-color: var(--ic-primary) !important;
  color: #fff !important;
  border: 0 !important;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  font-family: var(--ic-sans) !important;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: none !important;
  text-shadow: none !important;
  line-height: 1.3;
}

.woocommerce-message .button:hover,
.woocommerce-message a.button:hover,
.woocommerce-message .wc-forward:hover,
.woocommerce-info .button:hover,
.woocommerce-info a.button:hover {
  background: var(--ic-primary-2) !important;
  background-color: var(--ic-primary-2) !important;
}

/* --- Session notices — responsive --- */
@media (min-width: 576px) {
  .woocommerce-info::before {
    top: auto !important;
    vertical-align: middle !important;
  }
}

/* ============================================================
   11. ORDER RECEIVED / THANK YOU PAGE
   ============================================================ */
.woocommerce-order {
  color: var(--ic-ink);
}

.woocommerce-order p.woocommerce-thankyou-order-received,
.woocommerce-thankyou-order-received {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ic-ink);
  background: linear-gradient(
    to right,
    var(--ic-success-tint) 0%,
    rgba(35, 122, 77, 0.04) 80%,
    transparent 100%
  );
  border: 1px solid rgba(35, 122, 77, 0.18);
  border-left: 3px solid var(--ic-success);
  padding: 16px 20px;
  border-radius: var(--r);
  margin: 0 0 24px;
  line-height: 1.3;
}

.woocommerce-order p.woocommerce-thankyou-order-received::before,
.woocommerce-thankyou-order-received::before {
  content: "";
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ic-success)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 16px 16px no-repeat;
}

/* --- Order overview strip --- */
.woocommerce-order-overview {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 32px;
  padding: 4px;
  background: var(--ic-paper);
  border: 1px solid var(--ic-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}

.woocommerce-order-overview li {
  flex: 1 1 180px;
  padding: 14px 18px;
  border-right: 1px solid var(--ic-line);
  font-family: var(--ic-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ic-ink-3);
  font-weight: 500;
}

.woocommerce-order-overview li:last-child {
  border-right: none;
}

.woocommerce-order-overview li strong {
  display: block;
  margin-top: 6px;
  font-family: var(--ic-sans);
  font-size: 15.5px;
  color: var(--ic-ink);
  text-transform: none;
  letter-spacing: -0.005em;
  font-weight: 700;
}

/* --- Section headings + table + customer details --- */
.woocommerce-order-details h2,
.woocommerce-customer-details h2,
.woocommerce-column__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ic-ink);
  margin: 32px 0 14px;
}

.woocommerce table.shop_table,
.woocommerce-order-details table.shop_table {
  width: 100%;
  border-collapse: collapse;
  background: var(--ic-paper);
  border: 1px solid var(--ic-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: 0 0 24px;
}

.woocommerce table.shop_table thead th {
  background: var(--ic-paper-2);
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ic-ink);
  border-bottom: 1px solid var(--ic-line);
}

.woocommerce table.shop_table tbody td,
.woocommerce table.shop_table tfoot td,
.woocommerce table.shop_table tfoot th {
  padding: 14px 18px;
  border-bottom: 1px solid var(--ic-line);
  font-size: 14.5px;
  color: var(--ic-ink-2);
  text-align: left;
}

.woocommerce table.shop_table tfoot th {
  font-weight: 700;
  color: var(--ic-ink);
}

.woocommerce table.shop_table tbody tr:last-child td,
.woocommerce table.shop_table tfoot tr:last-child td,
.woocommerce table.shop_table tfoot tr:last-child th {
  border-bottom: none;
}

.woocommerce table.shop_table .product-total,
.woocommerce table.shop_table th.product-total,
.woocommerce table.shop_table td.product-total {
  text-align: right;
}

.woocommerce table.shop_table a {
  color: var(--ic-primary);
  text-decoration: none;
}

.woocommerce table.shop_table a:hover {
  text-decoration: underline;
}

.woocommerce-customer-details {
  margin-bottom: 32px;
}

.woocommerce-customer-details .woocommerce-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.woocommerce-customer-details address {
  background: var(--ic-paper);
  border: 1px solid var(--ic-line);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  font-style: normal;
  font-size: 14.5px;
  color: var(--ic-ink-2);
  line-height: 1.7;
  box-shadow: var(--sh-1);
}

.woocommerce-customer-details address p {
  margin: 0;
}

.woocommerce-customer-details .woocommerce-customer-details--phone,
.woocommerce-customer-details .woocommerce-customer-details--email {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--ic-ink-2);
}
.woocommerce-order-received .woocommerce table.woocommerce-table--order-details tfoot td,
.woocommerce-order-received .woocommerce table.shop_table tfoot td {
  text-align:right;
}

/* --- Order received — responsive --- */
@media (max-width: 991px) {
  /* Order-overview strip stacks; customer-details billing+shipping stack. */
  .woocommerce-order-overview {
    flex-direction: column;
    padding: 0;
  }

  .woocommerce-order-overview li {
    flex: 1 1 100%;
    border-right: none;
    border-bottom: 1px solid var(--ic-line);
    padding: 14px 18px;
  }

  .woocommerce-order-overview li:last-child {
    border-bottom: none;
  }

  .woocommerce-customer-details .woocommerce-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .woocommerce-order p.woocommerce-thankyou-order-received,
  .woocommerce-thankyou-order-received {
    font-size: 18px;
    padding: 14px 16px;
    gap: 10px;
  }

  .woocommerce-order p.woocommerce-thankyou-order-received::before,
  .woocommerce-thankyou-order-received::before {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    background-size: 14px 14px;
  }

  .woocommerce table.shop_table thead th,
  .woocommerce table.shop_table tbody td,
  .woocommerce table.shop_table tfoot td,
  .woocommerce table.shop_table tfoot th {
    padding: 11px 12px;
    font-size: 13.5px;
  }

  .woocommerce-order-details h2,
  .woocommerce-customer-details h2,
  .woocommerce-column__title {
    font-size: 19px;
    margin: 24px 0 12px;
  }
}

/* ============================================================
   12. MY ACCOUNT — shell + sidebar nav
   The .ic-account-shell wrapper rendered by index.php for every
   my-account endpoint. Dark eucalyptus sidebar with WC's nav.
   ============================================================ */
.ic-account-shell {
  display: flex;
  min-height: 100vh;
  background: var(--ic-canvas);
}

.ic-account-side {
  flex: 0 0 250px;
  background: var(--ic-primary-3);
  color: #d3ddd8;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}

.ic-account-side .ic-account-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 22px 22px 20px;
  text-decoration: none;
}

.ic-account-side .ic-account-brand .brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--ic-serif);
  font-weight: 600;
  font-size: 20px;
}

.ic-account-side .ic-account-brand .brand__name {
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.ic-account-side .woocommerce-MyAccount-navigation {
  flex: 1;
  padding: 8px 12px;
  width: 100% !important;
  float: none !important;
}

.ic-account-side .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ic-account-side .woocommerce-MyAccount-navigation ul li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 13px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 500;
  color: #c5d2cc;
  text-decoration: none;
  transition:
    background 0.14s,
    color 0.14s;
}

.ic-account-side .woocommerce-MyAccount-navigation ul li a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.ic-account-side .woocommerce-MyAccount-navigation ul li.is-active a {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.ic-account-main {
  flex: 1;
  min-width: 0;
  padding: 48px 56px 80px;
  background: var(--ic-canvas);
}

.ic-account-main .woocommerce-MyAccount-content {
  width: 100% !important;
  float: none !important;
}

.ic-account-main h2,
.ic-account-main h3 {
  margin-top: 0;
}

/* --- My-account shell — responsive --- */
@media (max-width: 991px) {
  .ic-account-shell {
    flex-direction: column;
    min-height: 0;
  }

  .ic-account-side {
    flex: none;
    position: static;
    height: auto;
  }

  .ic-account-main {
    padding: 32px 20px 60px;
  }
}

/* ============================================================
   13. MY ACCOUNT — inner pages
   Edit account · View order · Addresses (billing + shipping).
   All scoped under .ic-account-main so the styles don't leak
   into other forms across the site.
   ============================================================ */

/* --- Page-level headings + intro copy --- */
.ic-account-main h2,
.ic-account-main h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ic-ink);
  margin: 0 0 18px;
  line-height: 1.2;
}

.ic-account-main h3 {
  font-size: 18px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--ic-line);
}

.ic-account-main h3:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.ic-account-main p {
  color: var(--ic-ink-2);
  line-height: 1.55;
}

.ic-account-main a:not(.btn) {
  color: var(--ic-primary);
  text-decoration: none;
}

/* "Order #1234 was placed on … and is currently …" line on view-order. */
.ic-account-main .woocommerce-order p:first-of-type mark,
.ic-account-main p.order-info mark,
.ic-account-main p.woocommerce-order-overview mark {
  background: var(--ic-crimson-50);
  color: var(--ic-primary);
  padding: 2px 9px;
  border-radius: var(--r-sm, 6px);
  font-weight: 700;
  font-size: 12.5px;
}

/* --- Form fields (Edit account · Edit address) --- */
.woocommerce-Address-title:before,
.woocommerce-Address-title:after,
.addresses:before,
.addresses:after,
.ic-account-main form .form-row:before,
.ic-account-main form .form-row:after {
  display: none !important;
}

.ic-account-main form .form-row,
.ic-account-main form .woocommerce-form-row {
  margin-bottom: 16px;
  /* No clear:both — would break the floated form-row-first / -last pair. */
}

.ic-account-main form .form-row label,
.ic-account-main form .woocommerce-form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ic-ink-2);
  margin-bottom: 6px;
  line-height: 1.2;
}

.ic-account-main form .required {
  color: var(--ic-danger);
  margin-left: 2px;
  text-decoration: none;
}

.ic-account-main form input[type="text"],
.ic-account-main form input[type="email"],
.ic-account-main form input[type="tel"],
.ic-account-main form input[type="url"],
.ic-account-main form input[type="number"],
.ic-account-main form input[type="password"],
.ic-account-main form select,
.ic-account-main form textarea,
.ic-account-main form .select2-container .select2-selection--single {
  width: 100%;
  background: var(--ic-paper);
  border: 1px solid var(--ic-line);
  border-radius: var(--r-md);
  padding: 11px 14px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ic-ink);
  line-height: 1.3;
  box-sizing: border-box;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

.ic-account-main form textarea {
  min-height: 96px;
  resize: vertical;
}

.ic-account-main form input:focus,
.ic-account-main form select:focus,
.ic-account-main form textarea:focus {
  outline: none;
  border-color: var(--ic-primary);
  box-shadow: 0 0 0 3px var(--ic-crimson-50);
}

/* Two-column form rows (.form-row-first + .form-row-last) — float pair. */
.ic-account-main form .form-row-first {
  width: calc(50% - 8px) !important;
  float: left;
  margin-right: 0;
  clear: left;
}

.ic-account-main form .form-row-last {
  width: calc(50% - 8px) !important;
  float: right;
  clear: right;
}

.ic-account-main form .form-row-wide {
  clear: both;
  width: 100%;
  float: none;
}

.ic-account-main form::after,
.ic-account-main form .woocommerce-address-fields__field-wrapper::after,
.ic-account-main form .woocommerce-account-fields::after {
  content: "";
  display: table;
  clear: both;
}

/* --- Select2 selects (Country / State) --- */
.ic-account-main form .select2-container {
  width: 100% !important;
}

.ic-account-main form .select2-container--default .select2-selection--single {
  height: auto !important;
  min-height: 44px;
  background: var(--ic-paper);
  border: 1px solid var(--ic-line) !important;
  border-radius: var(--r-md) !important;
  display: flex;
  align-items: center;
  padding: 0 36px 0 14px;
  position: relative;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

.ic-account-main
  form
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 1.3 !important;
  padding: 0 !important;
  margin: 0 !important;
  color: var(--ic-ink) !important;
  font-size: 14.5px;
  width: 100%;
}

.ic-account-main
  form
  .select2-container--default
  .select2-selection--single
  .select2-selection__placeholder {
  color: var(--ic-ink-3);
}

.ic-account-main
  form
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 100% !important;
  width: 28px;
  position: absolute !important;
  top: 0 !important;
  right: 6px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ic-account-main
  form
  .select2-container--default.select2-container--open
  .select2-selection--single,
.ic-account-main
  form
  .select2-container--default.select2-container--focus
  .select2-selection--single {
  border-color: var(--ic-primary) !important;
  box-shadow: 0 0 0 3px var(--ic-crimson-50);
}

/* --- Password-change fieldset on Edit Account --- */
.ic-account-main form fieldset {
  border: 1px solid var(--ic-line);
  border-radius: var(--r-md);
  padding: 14px 24px 4px;
  margin: 24px 0;
  background: rgba(0, 0, 0, 0.015);
}

.ic-account-main form fieldset legend {
  font-size: 13px;
  font-weight: 700;
  color: var(--ic-ink);
  padding: 0 10px;
}

.ic-account-main form fieldset .form-row:last-child {
  margin-bottom: 8px;
}

/* --- Primary submit button --- */
.ic-account-main form .button,
.ic-account-main form button[type="submit"],
.ic-account-main form input[type="submit"] {
  background: var(--ic-primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 26px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition:
    filter 0.15s,
    transform 0.15s;
}

.ic-account-main form .button:hover,
.ic-account-main form button[type="submit"]:hover,
.ic-account-main form input[type="submit"]:hover {
  filter: brightness(0.94);
}

.ic-account-main form .button:active {
  transform: translateY(1px);
}

/* --- Addresses page (my-address.php) --- */
.ic-account-main .woocommerce-Addresses,
.ic-account-main .woocommerce-columns--addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 8px;
}

.ic-account-main .woocommerce-Address,
.ic-account-main .woocommerce-Addresses .woocommerce-Address,
.ic-account-main .woocommerce-columns--addresses .woocommerce-column {
  width: 100% !important;
  float: none !important;
  background: var(--ic-paper);
  border: 1px solid var(--ic-line);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  margin: 0;
  box-sizing: border-box;
}

.ic-account-main .woocommerce-Address-title,
.ic-account-main .woocommerce-column__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  padding: 0;
  border: none;
}

.ic-account-main .woocommerce-Address-title h2,
.ic-account-main .woocommerce-Address-title h3,
.ic-account-main .woocommerce-Address-title h4,
.ic-account-main .woocommerce-column__title h2,
.ic-account-main .woocommerce-column__title h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  padding: 0;
  border: none;
}

.ic-account-main .woocommerce-Address-title a.edit {
  font-size: 13px;
  font-weight: 600;
  color: var(--ic-primary);
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid var(--ic-line);
  border-radius: var(--r-md);
  transition:
    background 0.15s,
    border-color 0.15s;
}

.ic-account-main .woocommerce-Address-title a.edit:hover {
  background: var(--ic-crimson-50);
  border-color: var(--ic-primary);
  text-decoration: none;
}

.ic-account-main .woocommerce-Address address,
.ic-account-main .woocommerce-column address {
  font-style: normal;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ic-ink-2);
  margin: 0;
  white-space: pre-line;
}

/* --- View order (order details + customer details) --- */
.ic-account-main .woocommerce-order-details {
  margin-top: 16px;
}

.ic-account-main .woocommerce-order-details,
.ic-account-main .woocommerce-customer-details {
  background: var(--ic-paper);
  border: 1px solid var(--ic-line);
  border-radius: var(--r-lg);
  padding: 28px 30px;
  margin-bottom: 24px;
}

.ic-account-main .woocommerce-order-details h2,
.ic-account-main .woocommerce-customer-details h2 {
  font-size: 18px;
  margin: 0 0 18px;
  padding: 0;
  border: none;
}

.ic-account-main table.shop_table {
  width: 100%;
  border-collapse: collapse;
  border: none;
  margin: 0;
  background: transparent;
}

.ic-account-main table.shop_table th,
.ic-account-main table.shop_table td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--ic-line);
  font-size: 14.5px;
  color: var(--ic-ink);
  background: transparent;
}

.ic-account-main table.shop_table thead th {
  background: rgba(0, 0, 0, 0.025);
  font-family: var(--ic-mono);
  text-transform: uppercase;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--ic-ink-3);
  font-weight: 700;
}

.ic-account-main table.shop_table tfoot th,
.ic-account-main table.shop_table tfoot td {
  font-weight: 600;
  color: var(--ic-ink);
}

.ic-account-main table.shop_table tfoot tr:last-child th,
.ic-account-main table.shop_table tfoot tr:last-child td {
  font-size: 17px;
  border-top: 2px solid var(--ic-ink);
  border-bottom: none;
  padding-top: 18px;
  padding-bottom: 18px;
}

.ic-account-main table.shop_table td.product-name a {
  color: var(--ic-ink);
  font-weight: 600;
  text-decoration: none;
}

.ic-account-main table.shop_table td.product-name a:hover {
  color: var(--ic-primary);
}

.ic-account-main table.shop_table td.product-name .wc-item-meta,
.ic-account-main table.shop_table td.product-name dl {
  font-size: 13px;
  color: var(--ic-ink-3);
  margin: 4px 0 0;
}

.ic-account-main table.shop_table td:before {
  display: none;
}

/* Customer-details billing/shipping inside view-order — reset so it doesn't
   double up the parent panel's card style. */
.ic-account-main .woocommerce-customer-details .woocommerce-columns--addresses {
  margin-top: 0;
}

.ic-account-main .woocommerce-customer-details .woocommerce-column {
  background: transparent;
  border: none;
  padding: 0;
}

/* Buttons under order details ("Order again", etc.) — ghost pill. */
.ic-account-main .woocommerce-order-details + p .button,
.ic-account-main p.order-again .button {
  display: inline-block;
  background: var(--ic-paper);
  color: var(--ic-ink);
  border: 1px solid var(--ic-line);
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition:
    border-color 0.15s,
    background 0.15s;
}

.ic-account-main .woocommerce-order-details + p .button:hover,
.ic-account-main p.order-again .button:hover {
  border-color: var(--ic-primary);
  background: var(--ic-crimson-50);
}

/* --- My-account inner pages — responsive --- */
@media (min-width: 992px) {
  .ic-account-main .woocommerce-Address-title h2,
  .ic-account-main .woocommerce-Address-title h3,
  .ic-account-main .woocommerce-Address-title h4,
  .ic-account-main .woocommerce-column__title h2,
  .ic-account-main .woocommerce-column__title h3 {
    font-size: 24px;
  }
}

@media (max-width: 720px) {
  .ic-account-main {
    padding: 24px 16px 60px;
  }

  .ic-account-main .woocommerce-Addresses,
  .ic-account-main .woocommerce-columns--addresses {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ic-account-main form .form-row-first,
  .ic-account-main form .form-row-last {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
  }

  .ic-account-main form fieldset {
    padding: 12px 18px 2px;
  }

  .ic-account-main .woocommerce-order-details,
  .ic-account-main .woocommerce-customer-details,
  .ic-account-main .woocommerce-Address,
  .ic-account-main .woocommerce-columns--addresses .woocommerce-column {
    padding: 18px 16px;
  }

  /* Order details table — stack rows so columns don't squish. */
  .ic-account-main table.shop_table thead {
    display: none;
  }

  .ic-account-main table.shop_table tbody tr,
  .ic-account-main table.shop_table tfoot tr {
    display: block;
    border-bottom: 1px solid var(--ic-line);
    padding: 12px 0;
  }

  .ic-account-main table.shop_table tbody td,
  .ic-account-main table.shop_table tfoot th,
  .ic-account-main table.shop_table tfoot td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0;
    border: none;
    font-size: 14px;
  }

  .ic-account-main table.shop_table tbody td::before {
    content: attr(data-title);
    font-family: var(--ic-mono);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--ic-ink-3);
    font-weight: 700;
    flex: none;
  }

  .ic-account-main table.shop_table tfoot tr:last-child th,
  .ic-account-main table.shop_table tfoot tr:last-child td {
    font-size: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

/* ============================================================
   14. MY ACCOUNT — Orders page extras
   Custom elements rendered by woocommerce/myaccount/orders.php
   ============================================================ */
.credit-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 0;
  overflow: hidden;
}

.credit-card .cc {
  padding: 18px 22px;
  border-right: 1px solid var(--ic-line);
}

.credit-card .cc:last-child {
  border-right: none;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

/* =================================================================
   My Account — LOGGED-OUT sign-in shell (.ic-account-login)
   -----------------------------------------------------------------
   Login / lost-password / reset-password forms, rendered by index.php
   for logged-out visitors via [woocommerce_my_account]. Distinct from
   the logged-in .ic-account-shell above.
   ================================================================= */
.ic-account-login {
  max-width: 440px;
  margin: 56px auto;
  padding: 0 20px;
}
.ic-account-login .woocommerce {
  width: 100%;
}
.ic-account-login h2 {
  font-family: var(--ic-serif);
  font-weight: 500;
  font-size: 30px;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  color: var(--ic-ink);
}
.ic-account-login form.woocommerce-form-login,
.ic-account-login form.woocommerce-ResetPassword,
.ic-account-login form.lost_reset_password {
  background: var(--ic-paper);
  border: 1px solid var(--ic-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  padding: 26px 28px;
  margin-top: 14px;
}
.ic-account-login form.lost_reset_password .form-row-first {
  width: 100%;
  float: none;
}
.ic-account-login .woocommerce-form-login > p,
.ic-account-login .woocommerce-ResetPassword > p {
  margin: 0 0 16px;
}
.ic-account-login label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ic-ink-2);
  margin-bottom: 6px;
}
.ic-account-login input[type="text"],
.ic-account-login input[type="email"],
.ic-account-login input[type="password"] {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--ic-line-2);
  border-radius: var(--r-sm);
  background: var(--ic-paper);
  font: inherit;
  font-size: 15px;
  color: var(--ic-ink);
  box-sizing: border-box;
}
.ic-account-login input[type="text"]:focus,
.ic-account-login input[type="email"]:focus,
.ic-account-login input[type="password"]:focus {
  outline: none;
  border-color: var(--ic-primary);
  box-shadow: 0 0 0 3px var(--ic-primary-tint);
}
.ic-account-login .woocommerce-form-login__rememberme {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--ic-ink-2);
  margin: 4px 0 18px;
}
.ic-account-login .woocommerce-form-login__rememberme input {
  width: auto;
  accent-color: var(--ic-primary);
}
.ic-account-login button[type="submit"],
.ic-account-login .button {
  display: block;
  width: 100%;
  background: var(--ic-primary) !important;
  background-color: var(--ic-primary) !important;
  color: #fff !important;
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s;
}
.ic-account-login button[type="submit"]:hover,
.ic-account-login .button:hover {
  background: var(--ic-primary-2) !important;
  background-color: var(--ic-primary-2) !important;
}
.ic-account-login .woocommerce-LostPassword {
  margin: 16px 0 0;
  font-size: 13.5px;
}
.ic-account-login .woocommerce-LostPassword a {
  color: var(--ic-primary);
  font-weight: 600;
  text-decoration: none;
}
.ic-account-login .woocommerce-LostPassword a:hover {
  text-decoration: underline;
}
