/* Force56 Audio shopping cart prototype — isolated styles. */
.f56-cart-trigger{position:relative;flex:none;display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;margin-left:16px;border:0;background:transparent;color:#111;font-size:21px;cursor:pointer}
.f56-cart-trigger:hover{color:#d09a00}.f56-cart-count{position:absolute;top:0;right:0;min-width:19px;height:19px;padding:0 4px;border-radius:20px;background:#fbbc04;color:#111;font-size:11px;font-weight:800;line-height:19px;text-align:center}
.f56-cart-backdrop{position:fixed;inset:0;z-index:9998;background:rgba(8,12,18,.55);opacity:0;transition:opacity .25s ease}.f56-cart-backdrop.is-visible{opacity:1}
.f56-cart-drawer{position:fixed;top:0;right:0;bottom:0;z-index:9999;width:min(500px,100vw);background:#fff;box-shadow:-15px 0 50px rgba(0,0,0,.16);display:flex;flex-direction:column;transform:translateX(102%);visibility:hidden;transition:transform .26s ease,visibility .26s;overflow:hidden;color:#151515}
.f56-cart-drawer.is-open{transform:translateX(0);visibility:visible}.f56-cart-lock{overflow:hidden}
.f56-cart-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:30px 30px 23px;border-bottom:1px solid #e9e9e9}.f56-cart-eyebrow{font-size:11px;font-weight:800;letter-spacing:.15em;color:#888}.f56-cart-head h2{font-size:27px;line-height:1.2;margin:7px 0 0;color:#111}.f56-cart-head h2 span{font-size:18px;color:#888;font-weight:400}.f56-cart-close{border:0;background:#f4f4f4;border-radius:50%;width:36px;height:36px;line-height:30px;font-size:27px;color:#222;cursor:pointer}
.f56-cart-items{padding:10px 30px;overflow-y:auto;flex:1}.f56-cart-item{display:flex;gap:17px;padding:22px 0;border-bottom:1px solid #ededed}.f56-cart-item img{width:104px;height:82px;object-fit:contain;background:#f4f4f4;border-radius:10px}.f56-cart-item-details{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0}.f56-cart-item-details a{font-size:16px;font-weight:700;color:#171717;text-decoration:none}.f56-cart-item-details a:hover{text-decoration:underline}.f56-cart-item-details strong{font-size:15px}.f56-cart-remove{padding:0;border:0;background:none;color:#777;text-decoration:underline;font-size:13px;cursor:pointer}.f56-cart-remove:hover{color:#111}
.f56-cart-empty{padding:90px 12px;text-align:center;color:#777}.f56-cart-empty i{font-size:43px;color:#bbb}.f56-cart-empty h3{font-size:21px;color:#222;margin:22px 0 9px}.f56-cart-empty p{font-size:14px;line-height:1.6}
.f56-cart-bottom{border-top:1px solid #e9e9e9;padding:23px 30px 30px;background:#fff}.f56-cart-total{display:flex;align-items:center;justify-content:space-between;font-size:17px}.f56-cart-total strong{font-size:23px;color:#111}.f56-cart-continue{display:block;margin:16px auto 0;background:none;border:0;text-decoration:underline;color:#555;cursor:pointer}.f56-add-to-cart{white-space:nowrap}
@media(max-width:767px){.f56-cart-trigger{margin-left:auto;margin-right:48px}.f56-cart-head{padding:22px 20px}.f56-cart-items{padding:8px 20px}.f56-cart-bottom{padding:20px}.f56-cart-item img{width:88px;height:74px}.home-product-card-footer{flex-wrap:wrap}.home-product-card-footer .f56-add-to-cart{width:100%}}
@media(prefers-reduced-motion:reduce){.f56-cart-backdrop,.f56-cart-drawer{transition:none}}

/* Compact, paginated recommendations: never compete with the actual cart. */
.f56-cart-drawer [hidden]{display:none!important}
.f56-cart-items{min-height:0;flex:1 1 auto;overscroll-behavior:contain}
.f56-cart-suggestions-section{flex:0 0 auto;padding:14px 24px 16px;border-top:1px solid #e9e9e9;background:#f7faf8}
.f56-cart-suggestions-nav{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}
.f56-cart-suggestions-nav h3{margin:0;color:#303b35;font-size:13px;font-weight:700;letter-spacing:0}
.f56-cart-suggestions-controls{display:flex;align-items:center;gap:8px;color:#777;font-size:11px}
.f56-cart-suggestions-controls button{width:26px;height:26px;border:1px solid #d8dfda;border-radius:6px;background:#fff;color:#333;cursor:pointer;font-size:20px;line-height:20px}
.f56-cart-suggestions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.f56-cart-suggestion-card{min-width:0;display:grid;grid-template-columns:65px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:9px;align-items:center;padding:9px;border:1px solid #dce7df;border-radius:10px;background:#fff}
.f56-cart-suggestion-card img{grid-row:1/4;width:65px;height:64px;object-fit:contain;border-radius:6px;background:#f5f5f5}
.f56-cart-suggestion-card a{min-width:0;color:#202020;text-decoration:none;font-size:12px;font-weight:700;line-height:1.25}
.f56-cart-suggestion-card strong{font-size:12px;line-height:1.4;color:#222}
.f56-cart-suggestion-card button{justify-self:start;padding:2px 9px;border:1px solid #85b999;border-radius:5px;background:#fff;color:#286940;font-size:11px;font-weight:700;cursor:pointer}
.f56-cart-suggestion-card button:hover{background:#e6f4ea}
.f56-cart-bottom{flex:0 0 auto;padding-top:15px;padding-bottom:18px}
@media(max-width:540px){.f56-cart-suggestions-section{padding:12px}.f56-cart-suggestion-card{grid-template-columns:52px minmax(0,1fr);gap:6px;padding:7px}.f56-cart-suggestion-card img{width:52px;height:56px}.f56-cart-suggestion-card a{font-size:11px}.f56-cart-bottom{padding:14px 18px}}
@media(max-height:650px){.f56-cart-suggestions-section{padding-top:8px;padding-bottom:8px}.f56-cart-suggestion-card img{height:46px}.f56-cart-bottom{padding-top:10px;padding-bottom:10px}.f56-cart-head{padding-top:14px;padding-bottom:12px}}

/* Shared scrolling area: purchased products and recommendations move together. */
.f56-cart-head{flex:0 0 auto}
.f56-cart-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable}
.f56-cart-scroll .f56-cart-items{flex:none;min-height:0;overflow:visible;padding-bottom:8px}
.f56-cart-scroll .f56-cart-suggestions-section{flex:none;border-top:1px solid #e9e9e9}
.f56-cart-scroll .f56-cart-empty{padding:32px 12px}

/* Summary hierarchy: subtotal and savings understated; total prominent. */
.f56-cart-bottom .f56-cart-summary-secondary{font-size:13px;line-height:1.5;color:#657080;font-weight:400;margin-bottom:3px}
.f56-cart-bottom .f56-cart-summary-secondary strong{font-size:13px;line-height:1.5;font-weight:500;color:#657080}
.f56-cart-bottom .f56-cart-summary-grand-total{font-size:19px;font-weight:700;color:#111;margin-top:6px}
.f56-cart-bottom .f56-cart-summary-grand-total strong{font-size:24px;font-weight:800;color:#111}
.f56-cart-bottom .f56-cart-continue{width:auto;margin:10px 0 0 auto;padding:0;border:0;background:none;color:#697386;text-decoration:none;text-align:right;font-size:12px;font-weight:400;line-height:1.5}
.f56-cart-bottom .f56-cart-continue:hover{text-decoration:underline;color:#222}
@media(max-width:540px){.f56-cart-scroll{scrollbar-gutter:auto}.f56-cart-bottom .f56-cart-summary-grand-total strong{font-size:21px}}

/* Header cart spacing: the desktop menu sits immediately beside the cart. */
@media (min-width: 992px) {
    .nk-header-wrap > .f56-cart-trigger { margin-left: 8px; }
}

/* AudioThing-inspired purchase buttons: shared across home and product landings.
   Scope to product buttons only; keep suggestion buttons and PayPal untouched. */
button[data-f56-add]:not(.f56-cart-suggestion-card > button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    border: 1px solid #e8c46d;
    border-radius: 999px;
    background: #e8c46d;
    color: #171717;
    font-weight: 700;
    box-shadow: none;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
button[data-f56-add]:not(.f56-cart-suggestion-card > button):hover,
button[data-f56-add]:not(.f56-cart-suggestion-card > button):focus-visible {
    background: #f2d58d;
    border-color: #f2d58d;
    color: #171717;
}
button[data-f56-add]:not(.f56-cart-suggestion-card > button):active {
    transform: translateY(1px);
}
button[data-f56-add]:not(.f56-cart-suggestion-card > button) i {
    font-size: .95em;
    line-height: 1;
}

/* Product landing buttons: neutralize NioLand's primary-button overlay. */
.hero-product button[data-f56-add],
.hero-product button[data-f56-add]:hover,
.hero-product button[data-f56-add]:focus,
.hero-product button[data-f56-add]:active {
    background: #e8c46d !important;
    background-image: none !important;
    border-color: #e8c46d !important;
    color: #171717 !important;
    opacity: 1;
}
.hero-product button[data-f56-add]:hover,
.hero-product button[data-f56-add]:focus-visible {
    background: #f2d58d !important;
    border-color: #f2d58d !important;
}
.hero-product button[data-f56-add]::before,
.hero-product button[data-f56-add]::after {
    content: none !important;
    display: none !important;
}

/* AudioThing-inspired cart presentation */
.f56-cart-progress{padding:10px 20px 0;flex:0 0 auto}
.f56-cart-progress-panel{background:#1c1c1c;border:1px solid #b98a32;border-radius:9px;padding:11px 13px;color:#f6e1a8}
.f56-cart-progress-message{font-size:12px;font-weight:750;margin-bottom:9px}
.f56-cart-progress-track{height:4px;background:#545454;border-radius:6px;overflow:hidden}
.f56-cart-progress-fill{height:100%;background:#e6b744;transition:width .2s}
.f56-cart-progress-labels{display:flex;justify-content:space-between;margin-top:5px;font-size:10px;color:#e3dccb}
.f56-cart-item{border:1px solid #dbe0e8;border-radius:13px;background:#f7f9fc;padding:14px;margin:12px 0;align-items:center;gap:12px}
.f56-cart-item img{width:96px;height:78px;flex:none;background:#edf0f5}
.f56-cart-item-details{flex:1;gap:8px}
.f56-cart-item-details a{font-size:15px}
.f56-cart-item-controls{display:flex;align-items:center;justify-content:space-between;width:100%;gap:12px}
.f56-cart-quantity{display:inline-flex;align-items:center;border:1px solid #cbd3e0;border-radius:6px;overflow:hidden;background:white;height:32px}
.f56-cart-quantity button{width:28px;height:30px;border:0;background:transparent;color:#657083;cursor:pointer}
.f56-cart-quantity button:hover{background:#edf0f5}
.f56-cart-quantity span{min-width:29px;text-align:center;border-left:1px solid #dce0e8;border-right:1px solid #dce0e8;font-size:13px}
.f56-cart-remove{border:0;background:transparent;color:#697385;padding:7px;text-decoration:none}
.f56-cart-remove:hover{color:#b63838}
.f56-cart-suggestions-section{background:#f2f9f5}
.f56-cart-suggestions-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.f56-cart-suggestion-card{display:flex;flex-direction:column;gap:6px;align-items:center;text-align:center;padding:8px}
.f56-cart-suggestion-card img{width:100%;height:80px;object-fit:contain;flex:none}
.f56-cart-suggestion-card a{font-size:11px;min-height:28px}
.f56-cart-suggestion-prices{display:flex;justify-content:center;align-items:center;gap:5px;flex-wrap:wrap}
.f56-cart-suggestion-prices del{font-size:10px;color:#89919b}
.f56-cart-suggestion-prices strong{font-size:12px}
.f56-cart-suggestion-card button{align-self:center;margin-top:auto}
body.f56-cart-lock .scroll-top,body.f56-cart-lock .back-to-top,body.f56-cart-lock .nk-scroll-top{display:none!important}
@media(max-width:540px){.f56-cart-progress{padding:9px 12px 0}.f56-cart-item{padding:10px}.f56-cart-item img{width:76px;height:65px}.f56-cart-suggestion-card img{height:58px}.f56-cart-suggestion-card{padding:5px}.f56-cart-suggestion-prices{gap:3px}}


/* Cart visual refinement — light promotion, AudioThing-inspired controls. */
.f56-cart-head{align-items:center;padding-top:23px;padding-bottom:19px}
.f56-cart-head h2{margin:0}
.f56-cart-close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;padding:0;line-height:1;font-family:Arial,sans-serif;font-weight:400}
.f56-cart-progress-panel{background:#f1f8f3;border:1px solid #c9e4d0;color:#28623b}
.f56-cart-progress-message{color:#28623b}
.f56-cart-progress-track{background:#d7e6dc}
.f56-cart-progress-fill{background:#69ad7c}
.f56-cart-progress-labels{color:#587362}
.f56-cart-item{align-items:stretch}
.f56-cart-item-details{display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:0}
.f56-cart-item-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-width:0}
.f56-cart-item-heading{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.f56-cart-item-heading a{line-height:1.3;overflow-wrap:anywhere}
.f56-cart-product-subtitle{font-size:11px;line-height:1.35;font-weight:400;color:#788391}
.f56-cart-item-prices{display:flex;gap:7px;align-items:baseline;flex-wrap:wrap}
.f56-cart-item-prices del{font-size:12px;color:#8b94a0}
.f56-cart-item-prices strong{font-size:15px;color:#202630}
.f56-cart-item-actions{display:flex;justify-content:flex-end;margin-top:auto}
.f56-cart-quantity{flex:none;height:32px}
.f56-cart-remove{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid #cbd3e0;border-radius:6px;background:#fff;color:#657083;padding:0;text-decoration:none}
.f56-cart-remove:hover{background:#fff1f1;border-color:#dca5a5;color:#b63838}
.f56-cart-suggestion-card .f56-cart-product-subtitle{font-size:10px;min-height:27px;text-align:center}
@media(max-width:540px){.f56-cart-item-top{flex-wrap:wrap}.f56-cart-item-top .f56-cart-quantity{margin-left:auto}.f56-cart-item-heading{min-width:110px}}

/* November 16 refinement: three-up recommendations and diagonal red strike. */
.f56-cart-item-prices del,
.f56-cart-suggestion-prices del {
    position:relative;display:inline-block;flex:none;white-space:nowrap;
    color:#8b94a0;text-decoration:none!important;font-weight:400;
    font-size:10px;line-height:1.4;
}
.f56-cart-item-prices del::after,
.f56-cart-suggestion-prices del::after {
    content:"";position:absolute;left:-3%;top:50%;width:106%;height:1.5px;
    background:#c95656;transform:rotate(-13deg);pointer-events:none;
}
.f56-cart-suggestions-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.f56-cart-suggestion-card {display:flex;flex-direction:column;align-items:center;gap:0;padding:8px 5px;min-width:0}
.f56-cart-suggestion-card img {width:100%;height:76px;object-fit:contain;margin-bottom:5px}
.f56-cart-suggestion-card a {font-size:10.5px;line-height:1.2;min-height:0;margin:0;overflow-wrap:anywhere}
.f56-cart-suggestion-card .f56-cart-product-subtitle {font-size:9px;line-height:1.2;min-height:0;margin:3px 0 7px;overflow-wrap:anywhere}
.f56-cart-suggestion-prices {display:flex;align-items:baseline;justify-content:center;gap:4px;flex-wrap:nowrap;width:100%;white-space:nowrap;margin-top:auto;margin-bottom:8px}
.f56-cart-suggestion-prices del {font-size:9px}
.f56-cart-suggestion-prices strong {font-size:11px;font-weight:800;letter-spacing:-.3px}
.f56-cart-suggestion-card button {margin-top:0}
/* The static eyebrow is redundant with the generated recommendations heading. */
.f56-cart-suggestions-section > .f56-cart-eyebrow,
.f56-cart-suggestions-section > .f56-cart-suggestions-eyebrow {display:none!important}
@media(max-width:540px) {
    .f56-cart-suggestions-grid {gap:5px}
    .f56-cart-suggestion-card {padding:6px 3px}
    .f56-cart-suggestion-card img {height:58px}
    .f56-cart-suggestion-prices {gap:2px}
    .f56-cart-suggestion-prices del {font-size:8px}
    .f56-cart-suggestion-prices strong {font-size:9.5px;letter-spacing:-.35px}
}


/* Compact cart controls and aligned edges — November 16. */
/* Keep the progress panel and purchased-item cards on the same horizontal grid. */
.f56-cart-progress { padding-left:30px; padding-right:30px; }
.f56-cart-scroll .f56-cart-items { padding-left:30px; padding-right:30px; }

/* Center glyphs independently of inherited theme button line-height/padding. */
.f56-cart-quantity button,
.f56-cart-suggestions-controls button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0;
    line-height:1;
    vertical-align:middle;
    font-family:Arial,sans-serif;
}
.f56-cart-quantity span { display:inline-flex;align-items:center;justify-content:center;height:100%;line-height:1; }
.f56-cart-suggestions-controls { align-items:center; }
.f56-cart-suggestions-controls button { flex:0 0 26px; }

/* Put the trash button directly below the quantity stepper, without stretching the card. */
.f56-cart-item { align-items:flex-start; padding:11px 12px; gap:11px; }
.f56-cart-item-details { position:relative; gap:5px; padding-bottom:0; }
.f56-cart-item-top { padding-right:0; }
.f56-cart-item-actions { margin-top:0; align-self:flex-end; }
.f56-cart-item img { align-self:center; }

/* Full-width, easy-to-hit recommendation actions. */
.f56-cart-suggestion-card button[data-f56-add] {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    align-self:stretch;
    width:100%;
    min-height:32px;
    padding:5px 4px;
    margin-top:0;
    line-height:1.2;
    box-sizing:border-box;
}
@media(max-width:767px) {
    .f56-cart-progress { padding-left:20px; padding-right:20px; }
    .f56-cart-scroll .f56-cart-items { padding-left:20px; padding-right:20px; }
}
@media(max-width:540px) {
    .f56-cart-progress { padding-left:12px; padding-right:12px; }
    .f56-cart-scroll .f56-cart-items { padding-left:12px; padding-right:12px; }
    .f56-cart-item { padding:9px; }
}


/* Final alignment: progress is outside the scrolling region, so compensate
   for the scrollbar occupying space on the right of the product cards. */
@media (min-width:768px) {
    .f56-cart-progress {
        padding-right:45px; /* 30px card inset + approximately 15px scrollbar */
    }
}
@media (min-width:541px) and (max-width:767px) {
    .f56-cart-progress { padding-right:35px; }
}

/* The remove action sits immediately under the quantity selector instead
   of participating in the normal vertical flow of the product details. */
.f56-cart-item-details { position:relative; min-height:78px; }
.f56-cart-item-actions {
    position:absolute;
    top:38px;
    right:0;
    margin:0;
    padding:0;
    line-height:1;
}
.f56-cart-item-prices { padding-right:38px; }
@media (max-width:540px) {
    .f56-cart-progress { padding-right:27px; }
    .f56-cart-item-details { min-height:65px; }
    .f56-cart-item-actions { top:37px; }
}

/* PayPal SDK renders the only checkout button. Its disabled state is SDK-managed. */
#f56-cart-paypal-buttons { min-height:0; }
