/* ==========================================================================
   MarkX Collection — brand + responsive layer (loaded after style.css)
   Palette: Black #000000 · Deep Red #601925 · White #FFFFFF
   ========================================================================== */
@font-face{font-family:'Gloock';src:url("../fonts/Gloock-Regular.9658e736ca44.ttf") format('truetype');font-display:swap}
:root{
  --black:#000;--deep-red:#601925;--white:#fff;
  --accent:#601925;--accent-deep:#3f0f18;--accent-ink:#fff;--accent-soft:#c98a95;
  --charcoal:#000;--charcoal-soft:#0d0d0d;--ink:#000;
  --font-brand:'Gloock','Playfair Display',Georgia,serif;
}
html{-webkit-text-size-adjust:100%}
img,svg,video{max-width:100%}
h1,h2,.section-head h2,.logo-text{font-family:var(--font-brand);font-weight:400;letter-spacing:0}

/* ---- logo ---- */
.site-header,.mobile-nav{background:#000}
.brand-logo{width:auto;height:44px;max-width:100%;object-fit:contain;background:transparent;border-radius:0}
.logo{padding:6px 0}
.site-footer .brand-logo{height:54px}
.mobile-nav .brand-logo{height:38px}
@media(max-width:640px){.brand-logo{height:40px}.site-footer .brand-logo{height:44px}}

/* ---- brand colours on dark surfaces (deep red needs a lighter tint for small text) ---- */
.announce{position:fixed;top:0;left:0;right:0;z-index:61;background:var(--deep-red);color:#fff;box-sizing:border-box;min-height:30px;line-height:14px;padding:8px 16px}
body{padding-top:106px}
.site-header{position:fixed;top:30px;left:0;right:0;width:100%;z-index:60}
.site-header .main-nav a.active,.site-header .main-nav a:hover{color:#fff;border-color:var(--accent-soft)}
.site-footer h4,.site-footer .footer-links h4{color:var(--accent-soft)}
.dark .eyebrow,.site-footer .eyebrow,.hero .eyebrow,.crew .crew-kicker,.brand-story .eyebrow,.steps-band .eyebrow{color:var(--accent-soft)}
.btn-accent{background:var(--deep-red);border-color:var(--deep-red);color:#fff}
.btn-accent:hover{background:#000;border-color:#000;color:#fff}
.site-footer .footer-newsletter-form button{background:#fff;color:#000}
.site-footer .footer-newsletter-form button:hover{background:#fff;color:#000}
.site-footer .footer-newsletter-form:has(input:hover) button,
.site-footer .footer-newsletter-form:has(input:focus) button{background:#000;color:#fff}
.btn-ghost-light{display:inline-flex;align-items:center;justify-content:center;padding:14px 26px;border:1.5px solid #fff;color:#fff;font-weight:600;text-transform:uppercase;letter-spacing:.06em;font-size:.82rem}
.btn-ghost-light:hover{background:#fff;color:#000}
.wa-float{background:#25D366}
.btn,.add-btn,button,a.icon-btn{min-height:44px}
.icon-btn,.hamburger{min-width:44px;min-height:44px}
.btn-sm{min-height:38px}

/* ---- new home sections ---- */
.section-head.center{justify-content:center;text-align:center}
.home-empty-note,.home-products-empty{color:#555;text-align:center}
.home-empty-note{grid-column:1/-1;padding:20px 12px;font-size:.9rem}
.home-products-empty{grid-column:1/-1;margin:0;padding:22px 24px;border:1px solid var(--line);background:var(--bone);font-size:.9rem}
.tile-grid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:20px}
.cat-tile{position:relative;display:block;aspect-ratio:4/5;overflow:hidden;background:#111;border-radius:var(--radius)}
.cat-tile img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
.cat-tile img.tile-logo{object-fit:contain;padding:25%;opacity:.5}
.cat-tile:hover img{transform:scale(1.05)}
.cat-tile::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.85))}
.cat-tile-label{position:absolute;left:0;right:0;bottom:0;z-index:2;display:flex;align-items:baseline;gap:10px;padding:22px;color:#fff;flex-wrap:wrap}
.cat-tile-label b{font-family:var(--font-brand);font-weight:400;font-size:1.7rem}
.cat-tile-label small{opacity:.8;font-size:.8rem}
.cat-tile-label i{margin-left:auto;background:var(--deep-red);width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-size:.8rem}
.brand-strip{background:var(--deep-red);color:#fff}
.brand-strip-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;padding-block:26px}
.brand-strip-grid>div{display:grid;grid-template-columns:auto 1fr;column-gap:14px;align-items:center}
.brand-strip-grid i{grid-row:span 2;font-size:1.5rem}
.brand-strip-grid b{font-size:.92rem;text-transform:uppercase;letter-spacing:.04em}
.brand-strip-grid span{font-size:.8rem;opacity:.85}
.section-row .product-grid{margin-top:8px}
.why-markx{background:var(--paper-dim);padding:84px 0}
.why-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:34px}
.why-card{background:#fff;border:1px solid var(--line);border-top:4px solid var(--deep-red);padding:28px 24px;border-radius:var(--radius)}
.why-card i{font-size:1.6rem;color:var(--deep-red);margin-bottom:16px}
.why-card h3{font-family:var(--font-brand);font-weight:400;font-size:1.3rem;margin-bottom:8px}
.why-card p{font-size:.92rem;color:#555}
.steps-band{background:#000;color:#fff;padding:84px 0}
.steps-grid{list-style:none;margin:34px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.steps-grid li{border:1px solid #2b2b2b;padding:30px 26px;border-radius:var(--radius);background:#0b0b0b}
.steps-grid li span{font-family:var(--font-brand);font-size:2.6rem;color:var(--accent-soft);line-height:1}
.steps-grid h3{font-family:var(--font-brand);font-weight:400;font-size:1.4rem;margin:12px 0 8px}
.steps-grid p{color:#bdbdbd;font-size:.92rem}
.brand-story{background:var(--deep-red);color:#fff;padding:80px 0}
.brand-story-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:56px;align-items:center}
.brand-story-logo{width:min(100%,360px);margin:0 auto}
.brand-story h2{font-size:clamp(2rem,4vw,3.2rem);margin:8px 0 14px}
.brand-story p{max-width:52ch;opacity:.92;margin-bottom:24px}
.brand-story .btn-accent{background:#fff;color:#000;border-color:#fff}
.brand-story .btn-accent:hover{background:#000;color:#fff;border-color:#000}
.brand-story .eyebrow{color:#fff;opacity:.85}

/* ---- tablet ---- */
@media(max-width:1080px){
  .why-grid,.brand-strip-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .container{padding-inline:20px}
  .brand-story-grid{gap:32px}
}
/* ---- mobile ---- */
@media(max-width:760px){
  .tile-grid{gap:10px}
  .cat-tile{aspect-ratio:3/4}
  .cat-tile-label{flex-wrap:nowrap;align-items:center;gap:5px;padding:10px 8px}
  .cat-tile-label b{flex:1 1 auto;min-width:0;font-size:clamp(.62rem,2.6vw,.82rem);line-height:1.15;overflow-wrap:anywhere}
  .cat-tile-label small{display:none}
  .cat-tile-label i{width:24px;height:24px;flex:0 0 24px;font-size:.65rem}
  .steps-grid{grid-template-columns:1fr}
  .steps-band{padding:30px 0}
  .steps-band .section-head h2{margin-bottom:0}
  .steps-grid{margin-top:14px;gap:9px}
  .steps-grid li{padding:13px 16px}
  .steps-grid li span{font-size:1.8rem}
  .steps-grid h3{font-size:1.12rem;margin:5px 0 3px}
  .steps-grid p{font-size:.8rem;line-height:1.4;margin-bottom:0}
  .brand-story-grid{grid-template-columns:1fr;text-align:center}
  .brand-story p{margin-inline:auto}
  .brand-story .hero-btns{justify-content:center;flex-wrap:wrap;gap:10px}
  .why-markx,.steps-band,.brand-story{padding:56px 0}
  .section-head{flex-wrap:wrap;gap:10px}
}
@media(max-width:520px){
  .why-grid{grid-template-columns:1fr}
  .brand-strip-grid{grid-template-columns:1fr 1fr;gap:14px;padding-block:20px}
  .brand-strip-grid>div{grid-template-columns:1fr;text-align:center;row-gap:2px}
  .brand-strip-grid i{grid-row:auto;font-size:1.2rem}
  .product-grid,.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 10px!important}
  .product-info{padding:10px!important}
  .product-name{font-size:1rem!important;min-height:0}
  .price{font-size:1.05rem!important}
  .card-actions .btn,.view-details-btn{font-size:.7rem;padding:10px 6px}
  .swatches{flex-wrap:wrap}
}
@media(max-width:360px){.product-grid,.shop-grid{grid-template-columns:1fr!important}}

@media(max-width:860px){
}

/* ---- forms / tap targets ---- */
input,select,textarea{max-width:100%;font-size:16px}
.checkout-grid,.cart-grid{min-width:0}
table{max-width:100%}

@media(min-width:761px) and (max-width:1080px){
}

/* ---- admin / staff tables: card layout on phones, scroll on tablets ---- */
.admin-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.staff-filter-bar{flex-wrap:wrap}
@media(max-width:1080px){.admin-table{min-width:720px}}
@media(max-width:760px){
  .admin-table-wrap{overflow:visible;background:transparent;border:0}
  .admin-table,.admin-table thead,.admin-table tbody,.admin-table tr,.admin-table td{display:block;width:100%;min-width:0!important}
  .admin-table thead{position:absolute;left:-9999px;top:-9999px}
  .admin-table{table-layout:auto!important}
  .admin-table tr{background:#fff;border:1px solid var(--line);border-left:4px solid var(--deep-red);border-radius:var(--radius);margin-bottom:14px;padding:6px 0;box-shadow:0 1px 3px rgba(0,0,0,.05)}
  .admin-table td{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:9px 14px!important;border-bottom:1px dashed var(--line)!important;text-align:right;overflow-wrap:anywhere;font-size:.88rem}
  .admin-table td:last-child{border-bottom:0!important}
  .admin-table td::before{content:attr(data-label);flex:0 0 38%;max-width:38%;text-align:left;font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#6f6f6f;padding-top:2px}
  .admin-table td[data-label=""]::before,.admin-table td:not([data-label])::before{display:none}
  .admin-table td.dashboard-empty{justify-content:center;text-align:center}
  .admin-table td.dashboard-empty::before{display:none}
  .admin-table td .staff-row-actions,.admin-table td .order-product-list{justify-content:flex-end;flex-wrap:wrap}
  .admin-table td select,.inline-order-status-form select{max-width:100%;min-height:40px}
  .staff-row-actions .btn{min-width:42px}
  .staff-filter-bar>*,.staff-filter-bar .btn{flex:1 1 100%;width:100%}
  .staff-filter select,.staff-filter input,.staff-search input{width:100%}
  .staff-product-thumb{width:64px;height:64px;object-fit:cover}
  .dashboard-heading .btn,.staff-workspace-actions .btn{width:100%}
  .dashboard-heading > .dashboard-page-actions,
  .dashboard-heading > .staff-list-header-actions{width:fit-content!important;max-width:100%;margin-left:auto!important;margin-right:0!important;justify-content:flex-end!important;flex-wrap:nowrap!important;direction:ltr}
  .dashboard-heading > .dashboard-page-actions .btn,
  .dashboard-heading > .staff-list-header-actions .btn{width:auto!important;max-width:max-content;flex:0 0 auto!important}
  .dashboard-heading > .orders-list-header-actions .btn:not(.staff-back-button){min-height:34px;padding:6px 9px;font-size:.68rem}
  .dashboard-heading > .orders-list-header-actions .staff-back-button{width:38px!important;height:38px;min-width:38px;padding:0!important;border-radius:50%}
  .dashboard-heading > .custom-request-header-actions .btn:not(.staff-back-button){min-height:32px;padding:5px 8px;font-size:.64rem}
  .dashboard-heading > .custom-request-header-actions .staff-back-button{width:36px!important;height:36px;min-width:36px;padding:0!important;border-radius:50%}
  .custom-request-filter-bar{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;width:100%}
  .custom-request-filter-bar .custom-request-search-field{grid-column:1/-1;width:100%!important;min-width:0;flex:none}
  .custom-request-filter-bar .staff-filter{grid-column:1;width:auto!important;min-width:0;flex:none}
  .custom-request-filter-bar>button[type="submit"]{grid-column:2;width:auto!important;min-width:72px;min-height:40px;padding:6px 10px;flex:none}
  .custom-request-list-table tbody tr td:nth-child(7){justify-content:flex-end!important}
  .custom-request-list-table tbody tr td:nth-child(7) .inline-order-status-form{min-width:0;margin-left:auto;justify-content:flex-end;direction:ltr}
  .admin-table td .custom-request-row-actions{min-width:0;gap:4px;flex-wrap:nowrap!important;justify-content:flex-end}
  .custom-request-list-table .custom-request-row-actions>a,
  .custom-request-list-table .custom-request-row-actions>form{width:58px;flex:0 0 58px}
  .custom-request-list-table .custom-request-row-actions>a,
  .custom-request-list-table .custom-request-row-actions>form>button{height:30px;min-height:30px;padding:0 4px;font-size:.62rem}
  .staff-product-page-head .dashboard-heading > .staff-back-button{width:48px!important;height:48px;min-width:48px;padding:0!important;border-radius:50%;margin-left:auto!important;margin-right:0!important;flex:0 0 48px!important}
  .expenses-page-head .dashboard-page-actions{display:grid!important;grid-template-columns:repeat(3,max-content);grid-template-rows:auto;justify-content:end!important;gap:8px}
  .expenses-page-head .staff-back-button{grid-column:1;grid-row:1;justify-self:end;width:48px!important;height:48px;min-width:48px;padding:0!important;border-radius:50%;font-size:1rem}
  .expenses-page-head .expense-add-button{grid-column:2;grid-row:1}
  .expenses-page-head .expense-export-button{grid-column:3;grid-row:1}
  .staff-order-items .admin-table tr{border-left-width:3px}
}

/* ---- solid black header with white controls (matches white logo) ---- */
.site-header,.site-header.scrolled{background:#000;border-bottom:1px solid #1d1d1d;color:#fff}
.site-header .main-nav a,.site-header .main-nav a.active,.site-header .icon-btn,.site-header .hamburger,
.site-header .icon-btn:hover{color:#fff}
.site-header .main-nav a::after{background:var(--accent-soft)}
.header-row{min-height:76px;padding-block:8px;gap:16px}
.main-nav{gap:30px}
.header-actions{gap:8px}
.main-nav .dashboard-nav-link{background:var(--deep-red);color:#fff}
@media(max-width:1080px){.header-row{min-height:68px}.main-nav{display:none}}
@media(max-width:1080px){body{padding-top:98px}}
@media(max-width:1180px) and (min-width:1081px){.main-nav{gap:18px}}
.search-panel{background:#000;color:#fff}
.search-panel input{background:#111;color:#fff;border:1px solid #333}
.mobile-nav{color:#fff}.mobile-nav a{color:#fff;border-bottom:1px solid #222}
.mobile-nav a:hover{color:var(--accent-soft)}

/* hero is light: benefits readable */
.hero-benefits>div{color:#000}
.hero-benefits i{color:var(--deep-red)}
.hero-benefits span{font-size:.64rem}
#heroCarousel > .hero-slide--main .hero-benefits i{
  color:#741126;filter:none;text-shadow:none;-webkit-text-stroke:0 transparent;
  -webkit-font-smoothing:antialiased;text-rendering:geometricPrecision;
}

@media(max-width:520px){.hero-slide--main .hero-content .lede{max-width:58%;font-size:.78rem}}

.site-header .brand-logo,.mobile-nav .brand-logo{height:auto!important;width:min(210px,52vw)!important;object-fit:contain}
.site-footer .brand-logo{height:auto!important;width:min(240px,70vw)!important}
@media(min-width:1081px){.site-header .brand-logo{width:230px!important}}
.logo{flex:0 0 auto}
.brand-logo{max-width:none!important}
.site-header .logo{width:min(210px,52vw)}
@media(min-width:1081px){.site-header .logo{width:230px}}
.site-footer .logo{width:min(240px,70vw)}
.mobile-nav .logo{width:min(210px,60vw)}
@media(max-width:520px){
  .site-header .logo{width:min(150px,38vw)}
  .header-actions{gap:0}
  .header-actions>.icon-btn{min-width:34px;padding-inline:4px}
}
@media(max-width:520px){
  .site-header .logo{width:min(106px,28vw)}
  .header-row{gap:6px}
}
@media(max-width:760px){
  .home-tiles .cat-tile{aspect-ratio:2/3}
  .brand-strip-grid{gap:8px;padding-block:12px}
  .brand-strip-grid>div{width:min(100%,145px);justify-self:center;column-gap:6px;row-gap:2px}
  .brand-strip-grid i{font-size:.95rem}
  .brand-strip-grid b{font-size:.7rem;line-height:1.2}
  .brand-strip-grid span{font-size:.64rem;line-height:1.25}
}
.site-header .brand-logo,.site-footer .brand-logo,.mobile-nav .brand-logo{width:100%!important}

@media (min-width: 761px) {
  .home-tiles .cat-tile {
    aspect-ratio: 1 / 1;
  }
}

.right-fit-logo {
  display: block;
  width: 120px;
  max-height: 110px;
  object-fit: contain;
  margin-bottom: 18px;
}
.home-feedback {
  padding: 72px 0;
  background: #000000;
  color: #FFFFFF;
  border-block: 4px solid #601925;
  text-align: center;
}
.home-feedback-inner { display: grid; justify-items: center; gap: 14px; }
.home-feedback .eyebrow { color: #FFFFFF; }
.home-feedback h2 { margin: 0; color: #FFFFFF; }
.home-feedback p { margin: 0 0 8px; color: #FFFFFF; }
.home-feedback-button {
  background: #601925;
  border-color: #601925;
  color: #FFFFFF;
}
.home-feedback-button:hover {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #000000;
}

.custom-band {
  background: #FFFFFF;
  color: #000000;
}
.custom-visual {
  background: #FFFFFF;
}
.custom-copy h2,
.custom-copy p,
.custom-copy .eyebrow,
.custom-feats .cfeat b,
.custom-feats .cfeat span {
  color: #000000;
}
.custom-feats {
  border-left-color: #601925;
}
.custom-feats .cfeat .ico {
  border-color: #601925;
  color: #601925;
}
.custom-feats .cfeat .ico::after {
  border-color: rgba(96, 25, 37, .4);
}
.right-fit-logo {
  filter: none;
}
.custom-band {
  margin-bottom: 0;
}
.subscriber-email-export{display:flex;justify-content:flex-end;align-items:center;margin:10px 0}
.subscriber-email-export #copySubscriberEmails{width:auto;min-height:34px;padding:6px 12px;font-size:.78rem}
.subscribers-list-filter-bar .subscribers-list-search-field{max-width:360px;flex:0 1 360px}
.subscribers-list-filter-bar .subscribers-list-search-field input{height:38px;min-height:38px;padding:7px 10px}
.dashboard-heading>.subscribers-list-header-actions .btn{min-height:36px;padding:7px 11px;font-size:.78rem}
.messages-list-filter-bar .messages-list-search-field{max-width:360px;flex:0 1 360px}
.messages-list-filter-bar .messages-list-search-field input{height:38px;min-height:38px;padding:7px 10px}
.dashboard-heading>.messages-list-header-actions .btn{min-height:36px;padding:7px 11px;font-size:.78rem}
.dashboard-heading>.dashboard-hero-actions{width:fit-content;margin-left:auto;justify-content:flex-end;gap:8px}
.dashboard-heading>.dashboard-hero-actions .btn{width:auto;min-height:36px;padding:7px 11px;flex:0 0 auto;font-size:.78rem;white-space:nowrap}

/* Nudge only the first home hero artwork right on phones. */
@media(max-width:760px){
  body #heroCarousel > .hero-slide--main .hero-art img{transform:translateX(12px)!important}
}

@media(max-width:860px){
  .site-header .header-actions{margin-right:6px}
}

@media(max-width:760px){
  .site-header .header-actions{margin-right:-2px}
}

.footer-social-mobile{display:none}

/* Keep mobile pages within the device width while preserving scrolling inside
   components that explicitly provide their own horizontal scroll area. */
@media(max-width:760px){
  html,body{max-width:100%;overflow-x:clip}
}

@media(max-width:640px){
  .site-footer .footer-main{gap:26px;padding-block:40px 34px}
  .site-footer .logo{width:min(190px,56vw)}
  .site-footer .brand-logo{width:100%!important;height:auto!important}
  .site-footer .footer-social{gap:16px}
  .site-footer .footer-social a{min-width:38px;min-height:38px;font-size:.88rem}
  .site-footer .footer-main>.footer-social{display:none}
  .site-footer .footer-newsletter-column .footer-social-mobile{display:flex;justify-content:flex-start;margin-top:14px}
  .site-footer .footer-links{gap:18px 10px;padding-block:36px}
  .site-footer .footer-links h4{font-size:.72rem;margin-bottom:10px}
  .site-footer .footer-links a{font-size:.86rem;padding-block:6px}
  .site-footer .footer-bottom{padding-block:22px}
}

@media(max-width:640px){
  .site-footer .footer-main{grid-template-columns:minmax(0,1fr);justify-items:start;gap:12px;padding-block:12px 8px}
  .site-footer .footer-main>div:first-child{justify-self:start}
  .site-footer .footer-main .footer-nav{justify-content:center;text-align:center}
  .site-footer .footer-links{padding-block:20px;row-gap:12px;text-align:center}
  .site-footer .footer-links>div{min-height:0}
  .site-footer .footer-links h4{margin-bottom:8px}
  .site-footer .footer-links a{text-align:center}
  .site-footer .footer-newsletter-column{text-align:center}
  .site-footer .footer-newsletter-column h4,
  .site-footer .footer-newsletter-column>p{text-align:center}
  .site-footer .footer-newsletter-column>p:not(.note){display:none}
  .site-footer .footer-social-mobile{width:100%;justify-content:center;gap:0;margin-top:10px}
  .site-footer .footer-social-mobile a{width:36px;min-width:36px;min-height:36px}
  .site-footer .footer-bottom{justify-content:center;text-align:center;gap:6px;padding-block:12px}
  .site-footer .footer-bottom>*{width:100%;text-align:center}
}

@media(max-width:640px){
  .site-footer .footer-links,
  .site-footer .footer-links>div,
  .site-footer .footer-links h4,
  .site-footer .footer-links a{ text-align:left; }
}

@media(max-width:640px){
  .site-footer .footer-links{row-gap:0}
  .site-footer .footer-links>div{min-height:150px}
  .site-footer .footer-links a{line-height:1.2;padding-block:1px;margin-bottom:3px}
}

@media(max-width:640px){
  .page-head:has(.cart-page-heading){padding-block:8px 6px}
  .cart-page-heading{display:grid;grid-template-columns:36px minmax(0,1fr);column-gap:8px;row-gap:6px}
  .cart-page-heading>div:first-child{grid-column:1/-1;grid-row:1}
  .cart-page-heading .cart-heading-actions{grid-column:2;grid-row:2;width:100%;justify-content:flex-end;flex-wrap:nowrap;gap:6px}
  .cart-page-heading h1{font-size:clamp(1.7rem,8vw,2.3rem);line-height:1}
  .cart-page-heading .cart-orders-button{box-sizing:border-box;height:36px;min-height:36px;padding-block:0}
  .cart-page-heading .cart-back-icon{grid-column:1;grid-row:2;box-sizing:border-box;width:36px;height:36px}
}

/* Match the first English hero image to the second slide's right column on phones. */
@media(max-width:760px){
  body #heroCarousel > .hero-slide--main .hero-art{
    width:min(66vw,260px)!important;
  }
}

@media(max-width:640px){
  .raast-payment-head{padding-block:24px 18px}
  .raast-payment-section{padding-block:24px}
  .raast-payment-section>.container{padding-inline:16px}
  .raast-payment-section .contact-form-card{padding:18px 14px}
  .raast-payment-section .contact-form-card h2{font-size:clamp(1.2rem,5vw,1.55rem);line-height:1.25;overflow-wrap:anywhere}
  .raast-payment-section .contact-form-card>img{width:min(100%,260px)!important;padding:8px!important;margin:16px auto!important}
  .raast-payment-section .contact-form-card>p{font-size:.88rem;line-height:1.55;overflow-wrap:anywhere}
  .raast-payment-section .raast-transfer-details{margin-top:18px!important;padding:16px 12px!important}
  .raast-payment-section .raast-transfer-details .sum-row{align-items:flex-start;gap:10px;font-size:.82rem}
  .raast-payment-section .raast-transfer-details .sum-row>*{min-width:0;overflow-wrap:anywhere}
  .raast-payment-section .raast-transfer-details .sum-row strong{text-align:right}
  .raast-payment-continue{margin-top:16px!important}
  .raast-payment-continue .btn{width:100%;max-width:320px}
}

@media(max-width:700px){
  .orders-list-table .order-row-actions{
    display:flex;
    flex-wrap:nowrap;
    align-items:center;
    justify-content:flex-start;
    gap:5px;
    min-width:max-content;
  }
  .orders-list-table .order-row-actions>form,
  .orders-list-table .order-row-actions>a,
  .orders-list-table .order-row-actions>.btn{flex:0 0 auto;width:auto;min-width:0}
  .orders-list-table .order-row-actions .btn{min-height:34px;padding:5px 7px;font-size:.64rem;white-space:nowrap}
}

.raast-confirm-dialog{direction:ltr;text-align:left}
.raast-confirm-dialog :is(.raast-confirm-heading,h2,p,dt,dd,button){direction:ltr;text-align:left}
.raast-confirm-details{direction:ltr}

/* Mobile-only home card and header refinements. */
@media(max-width:760px){
  .section-row .section-head>a{align-self:flex-end;margin-left:auto}
  .why-markx{padding:34px 0}
  .why-grid{grid-template-columns:1fr;gap:8px;margin-top:14px}
  .why-card{min-height:0;padding:14px 16px;border-top-width:3px}
  .why-card i{font-size:1.15rem;margin-bottom:7px}
  .why-card h3{font-size:1.05rem;margin-bottom:4px}
  .why-card p{font-size:.78rem;line-height:1.4;margin-bottom:0}
  .section[aria-labelledby="trendHeading"] .section-head{align-items:flex-start;flex-direction:column;gap:8px}
  .section[aria-labelledby="trendHeading"] .section-head>a{align-self:flex-end;margin-left:auto}
  .site-header .logo{width:min(210px,54vw)}
  .site-header .brand-logo{width:100%!important;height:auto!important;object-fit:contain}
  body #heroCarousel > .hero-slide--main .hero-content h1{font-size:clamp(2.25rem,11.5vw,3.8rem)}
}
@media(max-width:360px){
  .site-header .logo{width:min(105px,33vw)}
}

@media(max-width:760px){
  #heroCarousel > .hero-slide:nth-child(5) .hero-art{justify-content:flex-end!important}
  #heroCarousel > .hero-slide:nth-child(5) .hero-art img{object-position:right bottom!important;transform:translateX(30px)!important}
  .site-header .header-actions{gap:0!important}
  .site-header .header-actions>.icon-btn,
  .site-header .header-actions>.hamburger{box-sizing:border-box;flex:0 0 30px;width:30px;min-width:30px;padding-inline:0}
}

/* Match the second hero slide artwork to the third slide on mobile. */
@media(max-width:760px){
  body #heroCarousel > .hero-slide--custom .hero-art{
    inset:0 0 0 auto!important;
    width:46%!important;
    height:100%!important;
    z-index:1;
    justify-content:flex-end!important;
    overflow:hidden!important;
  }
  body #heroCarousel > .hero-slide--custom .hero-art img{
    width:min(70vw,300px)!important;
    height:auto!important;
    max-height:280px!important;
    object-fit:contain!important;
    object-position:center bottom!important;
    transform:none!important;
  }
}

@media(max-width:760px){
  #heroCarousel > .hero-slide--custom .hero-art img{
    height:460px!important;
    max-height:460px!important;
  }

  #heroCarousel > .hero-slide--main .hero-art img{
    height:calc(min(100svh,900px) + 88px)!important;
    max-height:calc(min(100svh,900px) + 88px)!important;
  }
  body #heroCarousel > .hero-slide--main .hero-art img{
    transform:translate(12px,-88px)!important;
  }
}

/* First homepage banner: match the reference sale treatment. */
#heroCarousel > .hero-slide--main { position:relative; }
#heroCarousel > .hero-slide--main .sale-ribbon {
  position:absolute; z-index:5; top:0; left:-22px; display:flex; flex-direction:column;
  align-items:center; justify-content:flex-start; width:156px; height:190px; padding:14px 7px 18px;
  overflow:hidden; background:#6b1423; color:#fff; text-align:center;
  clip-path:polygon(0 0,100% 0,100% 100%,50% 85%,0 100%); pointer-events:none;
}
#heroCarousel > .hero-slide--main .sale-ribbon span{font-size:clamp(10px,.9vw,16px);font-weight:700;line-height:1.1}
#heroCarousel > .hero-slide--main .sale-ribbon strong{font-size:clamp(28px,2.7vw,48px);font-weight:800;line-height:1.05}
#heroCarousel > .hero-slide--main .sale-ribbon b{font-size:clamp(15px,1.4vw,24px);font-weight:800;line-height:1.1}
#heroCarousel > .hero-slide--main .sale-ribbon small{margin-top:5px;font-size:clamp(6px,.55vw,9px);line-height:1.2}
#heroCarousel > .hero-slide--main .hero-sale-message{
  position:absolute;z-index:4;top:24px;right:-18px;display:block;width:max-content;max-width:52%;padding:4px 10px;border-radius:999px;
  background:#601925;color:#fff;font-size:clamp(.65rem,1vw,1rem);font-weight:800;text-align:right;
  animation:hero-sale-blink 2s ease-in-out infinite;
}
@keyframes hero-sale-blink{0%,100%{opacity:0}18%,82%{opacity:1}}
@media(min-width:761px){#heroCarousel > .hero-slide--main .hero-sale-message{right:-54px}}
@media(max-width:760px){
  #heroCarousel > .hero-slide--main .sale-ribbon{left:-14px;top:0;width:76px;height:84px;padding:7px 3px 9px}
  #heroCarousel > .hero-slide--main .sale-ribbon span{font-size:8px}
  #heroCarousel > .hero-slide--main .sale-ribbon strong{font-size:22px}
  #heroCarousel > .hero-slide--main .sale-ribbon b{font-size:11px}
  #heroCarousel > .hero-slide--main .sale-ribbon small{display:none}
  #heroCarousel > .hero-slide--main .hero-sale-message{top:8px;right:0;max-width:48%;font-size:.55rem;line-height:1.3}
}
@media(min-width:1100px){
  #heroCarousel > .hero-slide--main .hero-content{margin-left:120px}
}

/* Mobile-only first-banner adjustments. */
@media(max-width:760px){
  #heroCarousel > .hero-slide--main .hero-art{height:min(50svh,430px)!important}
  #heroCarousel > .hero-slide--main .hero-art img{
    height:calc(min(50svh,430px) + 8px)!important;
    max-height:calc(min(50svh,430px) + 8px)!important;
    transform:translate(-8px,-8px)!important;
  }
  #heroCarousel > .hero-slide--main .sale-ribbon{
    left:auto;right:12px;width:76px;height:84px;
  }
  #heroCarousel > .hero-slide--main .sale-ribbon span{font-size:7px}
  #heroCarousel > .hero-slide--main .sale-ribbon strong{font-size:18px}
  #heroCarousel > .hero-slide--main .sale-ribbon b{font-size:9px}
  #heroCarousel > .hero-slide--main .hero-sale-message{top:8px;left:12px;right:auto;max-width:52%;font-size:.6rem;text-align:left}
  #heroCarousel > .hero-slide--main .hero-content{position:static!important}
  #heroCarousel > .hero-slide--main .hero-content .eyebrow{
    position:relative;top:auto;left:auto;z-index:6;display:block;margin:0 0 8px;
  }
  #heroCarousel > .hero-slide--main .hero-content h1{margin-top:0!important}
}
@media(max-width:760px){
  body #heroCarousel > .hero-slide--main .hero-art img{
    height:min(58svh,400px)!important;
    max-height:min(58svh,400px)!important;
    transform:translate(-8px,-20px)!important;
  }
}
@media(max-width:760px){
  body #heroCarousel > .hero-slide--main .hero-art img{
    width:82%!important;
    max-width:82%!important;
  }
}
@media(max-width:760px){
  #heroCarousel > .hero-slide--main .sale-ribbon{height:68px;padding-top:5px;padding-bottom:8px}
  body #heroCarousel > .hero-slide--main .hero-art img{
    transform:translate(20px,-20px)!important;
  }
}
@media(max-width:760px){
  #heroCarousel > .hero-slide--main .hero-content .eyebrow{
    align-self:flex-start!important;
    width:100%;
    text-align:left!important;
    justify-content:flex-start!important;
  }
}
@media(max-width:760px){
  #heroCarousel > .hero-slide--main .hero-content .lede{
    text-align:left!important;
    margin-left:0!important;
    margin-right:auto!important;
  }
}
@media(max-width:760px){
  body #heroCarousel > .hero-slide--main .hero-content .eyebrow{
    display:flex!important;
    width:max-content!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:auto!important;
    text-align:left!important;
    justify-content:flex-start!important;
    transform:translateX(-18px)!important;
  }
}
@media(max-width:760px){
  body #heroCarousel > .hero-slide--main .hero-art img{
    width:72%!important;
    max-width:72%!important;
  }
}
@media(max-width:760px){
  body #heroCarousel > .hero-slide--main .hero-art img{
    transform:translate(40px,-20px)!important;
  }
}
@media(max-width:760px){
  body #heroCarousel > .hero-slide--main .hero-art img{
    transform:translate(60px,-20px)!important;
  }
}
@media(max-width:760px){
  body #heroCarousel > .hero-slide--main .hero-content .eyebrow{
    transform:translate(-18px,12px)!important;
  }
  body #heroCarousel > .hero-slide--main .hero-content h1,
  body #heroCarousel > .hero-slide--main .hero-content .lede,
  body #heroCarousel > .hero-slide--main .hero-content .hero-btns{
    transform:translateY(12px)!important;
  }
}
@media(max-width:760px){
  #heroCarousel > .hero-slide--main .hero-sale-message{top:18px}
}

/* Mobile dashboard and homepage finishing details. */
@media(max-width:760px){
  .dashboard-page-head .dashboard-heading>.staff-back-button:not(.btn-sm){
    width:42px!important;height:42px!important;min-width:42px!important;flex:0 0 42px!important;padding:0!important;
  }
  .dashboard-page-head .dashboard-heading>.staff-back-button.btn-sm{
    width:40px!important;height:40px!important;min-width:40px!important;flex:0 0 40px!important;padding:0!important;
  }
  .dashboard-low-stock-wrap{overflow:visible!important;background:transparent!important;border:0!important}
  .dashboard-low-stock-table{min-width:0!important;width:100%!important}
  .dashboard-low-stock-table .staff-product-thumb,.dashboard-low-stock-table .staff-product-thumb-empty{width:48px;height:48px}
  .orders-list-table .order-status-feedback{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  #heroCarousel>.hero-slide--main .sale-ribbon{width:60px!important}
  .home-feedback-marquee{position:relative;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;mask-image:none;scroll-behavior:auto;touch-action:pan-x}
  .home-feedback-marquee::-webkit-scrollbar{display:none}
  .home-feedback-track{width:max-content;animation:none!important;will-change:auto}
  .home-feedback-group,.home-feedback-card{scroll-snap-align:start}
}
/* Discount graphic sits behind the transparent model image in banner three. */
#heroCarousel > .hero-slide--sale-backdrop .hero-art{isolation:isolate}
#heroCarousel > .hero-slide--sale-backdrop .hero-content h1{margin-left:18px}
#heroCarousel > .hero-slide--sale-backdrop .hero-limited-sale{
  position:absolute;top:6px;left:auto;right:8%;z-index:5;display:inline-flex;
  align-items:center;justify-content:center;min-width:230px;min-height:42px;padding:9px 20px;
  border:1px solid rgba(255,255,255,.72);border-radius:999px;background:#601925;color:#fff;
  font-size:.82rem;font-weight:800;letter-spacing:.11em;line-height:1;text-transform:uppercase;
  box-shadow:0 8px 22px rgba(35,8,13,.2);animation:none;
}
#heroCarousel > .hero-slide--sale-backdrop .hero-upto-sale{
  position:absolute;top:16%;left:8%;z-index:5;display:inline-flex;
  align-items:center;justify-content:center;min-width:88px;height:72px;padding:10px 14px;
  border:0;border-radius:8px;background:transparent;color:#000;
  font-size:1.3rem;font-weight:800;letter-spacing:.11em;line-height:1;text-transform:uppercase;
  box-shadow:none;animation:none;
}
#heroCarousel > .hero-slide--sale-backdrop .hero-art::before{
  content:"";display:block!important;position:absolute;top:-4%;right:-24%;bottom:-16%;left:0;z-index:0;
  background:url("../img/hero-sale-backdrop.72e6ed9f7368.svg?v=7") center / contain no-repeat;
  transform:translate(8%,-4%) scale(.85,.82);transform-origin:center;pointer-events:none;
}
#heroCarousel > .hero-slide--sale-backdrop .hero-art picture{position:relative;z-index:1;width:100%;height:100%;display:flex;align-items:center;justify-content:center}
#heroCarousel > .hero-slide--sale-backdrop .hero-art img{
  position:relative;z-index:1;width:min(360px,32vw)!important;height:500px!important;
  max-width:100%!important;max-height:none!important;object-fit:cover!important;transform:translate(-18vw,34px)!important;
}
@media(min-width:641px){
  #heroCarousel > .hero-slide--sale-backdrop .hero-art::before{background-position:73% 10%}
}
@media(min-width:761px){
  #heroCarousel > .hero-slide--sale-backdrop .hero-limited-sale{top:46px;left:2%;right:auto;animation:hero-sale-blink 2s ease-in-out infinite}
  #heroCarousel > .hero-slide--sale-backdrop .hero-upto-sale{top:20px;left:27%;min-width:130px;height:56px;font-size:1.7rem;background:#601925;color:#fff}
}
@media(max-width:640px){
  #heroCarousel > .hero-slide--sale-backdrop .hero-content h1{margin-left:8px}
  #heroCarousel > .hero-slide--sale-backdrop .hero-limited-sale{top:8px;left:0;right:auto;min-width:160px;min-height:36px;padding:7px 12px;font-size:.68rem;animation:hero-sale-blink 2s ease-in-out infinite}
  #heroCarousel > .hero-slide--sale-backdrop .hero-upto-sale{top:-2%;left:8%;min-width:110px;height:48px;padding:8px 12px;font-size:1.05rem;letter-spacing:.08em}
  #heroCarousel > .hero-slide--sale-backdrop .hero-art::before{inset:0 -16% -12% 0;background-image:url("../img/hero-sale-backdrop-mobile.4ee619116fb4.svg?v=1");background-position:73% 10%;transform:translate(3%,-6%) scale(.85,.95)}
  #heroCarousel > .hero-slide--sale-backdrop .hero-art picture{align-items:flex-end}
  #heroCarousel > .hero-slide--sale-backdrop .hero-art img{width:min(44vw,180px)!important;height:min(230px,58vw)!important;object-fit:contain!important;object-position:center bottom!important;transform:translateX(-12px)!important}
}

@media(max-width:760px){
  /* Keep banner two's mobile sale offer aligned and styled like banner three. */
  #heroCarousel > .hero-slide--custom.hero-slide--sale-active .hero-custom-sale-art{
    inset:0 0 auto!important;z-index:3;width:100%;height:118px;padding:0!important;
    display:flex;flex-direction:column;align-items:center;justify-content:flex-start!important;
    color:#801329;text-align:center!important;transform:none!important
  }
  #heroCarousel > .hero-slide--custom.hero-slide--sale-active .hero-custom-sale-art>span{
    display:block;min-width:0;height:auto;margin:0;padding:0;background:transparent;color:#111;
    font-size:1.05rem;font-weight:800;letter-spacing:.08em;line-height:1.1
  }
  #heroCarousel > .hero-slide--custom.hero-slide--sale-active .hero-custom-sale-value{
    display:flex;align-items:center;justify-content:center;gap:3px;line-height:.8
  }
  #heroCarousel > .hero-slide--custom.hero-slide--sale-active .hero-custom-sale-value>strong{
    color:#801329;font-size:clamp(3.7rem,17vw,4.8rem);font-weight:950;letter-spacing:-.09em;line-height:.8
  }
  #heroCarousel > .hero-slide--custom.hero-slide--sale-active .hero-custom-sale-value>strong small{
    color:#801329;font-size:.38em;vertical-align:top;letter-spacing:-.04em
  }
  #heroCarousel > .hero-slide--custom.hero-slide--sale-active .hero-custom-sale-value>b{
    margin:0;color:#171416;font-size:1.8rem;font-weight:950;line-height:.9
  }
  #heroCarousel > .hero-slide--custom.hero-slide--sale-active .hero-custom-sale-art>em{
    max-width:100%;margin:2px 0 0;color:#801329;font-size:.56rem;font-style:normal;font-weight:800;line-height:1.05
  }
  #heroCarousel > .hero-slide--custom.hero-slide--sale-active .hero-sale-message{display:none!important}
  #heroCarousel > .hero-slide--third{position:relative!important;overflow:visible!important;height:auto!important;min-height:0!important;max-height:none!important;padding:0 0 40px!important;background:#fff!important}
  #heroCarousel > .hero-slide--third::after{content:"";position:absolute;left:0;right:0;bottom:-1px;display:block!important;height:24px;z-index:5;background:var(--paper);clip-path:polygon(0 54%,3% 27%,6% 63%,10% 37%,14% 75%,18% 30%,22% 68%,26% 36%,30% 80%,34% 42%,38% 71%,42% 31%,46% 68%,50% 40%,54% 79%,58% 34%,62% 66%,66% 29%,70% 75%,74% 38%,78% 68%,82% 31%,86% 76%,90% 39%,94% 67%,98% 34%,100% 58%,100% 100%,0 100%);filter:drop-shadow(0 -5px 5px rgba(0,0,0,.15));pointer-events:none}
  #heroCarousel > .hero-slide--third .container{min-height:360px!important}
  #heroCarousel > .hero-slide--custom .hero-art{position:absolute!important;inset:0 0 0 auto!important;width:46%!important;height:100%!important;align-self:stretch!important;justify-content:flex-end!important;overflow:hidden!important}
  #heroCarousel > .hero-slide--custom.hero-slide--sale-active .hero-art{position:absolute!important;inset:0 0 0 auto!important;width:46%!important;height:100%!important;align-self:stretch!important;isolation:isolate;justify-content:flex-end!important;overflow:hidden!important}
  #heroCarousel > .hero-slide--custom .hero-art img{width:min(44vw,180px)!important;height:min(230px,58vw)!important;max-height:min(230px,58vw)!important;object-fit:contain!important;object-position:center bottom!important;transform:translateX(-12px)!important}
  #heroCarousel > .hero-slide--custom.hero-slide--sale-active .hero-custom-sale-art{display:none!important}
  #heroCarousel > .hero-slide--custom.hero-slide--sale-active .hero-art::before{content:"";display:block!important;position:absolute;inset:0 -16% -12% 0;z-index:0;background:url("../img/hero-sale-backdrop-mobile.4ee619116fb4.svg?v=1") 73% 10% / contain no-repeat;transform:translate(3%,-6%) scale(.85,.95);pointer-events:none}
  #heroCarousel > .hero-slide--custom.hero-slide--sale-active .hero-art::before{transform:translate(3%,0) scale(.85,.95)}
  #heroCarousel > .hero-slide--custom.hero-slide--sale-active .hero-art::after{content:"UPTO";position:absolute;top:-2%;left:8%;z-index:5;display:inline-flex;align-items:center;justify-content:center;min-width:110px;height:48px;padding:8px 12px;border:0;border-radius:0;background:transparent;color:#000;font-size:1.05rem;font-weight:800;letter-spacing:.08em;line-height:1;text-transform:uppercase;box-shadow:none}
  #heroCarousel > .hero-slide--custom.hero-slide--sale-active .hero-art picture{position:relative;z-index:1;width:100%;height:100%;display:flex;align-items:flex-end;justify-content:center}
  #heroCarousel > .hero-slide--custom.hero-slide--sale-active .hero-art img{width:min(44vw,180px)!important;height:min(230px,58vw)!important;object-fit:contain!important;object-position:center bottom!important;transform:translateX(-12px)!important}
  #heroCarousel > .hero-slide--third .container{position:relative!important;grid-template-columns:minmax(0,1fr) minmax(0,.72fr);gap:6px;min-height:360px!important}
  #heroCarousel > .hero-slide--third .hero-art{position:absolute!important;inset:0 0 0 auto!important;width:46%!important;height:auto!important;align-self:stretch!important;justify-content:flex-end!important;overflow:hidden!important}
  #heroCarousel > .hero-slide--third .hero-art picture{position:relative!important;z-index:1;display:flex!important;align-items:flex-end!important;justify-content:center!important;width:100%!important;height:100%!important;padding-top:0!important}
  #heroCarousel > .hero-slide--third .hero-art img{position:relative!important;width:min(44vw,180px)!important;height:min(230px,58vw)!important;max-width:100%!important;max-height:min(230px,58vw)!important;object-fit:contain!important;object-position:center bottom!important;transform:translate(-12px,-36px)!important}
}
