/* ============================================================
   ADAM MEN'S WEAR — storefront restructure
   Loaded LAST in frontend/layouts/app.blade.php, after thecore.css.
   Monochrome only: #111 ink, white grounds, #E5E5E5 hairline.
   ============================================================ */

:root {
    --adam-ink: #111111;
    --adam-ink-soft: #5a5a5a;
    --adam-muted: #8a8a8a;
    --adam-line: #e5e5e5;
    --adam-ground: #ffffff;
}

/* ------------------------------------------------------------
   1. PRODUCT CARD — 3:4 portrait media, loud price, start-aligned
   ------------------------------------------------------------ */

.aiz-card-box.adam-pcard {
    background: var(--adam-ground);
    padding: 0;
    overflow: hidden;
}

/* Media frame: aspect ratio, not pixels. Photos are 896x1200 (3:4). */
.adam-pcard .adam-pcard-media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    height: auto;
    overflow: hidden;
    background: #f4f4f4;
}

.adam-pcard .adam-pcard-media > a {
    display: block;
    width: 100%;
    height: 100%;
}

.adam-pcard .adam-pcard-media img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: top center;
}

.adam-pcard .adam-pcard-media .product-hover-image {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 100%;
}

/* Badges stack from the start edge, no inline top offsets */
.adam-pcard .adam-pcard-badges {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    pointer-events: none;
}

.adam-pcard .adam-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .02em;
    padding: 5px 7px;
    border-radius: 2px;
    white-space: nowrap;
}

.adam-pcard .adam-badge-ink {
    background: var(--adam-ink);
    color: #fff;
}

/* Card body */
.adam-pcard .adam-pcard-body {
    padding: 10px 12px 14px;
    text-align: start;
}

.adam-pcard .adam-pcard-name {
    margin: 0 0 6px;
    height: auto;
    min-height: 2.9em;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    color: var(--adam-ink-soft);
    text-align: start;
}

.adam-pcard .adam-pcard-name a {
    color: inherit;
}

.adam-pcard .adam-pcard-name a:hover {
    color: var(--adam-ink);
}

.adam-pcard .adam-pcard-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-start;
    gap: 8px;
    text-align: start;
}

.adam-pcard .adam-price {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--adam-ink);
}

.adam-pcard .adam-price-old {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.25;
    color: var(--adam-muted);
    margin: 0;
    opacity: 1;
}

/* Hover action bar sits on the media, ink not colour */
.adam-pcard .cart-btn {
    background: var(--adam-ink);
    opacity: .92;
}

@media (max-width: 575.98px) {
    .adam-pcard .adam-pcard-body {
        padding: 8px 9px 12px;
    }

    .adam-pcard .adam-pcard-name {
        font-size: 12px;
        min-height: 2.8em;
    }

    .adam-pcard .adam-price {
        font-size: 15px;
    }
}


/* ---- policy links: slim row, no cards (item 4) ---------------------- */
.adam-policy-bar{background:#fff;border-top:1px solid #E5E5E5;padding:16px 0}
.adam-policy-nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:2px}
.adam-policy-link{color:#6b6b6b;font-size:13.5px;font-weight:400;line-height:1.9;
  text-decoration:none;padding:4px 16px;transition:color .15s ease}
.adam-policy-link:hover,.adam-policy-link:focus{color:#111;text-decoration:none}
.adam-policy-dot{width:3px;height:3px;border-radius:50%;background:#d8d8d8;display:inline-block}
@media (max-width:575px){
  .adam-policy-dot{display:none}
  .adam-policy-link{padding:5px 12px;font-size:13px}
}
/* softer footer: lighter rules, less ink on the dividers */
.footer-widget{border-color:#2c2c34 !important}

/* ---- item 5: circular category pucks ---------------------------------- */
.adam-pucks-section{background:#fff;padding:20px 0 6px}
.adam-pucks{display:flex;flex-wrap:nowrap;gap:6px;overflow-x:auto;padding-bottom:6px;
  scrollbar-width:none;-ms-overflow-style:none}
.adam-pucks::-webkit-scrollbar{display:none}
.adam-puck{flex:0 0 auto;width:84px;display:flex;flex-direction:column;align-items:center;
  text-decoration:none;color:#111}
.adam-puck:hover,.adam-puck:focus{text-decoration:none;color:#111}
.adam-puck-img{display:block;width:70px;height:70px;border-radius:50%;overflow:hidden;background:#f0f0f0}
.adam-puck-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}
.adam-puck:hover .adam-puck-img img{transform:scale(1.07)}
.adam-puck-label{margin-top:8px;font-size:12px;font-weight:500;line-height:1.3;text-align:center;
  color:#111;display:block;max-width:100%}
@media (min-width:768px){
  .adam-pucks-section{padding:30px 0 14px}
  .adam-pucks{justify-content:center;gap:18px;overflow-x:visible}
  .adam-puck{width:112px}
  .adam-puck-img{width:96px;height:96px}
  .adam-puck-label{margin-top:12px;font-size:13.5px}
}

/* ---- item 5: three-column banner mosaic ------------------------------- */
.adam-mosaic-section{background:#fff;padding:10px 0 20px}
.adam-mosaic{display:grid;grid-template-columns:1fr;gap:8px}
.adam-mosaic-cell{display:block;overflow:hidden;background:#f0f0f0;aspect-ratio:3/2}
.adam-mosaic-cell img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease}
.adam-mosaic-cell:hover img{transform:scale(1.05)}
@media (min-width:768px){
  .adam-mosaic-section{padding:14px 0 30px}
  .adam-mosaic{gap:12px}
  .adam-mosaic-2{grid-template-columns:repeat(2,1fr)}
  .adam-mosaic-3,.adam-mosaic-4,.adam-mosaic-5,.adam-mosaic-6{grid-template-columns:repeat(3,1fr)}
}

/* ---- item 6: trust strip in the dark top bar -------------------------- */
.adam-trust-col{display:flex;align-items:center;justify-content:center;min-width:0}
.adam-trust{list-style:none;margin:0;padding:0;display:flex;align-items:center;
  justify-content:center;flex-wrap:nowrap;gap:18px;min-width:0}
.adam-trust-item{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:400;
  letter-spacing:.01em;white-space:nowrap;opacity:.92}
.adam-trust-icon{flex:0 0 auto;opacity:.8}
.adam-trust-sm{display:none}
.adam-trust-lg{display:none}
@media (min-width:576px){.adam-trust-sm{display:inline-flex}}
/* 2026-10-29: phones show both trust items on one tidy row; long text wraps to two lines */
@media (max-width:575.98px){
  .adam-trust{width:100%;gap:8px;align-items:stretch}
  .adam-trust-sm{display:inline-flex}
  .adam-trust-item{flex:1 1 0;min-width:0;justify-content:center;white-space:normal;text-align:center;font-size:10.5px;line-height:1.3;gap:5px}
  .adam-trust-icon{width:13px;height:13px}
}
@media (max-width:380px){.adam-trust{gap:6px}.adam-trust-item{font-size:9.5px;gap:4px}.adam-trust-icon{width:11px;height:11px}}
@media (min-width:992px){
  .adam-trust-lg{display:inline-flex}
  .adam-trust{gap:26px}
  .adam-trust-item{font-size:12px}
}

/* ---- item 5: hero banner must show its whole composition on phones ----
   The banners are composed 2560x960. The theme crops them to a fixed 180px
   box, which cuts the headline half of the artwork off-screen. Let the
   banner keep its own ratio below md so the copy stays readable.
   (A purpose-built portrait banner is still the better long-term answer.) */
@media (max-width:767.98px){
  .home-slider .carousel-box .h-180px{height:auto !important}
  .home-slider .carousel-box img{width:100%;height:auto !important;max-width:100%;
    object-fit:contain;margin:0 !important}
}

/* ---- deals rail heading, matching the other homepage sections --------- */
.adam-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px}

/* ---- item 1: quick-add on the product card ---------------------------
   The theme's add-to-cart lived in a hover overlay on the image, so it did
   not exist on touch and was invisible until hover on desktop. It is now a
   real <button> in the card body, below the price. Variant products open the
   platform's variant off-canvas instead (a blind POST has no product_stock). */
.adam-pcard-actions{margin-top:10px}
.adam-qa{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;
  min-height:34px;padding:7px 10px;background:#fff;color:#111;border:1px solid #111;
  border-radius:0;font-size:12.5px;font-weight:600;line-height:1.2;cursor:pointer;
  transition:background .15s ease,color .15s ease,opacity .15s ease}
.adam-qa:hover{background:#111;color:#fff}
.adam-qa:focus{outline:2px solid #111;outline-offset:2px}
.adam-qa:focus:not(:focus-visible){outline:none}
.adam-qa:focus-visible{outline:2px solid #111;outline-offset:2px}
.adam-qa .adam-qa-icon{flex:0 0 auto}
.adam-qa .adam-qa-check{display:none;flex:0 0 auto}
.adam-qa.is-busy{opacity:.5;pointer-events:none}
.adam-qa.is-added{background:#111;color:#fff;border-color:#111}
.adam-qa.is-added .adam-qa-icon{display:none}
.adam-qa.is-added .adam-qa-check{display:block}
.adam-qa-label{display:block}
@media (max-width:575.98px){
  .adam-pcard-actions{margin-top:8px}
  .adam-qa{min-height:32px;font-size:11.5px;gap:5px;padding:6px 8px}
  .adam-qa .adam-qa-icon,.adam-qa .adam-qa-check{width:13px;height:13px}
}

/* ---- item 5: product page, monochrome + tappable sizes ---------------- */
/* Sizes were wide 119x36 pills that read as buttons-for-nothing. Square them
   up to a real tap target and let the selected one fill with ink. */
.variant-wrapper{display:flex;flex-wrap:wrap;gap:8px}
.variant-wrapper label{margin:0 !important}
.variant-wrapper .aiz-megabox-elem{min-width:52px;height:44px;padding:0 12px !important;
  display:flex;align-items:center;justify-content:center;border:1px solid #d8d8d8 !important;
  border-radius:0 !important;background:#fff;transition:border-color .15s ease,background .15s ease}
.variant-wrapper .aiz-megabox-elem span{padding:0 !important;font-size:14px !important;
  font-weight:500 !important;color:#111 !important;white-space:nowrap}
.variant-wrapper label:hover .aiz-megabox-elem{border-color:#111 !important}
.variant-wrapper input:checked ~ .aiz-megabox-elem{background:#111 !important;border-color:#111 !important}
.variant-wrapper input:checked ~ .aiz-megabox-elem span{color:#fff !important}
.variant-wrapper input:focus-visible ~ .aiz-megabox-elem{outline:2px solid #111;outline-offset:2px}

/* The buy button was cornflower blue on a pale blue wash - the "silver and
   colours" Razek called out. Ink and white, square, full strength. */
.add-to-cart,
#added_to_cart_btn{background:#111 !important;color:#fff !important;border-radius:0 !important;
  border:1px solid #111 !important;font-weight:700 !important}
.add-to-cart:hover,
#added_to_cart_btn:hover{background:#000 !important;color:#fff !important;border-color:#000 !important}
/* Buy Now is the secondary of the pair: same shape, outlined, so the two
   stop competing. Add to Cart is primary because it is also what the sticky
   mobile bar fires. */
.buy-now,
#buy_now_btn{background:#fff !important;color:#111 !important;border-radius:0 !important;
  border:1px solid #111 !important;font-weight:700 !important}
.buy-now:hover,
#buy_now_btn:hover{background:#111 !important;color:#fff !important;border-color:#111 !important}
.product-variant{border-radius:0 !important;border-color:#E5E5E5 !important}
/* the theme stretches megabox children to fill their row; size chips must hug */
.variant-wrapper label,
.variant-wrapper .aiz-megabox,
.variant-wrapper .aiz-megabox-elem{width:auto !important;flex:0 0 auto !important}

/* ------------------------------------------------------------------ */
/* Sticky mobile buy bar (PDP) — added 2026-10-09                      */
/* The real buttons sit far below the images on a phone, so the bar    */
/* keeps the price and the add-to-cart within thumb reach. Its button  */
/* clicks #added_to_cart_btn, so all existing validation still runs.   */
/* ------------------------------------------------------------------ */
.adam-stickybuy {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #e6e6e6;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, .08);
}

.adam-stickybuy-price {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 17px;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.adam-stickybuy-btn {
    flex: 0 0 auto;
    min-width: 150px;
    height: 48px;
    padding: 0 22px;
    border: 1px solid #111 !important;
    border-radius: 0 !important;
    background: #111 !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.adam-stickybuy-btn:disabled {
    background: #9d9da6 !important;
    border-color: #9d9da6 !important;
    cursor: not-allowed;
}

/* Clear the bar so it never covers the last line of the page. */
@media (max-width: 767.98px) {
    body.adam-has-stickybuy {
        padding-bottom: 78px;
    }
}

/* Cart stays one tap away inside the buy bar, since the tab nav stands down. */
.adam-stickybuy-cart {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 48px;
    padding: 0 11px;
    color: #111;
    text-decoration: none;
    border: 1px solid #d8d8d8;
    background: #fff;
}

.adam-stickybuy-cart:hover,
.adam-stickybuy-cart:focus {
    color: #111;
    text-decoration: none;
    border-color: #111;
}

.adam-stickybuy-cart .cart-count {
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

/* Three things now share a 390px row, so the button gives back some width. */
.adam-stickybuy-btn {
    min-width: 128px;
    padding: 0 14px;
}

.adam-stickybuy-price {
    font-size: 16px;
}

/* On a product page the buy bar IS the bottom bar. Stacking it on top of the
   theme's tab nav would burn 141px of an 844px screen, so the nav stands down
   here only -- it is untouched on every other page and on tablets. */
@media (max-width: 767.98px) {
    body.adam-has-stickybuy .aiz-mobile-bottom-nav {
        display: none !important;
    }
}


/* ------------------------------------------------------------------ */
/* Two blues that do not read var(--blue) and so survived the palette  */
/* remap in app.blade.php: one baked into custom-style.css, one a fill */
/* attribute written straight into the markup.                         */
/* ------------------------------------------------------------------ */
.loader-fill {
    background: #111 !important;
}

svg [fill="#007bff"],
svg[fill="#007bff"] {
    fill: #111;
}

/* The stock line reads as information, not as a link: the number carries
   the weight, the word stays quiet. */
#available-quantity {
    font-weight: 700;
}


/* ------------------------------------------------------------------ */
/* The product page's store card carries ADAM's wordmark, not a square  */
/* vendor avatar. The theme's 48px square box cropped it to "D A", so   */
/* the box hugs the logo and the image is contained, not covered.       */
/* ------------------------------------------------------------------ */
.store-logo-container {
    width: auto !important;
    min-width: 48px;
    max-width: 124px;
    padding: 0 8px;
}

.store-logo-container img {
    height: 34px;
    width: auto;
    max-width: 108px;
    object-fit: contain;
}

/* Raizer 2026-10-13 header menu: eight category links + Home must fit the desktop bar
   (header1, 1280-1440 px). Tighter link padding and a smaller gap after the
   Categories button; nothing else changes. Undo: delete this block. */
@media (min-width: 1200px) {
    .header_menu_links.px-3 {
        padding-left: .5rem !important;
        padding-right: .5rem !important;
    }
    .ml-xl-4.w-100.overflow-hidden {
        margin-left: .5rem !important;
    }
}

/* Raizer 2026-10-13 (performance): storefront subset of the Line Awesome solid icon font.
   la-solid-900.woff2 is 96.7 KB; this subset (the 50 solid glyphs the storefront views and
   JS can use) is 4.0 KB. Declared AFTER vendors.css with a unicode-range, so the browser
   takes these glyphs from the subset and only downloads the full font if a page ever uses
   an icon outside this list (it still renders, just costs the old 96.7 KB). Admin pages do
   not load this stylesheet. Rebuild: fontTools.subset with the codepoints below.
   Revert: delete this block. */
@font-face {
    font-family: 'Line Awesome Free';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(../fonts/adam/la-solid-900-store.woff2) format("woff2");
    unicode-range: U+F002,U+F004,U+F005,U+F007,U+F00C,U+F00D,U+F00E,U+F010,U+F019,U+F021,U+F057,U+F058,U+F060,U+F061,U+F064,U+F067,U+F068,U+F06E,U+F070,U+F07A,U+F095,U+F09D,U+F0B0,U+F0C1,U+F0C5,U+F0C9,U+F0D1,U+F0E0,U+F0E3,U+F101,U+F104,U+F105,U+F106,U+F107,U+F110,U+F119,U+F142,U+F144,U+F15C,U+F1AB,U+F1C1,U+F1DE,U+F218,U+F279,U+F290,U+F2ED,U+F30A,U+F30B,U+F31E,U+F3C5;
}

/* Raizer 2026-10-17 (logo): the new ADAM logo is a stacked mark (hanger over wordmark,
   about 1.1:1), so the stock 30/40 px header height made the letters unreadable. Taller
   logo, less padding on its link, so the header row keeps its old height (70 px phone,
   80 px desktop). Footer logo (white variant) up from 45 px. Revert: delete this block. */
#header-logo-preview {
    height: 44px !important;
    width: auto;
}
a:has(> #header-logo-preview) {
    padding-top: 13px !important;
    padding-bottom: 13px !important;
}
@media (min-width: 768px) {
    #header-logo-preview {
        height: 60px !important;
    }
    a:has(> #header-logo-preview) {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
}
.footer-widget img.h-45px {
    height: 72px !important;
    width: auto;
}

/* Raizer 2026-10-17 S40 (client issue 7): on a discount the old price is struck through in
   red everywhere on the storefront (cards, search, product page, sticky bar, quick-add,
   related products, wishlist). The vendor views print it as <del> with grey utility classes
   (text-secondary / text-gray / opacity-60, several of them !important), so this rule is
   !important with one class of extra specificity (:not(.adam-del-plain)). A <del> inside a
   product description keeps its own colour. Admin does not load this stylesheet.
   Undo: delete this block. */
:root {
    --adam-sale: #d32f2f;
}
del:not(.adam-del-plain) {
    color: var(--adam-sale) !important;
    opacity: 1 !important;
    text-decoration: line-through !important;
    text-decoration-color: var(--adam-sale) !important;
    text-decoration-thickness: 1.5px;
}
.aiz-editor-data del {
    color: inherit !important;
    text-decoration-color: currentColor !important;
}
/* A little larger than before: cards 12 -> 13 px, product page 14 -> 16 px. */
.adam-pcard .adam-price-old {
    font-size: 13px;
}
#option-choice-form del.fs-14 {
    font-size: 16px !important;
}
/* Sticky buy bar: the old price sits under the new one, so the row keeps its width. */
.adam-stickybuy-price #adam-sticky-price,
.adam-stickybuy-price .adam-stickybuy-old {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}
.adam-stickybuy-price .adam-stickybuy-old {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
}
/* Raizer 2026-10-17 S4 (homepage): four category tiles under the hero: 2 per row on phones, 4 on desktop. */
.adam-mosaic-4{grid-template-columns:repeat(2,1fr)}
@media (min-width:768px){.adam-mosaic-4{grid-template-columns:repeat(4,1fr)}}
/* Raizer 2026-11-23 mobile home layout: the Today's Deal slot is an AJAX target that stays
   empty when no deal runs, but kept its 8px + 2rem margins: a ~56px blank band between
   the category pucks and the tiles on phones. Collapse it only while empty. */
@media (max-width:767.98px){#todays_deal:empty{margin:0!important}}


/* ------------------------------------------------------------------ */
/* Raizer 2026-10-17 S7 / R3 / S6: WhatsApp (adam-whatsapp-20261017).  */
/* Floating chat button (bottom-left: the cookie/custom alert is        */
/* bottom-right), its bottom offset is set inline by the partial's      */
/* script above the mobile tab bar and the PDP sticky buy bar.          */
/* ------------------------------------------------------------------ */
.adam-wa-float {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 1040;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .22);
    transition: bottom .2s ease, transform .15s ease;
}
.adam-wa-float:hover,
.adam-wa-float:focus {
    color: #fff !important;
    transform: scale(1.05);
}
.adam-wa-float:focus-visible {
    outline: 3px solid #111;
    outline-offset: 2px;
}
@media (min-width: 1200px) {
    .adam-wa-float { left: 24px; width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
    .adam-wa-float { transition: none; }
}
/* Return / exchange button (order page, order tracking) */
.adam-wa-return-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 18px;
    border: 1px solid #1f9e4f;
    background: #fff;
    color: #157a3c !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
}
.adam-wa-return-btn:hover,
.adam-wa-return-btn:focus {
    background: #effaf3;
    color: #0f5f2e !important;
}
.adam-wa-return-note {
    margin: 6px 0 0;
    font-size: 13px;
    color: #6d6e7a;
}
@media (max-width: 575.98px) {
    .adam-wa-return-btn { display: flex; justify-content: center; width: 100%; }
}

/* WhatsApp line in the footer contact block and on the contact page */
.adam-wa-line {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    direction: ltr;
}
.adam-wa-line svg { flex-shrink: 0; }

/* ==========================================================================
   Raizer 2026-10-22 - card photo swipe + colour dots
   Markup: frontend/partials/adam_card_gallery + adam_card_colours.
   JS: public/assets/js/adam-card-gallery.js. Native scroll-snap; RTL follows the page.
   ========================================================================== */
.adam-pcard .adam-gal {
    position: relative;
    width: 100%;
    height: 100%;
}
.adam-pcard .adam-gal-track {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.adam-pcard .adam-gal-track::-webkit-scrollbar {
    display: none;
}
.adam-pcard .adam-gal-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background: #f2f2f2;
}
.adam-pcard .adam-gal-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 7px;
    pointer-events: none;
}
.adam-pcard .adam-gal-dot {
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .65);
    box-shadow: 0 0 0 .5px rgba(0, 0, 0, .3);
    transform-origin: center;
    transition: transform .2s ease, background-color .2s ease;
}
.adam-pcard .adam-gal-dot.is-on {
    transform: scaleX(2.2);
    background: #fff;
}
.adam-pcard .adam-gal-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 28px;
    height: 28px;
    margin-top: -14px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #111;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease;
}
.adam-pcard .adam-gal-prev { inset-inline-start: 6px; }
.adam-pcard .adam-gal-next { inset-inline-end: 6px; }
[dir="rtl"] .adam-pcard .adam-gal-arrow svg { transform: scaleX(-1); }
@media (hover: hover) and (pointer: fine) {
    .adam-pcard .adam-gal-arrow { display: flex; }
    .adam-pcard:hover .adam-gal-arrow { opacity: 1; pointer-events: auto; }
    .adam-pcard:hover .adam-gal.is-first .adam-gal-prev,
    .adam-pcard:hover .adam-gal.is-last .adam-gal-next { opacity: 0; pointer-events: none; }
    .adam-pcard .adam-gal-dots { pointer-events: auto; }
    .adam-pcard .adam-gal-dot { cursor: pointer; }
}

/* Swatches: tappable since 2026-10-26 (colour swap). Each dot sits in a 32px transparent
   button; the buttons overlap by 12px so the dots keep a small, even gap. */
.adam-pcard .adam-swatches {
    position: absolute;
    bottom: 0;
    inset-inline-end: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 2px;
    pointer-events: none;
}
.adam-pcard .adam-swatch-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: -6px 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.adam-pcard .adam-swatch-btn:first-child { margin-top: 0; }
.adam-pcard .adam-swatch-btn:focus { outline: none; }
.adam-pcard .adam-swatch-btn:focus-visible .adam-swatch {
    box-shadow: 0 0 0 2px #111, 0 1px 2px rgba(0, 0, 0, .2);
}
.adam-pcard .adam-swatch {
    display: block;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 1.5px solid #fff;
    box-shadow: 0 0 0 .5px rgba(0, 0, 0, .3), 0 1px 2px rgba(0, 0, 0, .2);
    transition: transform .15s ease;
}
.adam-pcard .adam-swatch-btn[aria-pressed="true"] .adam-swatch {
    transform: scale(1.3);
    box-shadow: 0 0 0 1px #111, 0 1px 2px rgba(0, 0, 0, .25);
}
.adam-pcard .adam-swatch-count {
    display: block;
    min-width: 18px;
    height: 16px;
    margin: 0 7px 6px;
    padding: 0 4px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    color: #222;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 0 0 .5px rgba(0, 0, 0, .2), 0 1px 2px rgba(0, 0, 0, .15);
    pointer-events: auto;
}
.adam-pcard .adam-swatch-count:hover { color: #222; text-decoration: none; }
.adam-pcard .adam-swatch-btn + .adam-swatch-count { margin-top: 4px; }
/* A colour photo replaced a plain card's photo: drop its hover photo. */
.adam-pcard.adam-colour-on .product-hover-image { display: none; }
@media (max-width: 575.98px) {
    .adam-pcard .adam-swatch-btn { margin: -7px 0; }
    .adam-pcard .adam-swatch { width: 11px; height: 11px; }
}

/* Product cards: no hover frame. The theme wrapper column carries
   .hov-shadow-out (aiz-core.css: box-shadow 0 20px 40px on :hover,
   animated by .has-transition), which drew a frame around the card.
   Removed at the owner's request 2026-10-22. Two separate rules so a
   browser without :has() still applies the first one. */
.adam-grid > .hov-shadow-out:hover {
    box-shadow: none !important;
}
.hov-shadow-out:has(.adam-pcard):hover {
    box-shadow: none !important;
}

/* Product cards in carousels (home sections, recently viewed): no hover
   frame. Theme class .hov-animate-outline (aiz-core.css ~14003) draws a
   2px var(--primary) (#111) line around the card with ::before/::after on
   :hover, and a tap on a phone leaves :hover stuck, so the frame stayed.
   Removed at the owner's request 2026-10-22. Only boxes holding a product
   card; no focus styles are touched. */
.hov-animate-outline:has(.aiz-card-box)::before,
.hov-animate-outline:has(.aiz-card-box)::after {
    display: none !important;
}

/* Raizer 2026-10-22 breadcrumb: separators are inline SVG chevrons (class .bc-sep), not the
   Line Awesome glyph, which rendered as a box on Android. The path points left (RTL);
   flipped for an LTR page. */
.breadcrumb .bc-sep {
    flex: 0 0 auto;
    margin: 0 8px;
    color: #9aa0a6;
}
html[dir="ltr"] .breadcrumb .bc-sep {
    transform: scaleX(-1);
}

/* ------------------------------------------------------------------ */
/* Raizer 2026-10-22: /categories photo menu                           */
/* (partial frontend/partials/adam_category_menu.blade.php).           */
/* Phone: full-width photo banner per parent, then a sideways row of   */
/* square child tiles. Desktop: banner beside up to six tiles.         */
/* Motion: transform/opacity only. Undo: delete this block.            */
/* ------------------------------------------------------------------ */
.adam-cm{background:#fff}
.adam-cm-block{margin-bottom:28px}
.adam-cm-banner{display:flex;align-items:stretch;min-height:140px;background:#f0f0f0;color:#111;
  text-decoration:none;overflow:hidden}
.adam-cm-banner:hover,.adam-cm-banner:focus{color:#111;text-decoration:none}
.adam-cm-banner:focus-visible,.adam-cm-tile:focus-visible{outline:2px solid #111;outline-offset:2px}
.adam-cm-banner-text{flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;
  padding:18px 20px;min-width:0}
.adam-cm-banner-name{font-size:26px;font-weight:700;line-height:1.2;color:#111}
.adam-cm-banner-cta{align-self:flex-start;margin-top:10px;padding-bottom:3px;font-size:13px;
  font-weight:600;color:#111;border-bottom:1.5px solid #111;line-height:1.4}
.adam-cm-banner-photo{flex:0 0 46%;max-width:46%;position:relative;overflow:hidden;background:#e4e4e2}
.adam-cm-banner-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .5s ease}
.adam-cm-banner:hover .adam-cm-banner-photo img{transform:scale(1.05)}
.adam-cm-banner-photo.is-empty{background:#e4e4e2}

/* child tiles: one sideways row, bleeds to the screen edge on phones */
.adam-cm-tiles{display:flex;flex-wrap:nowrap;gap:10px;overflow-x:auto;margin:12px -15px 0;padding:0 15px 4px;
  scroll-snap-type:x proximity;scroll-padding-inline:15px;scrollbar-width:none;-ms-overflow-style:none;
  -webkit-overflow-scrolling:touch}
.adam-cm-tiles::-webkit-scrollbar{display:none}
.adam-cm-tile{flex:0 0 104px;scroll-snap-align:start;display:flex;flex-direction:column;color:#111;
  text-decoration:none;min-height:44px}
.adam-cm-tile:hover,.adam-cm-tile:focus{color:#111;text-decoration:none}
.adam-cm-tile-photo{position:relative;display:block;aspect-ratio:1/1;overflow:hidden;background:#f0f0f0}
.adam-cm-tile-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .4s ease}
.adam-cm-tile:hover .adam-cm-tile-photo img{transform:scale(1.07)}
.adam-cm-tile-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  padding:8px;text-align:center;font-size:14px;font-weight:700;line-height:1.3;color:#555;opacity:0}
.adam-cm-tile-photo.is-empty .adam-cm-tile-fallback{opacity:1}
.adam-cm-tile-name{display:block;margin-top:8px;font-size:13.5px;font-weight:600;line-height:1.35;
  text-align:center;color:#111}

@media (min-width:768px){
  .adam-cm-block{margin-bottom:36px}
  .adam-cm-banner{min-height:170px}
  .adam-cm-banner-name{font-size:28px}
  .adam-cm-tiles{margin:14px 0 0;padding:0 0 4px}
  .adam-cm-tile{flex-basis:132px}
}
@media (min-width:992px){
  .adam-cm-block{display:grid;grid-template-columns:minmax(0,36%) minmax(0,1fr);gap:18px;align-items:stretch}
  .adam-cm-banner{min-height:0;height:100%}
  .adam-cm-tiles{margin:0;gap:12px;align-self:start}
  .adam-cm-tile{flex:0 0 calc((100% - 60px) / 6)}
}
@media (prefers-reduced-motion:reduce){
  .adam-cm-banner-photo img,.adam-cm-tile-photo img{transition:none}
}

/* Raizer 2026-10-22: the closed side panel (#rightOffcanvas, parked off-screen right) cast
   its big shadow back onto every page as a grey haze down the right edge. Shadow only
   while it is open. */
#rightOffcanvas:not(.active){box-shadow:none}

/* Raizer 2026-10-28 (gallery fit): the product page gallery cropped tall photos. The main
   slider was a fixed 528 px (400 px under 1200) box with object-fit:cover, so a 2:3 Photo
   Studio image in a ~580 px wide box lost the head and the legs; the thumbs were squares
   with cover too. Now the whole image always shows (contain on the light slide background,
   so square and landscape photos are not cropped either), and the frame is taller:
   one height (--adam-gal-h) shared by the main slider and the thumb column, capped by the
   viewport so the sticky gallery still fits on laptops. Thumb slides get exactly the height
   Swiper computes for 5 per view, so its scroll maths still match.
   Undo: delete this block. */
.product-slider-wrapper{--adam-gal-h:clamp(440px, calc(100vh - 270px), 720px)}
@media (min-width:992px) and (max-width:1199.98px){
  .product-slider-wrapper{--adam-gal-h:clamp(400px, calc(100vh - 270px), 540px)}
}
.product-slider-wrapper .main-slider .swiper-slide img,
.product-slider-wrapper .thumb-slider .swiper-slide img{object-fit:contain !important;object-position:center}
.product-slider-wrapper .main-slider .swiper-slide,
.product-slider-wrapper .thumb-slider .swiper-slide{background-color:#f5f5f5}
@media (min-width:768px){
  .product-details .product-slider-wrapper .main-slider,
  .product-slider-wrapper .main-slider{height:var(--adam-gal-h)}
  .product-details .product-slider-wrapper .thumb-container,
  .product-slider-wrapper .thumb-container{height:var(--adam-gal-h) !important}
  .product-slider-wrapper .thumb-slider .swiper-slide{height:calc((var(--adam-gal-h) - 64px) / 5) !important}
}
@media (max-width:767.98px){
  /* phones: the frame follows the 2:3 shape of the column, up to 75% of the screen */
  /* Raizer 2026-10-28 (mobile gap): the frame now takes the MAIN image's own shape
     (--adam-main-hr = height/width, set on .main-slider by image_gallery.blade, 0.75-1.6, default 1.5),
     so a 2:3, 3:4 or square main photo fills the box with no grey band; up to 85% of the screen
     (75vh made a 2:3 photo narrower than the column on short phones). One height for all slides:
     no jump when swiping; other shapes sit inside it whole (contain). */
  .product-slider-wrapper .main-slider{height:min(calc((100vw - 30px) * var(--adam-main-hr, 1.5)), 85vh)}
}

/* Raizer 2026-10-28 (gallery fit fix 2): (1) the frame height above now subtracts 270 px, not 190:
   on a page load the gallery starts ~250 px down (top bar, header, menu, breadcrumbs), so with 190
   a 715 px tall laptop window pushed the feet below the fold. (2) RTL arrows. On the Arabic site
   Swiper runs in RTL and its own CSS puts PREV at right:10px; custom-style.css only forces
   left:-60px/15px on prev, which RTL ignores when right is also set, so prev sat UNDER next at the
   right edge, the left edge had no arrow, and at the last slide the only visible arrow was the
   disabled next: the gallery could not go back. In RTL now: prev on the right, next on the left
   (Swiper's own RTL order, matching swipe direction), same slide-in on hover, always shown where
   there is no hover. LTR keeps the custom-style.css rules. Undo: delete this block. */
.product-slider-wrapper .main-slider.swiper-rtl .swiper-button-prev{left:auto !important;right:-60px !important}
.product-slider-wrapper .main-slider.swiper-rtl .swiper-button-next{right:auto !important;left:-60px !important}
.product-slider-wrapper .main-slider.swiper-rtl:hover .swiper-button-prev{right:15px !important}
.product-slider-wrapper .main-slider.swiper-rtl:hover .swiper-button-next{left:15px !important}
@media (max-width:1199.98px), (hover:none){
  .product-slider-wrapper .main-slider.swiper-rtl .swiper-button-prev{right:15px !important}
  .product-slider-wrapper .main-slider.swiper-rtl .swiper-button-next{left:15px !important}
}

/* Raizer 2026-10-28: product-page colour swatch = a real fabric crop from that colour's own photo
   (adam:swatches -> public/uploads/swatches/<id>/). Falls back to the flat w-15px dot when absent. */
.variant-wrapper .adam-pdp-swatch{display:inline-block;flex:0 0 auto;width:26px;height:26px;
  background-size:cover;background-position:center;background-repeat:no-repeat;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.18);margin-inline-end:8px}
.variant-wrapper .adam-pdp-swatch + span{padding-left:0 !important;padding-right:0 !important}
.variant-wrapper input:checked ~ .aiz-megabox-elem .adam-pdp-swatch{box-shadow:0 0 0 2px #fff, inset 0 0 0 1px rgba(255,255,255,.35)}
@media (max-width:767.98px){
  .variant-wrapper .adam-pdp-swatch{width:24px;height:24px}
}
/* the flat fallback dot: gap on the text side in RTL too (pl-2 only padded the left) */
.variant-wrapper .aiz-megabox-elem > .rounded-circle.w-15px{flex:0 0 auto;margin-inline-end:8px}
.variant-wrapper .aiz-megabox-elem > .rounded-circle.w-15px + span{padding-left:0 !important;padding-right:0 !important}

/* Raizer 2026-10-28: colour icons on the product image box (image_gallery.blade + its inline script).
   Same look as the card dots (adam_card_colours), bigger: a round icon filled with the colour's fabric
   crop (adam:swatches) or the flat colour. A vertical stack at the BOTTOM-RIGHT of the main image (physical
   right on both languages; moved from top-left 2026-10-29), growing upward from the corner: the zoom button
   is bottom-left, the arrows sit mid-height on both edges (the script stops the stack below them). Only with 2+ colours. Each icon is a 34 px button
   (the dot is 22 px, 20 px on phones); tapping clicks that colour's radio in the variant selector, so price,
   stock, sizes and the slide follow exactly as there. The script shows as many as fit above the arrow
   (5 + "+n" when there are more than 6); "+n" scrolls to the colour selector. Undo: delete this block. */
.product-slider-wrapper .adam-gal-colours{position:absolute;bottom:6px;right:6px;left:auto;z-index:6;
  display:flex;flex-direction:column;align-items:center;pointer-events:none}
.product-slider-wrapper .adam-gal-colours[hidden]{display:none}
.product-slider-wrapper .adam-gal-colour,
.product-slider-wrapper .adam-gal-colour-more{position:relative;display:flex;align-items:center;justify-content:center;
  width:34px;height:34px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer;
  pointer-events:auto;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.product-slider-wrapper .adam-gal-colour[hidden],
.product-slider-wrapper .adam-gal-colour-more[hidden]{display:none}
.product-slider-wrapper .adam-gal-colour:focus,
.product-slider-wrapper .adam-gal-colour-more:focus{outline:none}
.product-slider-wrapper .adam-gal-colour:focus-visible,
.product-slider-wrapper .adam-gal-colour-more:focus-visible{outline:2px solid #111;outline-offset:-1px}
.product-slider-wrapper .adam-gal-colour-dot{display:block;width:22px;height:22px;border-radius:50%;
  background-size:cover;background-position:center;background-repeat:no-repeat;border:2px solid #fff;
  box-shadow:0 0 0 .5px rgba(0,0,0,.3),0 1px 3px rgba(0,0,0,.25);transition:transform .15s ease,box-shadow .15s ease}
.product-slider-wrapper .adam-gal-colour[aria-pressed="true"] .adam-gal-colour-dot{transform:scale(1.15);
  box-shadow:0 0 0 2px #111,0 1px 3px rgba(0,0,0,.25)}
.product-slider-wrapper .adam-gal-colour.is-oos .adam-gal-colour-dot{opacity:.45}
.product-slider-wrapper .adam-gal-colour-more span{display:block;min-width:24px;height:20px;padding:0 5px;border-radius:10px;
  background:rgba(255,255,255,.94);color:#222;font-size:11px;font-weight:700;line-height:20px;text-align:center;
  box-shadow:0 0 0 .5px rgba(0,0,0,.2),0 1px 2px rgba(0,0,0,.15)}
.product-slider-wrapper .adam-gal-colour-more.is-active span{box-shadow:0 0 0 2px #111}
@media (max-width:767.98px){
  .product-slider-wrapper .adam-gal-colours{bottom:6px;right:6px}
  .product-slider-wrapper .adam-gal-colour-dot{width:20px;height:20px}
}
@media (prefers-reduced-motion:reduce){
  .product-slider-wrapper .adam-gal-colour-dot{transition:none}
}

/* Raizer 2026-10-28 (mobile gap, part 2): on phones custom-style.css forces the thumbs to 100 px wide
   (!important) with a 12 px right margin, while the thumbs Swiper lays out 3 per view with a 10 px gap.
   Its end position was then computed for wider slides, so after swiping to the last photos the strip
   ended in a blank band. Here the slide is exactly the size Swiper uses; Swiper sets the 10 px gap. */
@media (max-width:767.98px){
  .product-slider-wrapper .thumb-slider .swiper-slide{width:calc((100% - 20px) / 3) !important;margin-right:0}
}

/* Raizer 2026-10-29 (S8): Back control, in-flow row under the header. */
.adam-back-bar { padding: 12px 0 0; }
.adam-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--adam-ink);
    background: var(--adam-ground);
    color: var(--adam-ink) !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    transition: background-color .15s ease, color .15s ease;
}
.adam-back:hover,
.adam-back:focus {
    background: var(--adam-ink);
    color: var(--adam-ground) !important;
}
.adam-back:focus-visible { outline: 3px solid var(--adam-ink); outline-offset: 2px; }
[dir="rtl"] .adam-back-ico { transform: scaleX(-1); }
@media (prefers-reduced-motion: reduce) {
    .adam-back { transition: none; }
}

/* Raizer 2026-11-06: checkout errors visible above the phone keyboard (see public/assets/js/adam-checkout-errors.js).
   Classes are only added by that script, on mobile. */
.adam-invalid { border-color: #c62828 !important; box-shadow: 0 0 0 1px #c62828; }
.bootstrap-select.adam-invalid > .dropdown-toggle { border-color: #c62828 !important; box-shadow: 0 0 0 1px #c62828; }
.adam-field-error { color: #c62828; font-size: 14px; font-weight: 700; line-height: 1.5; margin: -.5rem 0 1rem; }
label.adam-invalid + .adam-field-error, .iti + .adam-field-error { margin: .4rem 0 1rem; }
@media (max-width: 767.98px) {
    .adam-notify-top { min-width: 0 !important; max-width: calc(100vw - 24px) !important; width: calc(100vw - 24px) !important; }
}
