/* Fooundit Shop storefront styles. Kept under .ffs-store to avoid theme collisions. */
.grey-bg { background: #f6f8fd; }
.ffs-store {
    --ffs-ink: #17233b;
    --ffs-muted: #64748b;
    --ffs-line: #e3e8f1;
    --ffs-soft: #f5f7fb;
    --ffs-primary: #435aa7;
    --ffs-primary-hover: #344987;
    --ffs-success: #17845b;
    box-sizing: border-box;
    color: var(--ffs-ink);
    font-family: inherit;
    line-height: 1.55;
}

.ffs-store *,
.ffs-store *::before,
.ffs-store *::after { box-sizing: border-box; }
.ffs-store a { color: inherit; }
.ffs-store img { max-width: 100%; }
.ffs-store :focus-visible { outline: 3px solid #8aa7ff; outline-offset: 3px; }
.ffs-store h1,
.ffs-store h2,
.ffs-store h3 { color: var(--ffs-ink); }
.ffs-store h1 { margin: 0 0 10px; font-size: 1.4rem; line-height: 1.15;}

.ffs-product-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 1.5rem 0;
}
.ffs-cart-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    padding: 6px 18px;
    border: 1px solid var(--ffs-line);
    border-radius: 2rem;
    background: #fff;
    color: var(--ffs-ink) !important;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .16s ease, background-color .16s ease;
}
.ffs-cart-link:hover { border-color: #b9c7e8; background: #f8faff; }
.ffs-cart-link span {
    display: grid;
    min-width: 27px;
    height: 27px;
    padding: 0 7px;
    place-items: center;
    border-radius: 1rem;
    background: #eef2ff;
    color: var(--ffs-primary);
    font-size: 13px;
}
.ffs-product-nav .ffs-breadcrumb { min-width: 0; margin: 0; overflow-wrap: anywhere; }

.ffs-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.ffs-category-filter { display: grid; width: 50%; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px 10px; margin: 0 0 24px; }
.ffs-category-filter label { grid-column: 1 / -1; color: var(--ffs-muted); font-weight: 600; }
.ffs-category-filter select { box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; padding: 8px 12px; border: 1px solid var(--ffs-line); border-radius: 1rem; background: #fff; color: inherit; }
.ffs-category-description { margin: 0 0 24px; color: var(--ffs-muted); }
.ffs-category-description > :first-child { margin-top: 0; }
.ffs-category-description > :last-child { margin-bottom: 0; }
.ffs-product-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--ffs-line);
    border-radius: 1rem;
    background: #fff;
    transition: transform .18s ease, box-shadow .18s ease;
}
.ffs-product-card:hover { transform: translateY(-3px); }
.ffs-product-image {
    display: grid;
    height: auto;
    place-items: center;
    overflow: hidden;
    background: var(--ffs-soft);
    text-decoration: none;
}
.ffs-product-image img,
.ffs-single-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ffs-image-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 220px;
    place-items: center;
    background: linear-gradient(135deg, #f2f5fb, #fff);
    color: #8190a8;
    font-weight: 700;
}
.ffs-product-card-content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 18px; }
.ffs-product-card h2 { margin: 0 0 8px; font-size: 19px; line-height: 1.35; }
.ffs-product-card h2 a { text-decoration: none; }
.ffs-product-card h2 a:hover { color: var(--ffs-primary); }
.ffs-price { margin: 0 0 18px; color: var(--ffs-ink); font-size: 14px; font-weight: 500; }
.ffs-product-card-content > .ffs-button { width: 100%; margin-top: auto; }

.ffs-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 2rem;
    font: inherit;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}
.ffs-button:hover { transform: translateY(-1px); }
.ffs-button:disabled,
.ffs-button[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.ffs-button-primary { background: var(--ffs-primary); color: #fff !important; }
.ffs-button-primary:hover { background: var(--ffs-primary-hover); }
.ffs-button-secondary { border-color: #cbd5e1; background: #fff; color: var(--ffs-primary) !important; }
.ffs-button-secondary:hover { border-color: #9eafd5; background: #f6f8fc; }
.ffs-full { width: 100%; }
.ffs-empty {
    padding: clamp(24px, 5vw, 42px);
    border: 1px solid var(--ffs-line);
    border-radius: 1rem;
    background: #fff;
    color: var(--ffs-muted);
    text-align: center;
}
.ffs-empty p { margin: 0 0 18px; }
.ffs-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; }
.ffs-pagination a { display: grid; min-width: 40px; min-height: 40px; padding: 0 10px; place-items: center; border: 1px solid var(--ffs-line); border-radius: 1rem; background: #fff; text-decoration: none; }
.ffs-pagination a:hover,
.ffs-pagination a.is-current { border-color: var(--ffs-primary); background: var(--ffs-primary); color: #fff; }

.ffs-breadcrumb { margin: 0 0 22px; color: var(--ffs-muted); font-size: 12px;font-weight:500; }
.ffs-breadcrumb a { color: var(--ffs-primary); }
.ffs-breadcrumb span { padding: 0 8px; color: #a7b1c0; }
.ffs-product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: clamp(24px, 5vw, 45px);
    align-items: start;
    border: 1px solid var(--ffs-line);
    border-radius: 1rem;
}
.ffs-single-image { height: min(650px, 62vw); min-height: 360px; overflow: hidden; border-radius: 1rem; background: var(--ffs-soft); }
.ffs-product-info { min-width: 0; padding: 12px 4px 12px 0; }
.ffs-product-info h1 { margin: 4px 0 18px; font-size: 2rem; }
.ffs-description { color: #526078; font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
.ffs-description > :last-child { margin-bottom: 0; }
.ffs-add-form { display: grid; gap: 12px; margin-top: 26px; }
.ffs-add-form label,
.ffs-coupon-form label { color: var(--ffs-ink); font-size: 14px; font-weight: 700; }
.ffs-add-form input,
.ffs-coupon-form input,
.ffs-checkout-fields input {
    box-sizing: border-box;
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d7deea;
    border-radius: 0.3rem;
    background: #fff;
    color: var(--ffs-ink);
    font: inherit;
}
.ffs-add-form input:focus,
.ffs-coupon-form input:focus,
.ffs-checkout-fields input:focus { border-color: #6c86cb;outline: 0; }
.ffs-add-form input[type="number"] { max-width: 140px; }
.ffs-trust-note,
.ffs-secure-note { margin: 12px 0; color: var(--ffs-muted); font-size: 12px; }

.ffs-cart-page > h1,
.ffs-checkout-page > h1 { margin-bottom: 24px; }
.ffs-cart-layout,
.ffs-checkout-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .8fr); gap: 26px; align-items: start; }
.ffs-cart-items,
.ffs-summary,
.ffs-checkout-fields { min-width: 0; padding: 1.5rem; border: 1px solid var(--ffs-line); border-radius: 1rem; background: #fff; }
.ffs-summary { position: sticky; top: 24px; }
.ffs-cart-item { display: grid; grid-template-columns: 76px minmax(120px, 1fr) auto auto auto; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--ffs-line); }
.ffs-cart-item:first-child { padding-top: 0; }
.ffs-cart-item:last-child { padding-bottom: 0; border-bottom: 0; }
.ffs-stock-warning { margin: 8px 0; color: #a32622; font-size: 0.9em; line-height: 1.45; }
.ffs-cart-thumb { overflow: hidden; border-radius: 1rem; background: #f2f5fa; }
.ffs-cart-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ffs-cart-item-info { min-width: 0; }
.ffs-cart-item-info h2 { margin: 0 0 5px; font-size: 16px; }
.ffs-cart-item-info p { margin: 0 0 7px; color: var(--ffs-muted); font-size: 13px; }
.ffs-quantity-form { display: flex; align-items: center; gap: 6px; }
.ffs-quantity-form input { box-sizing: border-box; width: 64px; min-height: 38px; padding: 6px; border: 1px solid #d7deea; border-radius: 1rem; font: inherit; }
.ffs-quantity-form button,
.ffs-coupon-form button { min-height: 40px; }
.ffs-line-total { white-space: nowrap; }
.ffs-remove { padding: 4px; border: 0; background: transparent; color: #a33; font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.ffs-summary h2,
.ffs-checkout-fields h2 { margin: 0 0 18px; font-size: 16px;font-weight:700; }
.ffs-checkout-fields h2:not(:first-child) { margin-top: 30px; }
.ffs-coupon-form { padding: 0 0 20px; border-bottom: 1px solid var(--ffs-line); }
.ffs-coupon-form > div { display: flex; gap: 8px; margin-top: 8px; }
.ffs-coupon-form input { min-width: 0; }
.ffs-total-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; color: #536179; font-size: 14px; }
.ffs-total-row strong { color: var(--ffs-ink); white-space: nowrap; }
.ffs-discount strong { color: var(--ffs-success); }
.ffs-grand-total { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--ffs-line); color: var(--ffs-ink); font-size: 17px; }
.ffs-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ffs-field-grid label { display: flex; min-width: 0; flex-direction: column; gap: 7px; font-size: 12px; font-weight: 500; }
.ffs-field-grid label span { color: var(--ffs-muted); font-weight: 400; }
.ffs-field-wide { grid-column: 1 / -1; }
.ffs-optin { display: flex; align-items: flex-start; gap: 9px; margin-top: 22px; color: #526078; font-size: 14px; }
.ffs-optin input { flex: 0 0 18px; width: 18px; min-height: 18px; height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--ffs-primary); }
.ffs-summary-line { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ffs-line); font-size: 14px; }
.ffs-summary-line span { display: grid; min-width: 0; gap: 4px; }
.ffs-summary-line small { color: var(--ffs-muted); }
.ffs-summary-line strong { white-space: nowrap; }
.ffs-notice,
.ffs-success { padding: 14px 16px; margin: 0 0 18px; font-size: 14px;text-align:center;border: 1px solid #f1d99e; border-radius: 2rem; background: #fff8e8; color: #745713; }
.ffs-success { border-color: #b5e1c2; background: #effaf3; color: #1b6940; }

.ffs-payment-body { --ffs-line: #e3e8f1; --ffs-ink: #17233b; --ffs-muted: #64748b; --ffs-primary: #435aa7; background: #f5f7fb; }
.ffs-payment-shell { display: grid; min-height: 100vh; padding: 24px; place-items: center; }
.ffs-payment-card { width: min(100%, 520px); padding: clamp(24px, 5vw, 40px); border: 1px solid var(--ffs-line); border-radius: 1rem; background: #fff; text-align: center; }
.ffs-brand { color: var(--ffs-ink); font-size: 22px; font-weight: 600; text-decoration: none; }
.ffs-brand span { color: var(--ffs-primary); }
.ffs-payment-icon { display: grid; width: 58px; height: 58px; margin: 30px auto 18px; place-items: center; border-radius: 1rem; background: #edf3ff; color: var(--ffs-primary); font-size: 28px; font-weight: 600; }
.ffs-payment-card h1 { margin: 0 0 12px; font-size: 26px; }
.ffs-payment-total { margin: 18px 0; color: var(--ffs-ink); font-size: 30px; font-weight: 600; }
.ffs-payment-card > p { color: var(--ffs-muted); }
.ffs-payment-card .ffs-button { min-width: 220px; }
.ffs-payment-help { margin-top: 26px; font-size: 13px; }
.ffs-payment-card a:not(.ffs-brand) { color: var(--ffs-primary); }

@media (max-width: 1100px) {
    .ffs-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}

@media (max-width: 960px) {
    .ffs-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .ffs-product-layout { grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr); gap: 28px; }
    .ffs-cart-layout,
    .ffs-checkout-layout { grid-template-columns: minmax(0, 1fr); }
    .ffs-summary { position: static; }
}

@media (max-width: 680px) {
    .ffs-category-filter { width: 100%; }
    .ffs-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .ffs-product-image { height: auto; aspect-ratio: 1 / 1; }
    .ffs-product-card-content { padding: 14px; }
    .ffs-product-card h2 { font-size: 16px; }
    .ffs-price { font-size: 15px; }
    .ffs-product-layout { grid-template-columns: minmax(0, 1fr); gap: 22px;}
    .ffs-single-image { height: min(88vw, 420px); min-height: 0; }
    .ffs-product-info { padding: 0; }
    .ffs-product-nav { align-items: flex-start; flex-wrap: wrap; }
    .ffs-cart-items,
    .ffs-summary,
    .ffs-checkout-fields { padding: 17px; }
    .ffs-cart-item { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 10px; }
    .ffs-cart-thumb { grid-column: 1; grid-row: 1 / span 2; width: 60px; height: 60px; }
    .ffs-cart-item-info { grid-column: 2 / 4; grid-row: 1; }
    .ffs-quantity-form { grid-column: 2; grid-row: 2; }
    .ffs-line-total { grid-column: 3; grid-row: 2; justify-self: end; }
    .ffs-field-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
    .ffs-field-wide { grid-column: auto; }
    .ffs-payment-shell { padding: 16px; }
}

@media (max-width: 420px) {
    .ffs-product-grid { grid-template-columns: minmax(0, 1fr); }
    .ffs-product-image { aspect-ratio: 4 / 3; }
    .ffs-coupon-form > div { align-items: stretch; flex-direction: column; }
    .ffs-coupon-form button { width: 100%; }
    .ffs-button { padding-right: 15px; padding-left: 15px; }
}

@media (prefers-reduced-motion: reduce) {
    .ffs-store *,
    .ffs-store *::before,
    .ffs-store *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Cart and product detail layouts follow the new editorial shop design. */
.ffs-cart-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.ffs-cart-heading h1 { margin: 0; font-size: clamp(34px, 4vw, 48px); font-weight: 600; text-transform: uppercase; }
.ffs-cart-heading p { margin: 7px 0 0; color: var(--ffs-muted);font-weight:600;font-size:14px; }
.ffs-continue-shopping { color: var(--ffs-primary) !important; font-size: 14px; font-weight: 650; }
.ffs-cart-page .ffs-cart-layout { grid-template-columns: minmax(0, 1.8fr) minmax(300px, .9fr); gap: 28px; }
.ffs-cart-page .ffs-cart-items { padding: clamp(16px, 2vw, 28px); }
.ffs-cart-table-head,
.ffs-cart-item { display: grid; grid-template-columns: 76px minmax(170px, 1.5fr) minmax(76px, .55fr) minmax(118px, .7fr) minmax(76px, .5fr); align-items: center; gap: clamp(10px, 1.2vw, 18px); }
.ffs-cart-table-head { padding: 0 0 15px; border-bottom: 1px solid var(--ffs-line); color: #30394b; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.ffs-cart-table-head span:first-child { grid-column: 1 / 3; }
.ffs-cart-page .ffs-cart-item { padding: 20px 0; }
.ffs-cart-page .ffs-cart-thumb { border-radius: 0.3rem; }
.ffs-cart-item-info { overflow-wrap: anywhere; }
.ffs-cart-item-info h2 { margin-bottom: 6px; font-size: 16px; line-height: 1.4; }
.ffs-cart-item-info p { margin-bottom: 8px; line-height: 1.45; }
.ffs-cart-unit-price,
.ffs-line-total { font-size: 14px; font-weight: 700; white-space: nowrap; }
.ffs-cart-unit-price,
.ffs-quantity-form { justify-self: center; }
.ffs-quantity-form { gap: 8px; white-space: nowrap; }
.ffs-quantity-action { margin: 0; }
.ffs-quantity-form output { min-width: 18px; color: var(--ffs-ink); font-size: 14px; text-align: center; }
.ffs-quantity-step { display: grid; width: 30px; height: 30px; padding: 0; place-items: center; border: 1px solid var(--ffs-line); font-weight: 600; border-radius: 0.2rem; background: #fff; color: var(--ffs-ink); font: inherit; font-size: 18px; line-height: 1; cursor: pointer; }
.ffs-quantity-step:hover:not(:disabled) { border-color: #aab8d7; background: #f7f8fc; }
.ffs-quantity-step:disabled { opacity: .4; cursor: not-allowed; }
.ffs-cart-page .ffs-remove { padding: 0; color: #596579; font-size: 13px; }
.ffs-cart-page .ffs-summary { position: sticky; top: 24px; padding: 2rem; border: 0; border-radius: 1rem; background: #2957a3; color: #fff; }
.ffs-cart-page .ffs-summary h2 { margin-bottom: 20px; color: #fff; font-size: 22px; }
.ffs-cart-page .ffs-summary .ffs-total-row { color: #e4e0d6; }
.ffs-cart-page .ffs-summary .ffs-total-row strong { color: #fff; }
.ffs-cart-page .ffs-summary .ffs-grand-total { border-color: rgb(255 255 255 / 18%); color: #fff; font-size: 17px; }
.ffs-cart-page .ffs-summary .ffs-coupon-form { border-color: rgb(255 255 255 / 18%); }
.ffs-cart-page .ffs-summary .ffs-coupon-form label { color: #fff; }
.ffs-cart-page .ffs-summary .ffs-coupon-form input { border-color: rgb(255 255 255 / 22%); }
.ffs-cart-page .ffs-checkout-button { min-height: 54px; margin-top: 12px; border-radius: 1rem; background: #c94c2b; font-weight: 700; text-transform: uppercase; }
.ffs-cart-page .ffs-checkout-button:hover { background: #b63e20; }
.ffs-cart-page .ffs-summary-note { margin: 12px 0 0; color: #d2cec4; font-size: 12px; text-align: center; }
.ffs-cart-page .ffs-summary .ffs-trust-note { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / 18%); color: #c8c4ba; text-align: center; }
.ffs-single-product .ffs-product-layout { padding-bottom: 4rem;grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); gap: clamp(28px, 5vw, 45px); border: 0; border-radius: 1rem;}
.ffs-single-product .ffs-product-gallery { position: sticky; top: 24px; min-width: 0; align-self: start; }
.ffs-single-product .ffs-single-image { height: min(690px, calc(100vh - 190px)); min-height: 300px; border-radius: 1rem; background: #f2f2f0; }
.ffs-single-product .ffs-single-image img { object-fit: cover; }
.ffs-gallery-carousel { width: 100%; margin-top: 12px; }
.ffs-gallery-thumbnails { display: flex; width: 100%; min-width: 0; gap: 10px; overflow-x: hidden; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; }
.ffs-gallery-thumbnail { flex: 1 1 0; min-width: 0; height: clamp(76px, 8vw, 120px); padding: 0; overflow: hidden; border: 1px solid var(--ffs-line); border-radius: 0.4rem; background: #fff; cursor: pointer; scroll-snap-align: start; }
.ffs-gallery-carousel.is-scrollable .ffs-gallery-thumbnails { overflow-x: auto; scrollbar-width: none; }
.ffs-gallery-carousel.is-scrollable .ffs-gallery-thumbnails::-webkit-scrollbar { display: none; }
.ffs-gallery-carousel.is-scrollable .ffs-gallery-thumbnail { flex: 0 0 calc((100% - 30px) / 4); }
.ffs-gallery-thumbnail[aria-pressed="true"] { border: 2px solid #4658a5; }
.ffs-gallery-thumbnail img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ffs-gallery-controls { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 8px; }
.ffs-gallery-arrow { display: grid; width: 38px; height: 38px; padding: 0; place-items: center; border: 1px solid var(--ffs-line); border-radius: 50%; background: #fff; color: var(--ffs-ink); font-size: 28px; line-height: 1; cursor: pointer; }
.ffs-gallery-arrow:hover:not(:disabled) { border-color: var(--ffs-primary); color: var(--ffs-primary); }
.ffs-gallery-arrow:disabled { opacity: .35; cursor: default; }
.ffs-single-product .ffs-product-info { background: #fff; padding:1.5rem;border: 1px solid var(--ffs-line);border-radius:1rem; }
.ffs-single-product .ffs-product-category { display: inline-block; margin-bottom: 8px; color: var(--ffs-primary); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.ffs-single-product .ffs-product-category:hover { text-decoration: underline; }
.ffs-product-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 12px; }
.ffs-single-product .ffs-product-info h1 { margin: 0; font-size:2rem;font-weight:600;}
.ffs-product-badge { display: inline-block; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: .04em; text-transform: uppercase; }
.ffs-product-badge--preorder { background: #fff2d6; color: #7a4700; }
.ffs-product-badge--available { background: #e5f5eb; color: #176038; }
.ffs-product-price { margin: 0 0 20px; color: var(--ffs-ink); font-size: 14px; font-weight: 500; }
.ffs-product-description { margin: 0 0 24px; padding: 15px 17px; border: 1px solid var(--ffs-line); border-radius: 0.6rem; background: #fff;}
.ffs-product-description summary { position: relative; padding-right: 24px; color: var(--ffs-ink); font-weight: 600; cursor: pointer; list-style: none; }
.ffs-product-description summary::-webkit-details-marker { display: none; }
.ffs-product-description summary::after { position: absolute; top: 1px; right: 2px; content: "+"; font-size: 21px; font-weight: 400; line-height: 1; }
.ffs-product-description[open] summary::after { content: "−"; }
.ffs-product-description .ffs-description { padding: 8px 4px 0; font-size: 15px; }
.ffs-single-product .ffs-add-form { gap: 10px; margin-top: 0; }
.ffs-single-product .ffs-add-form > label { margin-top: 4px; }
.ffs-variant-choices { min-width: 0; margin: 0; padding: 0; border: 0; }
.ffs-variant-choices legend { margin-bottom: 10px; color: var(--ffs-ink); font-size: 14px; font-weight: 700; }
.ffs-variant-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.ffs-variant-choice { position: relative; display: inline-block; max-width: 100%; cursor: pointer; }
.ffs-add-form .ffs-variant-choice input[type="radio"] { position: absolute; width: 1px; height: 1px; padding: 0; opacity: 0; }
.ffs-variant-choice-content { display: inline-flex; max-width: 100%; align-items: center; flex-wrap: wrap; gap: 7px; padding: 8px 12px; border: 1px solid var(--ffs-line); border-radius: 999px; background: #fff; color: var(--ffs-ink); font-size: 14px; }
.ffs-variant-choice input:checked + .ffs-variant-choice-content { border-color: var(--ffs-primary); box-shadow: 0 0 0 1px var(--ffs-primary); }
.ffs-variant-choice input:focus-visible + .ffs-variant-choice-content { outline: 3px solid #8aa7ff; outline-offset: 3px; }
.ffs-variant-choice input:disabled + .ffs-variant-choice-content { opacity: .5; cursor: not-allowed; }
.ffs-variant-choice-price { color: var(--ffs-muted); }
.ffs-variant-swatch-color { flex: 0 0 19px; width: 19px; height: 19px; border: 1px solid #cbd5e1; border-radius: 50%; }
.ffs-single-product .ffs-add-form input[type="number"] { max-width: 110px; }
.ffs-product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.ffs-product-actions .ffs-button-primary { border-color: #191919; background: #191919; }
.ffs-product-actions .ffs-button-primary:hover { background: #333; }
.ffs-product-actions .ffs-button:disabled { opacity: .5; cursor: not-allowed; }
.ffs-single-product .ffs-trust-note { margin-top: 18px; }

@media (max-width: 960px) {
    .ffs-cart-page .ffs-cart-layout { grid-template-columns: minmax(0, 1fr); }
    .ffs-cart-page .ffs-summary { position: static; }
    .ffs-single-product .ffs-product-layout { grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr); gap: 28px; }
}

@media (max-width: 680px) {
    .ffs-single-product .ffs-product-gallery { position: static; }
    .ffs-cart-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
    .ffs-cart-page .ffs-cart-items { padding: 1rem; }
    .ffs-cart-table-head { display: none; }
    .ffs-cart-page .ffs-cart-item { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-rows: auto auto auto; gap: 10px 12px; align-items: start; padding: 16px 0; }
    .ffs-cart-page .ffs-cart-thumb { grid-column: 1; grid-row: 1 / span 3; }
    .ffs-cart-page .ffs-cart-item-info { grid-column: 2 / 4; grid-row: 1; }
    .ffs-cart-page .ffs-cart-item-info h2 { font-size: 15px; }
    .ffs-cart-page .ffs-cart-unit-price { grid-column: 2; grid-row: 2; justify-self: start; align-self: center; }
    .ffs-cart-page .ffs-quantity-form { grid-column: 3; grid-row: 2; justify-self: end; align-self: center; }
    .ffs-cart-page .ffs-line-total { grid-column: 2 / 4; grid-row: 3; justify-self: start; padding-top: 8px; border-top: 1px solid var(--ffs-line); }
    .ffs-cart-page .ffs-cart-unit-price::before,
    .ffs-cart-page .ffs-line-total::before { margin-right: 8px; color: var(--ffs-muted); font-size: 11px; font-weight: 600; text-transform: uppercase; }
    .ffs-cart-page .ffs-cart-unit-price::before { content: "Price"; }
    .ffs-cart-page .ffs-line-total::before { content: "Item total"; }
    .ffs-single-product .ffs-product-layout { grid-template-columns: minmax(0, 1fr); gap: 20px;}
    .ffs-single-product .ffs-single-image { height: min(92vw, 520px); min-height: 0; }
}

@media (max-width: 420px) {
    .ffs-product-actions { grid-template-columns: minmax(0, 1fr); }
    .ffs-cart-page .ffs-summary { padding: 20px; }
}

.ffs-order-confirmation { display: block; padding: 24px; border: 1px solid #b5e1c2; border-radius: 1rem; text-align: left; }
.ffs-order-confirmation h2 { margin: 0 0 8px; color: inherit; font-size: 1.4rem; }
.ffs-confirmation-meta,
.ffs-confirmation-paid-at { margin: 0 0 18px; }
.ffs-confirmation-items { overflow-x: auto; margin: 18px 0; }
.ffs-confirmation-items table { width: 100%; min-width: 520px; table-layout: fixed; border-collapse: collapse; color: var(--ffs-ink); }
.ffs-confirmation-items th:nth-child(1),
.ffs-confirmation-items td:nth-child(1) { width: 49%; }
.ffs-confirmation-items th:nth-child(2),
.ffs-confirmation-items td:nth-child(2) { width: 17%; }
.ffs-confirmation-items th:nth-child(3),
.ffs-confirmation-items td:nth-child(3) { width: 17%; }
.ffs-confirmation-items th:nth-child(4),
.ffs-confirmation-items td:nth-child(4) { width: 17%; }
.ffs-confirmation-items th,
.ffs-confirmation-items td { padding: 12px; border-bottom: 1px solid var(--ffs-line); text-align: left; }
.ffs-confirmation-items th:nth-child(n+2),
.ffs-confirmation-items td:not(:first-child) { text-align: right; }
.ffs-confirmation-items small { display: block; margin-top: 3px; color: var(--ffs-muted); }
.ffs-confirmation-totals { max-width: 460px; margin: 0 0 12px auto; color: var(--ffs-ink); }
.ffs-confirmation-totals > div { display: flex; justify-content: space-between; gap: 20px; padding: 7px 0; }
.ffs-confirmation-totals dt,
.ffs-confirmation-totals dd { margin: 0; }
.ffs-confirmation-grand-total { border-top: 1px solid #b5e1c2; font-size: 1.1rem; font-weight: 700; }
.ffs-confirmation-paid-at { margin: 12px 0 0; color: var(--ffs-muted); font-size: .9rem; text-align: right; }
.ffs-order-lookup-link { text-align: right; margin: 0 0 12px; }
.ffs-order-lookup {background: #fff;padding: 1.5rem;border: 1px solid var(--ffs-line);border-radius: 1rem; }
.ffs-order-lookup > p { color: var(--ffs-muted); }
.ffs-lookup-form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; max-width: 700px; margin: 22px 0; }
.ffs-lookup-form label { width: 100%; font-weight: 700; }
.ffs-lookup-form input { flex: 1 1 240px; min-width: 0; height: 48px; padding: 10px 14px; border: 1px solid var(--ffs-line); border-radius: 8px; background: #fff; color: var(--ffs-ink); }
.ffs-lookup-form .ffs-button { min-height: 48px; }
.ffs-lookup-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 18px 0; }
.ffs-lookup-top p { margin: 0; }
.ffs-lookup-link { padding: 0; border: 0; background: none; color: var(--ffs-primary); text-decoration: underline; cursor: pointer; }
.ffs-lookup-list { display: grid; gap: 10px; margin: 20px 0 28px; }
.ffs-lookup-list a { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; padding: 16px; border: 1px solid var(--ffs-line); border-radius: 10px; background: #fff; text-decoration: none; color: var(--ffs-ink); }
.ffs-lookup-list a[aria-current="page"] { border-color: var(--ffs-primary); }
.ffs-lookup-list span { flex: 1 1 240px; color: var(--ffs-muted); }
.ffs-lookup-list b { white-space: nowrap; }
.ffs-lookup-pages { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 0 0 24px; }
.ffs-lookup-detail-title { margin: 26px 0 12px; }

@media (max-width: 600px) {
    .ffs-order-confirmation { padding: 16px; }
    .ffs-confirmation-meta { line-height: 1.7; }
    .ffs-confirmation-totals { max-width: none; }
}
.ffs-archive-heading-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.ffs-archive-heading-inner .fooundit-page-title{margin:0}
.ffs-archive-cart{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;padding:.45rem .8rem;border:1px solid rgba(255,255,255,.72);border-radius:999px;background:#fff;color:#273b78;text-decoration:none;font-size:1rem;font-weight:600;line-height:1;white-space:nowrap;transition:background-color .18s ease,border-color .18s ease,transform .18s ease}
.ffs-archive-cart:hover,.ffs-archive-cart:focus-visible{background:#f2f6ff;border-color:#fff;color:#273b78;text-decoration:none;transform:translateY(-1px)}
.ffs-archive-cart:focus-visible{outline:2px solid #fff;outline-offset:3px}
.ffs-archive-cart-icon{display:block;width:1.25rem;height:1.25rem;flex:0 0 auto}
.ffs-archive-cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:1.45rem;height:1.45rem;padding:0 .3rem;border-radius:999px;background:#edf1ff;color:#273b78;font-size:.85rem;font-weight:700}
@media(max-width:600px){.ffs-archive-heading-inner{gap:.75rem}.ffs-archive-heading-inner .fooundit-page-title{font-size:1.1rem!important}.ffs-archive-cart{padding:.4rem .65rem;gap:.4rem;font-size:.9rem}}
