/* =====================================================================
   merchace – custom theme styles (luma_child)
   Cleaned and consolidated: November 2026
   Sections:
     1. Base, fonts and colours
     2. Site width and layout
     3. Top bar
     4. Header (logo, search, links, cart)
     5. Category menu (desktop + mobile)
     6. Homepage sections
     7. Buttons and forms
     8. Product lists and product pages
     9. Account pages and sidebars
    10. Create account page
    11. Webkul marketplace (landing, seller list, profiles, seller pages)
    12. Checkout and cart
    13. Footer
    14. Mobile
   ===================================================================== */


/* =====================================================================
   1. BASE, FONTS AND COLOURS
   Brand blue: #4C8BFF (logo, buttons)   Deep blue: #2667dc (text on white, hero)
   ===================================================================== */
html { font-size: 65.5% !important; }
/* Never let anything poke past the screen edge and cause sideways scrolling (any screen size) */
html, body, .page-wrapper { overflow-x: clip; }
body, button, input, select, textarea { font-family: Inter, system-ui, sans-serif !important; }
h1, h2, h3, .page-title { font-family: 'Space Grotesk', Inter, sans-serif !important; font-weight: 700 !important; letter-spacing: -0.5px; }

@media (min-width: 769px), print {
  h1 { font-size: 23px !important; margin-bottom: 40px; }
}

a:active, .alink:active { color: #4C8BFF !important; }

/* No mobile tap flash; keep focus outline for keyboard users only */
a, button, .action { -webkit-tap-highlight-color: transparent; }
a:has(> button) { display: inline-block; }
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }

.white-background { background-color: white; border-radius: 43px; }


/* =====================================================================
   2. SITE WIDTH AND LAYOUT
   ===================================================================== */
.page-header .header.content,
.page-header .panel.header,
.nav-sections .navigation,
.page-main,
.page-wrapper > .breadcrumbs,
.breadcrumbs,
.mc-wrap {
  max-width: 1760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
  box-sizing: border-box;
}
/* Some pages (e.g. My Account) give the main box a narrow fixed width; always use the full width up to 1760px */
.page-wrapper > .page-main { width: 100% !important; box-sizing: border-box !important; }

/* Page Builder "Contained" rows: use the full site width (default caps at 1280px) */
.page-main [data-content-type="row"][data-appearance="contained"] {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.page-main [data-content-type="row"][data-appearance="contained"] > [data-element="inner"] {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Page Builder "Full Width" rows: inner box also capped at 1280px by default */
.page-main [data-content-type="row"][data-appearance="full-width"] > .row-full-width-inner {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* "Page -- Full Width" layout (used by the homepage): rows match the 1760px site width */
.page-main-full-width [data-content-type="row"][data-appearance="contained"],
.page-main-full-width .row-full-width-inner {
  max-width: 1760px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
  box-sizing: border-box;
}
.page-main-full-width [data-content-type="row"][data-appearance="contained"] > [data-element="inner"] {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
@media (max-width: 768px) {
  .page-main-full-width [data-content-type="row"][data-appearance="contained"],
  .page-main-full-width .row-full-width-inner { padding-left: 16px !important; padding-right: 16px !important; }
}

/* Logo: sit flush left with the menu and top bar */
.page-header .header.content .logo img { object-fit: contain; object-position: left center; }

.page-title-wrapper { margin-top: 20px !important; }
/* Always leave breathing room between the page content and the footer
   (Luma sets the footer's top margin to auto, so the space goes on the page instead) */
.page-wrapper > .page-main,
.page-wrapper > .page-main-full-width { padding-bottom: 80px !important; }
@media (max-width: 768px) {
  .page-wrapper > .page-main,
  .page-wrapper > .page-main-full-width { padding-bottom: 56px !important; }
}
/* "Category – Full Width" layout splits the page into two boxes: the top one holds
   only the breadcrumbs and title, so it must not get the footer spacing */
.page-wrapper > .page-main:not(:has(.columns)),
.page-wrapper > .page-main-full-width:not(:has(.columns)) { padding-bottom: 0 !important; }

.breadcrumbs .item:not(:last-child):after { font-size: 7px !important; line-height: 24px !important; }

@media (min-width: 769px), print {
  .abs-margin-for-blocks-and-widgets-desktop,
  .page-main .block,
  .customer-review .product-details { margin-bottom: 20px !important; }
}


/* =====================================================================
   3. TOP BAR (CMS block "merchace-top-strip")
   ===================================================================== */
/* Remove Page Builder spacing around the top bar block only */
.widget.block-static-block:has(.mc-topstrip),
.widget.block-static-block:has(.mc-topstrip) [data-content-type="row"],
.widget.block-static-block:has(.mc-topstrip) [data-element="inner"],
.widget.block-static-block:has(.mc-topstrip) [data-content-type="html"] {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  min-height: 0 !important;
}

.mc-topstrip { background: #ffffff; color: #4f5a6d; font-size: 13px; border-bottom: 1px solid #e3e8f0; }
.mc-topstrip .mc-wrap {
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between !important;
  align-items: center !important;
  min-height: 0 !important;
  padding-top: 8px;
  padding-bottom: 8px;
}
.mc-topstrip nav {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  position: static !important;
}
.mc-topstrip a,
.mc-topstrip a.mc-sell {
  display: inline !important;
  color: #4f5a6d !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  box-shadow: none !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
}
.mc-topstrip a.mc-sell { color: #2667dc !important; font-weight: 600; }


/* =====================================================================
   4. HEADER (logo, search, account links, cart)
   ===================================================================== */
.page-header { background: #ffffff !important; border-bottom: 0 !important; margin-bottom: 0 !important; }
.page-header .logo img { max-height: 58px; width: auto; }

/* Search box (the id makes it beat the general rounded-input rule in section 7) */
.page-header .block-search input#search,
.page-header .block-search input {
  height: 50px !important;
  border: 2px solid #4C8BFF !important;
  border-radius: 28px !important;
  padding: 0 64px 0 22px !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  box-shadow: none !important;
}
.page-header .block-search .action.search {
  right: 6px !important;
  top: 50% !important;
  transform: translateY(-50%);
  background: #ffffff !important;
  width: 44px;
  height: 38px;
  border-radius: 20px !important;
  opacity: 1 !important;
}
.page-header .block-search .action.search:before { color: #2667dc !important; font-size: 22px !important; }

/* "Compare Products (3 items)": a floating button in the bottom-left corner.
   Magento only shows it once something has been added to compare. */
.page-header .compare.wrapper {
  position: static !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  height: 0;
  width: 0;
  overflow: visible;
}
.page-header .compare.wrapper .item.link.compare { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.page-header .compare.wrapper .action.compare:not(.no-display) {
  position: fixed !important;
  left: 20px;
  bottom: 20px;
  z-index: 900;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px 0 16px !important;
  border-radius: 30px;
  background: #161c27 !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 12px 30px rgba(22, 28, 39, .28);
  transition: transform .15s ease, background .15s ease;
}
.page-header .compare.wrapper .action.compare:not(.no-display):before {
  content: "";
  width: 20px;
  height: 20px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 20V10M12 20V4M18 20v-7'/%3E%3C/svg%3E");
}
.page-header .compare.wrapper .action.compare:not(.no-display):hover { background: #2667dc !important; transform: translateY(-2px); }
.page-header .compare.wrapper .action.compare .counter.qty:before,
.page-header .compare.wrapper .action.compare .counter.qty:after { content: none !important; display: none !important; }
.page-header .compare.wrapper .action.compare .counter.qty {
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 11px;
  background: #4C8BFF;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .page-header .compare.wrapper .action.compare:not(.no-display) { left: 12px; bottom: 12px; height: 44px; font-size: 13px !important; }
}

/* Cart */
.page-header .minicart-wrapper .action.showcart:before { color: #2667dc !important; font-size: 28px !important; line-height: 1 !important; }
.page-header .minicart-wrapper .counter.qty { background: #2667dc !important; border-radius: 10px; }

/* Account links (Sell, Sign In, Create Your Account) */
.page-header .panel.header > .header.links a { color: #161c27 !important; font-weight: 500; }
.page-header .panel.header > .header.links a:hover { color: #2667dc !important; }
.header.panel > .header.links > li.customer-welcome { margin: 0 0 0 5px; margin-top: 4px; }

/* Hide the extra "Sign Out" link (keep the one in the account dropdown) */
.panel.header > .header.links > li.authorization-link:has(a[href*="/customer/account/logout"]),
[id="store.links"] > .header.links > li.authorization-link:has(a[href*="/customer/account/logout"]) {
  display: none !important;
}

/* "Sell" link as a blue pill */
.panel.header .header.links li > a[href$="/marketplace/"],
.panel.header .header.links li > a[href$="/marketplace/"]:visited,
[id="store.links"] .header.links li > a[href$="/marketplace/"],
[id="store.links"] .header.links li > a[href$="/marketplace/"]:visited {
  display: inline-block;
  background: #4C8BFF !important;
  color: #ffffff !important;
  padding: 6px 16px !important;
  border-radius: 20px;
  font-weight: 600;
  line-height: 1.4 !important;
  text-decoration: none !important;
}
.panel.header .header.links li > a[href$="/marketplace/"]:hover,
.panel.header .header.links li > a[href$="/marketplace/"]:focus,
[id="store.links"] .header.links li > a[href$="/marketplace/"]:hover,
[id="store.links"] .header.links li > a[href$="/marketplace/"]:focus {
  background: #154c91 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Desktop header layout: logo | search | links + cart */
@media (min-width: 769px) {
  /* Collapse Luma's grey panel bar; its links are placed beside the cart */
  .page-header .panel.wrapper,
  .page-header .panel.wrapper .panel.header {
    background: transparent !important;
    border: 0 !important;
  }
  .panel.header {
    position: relative !important;
    height: 0 !important;
    min-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .panel.header .header.links .greet.welcome { display: none !important; }

  .page-header .panel.header > .header.links {
    position: absolute !important;
    top: 36px !important;          /* bigger = lower */
    right: 95px !important;        /* bigger = further from the cart */
    margin: 0 !important;
    z-index: 5;
    white-space: nowrap;
    line-height: 32px;
    display: flex !important;
    align-items: center;
    gap: 22px;
  }
  .page-header .panel.header > .header.links > li { margin: 0 !important; display: flex; align-items: center; }
  .page-header .panel.header > .header.links > li:after,
  .page-header .panel.header > .header.links > li.authorization-link:after { display: none !important; content: none !important; }
  .page-header .panel.header > .header.links > li > a { font-size: 14px !important; font-weight: 500 !important; }
  /* ---- Icon buttons like the design: icon on top, small label underneath ---- */
  .page-header .panel.header > .header.links { top: 28px !important; right: 92px !important; gap: 26px; line-height: 1.2; align-items: flex-start !important; }
  .page-header .panel.header > .header.links .customer-name span { display: inline-block; max-width: 90px; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
  .page-header .panel.header > .header.links > li > a,
  .page-header .panel.header > .header.links > li > a:visited,
  .page-header .panel.header > .header.links li > a[href$="/marketplace/"],
  .page-header .panel.header > .header.links li > a[href$="/marketplace/"]:visited {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    color: #161c27 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
  }
  .page-header .panel.header > .header.links > li > a:hover,
  .page-header .panel.header > .header.links li > a[href$="/marketplace/"]:hover {
    background: transparent !important;
    color: #2667dc !important;
  }
  .page-header .panel.header > .header.links > li > a:before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background: center / contain no-repeat;
  }
  /* Sell: shop icon */
  .page-header .panel.header > .header.links li > a[href$="/marketplace/"]:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232667dc' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l1.5-5h15L21 9'/%3E%3Cpath d='M4 9v11h16V9'/%3E%3Cpath d='M3 9a3 3 0 0 0 6 0 3 3 0 0 0 6 0 3 3 0 0 0 6 0'/%3E%3C/svg%3E");
  }
  /* Sign in: person icon */
  .page-header .panel.header > .header.links > li.authorization-link > a:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232667dc' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E");
  }
  /* Create account: person-plus icon, label shortened to "Join" */
  .page-header .panel.header > .header.links > li > a[href*="customer/account/create"] { font-size: 0 !important; line-height: 0 !important; color: transparent !important; gap: 0 !important; }
  .page-header .panel.header > .header.links > li > a[href*="customer/account/create"]:before { margin-bottom: 4px; }
  .page-header .panel.header > .header.links > li > a[href*="customer/account/create"]:after { content: "Join"; display: block; font-size: 12px; line-height: 14px; color: #161c27; }
  .page-header .panel.header > .header.links > li > a[href*="customer/account/create"]:hover:after { color: #2667dc; }
  .page-header .panel.header > .header.links > li > a,
  .page-header .minicart-wrapper .action.showcart .text:after { line-height: 14px !important; }
  .page-header .panel.header > .header.links > li > a[href*="customer/account/create"]:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232667dc' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10' cy='8' r='4'/%3E%3Cpath d='M3 21c1.4-4 4-6 7-6s5.6 2 7 6'/%3E%3Cpath d='M19 5v6M16 8h6'/%3E%3C/svg%3E");
  }
  /* Signed in: name dropdown gets the person icon too */
  .page-header .panel.header > .header.links > li.customer-welcome { margin: 0 !important; }
  .page-header .panel.header > .header.links > li.customer-welcome .customer-name {
    display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; font-weight: 500; color: #161c27;
  }
  .page-header .panel.header > .header.links > li.customer-welcome .customer-name:before {
    content: ""; display: block; width: 24px; height: 24px; background: center / contain no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232667dc' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E");
  }

  /* Signed in: person icon with "Account" label; the whole thing opens the account menu */
  .page-header .panel.header > .header.links > li.customer-welcome { position: relative; }
  .page-header .panel.header > .header.links > li.customer-welcome .customer-name { position: relative; cursor: pointer; }
  .page-header .panel.header > .header.links > li.customer-welcome .customer-name:after { content: "Account"; font-size: 12px; line-height: 14px; font-weight: 500; color: #161c27; }
  .page-header .panel.header > .header.links > li.customer-welcome .customer-name:hover:after { color: #2667dc; }
  .page-header .panel.header > .header.links > li.customer-welcome .customer-name .action.switch {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    opacity: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
  .page-header .panel.header > .header.links > li.customer-welcome .customer-menu {
    position: absolute !important;
    top: calc(100% + 12px) !important;
    right: -20px !important;
    left: auto !important;
    min-width: 210px;
    padding: 8px !important;
    background: #ffffff !important;
    border: 1px solid #e3e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 16px 40px rgba(22, 28, 39, .16) !important;
    z-index: 100;
  }
  .page-header .panel.header > .header.links > li.customer-welcome .customer-menu:before,
  .page-header .panel.header > .header.links > li.customer-welcome .customer-menu:after { display: none !important; }
  .page-header .panel.header > .header.links > li.customer-welcome .customer-menu .header.links {
    display: block !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  .page-header .panel.header > .header.links > li.customer-welcome .customer-menu li { display: block !important; margin: 0 !important; padding: 0 !important; }
  .page-header .panel.header > .header.links > li.customer-welcome .customer-menu li > a,
  .page-header .panel.header > .header.links > li.customer-welcome .customer-menu li.authorization-link:has(a[href*="logout"]) { display: block !important; }
  .page-header .panel.header > .header.links > li.customer-welcome .customer-menu li a {
    display: block !important;
    padding: 10px 12px !important;
    border-radius: 9px;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #2a3140 !important;
    text-decoration: none !important;
    white-space: nowrap;
  }
  .page-header .panel.header > .header.links > li.customer-welcome .customer-menu li a:before { display: none !important; }
  .page-header .panel.header > .header.links > li.customer-welcome .customer-menu li a:hover { background: #f4f7fc; color: #2667dc !important; }

  /* Cart: bag icon with "Cart" label */
  .page-header .minicart-wrapper .action.showcart {
    display: flex !important; flex-direction: column; align-items: center; gap: 4px; position: relative;
  }
  .page-header .minicart-wrapper .action.showcart:before {
    content: "" !important; display: block; width: 24px; height: 24px; background: center / contain no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232667dc' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l-1 13H7z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%3E%3C/svg%3E");
  }
  .page-header .minicart-wrapper .action.showcart .text {
    position: static !important; clip: auto !important; width: auto !important; height: auto !important;
    margin: 0 !important; overflow: visible !important; font-size: 0 !important;
  }
  .page-header .minicart-wrapper .action.showcart .text:after { content: "Cart"; font-size: 12px; font-weight: 500; color: #161c27; line-height: 1.2; }
  .page-header .minicart-wrapper .action.showcart .counter.qty {
    position: absolute; top: -7px; left: 50%; right: auto; margin: 0 0 0 5px !important;
    border: 2px solid #ffffff; box-sizing: content-box;
    min-width: 18px; height: 18px; line-height: 18px; padding: 0 5px; font-size: 11px; border-radius: 9px;
  }
  .page-header .minicart-wrapper .action.showcart .counter.qty.empty { display: none; }

  .page-header .header.content {
    display: flex !important;
    align-items: center;
    gap: 0;                 /* hidden items in the header were each adding a gap before the logo */
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
  .page-header .header.content .logo {
    order: 1;
    float: none !important;
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    max-width: none !important;
  }
  .page-header .header.content .logo img { display: block; margin: 0 !important; }
  .page-header .header.content .block-search {
    order: 2;
    float: none !important;
    flex: 1 1 auto;
    width: auto !important;
    max-width: none !important;
    margin: 0 260px 0 28px !important;   /* 28px after the logo; 260px leaves room for Sell / Sign in / Join */
    padding: 0 !important;
  }
  .page-header .block-search .control { padding: 0 !important; border: 0 !important; }
  .page-header .header.content .minicart-wrapper { order: 3; float: none !important; margin: 0 10px 0 auto !important; }
}
@media (min-width: 769px) and (max-width: 1200px) {
  .page-header .header.content .block-search { margin-right: 250px !important; }
}

/* ---- Search focus effect: page dims, header lifts, search glows, blue line sweeps across ---- */
@media (min-width: 769px) {
  .page-header { position: relative; z-index: 60; transition: box-shadow .25s ease; }
  body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(22, 28, 39, .38);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 50;
  }
  body:has(#search:focus)::after { opacity: 1; }
  .page-header:has(#search:focus) { box-shadow: 0 10px 30px rgba(22, 28, 39, .18); }

  .page-header .block-search input#search { transition: border-color .2s, box-shadow .2s; }
  .page-header .block-search input#search:focus {
    border-color: #2667dc !important;
    box-shadow: 0 0 0 5px rgba(76, 139, 255, .22) !important;
    outline: none !important;
  }
  .page-header .block-search .action.search { transition: background .2s; }
  .page-header .block-search:has(#search:focus) .action.search { background: #2667dc !important; }
  .page-header .block-search:has(#search:focus) .action.search:before { color: #ffffff !important; }

  /* Sweeping gradient line along the bottom of the header */
  .page-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, #4C8BFF, #2667dc, #a8c6ff, #4C8BFF);
    background-size: 300% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s ease;
  }
  .page-header:has(#search:focus)::after {
    transform: scaleX(1);
    animation: mc-sweep 2.4s linear infinite;
  }
}
@keyframes mc-sweep { from { background-position: 0% 0; } to { background-position: 300% 0; } }
@media (prefers-reduced-motion: reduce) {
  .page-header:has(#search:focus)::after { animation: none; }
}

/* iPad Mini (768px): spacing around the Sell button */
@media (min-width: 768px) and (max-width: 768px) {
  [id="store.links"] .header.links li > a[href$="/marketplace/"],
  .panel.header .header.links li > a[href$="/marketplace/"] {
    margin-left: 11px !important;
    margin-bottom: 11px !important;
  }
}


/* =====================================================================
   5. CATEGORY MENU
   ===================================================================== */
.nav-sections { background: #ffffff !important; border-bottom: 1px solid #e3e8f0; margin-bottom: 28px !important; }
.nav-sections .navigation { background: transparent !important; }
.nav-sections-items { background-color: #ffffff; }

@media (min-width: 769px) {
  .nav-sections .navigation > ul { padding-left: 0 !important; margin-left: -12px !important; }
  .nav-sections .navigation .level0 { font-size: 14px !important; font-weight: 500 !important; margin-right: 2px !important; }
  /* Top-level items: fixed size, so hovering never moves anything */
  .nav-sections .navigation .level0 > .level-top,
  .nav-sections .navigation .level0.parent > .level-top {
    color: #2a3140 !important;
    padding: 0 12px !important;
    line-height: 48px !important;
    border: 0 !important;
    margin: 0 !important;
    box-shadow: none;
    text-decoration: none !important;
    transition: color .15s, box-shadow .15s;
  }
  /* Underline drawn inside the item, so it adds no height */
  .nav-sections .navigation .level0:hover > .level-top,
  .nav-sections .navigation .level0 > .level-top.ui-state-focus,
  .nav-sections .navigation .level0.active > .level-top,
  .nav-sections .navigation .level0.has-active > .level-top {
    color: #2667dc !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  /* "Browse shops" link on the right of the menu (added in Magento_Cms/layout/default.xml) */
  .nav-sections [id="store.menu"] { position: relative; max-width: 1760px; margin: 0 auto; }
  .nav-sections a.mc-browse {
    position: absolute;
    top: 0;
    right: 20px;
    padding: 0 12px;
    line-height: 48px;
    font-size: 14px;
    font-weight: 600;
    color: #2667dc !important;
    text-decoration: none !important;
  }
  .nav-sections a.mc-browse:hover { color: #154c91 !important; }

  /* No down arrows */
  .nav-sections .navigation .level0 > .level-top .ui-menu-icon,
  .nav-sections .navigation .level0 > .level-top:after,
  .nav-sections .navigation .level0.parent > .level-top:after { display: none !important; content: none !important; }

  /* Dropdown panel: clean white card */
  .nav-sections .navigation .level0 .submenu {
    background: #ffffff !important;
    border: 1px solid #e3e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 32px rgba(22, 28, 39, .12) !important;
    padding: 8px !important;
    margin-top: 0 !important;
    min-width: 220px !important;
  }
  .nav-sections .navigation .level0 .submenu:before,
  .nav-sections .navigation .level0 .submenu:after { display: none !important; }
  .nav-sections .navigation .level0 .submenu a,
  .nav-sections .navigation .level0 .submenu a.ui-state-focus {
    display: block;
    padding: 9px 14px !important;
    border: 0 !important;
    border-radius: 8px;
    color: #2a3140 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    background: transparent !important;
    text-decoration: none !important;
  }
  .nav-sections .navigation .level0 .submenu a:hover,
  .nav-sections .navigation .level0 .submenu a.ui-state-focus:hover,
  .nav-sections .navigation .level0 .submenu .active > a {
    background: #eef3ff !important;
    color: #2667dc !important;
    border: 0 !important;
  }
}


/* =====================================================================
   6. HOMEPAGE SECTIONS (.mc-home – Page Builder HTML Code blocks)
   ===================================================================== */
.mc-home { color: #161c27; }
.mc-home h1, .mc-home h2 { font-family: 'Space Grotesk', Inter, sans-serif !important; font-weight: 700 !important; margin: 0 !important; }
.mc-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1.4px; }

/* Hero + promo tiles */
.mc-hero-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.mc-hero { background: #2667dc; border-radius: 24px; padding: 56px; min-height: 420px; display: flex; flex-direction: column; justify-content: center; gap: 20px; color: #ffffff; }
.mc-hero .mc-eyebrow { color: #ffffff; }
.mc-home .mc-hero h1 { color: #ffffff !important; font-size: 56px !important; line-height: 1.05 !important; letter-spacing: -1.5px; max-width: 640px; }
.mc-hero p { margin: 0; font-size: 18px; line-height: 1.6; max-width: 520px; color: #ffffff; }
.mc-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.mc-btn-white, .mc-btn-outline, .mc-btn-blue { display: inline-block; padding: 14px 28px; border-radius: 30px; font-weight: 600; font-size: 15px; text-decoration: none !important; }
.mc-btn-white { background: #ffffff; color: #2667dc !important; }
.mc-btn-white:hover { background: #e6efff; }
.mc-btn-outline { border: 1.5px solid #ffffff; color: #ffffff !important; }
.mc-btn-blue { background: #2667dc; color: #ffffff !important; }
.mc-btn-blue:hover { background: #1b4fb0; }
.mc-promos { display: grid; gap: 20px; }
.mc-promo { border-radius: 24px; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-height: 190px; text-decoration: none !important; }
.mc-promo strong { font-family: 'Space Grotesk', Inter, sans-serif; font-size: 28px; line-height: 1.1; font-weight: 700; }
.mc-link { font-size: 14px; font-weight: 600; }
.mc-promo-blue { background: #e6efff; color: #161c27 !important; }
.mc-promo-blue .mc-eyebrow, .mc-promo-blue .mc-link { color: #2667dc; }
.mc-promo-warm { background: #fff1e4; color: #3d2410 !important; }
.mc-promo-warm .mc-eyebrow, .mc-promo-warm .mc-link { color: #a8521b; }

/* Trust bar */
.mc-trust { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #e3e8f0; border: 1px solid #e3e8f0; border-radius: 18px; overflow: hidden; }
.mc-trust > div { background: #ffffff; padding: 22px 24px; display: flex; gap: 14px; align-items: center; }
.mc-trust span, .mc-steps span { width: 42px; height: 42px; border-radius: 12px; background: #e6efff; color: #2667dc; display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.mc-trust b, .mc-steps b { display: block; font-size: 15px; font-weight: 600; }
.mc-trust small, .mc-steps small { display: block; font-size: 13px; color: #4f5a6d; margin-top: 2px; }

/* Section headings */
.mc-section { margin-top: 64px; }
.mc-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; }
.mc-home .mc-head h2 { font-size: 34px !important; letter-spacing: -0.6px; }
.mc-head a { font-weight: 600; color: #2667dc !important; }

/* Category tiles */
.mc-tiles { display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px; }
.mc-tiles a { display: flex; flex-direction: column; gap: 10px; text-align: center; font-weight: 600; font-size: 15px; color: #161c27 !important; text-decoration: none !important; }
.mc-tiles span { aspect-ratio: 1; border-radius: 22px; display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', Inter, sans-serif; font-size: 40px; font-weight: 700; }
.mc-tiles a:hover span { filter: brightness(0.96); }

/* Sell section */
.mc-sell { margin-top: 64px; background: #e6efff; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.mc-sell > div:first-child { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.mc-sell .mc-eyebrow { color: #2667dc; }
.mc-home .mc-sell h2 { font-size: 44px !important; line-height: 1.08; letter-spacing: -1px; }
.mc-sell p { margin: 0; font-size: 17px; line-height: 1.6; color: #3b4558; max-width: 480px; }
.mc-steps { display: grid; gap: 14px; }
.mc-steps > div { background: #ffffff; border-radius: 18px; padding: 18px 22px; display: flex; gap: 16px; align-items: center; }
.mc-steps span { border-radius: 50%; background: #2667dc; color: #ffffff; }


/* =====================================================================
   7. BUTTONS AND FORMS
   ===================================================================== */
/* Primary buttons: Add to Cart, Checkout, Sign In, Place Order */
.action.primary,
button.action.primary,
.action.primary:visited {
  background: #4C8BFF !important;
  border-color: #4C8BFF !important;
  color: #ffffff !important;
}
.action.primary:hover,
.action.primary:focus,
.action.primary:active {
  background: #154c91 !important;
  border-color: #154c91 !important;
  color: #ffffff !important;
}
body .action.primary { border-radius: 21px !important; }
button { border-radius: 20px !important; }
button:not(.primary) { font-size: 15px !important; }
.action.subscribe.primary { margin-top: 3px !important; }

/* Rounded text fields (not checkboxes or radios) */
input:not([type="checkbox"]):not([type="radio"]), select, textarea {
  border-radius: 20px !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
  min-width: 99px;
}

/* "Write a review" button */
/* Blue seller buttons keep white text on hover */
.write-review, .write-review *, p.loginmsg button, p.loginmsg button *, #askbtn, #askbtntab { color: #ffffff !important; }
.write-review:hover, .write-review:focus, p.loginmsg button:hover, #askbtn:hover, #askbtntab:hover {
  background-color: #154c91 !important;
  border-color: #154c91 !important;
  color: #ffffff !important;
}

div.mage-error { font-size: 13px !important; }

/* Drop-down menus (Sort by, Show per page, Country, State …): clean white pill with a neat arrow.
   The open list itself is drawn by the browser/phone and can only take basic colours. */
select:not([multiple]) {
  appearance: none !important;
  -webkit-appearance: none !important;
  height: 40px;
  min-width: 90px;
  padding: 0 40px 0 16px !important;
  border: 1px solid #c9d2e0 !important;
  border-radius: 12px !important;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f5a6d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat !important;
  color: #161c27 !important;
  font-size: 14px !important;
  font-weight: 500;
  box-shadow: none !important;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
select:not([multiple]):hover { border-color: #2667dc !important; }
select:not([multiple]):focus {
  border-color: #2667dc !important;
  box-shadow: 0 0 0 4px rgba(76, 139, 255, .18) !important;
  outline: none !important;
}
select option { background: #ffffff; color: #161c27; font-size: 14px; }
select option:checked { background: #eef3ff; color: #2667dc; }

/* The open list itself: custom-styled in browsers that support it (Chrome and Edge on desktop and
   Android). Other browsers, and iPhones, keep their own built-in list. */
@supports (appearance: base-select) {
  select:not([multiple]),
  select:not([multiple])::picker(select) { appearance: base-select; }
  select:not([multiple])::picker-icon { display: none; }   /* we already draw our own arrow */
  select:not([multiple])::picker(select) {
    margin-top: 6px;
    padding: 6px;
    min-width: anchor-size(width);
    max-height: 320px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #e3e8f0;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(22, 28, 39, .16);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .15s ease, transform .15s ease, display .15s allow-discrete, overlay .15s allow-discrete;
  }
  select:not([multiple]):open::picker(select) { opacity: 1; transform: none; }
  @starting-style {
    select:not([multiple]):open::picker(select) { opacity: 0; transform: translateY(-4px); }
  }
  select:not([multiple]) option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 9px;
    font-size: 14px;
    color: #161c27;
    background: transparent;
    cursor: pointer;
  }
  select:not([multiple]) option:hover,
  select:not([multiple]) option:focus-visible { background: #f4f7fc; outline: none; }
  select:not([multiple]) option:checked { background: #eef3ff; color: #2667dc; font-weight: 600; }
  select:not([multiple]) option::checkmark { order: 2; margin-left: auto; color: #2667dc; }
}
span.required-entry { margin-top: 10px; display: inline-block; }
.modal-popup .modal-title { font-size: 18px !important; }


/* =====================================================================
   8. PRODUCT LISTS AND PRODUCT PAGES
   ===================================================================== */
.product-item { font-size: 18px !important; line-height: 1.5 !important; }
.product-item-name { margin: 0 !important; padding-right: 20px !important; }
.product-item-link { font-weight: 100 !important; }
.product-item .price-box { margin: 10px 0 8px !important; }
.product-item .tocart { font-size: 18px !important; }
.box-tocart .action.tocart:not(:last-child) { border-radius: 27px !important; }

/* ---------- Category and search results pages ---------- */
.breadcrumbs { margin-top: 20px !important; margin-bottom: 8px !important; }
.breadcrumbs .items { font-size: 14px !important; font-weight: 400 !important; color: #8a93a3 !important; }
.breadcrumbs a { color: #2667dc !important; }
.page-products .page-title-wrapper { margin: 4px 0 24px !important; }
.page-products .page-title-wrapper .page-title,
.page-products h1.page-title {
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-size: 40px !important;
  font-weight: 700 !important;
  letter-spacing: -0.8px;
  line-height: 1.1 !important;
  color: #161c27;
  margin: 0 !important;
}

/* Filters left (260px), products fill the rest */
@media (min-width: 769px) {
  .page-products.page-layout-2columns-left .columns { display: flex !important; flex-wrap: nowrap !important; gap: 40px; align-items: flex-start; }
  .page-products.page-layout-2columns-left .columns:before,
  .page-products.page-layout-2columns-left .columns:after { display: none !important; content: none !important; }
  .page-products.page-layout-2columns-left .sidebar-main { order: 1; flex: 0 0 260px; width: 260px !important; padding: 0 !important; float: none !important; }
  .page-products.page-layout-2columns-left .column.main { order: 2; flex: 1 1 auto; width: auto !important; min-width: 0; float: none !important; padding: 0 !important; }
  /* No filters to show (e.g. empty category): let the products area use the full width */
  .page-products.page-layout-2columns-left .columns:not(:has(.sidebar-main .block)) .sidebar-main { display: none !important; }
}
/* "Compare Products" and "My Wish List" side boxes: hidden on every screen size */
.page-products .sidebar-additional { display: none !important; }
/* The compare side box stays hidden; the floating "Compare" button (section 4) replaces it */
.block-compare { display: none !important; }

/* Empty category or search: a friendly centred panel */
.page-products .column.main > .message.info.empty,
.page-products .column.main .message.info.empty {
  max-width: 560px;
  margin: 24px auto 0 !important;
  padding: 44px 32px !important;
  text-align: center;
  background: #f4f7fc !important;
  border: 1px solid #e3e8f0 !important;
  border-radius: 22px !important;
  color: #3b4558 !important;
  font-size: 16px !important;
}
.page-products .column.main .message.info.empty > *:first-child:before {
  position: static !important;
  display: block;
  margin: 0 auto 12px !important;
  transform: none !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  line-height: 1 !important;
  text-align: center !important;
  font-size: 32px !important;
  color: #2667dc !important;
}

/* Tighten the space between the title and the products */
.page-products .category-view,
.page-products .category-description,
.page-products .category-cms,
.page-products .category-image { margin: 0 !important; }
.page-products .category-view:empty,
.page-products .column.main > div:empty { display: none !important; }
/* Category description/CMS boxes that only hold empty Page Builder rows */
.page-products .category-view:not(:has(img, p:not(:empty), h1, h2, h3, h4, a, li, iframe, video)),
.page-products .category-description:not(:has(img, p:not(:empty), h1, h2, h3, h4, a, li, iframe, video)),
.page-products .category-cms:not(:has(img, p:not(:empty), h1, h2, h3, h4, a, li, iframe, video)) { display: none !important; }
.page-products .column.main { padding-top: 0 !important; }
@media (min-width: 769px) {
  .page-products .columns { padding-top: 0 !important; }
}
@media (max-width: 768px) {
  /* Room for the "Shop By" button only when it is showing */
  .page-products .columns { padding-top: 56px !important; }
  .page-products .columns:not(:has(.block.filter)) { padding-top: 0 !important; }
  /* Sort bar on phones: never wider than the screen */
  .page-products .toolbar-products { max-width: 100%; box-sizing: border-box; }
  .page-products .toolbar-sorter { min-width: 0; max-width: 100%; }
  .page-products .toolbar-sorter .sorter-options { width: auto !important; min-width: 0 !important; max-width: 160px; }
  .page-products .toolbar-sorter .sorter-action { flex: none; margin: 0 !important; }
  .page-products .toolbar-products { margin-bottom: 16px !important; }
  /* Product card actions on phones: button and icons in one tidy row */
  .page-products .products-grid .product-item-actions { display: flex !important; align-items: center; flex-wrap: wrap; gap: 6px; margin: 8px 0 0 !important; }
  .page-products .products-grid .product-item-actions .actions-primary,
  .page-products .products-grid .product-item-actions .actions-secondary { display: flex !important; align-items: center; gap: 4px; margin: 0 !important; padding: 0 !important; float: none !important; }
  .page-products .products-grid .product-item .action.tocart { font-size: 14px !important; padding: 8px 16px !important; }
  .page-wrapper > .page-main { padding-bottom: 40px !important; }
}

/* Filter card */
.page-products .block.filter {
  background: #f4f7fc;
  border: 1px solid #e3e8f0;
  border-radius: 16px;
  padding: 20px 20px 8px;
}
@media (min-width: 769px) {
.page-products .block.filter .filter-title strong,
.page-products .block.filter .filter-subtitle {
  display: block;
  padding: 0 !important;
  margin: 0 0 8px !important;
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #161c27 !important;
}
}
.page-products .filter-options { margin: 0 !important; border-top: 0 !important; }
@media (min-width: 769px) {
  .page-products .block.filter .filter-title,
  .page-products .block.filter .filter-subtitle,
  .page-products .block.filter .filter-content > strong { border: 0 !important; padding-bottom: 0 !important; margin-bottom: 10px !important; }
}
/* Phones: a neat "Shop By" filter button, sort on the right */
@media (max-width: 768px) {
  .page-products .block.filter .filter-title strong {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px !important;
    margin: 0 !important;
    border: 1px solid #c9d2e0 !important;
    border-radius: 30px !important;
    background: #ffffff !important;
    box-shadow: none !important;
    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #161c27 !important;
    line-height: 1 !important;
  }
  .page-products .block.filter .filter-title strong:before {
    content: "";
    width: 16px;
    height: 16px;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232667dc' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6h16M7 12h10M10 18h4'/%3E%3C/svg%3E");
  }
  .page-products .block.filter .filter-subtitle { display: none !important; }
  /* No more filters to offer (e.g. one product left): hide the Shop By button instead of opening an empty panel */
  .page-products .block.filter.filter-no-options .filter-title strong { display: none !important; }
  .page-products .block.filter.filter-no-options .filter-title,
  .page-products .block.filter.filter-no-options .filter-title:before { display: none !important; }

  /* Filter panel open: full-screen sheet with a header bar and a round close button */
  .page-products .filter.active .filter-title {
    position: fixed !important;
    top: 0; left: 0; right: 0;
    height: 64px !important;
    background: transparent !important;
    border: 0 !important;
    z-index: 6;
    margin: 0 !important;
    pointer-events: none;   /* clicks pass through, except on the close button */
  }
  .page-products .block.filter.active .filter-subtitle {
    display: block !important;
    position: fixed !important;
    top: 0; left: 0; right: 0;
    z-index: 4;
    height: 64px;
    box-sizing: border-box;
    line-height: 64px !important;
    padding: 0 20px !important;
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #e3e8f0 !important;
    background: #ffffff !important;
    font-family: 'Space Grotesk', Inter, sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #161c27 !important;
  }
  .page-products .filter.active .filter-title strong {
    left: auto !important;
    right: 14px !important;
    top: 12px !important;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    justify-content: center;
    border-radius: 50% !important;
    background: #f4f7fc center / 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a3140' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") !important;
    border: 0 !important;
    font-size: 0 !important;
    color: transparent !important;
    z-index: 5;
    pointer-events: auto;
    cursor: pointer;
  }
  .page-products .filter.active .filter-title strong:before,
  .page-products .filter.active .filter-title strong:after { display: none !important; content: none !important; }
  /* Applied filters ("Now shopping by") inside the open panel */
  .page-products .filter.active .filter-current { padding: 0 20px; }
  .page-products .filter.active .filter-title,
  .page-products .block.filter.active .filter-subtitle,
  .page-products .filter.active .filter-options { width: auto !important; max-width: 100vw; box-sizing: border-box !important; }
  .page-products .filter.active .filter-options-content a { margin: 0 !important; }
  .page-products .filter.active .filter-options {
    top: 64px !important;
    padding: 4px 20px 24px !important;
    background: #ffffff !important;
    z-index: 3;
    border: 0 !important;
  }
  .page-products .filter.active .filter-options-title { padding-right: 32px !important; }
  .page-products .toolbar-products { justify-content: space-between; }
  .page-products .toolbar-sorter .sorter-label { display: none; }
}
.page-products .filter-options-item { border: 0 !important; border-bottom: 1px solid #e3e8f0 !important; padding: 0 !important; }
.page-products .filter-options-item:last-child { border-bottom: 0 !important; }
.page-products .filter-options-title {
  padding: 14px 24px 14px 0 !important;
  border: 0 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  color: #161c27 !important;
  letter-spacing: 0;
}
.page-products .filter-options-title:after { right: 0 !important; color: #4f5a6d; }
.page-products .filter-options-content { padding: 0 0 12px !important; margin: 0 !important; }
.page-products .filter-options-content a { display: block; padding: 6px 8px !important; margin: 0 -8px; border-radius: 8px; color: #2a3140 !important; font-size: 14px; }
.page-products .filter-options-content a:hover { background: #eef3ff !important; color: #2667dc !important; text-decoration: none !important; }
.page-products .filter-options-content .count { color: #8a93a3 !important; }
.page-products .filter-current .item, .page-products .filter-actions { font-size: 14px; }

/* Toolbar: view buttons, item count, sort */
.page-products .toolbar-products { margin-bottom: 24px !important; padding: 0 !important; display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.page-products .toolbar-products .modes-label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.page-products .toolbar-products .modes-mode > span { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (min-width: 769px) { .page-products .toolbar-products .modes { display: flex; gap: 6px; margin: 0 !important; float: none !important; } }
@media (max-width: 768px) { .page-products .toolbar-products .modes { display: none !important; } }
.page-products .toolbar-products .modes-mode {
  width: 38px; height: 38px; line-height: 38px; text-align: center;
  background: #ffffff !important; border: 1px solid #e3e8f0 !important; border-radius: 10px !important;
  box-shadow: none !important; margin: 0 !important; padding: 0 !important; float: none !important;
}
.page-products .toolbar-products .modes-mode:before { color: #4f5a6d !important; font-size: 18px !important; line-height: 36px !important; }
.page-products .toolbar-products .modes-mode.active { background: #eef3ff !important; border-color: #c9d7f5 !important; }
.page-products .toolbar-products .modes-mode.active:before,
.page-products .toolbar-products .modes-mode:hover:before { color: #2667dc !important; }
.page-products .toolbar-amount { color: #4f5a6d; font-size: 14px; padding: 0 !important; margin: 0 !important; float: none !important; line-height: 38px; }
.page-products .toolbar-sorter { margin-left: auto !important; float: none !important; padding: 0 !important; display: flex; align-items: center; gap: 10px; }
.page-products .toolbar-sorter .sorter-label { font-size: 14px; color: #4f5a6d; }
.page-products .toolbar-sorter .sorter-options { height: 40px; font-size: 14px !important; margin: 0 !important; }
.page-products .toolbar-sorter .sorter-action:before { color: #2667dc !important; }
.page-products .toolbar-products .pages .item { font-size: 14px; }
/* Only show the bottom toolbar's page numbers, not a second sort bar */
.page-products .products.wrapper ~ .toolbar-products .modes,
.page-products .products.wrapper ~ .toolbar-products .toolbar-sorter { display: none !important; }

/* Product grid: neat columns, square image tiles */
.page-products .products-grid .product-items,
.block-products-list .products-grid .product-items,
.widget .products-grid .product-items {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 36px 24px;
  margin: 0 !important;
  padding: 0 !important;
}
.page-products .products-grid .product-item,
.block-products-list .products-grid .product-item,
.widget .products-grid .product-item {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 15px !important;
}
.products-grid .product-item-info { width: 100% !important; }
.products-grid .product-image-container { display: block !important; width: 100% !important; max-height: none !important; }
.products-grid .product-image-wrapper {
  display: block !important;
  height: auto !important;
  padding-bottom: 0 !important;
  aspect-ratio: 1 / 1;
  background: #f4f7fc;
  border-radius: 16px;
  overflow: hidden;
}
.products-grid .product-image-photo {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain;
  margin: 0 !important;
  padding: 10px;
  box-sizing: border-box;
}
.products-grid .product-item-details { padding-top: 14px; }
.products-grid .product-item-name { margin: 0 0 6px !important; padding-right: 0 !important; font-size: 15px !important; line-height: 1.4 !important; }
.products-grid .product-item-link {
  font-weight: 500 !important;
  color: #161c27 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.products-grid .product-item-link:hover { color: #2667dc !important; text-decoration: none !important; }
.products-grid .product-item .price-box { margin: 0 0 4px !important; }
.products-grid .product-item .price { font-size: 16px !important; font-weight: 700 !important; color: #161c27; }

@media (max-width: 768px) {
  .page-products .page-title-wrapper .page-title, .page-products h1.page-title { font-size: 30px !important; }
  .page-products .products-grid .product-items,
  .block-products-list .products-grid .product-items,
  .widget .products-grid .product-items { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .page-products .block.filter { background: transparent; border: 0; padding: 0; }
}

/* ---------- Product page ---------- */
/* Gallery: soft rounded tile */
.catalog-product-view .product.media .gallery-placeholder,
.catalog-product-view .product.media .fotorama__stage {
  background: #f4f7fc;
  border-radius: 24px;
  overflow: hidden;
}
.catalog-product-view .fotorama__nav__frame { border-radius: 10px; overflow: hidden; }
.catalog-product-view .fotorama__thumb-border { border-color: #2667dc !important; border-radius: 10px; }

/* Title, reviews link */
.catalog-product-view .page-title-wrapper.product .page-title {
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.7px;
  color: #161c27;
  margin: 0 0 10px !important;
}
.catalog-product-view .product-info-main .product-reviews-summary { margin: 0 0 18px !important; }
.catalog-product-view .product-info-main .reviews-actions a { color: #2667dc !important; font-size: 14px; }

/* Price, stock, SKU */
.catalog-product-view .product-info-main .product-info-price {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  border-bottom: 1px solid #e3e8f0 !important;
  padding-bottom: 22px !important;
  margin-bottom: 24px !important;
}
.catalog-product-view .product-info-main .product-info-price .price-box { order: 1; padding: 0 !important; margin: 0 !important; width: auto !important; display: block !important; }
.catalog-product-view .product-info-main .product-info-price .price {
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-size: 34px !important;
  font-weight: 700 !important;
  color: #161c27 !important;
}
.catalog-product-view .product-info-main .product-info-stock-sku {
  order: 2;
  display: flex !important;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  padding: 0 !important;
  text-align: left !important;
  width: auto !important;
}
.catalog-product-view .product-info-main .stock {
  margin: 0 !important;
  padding: 5px 12px !important;
  border-radius: 20px;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: none !important;
}
.catalog-product-view .product-info-main .stock.available { background: #e7f6ec; color: #1d7a3e !important; }
.catalog-product-view .product-info-main .stock.unavailable { background: #fdecec; color: #b42318 !important; }
.catalog-product-view .product-info-main .product.attribute.sku { margin: 0 !important; font-size: 12px; color: #8a93a3; }
.catalog-product-view .product-info-main .product.attribute.sku .type:after { content: ":"; }

/* Quantity + Add to Cart on one row */
.catalog-product-view .box-tocart { margin: 0 0 18px !important; }
.catalog-product-view .box-tocart .fieldset {
  display: flex !important;
  align-items: flex-end;
  gap: 12px;
  margin: 0 !important;
}
.catalog-product-view .box-tocart .field.qty { display: block !important; padding: 0 !important; margin: 0 !important; }
.catalog-product-view .box-tocart .field.qty .label { display: block; font-size: 13px !important; font-weight: 600 !important; color: #4f5a6d; margin: 0 0 6px !important; }
.catalog-product-view .box-tocart .input-text.qty {
  width: 76px !important;
  min-width: 0 !important;
  height: 54px !important;
  padding: 0 !important;
  text-align: center;
  font-size: 16px !important;
  font-weight: 600;
  border: 1px solid #c9d2e0 !important;
  border-radius: 14px !important;
}
.catalog-product-view .box-tocart .actions { display: block !important; flex: 1 1 auto; padding: 0 !important; }
.catalog-product-view .box-tocart .action.tocart {
  width: 100% !important;
  height: 54px !important;
  border-radius: 30px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  padding: 0 24px !important;
  margin: 0 !important;
  box-shadow: 0 8px 20px rgba(38, 103, 220, .25);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.catalog-product-view .box-tocart .action.tocart:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(38, 103, 220, .32); }

/* Wish list / compare: small outline pills, normal case */
.catalog-product-view .product-social-links { margin: 0 0 24px !important; }
.catalog-product-view .product-addto-links { display: flex !important; flex-wrap: wrap; gap: 10px; margin: 0 !important; }
.catalog-product-view .product-addto-links .action,
.catalog-product-view .product-social-links .action.mailto {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 8px 16px !important;
  margin: 0 !important;
  border: 1px solid #e3e8f0;
  border-radius: 30px;
  background: #ffffff;
  color: #2a3140 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
}
.catalog-product-view .product-addto-links .action:before,
.catalog-product-view .product-social-links .action.mailto:before { color: #2667dc !important; font-size: 16px !important; margin: 0 !important; }
.catalog-product-view .product-addto-links .action:hover,
.catalog-product-view .product-social-links .action.mailto:hover { border-color: #2667dc; color: #2667dc !important; }

/* Trust panel under the buttons */
.catalog-product-view .product-info-main .product-social-links::after {
  content: "\2713 \00a0\00a0 Secure checkout with Stripe\A \2713 \00a0\00a0 Shipping Australia-wide and worldwide\A \2713 \00a0\00a0 Every purchase supports an independent seller";
  display: block;
  white-space: pre-line;
  margin-top: 20px;
  padding: 16px 20px;
  background: #f4f7fc;
  border: 1px solid #e3e8f0;
  border-radius: 16px;
  font-size: 14px;
  line-height: 2;
  color: #3b4558;
}

/* Short description */
.catalog-product-view .product.attribute.overview { margin: 0 0 24px !important; font-size: 15px; line-height: 1.7; color: #3b4558; }

/* "Sold by" seller card */
.catalog-product-view .wk-seller-block.wk-block {
  margin: 0 0 24px !important;
  padding: 20px 22px !important;
  border: 1px solid #e3e8f0 !important;
  border-radius: 16px;
  background: #ffffff;
}
.catalog-product-view .wk-seller-block .wk-block-font-bold-up {
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #8a93a3 !important;
}
.catalog-product-view .wk-seller-block .wk-block-title-css a {
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #161c27 !important;
}
.catalog-product-view .wk-seller-block .wk-block-title-css a:hover { color: #2667dc !important; }
.catalog-product-view .wk-seller-block .wk-seller-product-count {
  margin: 4px 0 14px !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #4f5a6d !important;
}
.catalog-product-view .wk-seller-block .wk-ask-question-link,
.catalog-product-view .wk-seller-block .wk-ask-question-link a {
  display: inline-block;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #2667dc !important;
  text-decoration: none !important;
}
.catalog-product-view .wk-seller-block .wk-ask-question-link {
  padding: 8px 18px !important;
  border: 1.5px solid #2667dc;
  border-radius: 30px;
}
.catalog-product-view .wk-seller-block .wk-ask-question-link:hover { background: #eef3ff; }

/* Tab content text and "More Information" table */
.product.info.detailed .product.data.items > .item.content { font-size: 15px; line-height: 1.7; color: #3b4558; }
.product.info.detailed .additional-attributes { width: auto; max-width: 640px; }
.product.info.detailed .additional-attributes th,
.product.info.detailed .additional-attributes td { padding: 12px 20px 12px 0 !important; border-bottom: 1px solid #eef1f6; font-size: 14px; }
.product.info.detailed .additional-attributes th { color: #4f5a6d; font-weight: 600; }

/* Related / upsell products use the same grid */
.catalog-product-view .products-grid .product-items {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 36px 24px;
  margin: 0 !important;
}
.catalog-product-view .products-grid .product-item { width: auto !important; margin: 0 !important; padding: 0 !important; }
.catalog-product-view .block.related .block-title strong,
.catalog-product-view .block.upsell .block-title strong {
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #161c27;
}

@media (min-width: 769px) {
  .catalog-product-view .product.media { width: 55% !important; }
  .catalog-product-view .product-info-main { width: 40% !important; }
  .catalog-product-view .product.info.detailed { margin-top: 56px; }
}
@media (max-width: 768px) {
  .catalog-product-view .page-title-wrapper.product .page-title { font-size: 28px !important; }
  .catalog-product-view .product-info-main .product-info-price .price { font-size: 28px !important; }
  .catalog-product-view .product-info-main .product-info-stock-sku { margin-left: 0; }
  /* Mobile: tabs become stacked sections */
  .product.info.detailed .product.data.items { margin-left: 0 !important; margin-right: 0 !important; }
  .product.info.detailed .product.data.items > .item.title > .switch {
    border-top: 1px solid #e3e8f0 !important;
    background: transparent !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #161c27 !important;
    padding: 16px 4px !important;
  }
  .product.info.detailed .product.data.items > .item.content { padding: 8px 4px 24px !important; border: 0 !important; margin: 0 !important; }
  .product.info.detailed .product.data.items > .item.title > .switch { position: relative; }
  .product.info.detailed .product.data.items > .item.title > .switch:after {
    position: absolute !important;
    right: 4px !important;
    top: 50% !important;
    margin-top: 0 !important;
    transform: translateY(-50%);
  }
  .catalog-product-view .product-info-main .product-info-price { margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
  .catalog-product-view .product-info-main .product-social-links { text-align: left !important; }
}

/* ---------- Product review form (Reviews tab) ---------- */
.review-form {
  max-width: 640px !important;
  background: #ffffff;
  border: 1px solid #e3e8f0;
  border-radius: 20px;
  padding: 28px !important;
  box-sizing: border-box;
}
.review-form .fieldset { margin: 0 0 8px !important; padding: 0 !important; border: 0 !important; }
.review-form .legend.review-legend {
  display: block;
  width: 100%;
  margin: 0 0 22px !important;
  padding: 0 0 18px !important;
  border-bottom: 1px solid #eef1f6 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #8a93a3 !important;
}
.review-form .legend.review-legend span { display: block; margin-bottom: 4px; }
.review-form .legend.review-legend strong {
  display: block;
  margin: 0 !important;
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: -0.3px;
  text-transform: none;
  color: #161c27 !important;
}
.review-form .field { margin: 0 0 16px !important; }
.review-form .field > .label {
  display: block;
  margin: 0 0 6px !important;
  padding: 0 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #2a3140 !important;
}
.review-form input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]) {
  width: 100% !important;
  height: 46px !important;
  padding: 0 14px !important;
  border: 1px solid #c9d2e0 !important;
  border-radius: 12px !important;
  font-size: 15px !important;
  box-sizing: border-box;
}
.review-form textarea {
  width: 100% !important;
  min-height: 140px;
  padding: 12px 14px !important;
  border: 1px solid #c9d2e0 !important;
  border-radius: 14px !important;
  font-size: 15px !important;
  line-height: 1.5;
  box-sizing: border-box;
  resize: vertical;
}
.review-form input:focus, .review-form textarea:focus {
  border-color: #2667dc !important;
  box-shadow: 0 0 0 4px rgba(76, 139, 255, .18) !important;
  outline: none !important;
}
.review-form .review-field-ratings .label { font-size: 13px !important; font-weight: 600 !important; }
.review-form .review-control-vote label:before { color: #e3e8f0 !important; }
.review-form .review-control-vote label:hover:before,
.review-form .review-control-vote input:checked + label:before { color: #f5a623 !important; }
.review-form .actions-toolbar,
.review-form .review-form-actions { margin: 8px 0 0 !important; padding: 0 !important; }
.review-form .actions-toolbar .primary { float: none !important; }
.review-form .action.submit.primary {
  height: 48px !important;
  padding: 0 28px !important;
  margin: 0 !important;
  border-radius: 30px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}
@media (max-width: 768px) {
  .review-form { padding: 20px !important; border-radius: 18px; }
  .review-form .action.submit.primary { width: 100% !important; }
}

/* ---------- List view: each product a card row that lifts on hover ---------- */
.products-list .product-items { margin: 0 !important; padding: 0 !important; display: flex !important; flex-direction: column; gap: 16px; }
.products-list .product-item { width: 100% !important; margin: 0 !important; padding: 0 !important; font-size: 15px !important; }
.products-list .product-item-info {
  display: flex !important;
  align-items: center;
  gap: 28px;
  width: 100% !important;
  padding: 18px !important;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #e3e8f0;
  border-radius: 20px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.products-list .product-item-info:hover {
  border-color: #c9d7f5;
  box-shadow: 0 14px 34px rgba(22, 28, 39, .10);
  transform: translateY(-2px);
}
.products-list .product-item-photo { flex: 0 0 180px; width: 180px !important; display: block !important; padding: 0 !important; margin: 0 !important; vertical-align: middle; }
.products-list .product-image-container { display: block !important; width: 180px !important; max-height: none !important; border-radius: 16px; overflow: hidden; }
.products-list .product-image-wrapper {
  display: block !important;
  height: auto !important;
  padding-bottom: 0 !important;
  aspect-ratio: 1 / 1;
  background: #f4f7fc;
  border-radius: 16px;
  overflow: hidden;
}
.products-list .product-image-photo {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
  margin: 0 !important;
}
.products-list .product-item-details { flex: 1 1 auto; min-width: 0; padding: 0 !important; }
.products-list .product-item-name { margin: 0 0 8px !important; font-size: 18px !important; line-height: 1.35 !important; }
.products-list .product-item-link { font-weight: 600 !important; color: #161c27 !important; }
.products-list .product-item-link:hover { color: #2667dc !important; text-decoration: none !important; }
.products-list .price-box { margin: 0 0 10px !important; }
.products-list .price { font-size: 18px !important; font-weight: 700 !important; color: #161c27; }
.products-list .product-item-description {
  margin: 0 0 14px !important;
  font-size: 14px;
  line-height: 1.6;
  color: #4f5a6d;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.products-list .product-item-inner { position: static !important; display: block !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; background: transparent !important; }
.products-list .product-item-actions { display: flex !important; align-items: center; gap: 8px; margin: 0 !important; }
.products-list .product-item-actions .actions-primary,
.products-list .product-item-actions .actions-secondary { display: flex !important; align-items: center; gap: 4px; margin: 0 !important; padding: 0 !important; float: none !important; }
.products-list .product-item .action.tocart { font-size: 15px !important; padding: 10px 22px !important; height: auto; }
.products-list .product-item .action.towishlist:before,
.products-list .product-item .action.tocompare:before { color: #4f5a6d !important; }
.products-list .product-item .action.towishlist:hover:before,
.products-list .product-item .action.tocompare:hover:before { color: #2667dc !important; }
@media (max-width: 768px) {
  .products-list .product-item-info { gap: 16px; padding: 14px !important; align-items: flex-start; }
  .products-list .product-item-photo, .products-list .product-image-container { flex-basis: 110px; width: 110px !important; }
  .products-list .product-item-name { font-size: 16px !important; }
}

/* =====================================================================
   PRODUCT CARDS – one look for grid and list, everywhere
   (category pages, search, homepage, seller pages, related products)
   ===================================================================== */
/* Shared card */
.products-grid .product-item-info,
.products-list .product-item-info {
  position: relative;
  background: #ffffff !important;
  border: 1px solid #e3e8f0 !important;
  border-radius: 20px !important;
  box-shadow: none !important;
  margin: 0 !important;
  box-sizing: border-box;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.products-grid .product-item-info:hover,
.products-grid .product-item-info.active,
.products-list .product-item-info:hover {
  border-color: #c9d7f5 !important;
  box-shadow: 0 16px 36px rgba(22, 28, 39, .10) !important;
  transform: translateY(-3px);
}

/* Grid card layout: photo, name, price, actions – always visible, no drop-down */
.products-grid .product-item-info {
  display: flex !important;
  flex-direction: column;
  width: 100% !important;
  height: 100%;
  padding: 12px 12px 16px !important;
}
.products-grid .product-item { display: flex; }
.products-grid .product-item-photo,
.products-list .product-item-photo { display: block !important; line-height: 0; font-size: 0; height: auto !important; margin: 0 !important; padding: 0 !important; }
.products-grid .product-image-container,
.products-list .product-image-container,
.products-grid .product-image-container[class*="product-image-container-"],
.products-list .product-image-container[class*="product-image-container-"] {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;   /* Magento gives each photo box a 240x300 shape; the tile inside is square */
  padding: 0 !important;
}
.products-grid .product-image-wrapper,
.products-list .product-image-wrapper {
  display: block !important;
  position: relative !important;
  height: auto !important;
  padding-bottom: 0 !important;
  aspect-ratio: 1 / 1;
  background: #f4f7fc;
  border-radius: 14px;
  overflow: hidden;
}
.products-grid .product-image-photo,
.products-list .product-image-photo {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
  margin: 0 !important;
  transition: transform .3s ease;
}
.products-grid .product-item-info:hover .product-image-photo,
.products-list .product-item-info:hover .product-image-photo { transform: scale(1.04); }
.products-grid .product-item-details {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 14px 4px 0 !important;
  margin: 0 !important;
}
.products-grid .product-item-name { margin: 0 0 6px !important; font-size: 15px !important; line-height: 1.4 !important; padding: 0 !important; }
.products-grid .price-box { margin: 0 0 12px !important; }
.products-grid .product-item-inner {
  position: static !important;
  display: block !important;
  margin: auto 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  left: auto !important;
  right: auto !important;
}
.products-grid .product-item-actions {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 !important;
}
.products-grid .product-item-actions .actions-primary { flex: 1 1 auto; display: block !important; margin: 0 !important; }
.products-grid .product-item-actions .actions-primary .action.tocart {
  width: 100%;
  height: 40px;
  padding: 0 14px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border-radius: 22px !important;
  line-height: 1 !important;
  white-space: nowrap;
}
.products-grid .product-item-actions .actions-secondary,
.products-list .product-item-actions .actions-secondary {
  display: flex !important;
  gap: 4px;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}
.products-grid .product-item-actions .actions-secondary .action,
.products-list .product-item-actions .actions-secondary .action {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #e3e8f0;
  background: #ffffff;
  margin: 0 !important;
}
.products-grid .product-item-actions .actions-secondary .action:before,
.products-list .product-item-actions .actions-secondary .action:before { color: #4f5a6d !important; font-size: 16px !important; margin: 0 !important; }
.products-grid .product-item-actions .actions-secondary .action:hover,
.products-list .product-item-actions .actions-secondary .action:hover { border-color: #2667dc; background: #eef3ff; }
.products-grid .product-item-actions .actions-secondary .action:hover:before,
.products-list .product-item-actions .actions-secondary .action:hover:before { color: #2667dc !important; }
.products-grid .product-item-actions .actions-secondary .action > span,
.products-list .product-item-actions .actions-secondary .action > span { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* List card: tighten the height and line things up */
.products-list .product-item-info { align-items: center !important; padding: 16px !important; }
.products-list .product-item-photo { align-self: center; }
.products-list .product-item-details { align-self: center; }
.products-list .product-item-inner { margin-top: 4px !important; }

@media (max-width: 768px) {
  .products-grid .product-item-info { padding: 8px 8px 12px !important; border-radius: 16px !important; }
  .products-grid .product-item-actions { flex-wrap: wrap; }
  .products-grid .product-item-actions .actions-primary .action.tocart { height: 36px; font-size: 13px !important; }
  .products-grid .product-item-actions .actions-secondary .action { width: 34px; height: 34px; }
}

/* Grid cards: nothing may change size on hover (stops rows below from jumping) */
.page-products .products-grid .product-item .product-item-info,
.page-products .products-grid .product-item .product-item-info:hover,
.page-products .products-grid .product-item .product-item-info.active,
.products-grid .product-item .product-item-info:hover,
.products-grid .product-item .product-item-info.active {
  margin: 0 !important;
  padding: 12px 12px 16px !important;
  border-width: 1px !important;
  z-index: auto;
}
/* Buttons always shown in the card, never as a hover-only drop-down */
.page-products .products-grid .product-item .product-item-info .product-item-inner,
.page-products .products-grid .product-item .product-item-info:hover .product-item-inner,
.products-grid .product-item .product-item-info .product-item-inner,
.products-grid .product-item .product-item-info:hover .product-item-inner {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  height: auto !important;
  margin: auto 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
/* Room so the top border and hover lift are never clipped */
.page-products .products.wrapper,
.products-grid .product-items,
.products-grid .product-item { overflow: visible !important; }
.page-products .products-grid .product-items { padding-top: 6px !important; }
/* Empty review summaries and swatch placeholders take up space on cards */
.products-grid .product-reviews-summary.empty,
.products-grid .product-reviews-summary:not(:has(.rating-result)) { display: none !important; }
.products-grid .product-item-details > *:empty { display: none !important; }

/* Desktop with a mouse: buttons sit at the bottom of each grid card and fade in on hover.
   Their space is always kept, so cards never change size and rows never jump.
   Touch screens (no hover) keep the buttons visible. */
@media (hover: hover) and (min-width: 769px) {
  .products-grid .product-item .product-item-info .product-item-inner,
  .page-products .products-grid .product-item .product-item-info .product-item-inner {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(4px);
    pointer-events: none;
    transition: none !important;   /* disappear instantly when the mouse leaves */
  }
  .products-grid .product-item .product-item-info .product-item-inner *,
  .products-list .product-item-info .product-item-actions * { transition: none !important; }
  .products-grid .product-item .product-item-info:hover .product-item-inner,
  .page-products .products-grid .product-item .product-item-info:hover .product-item-inner,
  .products-grid .product-item .product-item-info:focus-within .product-item-inner {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none;
    pointer-events: auto;
    transition: opacity .18s ease, transform .18s ease !important;   /* fade in only */
  }
}

/* List view (mouse users): buttons fade in on hover. Their space is kept,
   so the card never changes height and nothing below moves. */
@media (hover: hover) and (min-width: 769px) {
  /* Buttons sit at the bottom of the card and fade in on hover.
     The description is moved above them so the hidden buttons leave no gap in the middle. */
  .products-list .product-item-inner { display: flex !important; flex-direction: column; }
  .products-list .product-item-inner .product-item-description { order: -1; margin: 0 0 12px !important; }
  .products-list .product-item-info .product-item-actions {
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    pointer-events: none;
    transition: none;
  }
  .products-list .product-item-info:hover .product-item-actions,
  .products-list .product-item-info:focus-within .product-item-actions {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: opacity .18s ease, transform .18s ease;
  }
}

/* ---------- Pagination and "Show 10 per page" ---------- */
.toolbar-products .pages { float: none !important; margin: 0 !important; order: 1; }
.toolbar-products .limiter { float: none !important; display: flex !important; align-items: center; gap: 10px; margin: 0 0 0 auto !important; font-size: 14px; color: #4f5a6d; order: 2; }
.products.wrapper ~ .toolbar-products,
.toolbar-products:last-of-type:not(:first-of-type) {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px !important;
  padding-top: 20px !important;
  border-top: 1px solid #e3e8f0;
}
.pages .items { display: flex !important; align-items: center; gap: 6px; margin: 0 !important; padding: 0 !important; font-size: 0; letter-spacing: 0; }
.pages .item { margin: 0 !important; font-size: 14px; line-height: 1; display: block !important; }
.pages .item > .page,
.pages .item > strong.page,
.pages .action.next,
.pages .action.previous {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px !important;
  box-sizing: border-box;
  border: 1px solid #e3e8f0 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: #2a3140 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  transition: border-color .15s, background .15s, color .15s;
}
.pages .item > a.page:hover,
.pages .action.next:hover,
.pages .action.previous:hover { border-color: #2667dc !important; color: #2667dc !important; background: #eef3ff !important; }
.pages .item.current > strong.page,
.pages .item.current .page {
  background: #2667dc !important;
  border-color: #2667dc !important;
  color: #ffffff !important;
}
.pages .item .label { display: none !important; }
.pages .action.next:before,
.pages .action.previous:before { font-size: 14px !important; color: inherit !important; margin: 0 !important; line-height: 1 !important; }
.pages .action > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pages-label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 768px) {
  .products.wrapper ~ .toolbar-products { justify-content: center; }
  .toolbar-products .limiter { margin: 0 !important; }
}

/* ---------- Product reviews list (Reviews tab) ---------- */
/* Desktop: reviews on the left, "write a review" form on the right */
@media (min-width: 1024px) {
  .product.info.detailed #reviews.item.content:has(.block.review-add) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 36px;
    align-items: start;
  }
  .product.info.detailed #reviews.item.content > * { min-width: 0; margin: 0 !important; }
  .product.info.detailed #reviews .block.review-add { grid-column: 2; grid-row: 1; position: sticky; top: 24px; }
  .product.info.detailed #reviews #product-review-container { grid-column: 1; grid-row: 1; }
  .product.info.detailed #reviews .review-form { max-width: none !important; }
}
.block.review-list { margin: 0 !important; }
.block.review-list .block-title { margin: 0 0 18px !important; border: 0 !important; }
.block.review-list .block-title strong {
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #161c27;
}
.block.review-list .review-items { margin: 0 !important; padding: 0 !important; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.block.review-list .review-item {
  margin: 0 !important;
  padding: 22px 24px !important;
  border: 1px solid #e3e8f0 !important;
  border-radius: 18px;
  background: #ffffff;
}
.block.review-list .review-title {
  margin: 0 0 8px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #161c27 !important;
}
.block.review-list .review-ratings { margin: 0 0 10px !important; display: flex; gap: 14px; flex-wrap: wrap; }
.block.review-list .review-ratings .rating-summary { display: flex !important; align-items: center; gap: 6px; }
.block.review-list .review-ratings .rating-label { font-size: 12px; color: #8a93a3; padding: 0 !important; }
.block.review-list .rating-summary .rating-result > span:before,
.block.review-list .rating-summary .rating-result:before { }
.block.review-list .rating-result > span:before { color: #f5a623 !important; }
.block.review-list .rating-result:before { color: #e3e8f0 !important; }
.block.review-list .review-content {
  margin: 0 0 16px !important;
  font-size: 15px;
  line-height: 1.7;
  color: #3b4558;
  overflow-wrap: anywhere;   /* long words never stretch the page */
}
.block.review-list .review-details {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 !important;
  padding-top: 14px;
  border-top: 1px solid #eef1f6;
  font-size: 13px;
  color: #8a93a3;
}
.block.review-list .review-author { display: inline-flex; align-items: center; gap: 8px; margin: 0 !important; }
.block.review-list .review-author:before {
  content: "";
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eef3ff center / 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232667dc' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E");
  flex: none;
}
.block.review-list .review-details-label { display: none; }
.block.review-list .review-details-value,
.block.review-list .review-author .review-details-value { font-size: 14px; font-weight: 600; color: #161c27; }
.block.review-list .review-date { margin: 0 !important; }
.block.review-list .review-date:before { content: "\00b7\00a0"; margin-right: 2px; }
.block.review-list .review-date .review-details-label { display: none; }
.block.review-list .review-date time,
.block.review-list .review-date .review-details-value { font-weight: 400; color: #8a93a3; font-size: 13px; }
.block.review-list .toolbar.review-toolbar { border: 0 !important; margin: 18px 0 0 !important; padding: 0 !important; }
@media (max-width: 768px) {
  .block.review-list .review-item { padding: 18px !important; }
  .product.info.detailed #reviews .block.review-add { margin-top: 28px !important; }
}

/* Hide "Learn More" links in list view */
.products-list .action.more,
.products.list .action.more { display: none !important; }

.product-reviews-summary { margin-bottom: 15px; }
.product-reviews-summary .reviews-actions { font-size: 15px; }

.slick-slide img { display: block; }
.slick-slider { margin-bottom: 76px !important; font-size: 18px !important; }
.slick-dots { margin: 50px 0 0 0 !important; }


/* =====================================================================
   9. ACCOUNT PAGES AND SIDEBARS
   ===================================================================== */
.block-collapsible-nav .item.current a,
.block-collapsible-nav .item.current > strong,
.account-nav .item.current a,
.account-nav .item.current > strong {
  border-color: #4C8BFF !important;
  color: #1a5fb4 !important;
}
.block-collapsible-nav .item a:hover,
.account-nav .item a:hover { color: #4C8BFF !important; }

#block-collapsible-nav .nav.item.current > strong,
#block-collapsible-nav .nav.item.current > a {
  border-left-color: #4C8BFF !important;
  color: #1a5fb4 !important;
}
#block-collapsible-nav .nav.item > a:hover { color: #1a5fb4 !important; background: #f2f6fb; }

.loginmsg { margin-top: 1.5rem; }


/* =====================================================================
   10. SIGN IN, CREATE ACCOUNT, FORGOT / RESET PASSWORD
   Centred white cards on a soft blue-grey page
   ===================================================================== */
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) { background: #f4f7fc !important; }
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-wrapper { background: #f4f7fc; }
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main { padding-top: 40px !important; padding-bottom: 72px !important; }
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-title-wrapper { text-align: center !important; margin: 0 0 28px !important; width: 100%; }
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-title-wrapper .page-title {
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-size: 40px !important;
  font-weight: 700 !important;
  letter-spacing: -0.8px;
  line-height: 1.1 !important;
  color: #161c27;
  margin: 0 !important;
}
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .column.main { display: block !important; float: none !important; width: 100% !important; }

/* Card */
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .form-create-account,
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .form.password.forget,
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .form.password.reset,
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .form.contact,
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .form.form-orders-search,
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .login-container .block {
  background: #ffffff;
  border: 1px solid #e3e8f0;
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(22, 28, 39, .06);
  padding: 40px !important;
  box-sizing: border-box;
  float: none !important;
  margin: 0 auto !important;
  font-size: 15px !important;
  font-weight: 400 !important;
}
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .form-create-account { width: 100% !important; max-width: 600px !important; }
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .form.contact,
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .form.form-orders-search { width: 100% !important; max-width: 600px !important; min-width: 0 !important; }
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .fieldset > .field.note,
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .fieldset > .field.no-label { font-size: 15px !important; line-height: 1.6; color: #3b4558 !important; margin-bottom: 20px !important; }
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main textarea { width: 100% !important; min-height: 140px; padding: 12px 16px !important; border: 1px solid #c9d2e0 !important; border-radius: 14px !important; font-size: 15px !important; box-sizing: border-box; }
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main textarea:focus { border-color: #2667dc !important; box-shadow: 0 0 0 4px rgba(76, 139, 255, .18) !important; outline: none !important; }
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main select { appearance: none; background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f5a6d' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat !important; padding-right: 44px !important; }
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .form.password.forget,
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .form.password.reset { width: 100% !important; max-width: 520px !important; }

/* Section headings ("Your Details", "Account Details", "Already have an account?") */
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .fieldset > .legend,
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .login-container .block-title {
  display: block;
  width: 100%;
  margin: 0 0 20px !important;
  padding: 0 !important;
  border: 0 !important;
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #161c27 !important;
}
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .login-container .block-title strong { font-size: inherit !important; font-weight: inherit !important; }
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .fieldset { margin: 0 0 28px !important; padding: 0 !important; border: 0 !important; }
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .fieldset:last-of-type { margin-bottom: 8px !important; }
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .fieldset > .legend + br { display: none; }
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .fieldset:after { margin-top: 0 !important; }

/* Fields */
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .field { margin: 0 0 18px !important; }
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .field > .label,
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .fieldset > .field:not(.choice) > .label {
  display: block !important;
  float: none !important;
  width: auto !important;
  text-align: left !important;
  padding: 0 !important;
  margin: 0 0 7px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #2a3140 !important;
}
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .field > .control { float: none !important; width: 100% !important; }
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main input:not([type="checkbox"]):not([type="radio"]),
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main select {
  width: 100% !important;
  max-width: none !important;
  height: 48px !important;
  padding: 0 16px !important;
  border: 1px solid #c9d2e0 !important;
  border-radius: 12px !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  box-sizing: border-box;
  box-shadow: none !important;
  background: #ffffff;
  transition: border-color .15s, box-shadow .15s;
}
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main input:not([type="checkbox"]):not([type="radio"]):focus,
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main select:focus {
  border-color: #2667dc !important;
  box-shadow: 0 0 0 4px rgba(76, 139, 255, .18) !important;
  outline: none !important;
}
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .field.choice { display: flex; align-items: center; gap: 10px; margin: 6px 0 18px !important; }
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .field.choice .label { margin: 0 !important; font-size: 14px !important; font-weight: 500 !important; color: #3b4558 !important; padding: 0 !important; }
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main input[type="checkbox"], body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main input[type="radio"] { width: 18px; height: 18px; margin: 0 !important; accent-color: #2667dc; }
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .field .note,
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .field-tooltip + .note,
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .profileurl + .note { font-size: 13px !important; color: #4f5a6d !important; margin-top: 6px !important; line-height: 1.5; }
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main div.mage-error, body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .field-error { font-size: 13px !important; color: #b42318 !important; margin-top: 6px !important; }
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main input.mage-error { border-color: #e0807a !important; }

/* Password strength bar */
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .password-strength-meter {
  margin-top: 8px !important;
  padding: 8px 12px !important;
  border-radius: 10px;
  background: #f4f7fc !important;
  font-size: 13px !important;
  color: #4f5a6d;
}
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .password-strength-meter-container { margin-top: 0 !important; }

/* "Would you like to sell on merchace?" box */
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main #wantptr {
  margin: 4px 0 22px !important;
  padding: 18px 20px !important;
  background: #eef3ff;
  border: 1px solid #c9d7f5;
  border-radius: 16px;
  text-align: left !important;
  width: auto !important;
}
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main #wantptr label,
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main #wantptr > .label { display: block; text-align: left !important; margin: 0 0 10px !important; font-size: 15px !important; font-weight: 600 !important; color: #161c27 !important; }
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main #wantptr .control { display: flex !important; justify-content: flex-start !important; align-items: center; gap: 18px; margin: 0 !important; }
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main #wantptr .control label { display: inline-flex; align-items: center; gap: 8px; margin: 0 !important; font-weight: 500 !important; }
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .profileurl { margin: 0 0 18px !important; }
#wantptr .message.success,
#wk-mp-become-seller-box-wrapper .message { margin-top: 10px !important; font-size: 14px !important; }

/* Main buttons: full width */
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .actions-toolbar {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  margin: 8px 0 0 !important;
  padding: 0 !important;
}
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .actions-toolbar > .primary,
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .actions-toolbar > .secondary { float: none !important; width: 100% !important; margin: 0 !important; text-align: center; }
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .actions-toolbar .action.primary,
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .actions-toolbar .action.submit,
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .actions-toolbar .action.login {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  box-sizing: border-box;
  width: 100% !important;
  height: 52px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  border-radius: 30px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
}
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .actions-toolbar .secondary a,
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .actions-toolbar .action.remind { font-size: 14px; font-weight: 600; color: #2667dc !important; }
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .fieldset:after,
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .fieldset > .required-entry-note,
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .required-entry-note { font-size: 12px !important; color: #8a93a3 !important; }

/* Captcha (forgot password) */
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .captcha-image { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .captcha-img { border-radius: 10px; border: 1px solid #e3e8f0; background: #ffffff; }
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main .captcha-reload {
  height: 40px !important;
  padding: 0 16px !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  border: 1px solid #c9d2e0 !important;
  color: #2a3140 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .form.password.forget > .fieldset > .field.note,
body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .form.password.forget .note { font-size: 15px !important; color: #3b4558 !important; margin-bottom: 18px !important; }

/* Sign in page: two cards side by side */
.customer-account-login .login-container {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto !important;
  align-items: stretch;
}
.customer-account-login .login-container:before,
.customer-account-login .login-container:after { display: none !important; }
.customer-account-login .login-container .block { width: auto !important; max-width: none !important; display: flex; flex-direction: column; }
.customer-account-login .block-customer-login .block-content > .field.note,
.customer-account-login .block-customer-login .fieldset > .field.note { font-size: 15px !important; color: #3b4558 !important; margin-bottom: 18px !important; }
/* "New to merchace?" card in brand blue */
.customer-account-login .login-container .block-new-customer {
  background: #2667dc radial-gradient(circle at 90% 10%, rgba(255,255,255,.16), transparent 50%) !important;
  border-color: #2667dc !important;
  color: #e6efff;
}
.customer-account-login .block-new-customer .block-title,
.customer-account-login .block-new-customer .block-title strong { color: #ffffff !important; }
.customer-account-login .block-new-customer .block-content p { font-size: 16px; line-height: 1.65; color: #e6efff; margin: 0 0 24px; }
.customer-account-login .block-new-customer .action.create.primary {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #2667dc !important;
}
.customer-account-login .block-new-customer .action.create.primary:hover { background: #e6efff !important; border-color: #e6efff !important; }

/* Phones */
@media (max-width: 768px) {
  body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-main { padding-top: 24px !important; padding-bottom: 48px !important; }
  body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .page-title-wrapper .page-title { font-size: 30px !important; }
  body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .form-create-account,
  body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .form.password.forget,
  body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .form.password.reset,
  body:is(.customer-account-login, .customer-account-create, .customer-account-forgotpassword, .customer-account-createpassword, .contact-index-index, .sales-guest-form) .login-container .block { padding: 26px 20px !important; border-radius: 20px; }
  .customer-account-login .login-container { grid-template-columns: 1fr; }
}


/* =====================================================================
   11. WEBKUL MARKETPLACE
   ===================================================================== */

/* --- Seller menu: active item --- */
[class*="wk-mp"] li.current > a,
[class*="wk-mp"] li.current > strong,
[class*="wk-mp"] li.active > a,
[class*="wk-mp"] li.active > strong,
.wk-mp-menu li.current > a,
.wk-mp-menu li.active > a {
  border-left-color: #4C8BFF !important;
  border-color: #4C8BFF !important;
  color: #1a5fb4 !important;
}

/* --- Sell (landing) page --- */
.wk-marketplace-label,
.wk-marketplace-label-about {
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-weight: 700 !important;
  font-style: normal !important;
  font-size: 40px !important;
  letter-spacing: -0.8px !important;
  line-height: 1.1 !important;
  color: #161c27;
  padding-top: 0 !important;
  margin-bottom: 28px !important;
  text-decoration: none;
}
.wk-mp-landing-about {
  margin-bottom: 31px;
  font-size: 22px;
  font-weight: 100 !important;
  padding-left: 73px;
  padding-right: 73px;
}
.wk-mp-label3 { border: 1px solid #000000 !important; background: #000000 !important; padding: 53px !important; color: #ffffff; }
.wk-mp-label3-container { margin-top: 179px !important; margin-bottom: 138px !important; width: 100%; }
.wk-mp-landing-sellers-wraper { border-radius: 47px !important; border: 1px solid #c2c2c2 !important; overflow: hidden; }
.wk-mp-landing-sellers-img1, .wk-mp-landing-sellers-img1 img,
.wk-mp-landing-sellers-img2, .wk-mp-landing-sellers-img2 img,
.wk-mp-landing-sellers-logo, .wk-mp-landing-sellers-logo img { border: none !important; }
.wk-mp-landing-sellers-details { text-transform: none !important; font-size: 15px !important; line-height: 1.4 !important; }

/* "Open Your Shop" button: one solid button */
.wk-mp-landing-button { margin: 27px; }
.wk-mp-landing-button,
.wk-mp-landing-button:visited {
  background: #4C8BFF !important;
  border: 1px solid #4C8BFF !important;
  color: #ffffff !important;
  border-radius: 25px !important;
  -webkit-tap-highlight-color: transparent;
}
.wk-mp-landing-button:hover,
.wk-mp-landing-button:focus,
.wk-mp-landing-button:active {
  background: #154c91 !important;
  border-color: #154c91 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}
.wk-mp-landing-button span,
.wk-mp-landing-button strong {
  background: transparent !important;
  color: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* --- Seller list (Browse shops) --- */
/* --- Browse shops (seller list) --- */
.marketplace-seller-sellerlist .page-main { padding-top: 32px !important; }
.marketplace-seller-sellerlist .wk-marketplace-label { text-align: center; }
/* Seller search box */
.marketplace-seller-sellerlist .column.main form:has(button) {
  display: flex !important;
  align-items: center;
  max-width: 640px;
  margin: 0 auto 48px !important;
  border: 2px solid #4C8BFF;
  border-radius: 30px;
  background: #ffffff;
  overflow: hidden;
  padding: 4px !important;
  transition: box-shadow .15s;
}
.marketplace-seller-sellerlist .column.main form:has(button):focus-within { box-shadow: 0 0 0 5px rgba(76, 139, 255, .2); }
.marketplace-seller-sellerlist .column.main form:has(button) input:not([type="hidden"]) {
  flex: 1 1 auto;
  width: auto !important;
  height: 46px !important;
  border: 0 !important;
  border-radius: 26px !important;
  padding: 0 18px !important;
  font-size: 15px !important;
  box-shadow: none !important;
  outline: none !important;
}
.marketplace-seller-sellerlist .column.main form:has(button) button {
  flex: none;
  height: 46px !important;
  padding: 0 26px !important;
  border: 0 !important;
  border-radius: 26px !important;
  background: #2667dc !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  margin: 0 !important;
}
/* Any wrapper boxes inside the search form become one flexible row */
.marketplace-seller-sellerlist .column.main form:has(button) *:has(input:not([type="hidden"])),
.marketplace-seller-sellerlist .column.main form:has(button) *:has(button) {
  display: flex !important;
  align-items: center;
  flex: 1 1 auto;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  float: none !important;
}
.marketplace-seller-sellerlist .column.main form:has(button) input:not([type="hidden"]) { flex: 1 1 auto; width: auto !important; min-width: 0 !important; padding: 0 18px !important; }
.marketplace-seller-sellerlist .column.main form:has(button) button { flex: none !important; width: auto !important; }
/* Room between the item count and "Start selling" */
.marketplace-seller-sellerlist .toolbar { clear: both; display: flow-root; margin-bottom: 72px !important; }
/* Shop cards */
.marketplace-seller-sellerlist .wk-mp-sellerlist-container,
.marketplace-seller-sellerlist .wk-mp-sellerlist-container > *:not(.wk-mp-sellerlist-wrap) { margin-left: 0 !important; padding-left: 0 !important; }
.marketplace-seller-sellerlist .wk-mp-sellerlist-container { margin-top: 0 !important; }
.wk-mp-sellerlist-container { padding-top: 0 !important; }
.wk-mp-sellerlist-container:has(> .wk-mp-sellerlist-wrap) {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.wk-mp-sellerlist-container .wk-mp-sellerlist-wrap {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center;
  gap: 18px;
  padding: 22px !important;
  background: #ffffff;
  border: 1px solid #e3e8f0 !important;
  border-radius: 20px !important;
  box-sizing: border-box;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.wk-mp-sellerlist-container .wk-mp-sellerlist-wrap:hover {
  border-color: #c9d7f5 !important;
  box-shadow: 0 14px 34px rgba(22, 28, 39, .08);
  transform: translateY(-2px);
}
.wk-sellerlist-divide1 { float: none !important; width: auto !important; flex: none; margin: 0 !important; }
.wk-sellerlist-divide1 img {
  width: 76px !important;
  height: 76px !important;
  border-radius: 50% !important;
  object-fit: cover;
  border: 3px solid #ffffff !important;
  box-shadow: 0 4px 12px rgba(22, 28, 39, .10);
}
.wk-sellerlist-divide2 {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  text-transform: none !important;
  line-height: 1.5;
  font-size: 14px;
  color: #4f5a6d;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.wk-sellerlist-divide2 a:not(.button):not(.action) {
  font-family: 'Space Grotesk', Inter, sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #161c27 !important;
  text-decoration: none !important;
}
.wk-sellerlist-divide2 a:not(.button):not(.action):hover { color: #2667dc !important; }
.wk-sellerlist-divide2 button,
.wk-sellerlist-divide2 .button,
.wk-sellerlist-divide2 .action {
  margin-top: 8px !important;
  height: 36px !important;
  padding: 0 18px !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  border: 1.5px solid #2667dc !important;
  color: #2667dc !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
.wk-sellerlist-divide2 button:hover,
.wk-sellerlist-divide2 .button:hover,
.wk-sellerlist-divide2 .action:hover { background: #eef3ff !important; }
/* Item count and per-page bar */
.marketplace-seller-sellerlist .toolbar { margin: 28px 0 0 !important; font-size: 14px; color: #4f5a6d; }
/* "Start selling on merchace" section at the bottom: one blue band */
.marketplace-seller-sellerlist .column.main > *:has(> .wk-mp-landing-button) {
  margin-top: 64px !important;
  padding: 48px 32px !important;
  border-radius: 28px;
  background: #2667dc;
  text-align: center;
}
.marketplace-seller-sellerlist .column.main > *:has(> .wk-mp-landing-button) .wk-marketplace-label { color: #ffffff !important; font-size: 34px !important; margin-bottom: 20px !important; }
.marketplace-seller-sellerlist .column.main > *:has(> .wk-mp-landing-button) .wk-mp-landing-button,
.marketplace-seller-sellerlist .column.main > *:has(> .wk-mp-landing-button) .wk-mp-landing-button:visited {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #2667dc !important;
  margin: 0 !important;
}
.marketplace-seller-sellerlist .column.main > *:has(> .wk-mp-landing-button) .wk-mp-landing-button span,
.marketplace-seller-sellerlist .column.main > *:has(> .wk-mp-landing-button) .wk-mp-landing-button strong { color: #2667dc !important; }
@media (max-width: 768px) {
  .wk-marketplace-label, .wk-marketplace-label-about { font-size: 30px !important; }
  .wk-mp-sellerlist-container:has(> .wk-mp-sellerlist-wrap) { grid-template-columns: 1fr; }
}

/* --- Seller profile header --- */
.wk-mp-header-container { margin-top: 40px !important; margin-bottom: 40px !important; }
.wk-mp-header-layout2 .wk-mp-seller-profile-box { margin-bottom: 20px !important; margin-top: 12px !important; }
.wk-mp-header-layout2 .wk-mp-layout2-seller-title { text-transform: none !important; }
.wk-mp-header-layout2 .wk-mp-layout2-seller-title:hover { color: #4C8BFF !important; text-decoration: none !important; }
.wk-mp-header-layout2 a:hover,
.wk-mp-header-layout2 a:focus,
.wk-mp-header-layout2 a:hover:before,
.wk-mp-header-layout2 .flag-icon:hover,
.wk-mp-header-layout2 .rating-icon:hover { color: #006bb4 !important; border-color: #006bb4 !important; }

/* Seller banner: fixed height, not squashed */
@media (min-width: 768px) {
  .wk-mp-header-container-right .wk-mp-banner-image {
    width: 100% !important;
    height: 300px !important;
    object-fit: contain;
    object-position: center;
  }
}
.wk-mp-header-container-right img.wk-mp-banner-image {
  border-radius: 17px;
  border: none !important;
  box-shadow: none !important;
  padding: 10px 0 !important;
  width: fit-content;
  min-height: 50px !important;
  max-height: 87px !important;
}

/* Blue buttons: Contact Seller, View All Products, Write a Review */
#askbtn, #askbtntab, p.loginmsg button, .write-review,
.wk-mp-header-layout2 a.askque, .wk-mp-collection-view-btn a {
  background-color: #4C8BFF !important;
  border: 1px solid #4C8BFF !important;
  color: #fff;
  font-weight: 400;
}
.wk-mp-header-layout2 a.askque { border-radius: 21px !important; }
.shop-info .wk-mp-seller-profile-box a.askque {
  background-color: #4C8BFF !important;
  border: 1px solid #4C8BFF !important;
  color: #ffffff !important;
  font-weight: 400 !important;
}
.wk-mp-collection-view-btn,
.wk-mp-collection-view-btn a { border-radius: 21px !important; color: #ffffff !important; }

/* Shop info links, rating and report */
.shop-info div a, .rating-icon:before, .flag-icon::before, a#reportflag { color: #4C8BFF !important; font-weight: 100; }
.shop-info .wk-report-seller { margin: 64px 0 12px 0; }
.rating-icon, #reportflag { font-size: 18px !important; }
.rating-icon:before, .flag-icon::before { font-size: 19px !important; }
.wk-report-flag-link { margin: 40px 0 12px 0; }
.wk-report-flag-link #reportflag::before { top: 2px !important; }
#flag-form input { margin-bottom: 25px !important; }

/* Order and review counts */
.wk-order-count div,
.wk-review-count div { font-size: 15px !important; }
.wk-mp--count-txt.order-count:before,
.wk-mp--count-txt.rating-count:before { display: none; }

/* --- Seller profile page (layout 2): full width, card header, clean tabs --- */
.wk-mp-header-layout2 { width: 100% !important; max-width: none !important; }
.wk-mp-header-layout2 .wk-mp-header-container {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  margin: 8px 0 40px !important;
  padding: 32px !important;
  background: #f4f7fc;
  border: 1px solid #e3e8f0;
  border-radius: 24px;
}
.wk-mp-header-layout2 img.wk-mp-collection-logo {
  width: 120px !important;
  height: 120px !important;
  border-radius: 50% !important;
  object-fit: cover;
  border: 4px solid #ffffff !important;
  box-shadow: 0 4px 14px rgba(22, 28, 39, .10);
}
.wk-mp-header-layout2 .wk-mp-layout2-seller-title {
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  letter-spacing: -0.6px;
  color: #161c27 !important;
  line-height: 1.15 !important;
}
.wk-mp-header-layout2 .description { color: #3b4558; font-size: 15px; line-height: 1.6; }
.wk-mp-header-layout2 .wk-mp-header-container-right img.wk-mp-banner-image { border-radius: 16px !important; padding: 0 !important; }
.wk-mp-header-layout2 a.askque { padding: 8px 18px !important; font-size: 14px !important; }

.wk-supplier-tabs { width: 100% !important; max-width: none !important; margin: 0 !important; }

/* Seller's collection heading: "Seller's collection", bold, normal case
   (Webkul's text is in capitals, so lowercase it and capitalise the first letter) */
.wk-mp-collection-left h1, .wk-mp-collection-left h2,
.wk-mp-collection-left h3, .wk-mp-collection-left h4,
.wk-mp-collection-left .block-title, .wk-mp-collection-left .block-title strong {
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  font-stretch: normal !important;
  letter-spacing: -0.3px !important;
  line-height: 1.2 !important;
  color: #161c27 !important;
  text-transform: lowercase !important;
  padding: 0 !important;
  margin: 0 0 16px !important;
}
.wk-mp-collection-left h1::first-letter, .wk-mp-collection-left h2::first-letter,
.wk-mp-collection-left h3::first-letter, .wk-mp-collection-left h4::first-letter,
.wk-mp-collection-left .block-title::first-letter { text-transform: uppercase; }

/* (other collection headings) */
.wk-mp-collection-right .block-title h4,
.block-title.wk-mp-float-left h4 {
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  color: #161c27 !important;
  text-transform: none !important;
  letter-spacing: -0.4px;
}

@media (min-width: 769px) {
  /* Header: details left, banner right */
  .wk-mp-header-layout2 .wk-mp-header-container { display: flex !important; align-items: center; gap: 40px; }
  .wk-mp-header-layout2 .wk-mp-header-container-left { flex: 0 1 40%; float: none !important; width: auto !important; }
  .wk-mp-header-layout2 .wk-mp-header-container-right { flex: 1 1 60%; float: none !important; width: auto !important; }

  /* Tabs: plain text, blue underline on the open tab */
  .product.info.detailed .product.data.items { border-bottom: 0 !important; margin: 0 !important; }
  .product.info.detailed .product.data.items > .item.title { margin: 0 6px 0 0 !important; }
  .product.info.detailed .product.data.items > .item.title > .switch,
  .product.info.detailed .product.data.items > .item.title > .switch:visited {
    background: transparent !important;
    border: 0 !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0 !important;
    height: 46px !important;
    line-height: 44px !important;
    padding: 0 16px !important;
    color: #4f5a6d !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
  }
  .product.info.detailed .product.data.items > .item.title > .switch:hover { color: #161c27 !important; background: transparent !important; }
  .product.info.detailed .product.data.items > .item.title.active > .switch,
  .product.info.detailed .product.data.items > .item.title.active > .switch:hover {
    color: #2667dc !important;
    font-weight: 600 !important;
    border-bottom-color: #2667dc !important;
    background: transparent !important;
  }
  .product.info.detailed .product.data.items > .item.content {
    margin-top: 46px !important;
    border: 0 !important;
    border-top: 1px solid #e3e8f0 !important;
    padding: 32px 0 0 !important;
    background: transparent !important;
  }

  /* Collection: filters left (260px), products fill the rest */
  .wk_mp_design { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
  .wk-mp-collection-container {
    display: flex !important;
    align-items: flex-start;
    gap: 40px;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .wk-mp-collection-left { flex: 0 0 260px; width: 260px !important; float: none !important; margin: 0 !important; padding: 0 !important; }
  .wk-mp-collection-left .wk-mp-design,
  .wk-mp-collection-left .wk-mp-design * {
    width: auto !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .wk-mp-collection-left .wk-mp-design { padding: 0 !important; margin: 0 !important; }
  .wk-mp-collection-right { flex: 1 1 auto; width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; }
  .wk-mp-collection-right .page-products { width: 100% !important; border: 0 !important; padding: 0 !important; margin: 0 !important; }

  /* Product grid */
  .wk-mp-collection-right .products-grid .product-items {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 28px 24px;
    margin: 0 !important;
  }
  .wk-mp-collection-right .products-grid .product-item { width: auto !important; margin: 0 !important; padding: 0 !important; }

  .wk-mp-collection-view-btn { width: 100% !important; text-align: center; margin: 36px 0 0 !important; }
}
@media (max-width: 768px) {
  .wk-mp-header-layout2 .wk-mp-header-container { padding: 20px !important; border-radius: 18px; }
  .wk-mp-header-layout2 .wk-mp-header-container-left,
  .wk-mp-header-layout2 .wk-mp-header-container-right { width: 100% !important; max-width: none !important; float: none !important; }
  .wk-mp-header-layout2 .wk-mp-header-container-right { margin-top: 20px; }
  .wk-mp-header-layout2 .wk-mp-layout2-seller-title { font-size: 28px !important; }
}

/* --- "Sold By" card on product pages --- */
.wk-seller-block.wk-block { margin-bottom: 70px !important; margin-top: 30px !important; }
.wk-block-title-css a { text-decoration: none; font-weight: 100 !important; font-size: 21px !important; }
.wk-block-font-bold-up { font-weight: 100 !important; font-size: 18px !important; }
body .wk-seller-product-count {
  display: inline-block;
  position: relative;
  font-size: 14px !important;
  padding-left: 0 !important;
  font-weight: 100 !important;
  color: #000000 !important;
  text-transform: lowercase !important;
  margin-top: 9px !important;
  margin-bottom: 28px !important;
}
.wk-seller-product-count::before { font-size: 0 !important; }
.wk-ask-question-link { display: inline-block; position: relative; font-size: 18px !important; font-weight: 100 !important; padding-left: 0 !important; }
.wk-ask-question-link #askque::before { font-size: 0 !important; }
.wk-seller-card-container a:hover,
.wk-seller-card-container a:focus,
.wk-seller-card-container a:hover:before,
.wk-seller-card-container a:hover * { color: #4C8BFF !important; }

/* --- Seller pages: forms, policies, collections --- */
.wk-mp-design a:hover { color: #4C8BFF !important; }
.wk-mp-design .fieldset > .field > .label,
.wk-mp-model-popup .fieldset > .field > .label,
.fieldset > .fields > .field > .label { margin: 15px 0 8px !important; }
.wk-mp-collection-container h4 { font-weight: 100 !important; }
.block-title.wk-mp-float-left h4 { color: #626B69; font-weight: 100 !important; font-size: 20px !important; }
.descrition-heading { font-size: 18px !important; font-weight: 100 !important; }
.description-right-container { font-size: 15px !important; font-weight: 100 !important; }
.policy-content-container h3.policy-heading { font-size: 18px !important; font-weight: 100 !important; margin-bottom: 19px !important; }
.policy-content { margin-bottom: 55px; }
.return-poliy-heading, .shipping-poliy-heading, .privacy-poliy-heading { font-size: 18px !important; font-weight: 100 !important; }
.border-line { height: 39px !important; }


/* =====================================================================
   SITE MESSAGES ("You added … to your cart", errors, notices)
   Same width and look on every page, including the full-width homepage
   ===================================================================== */
/* Page messages float as a toast in the top-right corner on every page,
   so they never push the page around. Success messages fade away by themselves. */
.page.messages {
  position: fixed !important;
  top: 20px;
  right: 20px;
  z-index: 1000;
  width: 420px;
  max-width: calc(100vw - 32px);
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none;
}
.page.messages .message {
  pointer-events: auto;
  background-color: #ffffff !important;
  box-shadow: 0 14px 36px rgba(22, 28, 39, .18) !important;
  animation: mc-toast-in .35s ease-out both;
}
.page.messages .message.success { animation: mc-toast-in .35s ease-out both, mc-toast-out .4s ease-in 6s forwards; }
@keyframes mc-toast-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes mc-toast-out { to { opacity: 0; visibility: hidden; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) {
  .page.messages .message, .page.messages .message.success { animation: mc-toast-out .01s linear 8s forwards; }
}
.page.messages .message,
.message.success, .message.error, .message.notice, .message.warning, .message.info {
  border-radius: 14px !important;
  padding: 14px 20px 14px 52px !important;
  margin: 0 0 10px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  position: relative;
  box-shadow: none !important;
}
.message.success { background: #e9f7ee !important; border: 1px solid #c3e6cf !important; color: #1d4f2e !important; }
.message.error   { background: #fdeeee !important; border: 1px solid #f5c2c0 !important; color: #8a1c14 !important; }
.message.notice, .message.info, .message.warning { background: #fff6e6 !important; border: 1px solid #f3dcae !important; color: #6b4a12 !important; }
.message.success a, .message.error a, .message.notice a, .message.info a, .message.warning a { color: #2667dc !important; font-weight: 600; text-decoration: underline; }
.page.messages .message > *:first-child:before,
.message.success > *:first-child:before, .message.error > *:first-child:before,
.message.notice > *:first-child:before, .message.info > *:first-child:before, .message.warning > *:first-child:before {
  position: absolute !important;
  left: 18px !important;
  top: 50% !important;
  margin-top: 0 !important;
  transform: translateY(-50%);
  width: 22px !important;
  font-size: 22px !important;
  line-height: 1 !important;
  text-align: center;
}
.message.success > *:first-child:before { color: #1d7a3e !important; }
.message.error > *:first-child:before   { color: #b42318 !important; }
.message.notice > *:first-child:before, .message.info > *:first-child:before, .message.warning > *:first-child:before { color: #b7791f !important; }
@media (max-width: 768px) { .page.messages { top: 12px; right: 16px; left: 16px; width: auto; } }


/* =====================================================================
   MINI CART (the drop-down when you click Cart)
   ===================================================================== */
.minicart-wrapper .block-minicart {
  width: 400px !important;
  max-width: calc(100vw - 32px);
  right: 0 !important;
  margin-top: 12px !important;
  padding: 22px 22px 18px !important;
  background: #ffffff !important;
  border: 1px solid #e3e8f0 !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 48px rgba(22, 28, 39, .16) !important;
  box-sizing: border-box;
}
.minicart-wrapper .block-minicart:before,
.minicart-wrapper .block-minicart:after { display: none !important; }
.block-minicart .block-title { display: block !important; margin: 0 0 14px !important; padding-right: 30px; }
.block-minicart .block-title strong { font-family: 'Space Grotesk', Inter, sans-serif !important; font-size: 20px !important; font-weight: 700 !important; color: #161c27; }
.block-minicart .block-title .qty { display: none !important; }
.minicart-wrapper .action.close { top: 18px !important; right: 18px !important; width: 30px !important; height: 30px !important; border-radius: 50% !important; }
.minicart-wrapper .action.close:before { font-size: 14px !important; line-height: 30px !important; color: #4f5a6d !important; }
.minicart-wrapper .action.close:hover { background: #f4f7fc !important; }

/* Count and subtotal on one line */
.block-minicart .block-content > .items-total { float: none !important; display: inline-block; margin: 0 !important; font-size: 14px; color: #4f5a6d; }
.block-minicart .block-content > .items-total .count { font-weight: 700; color: #161c27; }
.block-minicart .subtotal {
  display: flex !important;
  justify-content: space-between;
  align-items: baseline;
  margin: 0 0 16px !important;
  padding: 14px 16px;
  background: #f4f7fc;
  border-radius: 12px;
  text-align: left !important;
}
.block-minicart .subtotal .label { font-size: 14px; color: #4f5a6d; }
.block-minicart .subtotal .label:after { content: "" !important; }
.block-minicart .subtotal .price { font-family: 'Space Grotesk', Inter, sans-serif !important; font-size: 22px !important; font-weight: 700 !important; color: #161c27 !important; }
.block-minicart .block-content > .actions { margin: 0 0 6px !important; }
.block-minicart #top-cart-btn-checkout {
  width: 100% !important;
  height: 50px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  border-radius: 30px !important;
  line-height: 1 !important;
  padding: 0 !important;
}

/* Items */
.minicart-items-wrapper { border: 0 !important; margin: 0 !important; padding: 0 !important; max-height: 340px; }
.minicart-items .product-item { padding: 16px 0 !important; border-top: 1px solid #eef1f6 !important; }
.minicart-items .product-item:first-child { border-top: 0 !important; }
.minicart-items .product-item-photo { border-radius: 12px; overflow: hidden; background: #f4f7fc; }
.minicart-items .product-item-photo .product-image-container { width: 72px !important; }
.minicart-items .product-item-details { padding-left: 88px !important; }
.minicart-items .product-item-name { font-size: 15px !important; line-height: 1.35 !important; margin: 0 0 4px !important; }
.minicart-items .product-item-name a { color: #161c27 !important; font-weight: 500 !important; }
.minicart-items .product-item-name a:hover { color: #2667dc !important; text-decoration: none !important; }
.minicart-items .product-item-pricing .price { font-size: 15px !important; font-weight: 700 !important; color: #161c27 !important; }
.minicart-items .details-qty { margin-top: 8px !important; display: flex; align-items: center; gap: 8px; }
.minicart-items .details-qty .label { font-size: 13px; color: #4f5a6d; margin: 0 !important; }
.block-minicart .minicart-items input.item-qty {
  width: 52px !important;
  min-width: 0 !important;
  height: 34px !important;
  padding: 0 !important;
  text-align: center;
  border: 1px solid #c9d2e0 !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  margin: 0 !important;
}
.minicart-items .update-cart-item { border-radius: 10px !important; font-size: 12px !important; padding: 6px 10px !important; margin: 0 !important; }
.minicart-items .product-item-details { position: relative; }
.minicart-items .product.actions {
  position: absolute;
  right: 0;
  bottom: 2px;
  float: none !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center;
  gap: 4px;
}
.minicart-items .product.actions .primary,
.minicart-items .product.actions .secondary { float: none !important; margin: 0 !important; display: block; }
.minicart-items .product.actions .action {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin: 0 !important;
}
.minicart-items .product.actions .action:hover { background: #f4f7fc; }
.minicart-items .product.actions .action > span { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.minicart-items .details-qty { padding-right: 80px; }
.minicart-items .action.edit:before,
.minicart-items .action.delete:before { color: #8a93a3 !important; font-size: 18px !important; }
.minicart-items .action.edit:hover:before { color: #2667dc !important; }
.minicart-items .action.delete:hover:before { color: #b42318 !important; }

/* "View and Edit Cart" */
.block-minicart .block-content > .actions > .secondary { margin: 10px 0 0 !important; text-align: center; }
.block-minicart .action.viewcart { font-size: 14px; font-weight: 600; color: #2667dc !important; }
.block-minicart .action.viewcart:hover { text-decoration: underline; }

/* Mini cart tidy-up */
.minicart-items-wrapper {
  overflow-y: auto !important;
  padding-right: 8px !important;
  margin-right: -8px !important;
  scrollbar-width: thin;
  scrollbar-color: #c9d6ee transparent;
  border-top: 1px solid #eef1f6 !important;
  border-bottom: 1px solid #eef1f6 !important;
}
.minicart-items-wrapper::-webkit-scrollbar { width: 6px; }
.minicart-items-wrapper::-webkit-scrollbar-thumb { background: #c9d6ee; border-radius: 6px; }
.minicart-items-wrapper::-webkit-scrollbar-track { background: transparent; }
.minicart-items-wrapper::-webkit-scrollbar-button { display: none; height: 0; }
/* Product photo: a neat square tile */
.minicart-items .product-item-photo {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 72px !important;
  height: 72px !important;
  padding: 6px;
  box-sizing: border-box;
}
.minicart-items .product-item-photo .product-image-container { width: 100% !important; height: 100% !important; }
.minicart-items .product-item-photo .product-image-wrapper { padding-bottom: 0 !important; height: 100% !important; background: transparent !important; overflow: visible; }
.minicart-items .product-item-photo .product-image-photo {
  position: static !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  background: transparent !important;
}
.minicart-items .product-item-photo .product-image-container,
.minicart-items .product-item-photo .product-image-wrapper { background: transparent !important; }
/* No checkout button in the mini cart (sellers check out from the cart page): make "View and Edit Cart" the main button */
.block-minicart .block-content > .actions > .secondary { margin: 16px 0 0 !important; }
.block-minicart .action.viewcart {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 999px;
  background: #2667dc;
  color: #ffffff !important;
  font-size: 15px !important;
  text-decoration: none !important;
}
.block-minicart .action.viewcart:hover { background: #154c91; text-decoration: none !important; }
.block-minicart:has(#top-cart-btn-checkout:not([style*="none"])) .action.viewcart {
  background: #ffffff;
  border: 1px solid #c9d6ee;
  color: #2667dc !important;
}
.block-minicart:has(#top-cart-btn-checkout:not([style*="none"])) .action.viewcart:hover { background: #eef3ff; border-color: #2667dc; }

/* =====================================================================
   POP-UP WINDOWS (Contact Seller, sign-in pop-up, address forms …)
   ===================================================================== */
.modals-overlay { background: rgba(22, 28, 39, .45) !important; }
.modal-popup .modal-inner-wrap {
  border-radius: 20px !important;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(22, 28, 39, .25) !important;
  background: #ffffff !important;
}
/* Contact Seller / ask-a-question pop-up: a sensible width */
.modal-popup.wk-mp-model-popup .modal-inner-wrap,
.modal-popup:has(form[id*="ask"]) .modal-inner-wrap,
.modal-popup:has(form[id*="flag"]) .modal-inner-wrap,
.modal-popup:has(form[id*="report"]) .modal-inner-wrap {
  width: 600px !important;
  max-width: calc(100% - 32px) !important;
  left: 0 !important;
  right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.modal-popup .modal-header { padding: 26px 28px 6px !important; border: 0 !important; }
.modal-popup .modal-title {
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #161c27 !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
.modal-popup .action-close { top: 18px !important; right: 18px !important; width: 36px; height: 36px; border-radius: 50% !important; padding: 0 !important; }
.modal-popup .action-close:before { font-size: 16px !important; line-height: 36px !important; color: #4f5a6d !important; }
.modal-popup .action-close:hover { background: #f4f7fc !important; }
.modal-popup .modal-content { padding: 10px 28px 6px !important; }
.modal-popup hr { display: none; }
.modal-popup .fieldset { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.modal-popup .field { margin: 0 0 16px !important; }
.modal-popup .field > .label,
.modal-popup label.label {
  display: block;
  margin: 0 0 6px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #2a3140 !important;
}
.modal-popup input:not([type="checkbox"]):not([type="radio"]),
.modal-popup select {
  width: 100% !important;
  height: 46px !important;
  padding: 0 14px !important;
  border: 1px solid #c9d2e0 !important;
  border-radius: 12px !important;
  font-size: 15px !important;
  box-sizing: border-box;
  box-shadow: none !important;
}
.modal-popup textarea {
  width: 100% !important;
  min-height: 130px;
  padding: 12px 14px !important;
  border: 1px solid #c9d2e0 !important;
  border-radius: 14px !important;
  font-size: 15px !important;
  line-height: 1.5;
  box-sizing: border-box;
  resize: vertical;
}
.modal-popup input:focus, .modal-popup select:focus, .modal-popup textarea:focus {
  border-color: #2667dc !important;
  box-shadow: 0 0 0 4px rgba(76, 139, 255, .18) !important;
  outline: none !important;
}
.modal-popup .modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 8px 28px 26px !important;
  border: 0 !important;
}
.modal-popup .modal-footer button,
.modal-popup .modal-content .actions-toolbar button {
  height: 44px;
  padding: 0 24px !important;
  border-radius: 30px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  margin: 0 !important;
}
.modal-popup .modal-footer button:not(.primary):not(.action-primary) {
  background: #ffffff !important;
  border: 1px solid #c9d2e0 !important;
  color: #2a3140 !important;
}
.modal-popup .modal-footer button:not(.primary):not(.action-primary):hover { border-color: #2667dc !important; color: #2667dc !important; }
/* Pop-up forms without field boxes (e.g. Ask Question to Admin): space between each box and the next label */
.modal-popup .modal-content :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), textarea, select):not(.field *) { margin-bottom: 20px !important; }
.modal-popup .modal-content label:not(.field *) { display: inline-block; margin-bottom: 8px !important; }
/* Buttons inside pop-up content: blue main button, outline for Reset / Cancel */
.modal-popup .modal-content button:not(.action-close):not(.tox *) {
  height: 44px;
  padding: 0 26px !important;
  border-radius: 30px !important;
  border: 1px solid #2667dc !important;
  background: #2667dc !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
.modal-popup .modal-content button:not(.action-close):not(.tox *):hover { background: #154c91 !important; border-color: #154c91 !important; }
.modal-popup .modal-content button:is([type="reset"], [title*="Reset" i], [title*="Cancel" i], .reset, .cancel, :has(+ button)):not(.action-close) {
  background: #ffffff !important;
  border-color: #c9d2e0 !important;
  color: #2a3140 !important;
}
.modal-popup .modal-content button:is([type="reset"], [title*="Reset" i], [title*="Cancel" i], .reset, .cancel, :has(+ button)):not(.action-close):hover { border-color: #2667dc !important; color: #2667dc !important; background: #ffffff !important; }
.modal-popup .modal-content *:has(> button + button) { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.modal-popup .modal-content *:has(> button + button) > button { margin: 0 !important; width: auto !important; flex: 0 0 auto; }
/* Ask Question to Admin: both fields share one box, so space the second label from the box above it */
.modal-popup .field > :is(input, textarea, select) + :is(label, .label) { display: block; margin-top: 20px !important; }
/* Its Reset / Submit are input buttons, not <button> */
.modal-popup :is(input[type="submit"], input[type="reset"], input[type="button"]):not(#x) {
  width: auto !important;
  min-width: 120px;
  height: 44px !important;
  padding: 0 26px !important;
  border-radius: 30px !important;
  border: 1px solid #2667dc !important;
  background: #2667dc !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font: 600 15px Inter, sans-serif !important;
  text-align: center !important;
  cursor: pointer;
  margin: 0 !important;
}
.modal-popup :is(input[type="submit"], input[type="button"]):not(#x):hover { background: #154c91 !important; border-color: #154c91 !important; }
.modal-popup input[type="reset"]:not(#x) { background: #ffffff !important; border-color: #c9d2e0 !important; color: #2a3140 !important; }
.modal-popup input[type="reset"]:not(#x):hover { border-color: #2667dc !important; color: #2667dc !important; }
.modal-popup *:has(> input[type="reset"]):has(> input[type="submit"], > input[type="button"]) { display: flex !important; justify-content: flex-end; gap: 10px; }
/* "OK" / main button in pop-ups and confirm boxes: brand blue */
.modal-popup .modal-footer .action-primary,
.modal-popup .modal-footer .action-accept,
.modal-popup .modal-footer button.primary {
  background: #2667dc !important;
  border: 1px solid #2667dc !important;
  color: #ffffff !important;
}
.modal-popup .modal-footer .action-primary:hover,
.modal-popup .modal-footer .action-accept:hover,
.modal-popup .modal-footer button.primary:hover { background: #154c91 !important; border-color: #154c91 !important; }
.modal-popup.confirm .modal-inner-wrap { width: 460px !important; max-width: calc(100% - 32px) !important; left: 0 !important; right: 0 !important; margin-left: auto !important; margin-right: auto !important; }
.modal-popup.confirm .modal-content { font-size: 15px; line-height: 1.6; color: #3b4558; padding-top: 26px !important; }
@media (max-width: 768px) {
  .modal-popup .modal-header, .modal-popup .modal-content, .modal-popup .modal-footer { padding-left: 20px !important; padding-right: 20px !important; }
}

/* =====================================================================
   SELL PAGE (/marketplace/) – CMS block "merchace-sell-page"
   ===================================================================== */
/* Hide Webkul's old landing content and page title; show only the new block */
.marketplace-index-index .page-title-wrapper { display: none !important; }
.marketplace-index-index .column.main > *:not(:has(.mcs)) { display: none !important; }
.marketplace-index-index .page-main { padding-top: 24px !important; }

.mcs { color: #161c27; }
.mcs h1, .mcs h2, .mcs h3 { font-family: 'Space Grotesk', Inter, sans-serif !important; font-weight: 700 !important; margin: 0 !important; color: inherit; }
.mcs p { margin: 0; }
.mcs-eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; }
.mcs-eyebrow-blue { color: #2667dc; }
.mcs-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.mcs-btn { display: inline-block; padding: 15px 30px; border-radius: 30px; font-size: 15px; font-weight: 600; text-decoration: none !important; transition: background .15s, transform .15s; }
.mcs-btn:hover { transform: translateY(-1px); }
.mcs-btn-white { background: #ffffff; color: #2667dc !important; }
.mcs-btn-white:hover { background: #e6efff; }
.mcs-btn-ghost { border: 1.5px solid rgba(255,255,255,.85); color: #ffffff !important; }
.mcs-btn-ghost:hover { background: rgba(255,255,255,.12); }

/* Hero */
.mcs-hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 64px;
  border-radius: 28px;
  background: #2667dc radial-gradient(circle at 85% 15%, rgba(255,255,255,.16), transparent 45%);
  color: #ffffff;
}
.mcs-hero-text { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.mcs-hero .mcs-eyebrow { color: #cfe0ff; }
.mcs .mcs-hero h1 { font-size: 58px !important; line-height: 1.04 !important; letter-spacing: -1.6px; color: #ffffff; max-width: 640px; }
.mcs-hero p { font-size: 18px; line-height: 1.6; max-width: 540px; color: #e6efff; }
.mcs-note { font-size: 14px; color: #cfe0ff; }
.mcs-note a { color: #ffffff !important; font-weight: 600; text-decoration: underline; }

/* Example sale card */
.mcs-sale {
  background: #ffffff;
  color: #161c27;
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 24px 60px rgba(10, 30, 80, .28);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mcs-sale-tag { align-self: flex-start; font-size: 12px; font-weight: 600; color: #2667dc; background: #eef3ff; padding: 5px 12px; border-radius: 20px; }
.mcs-sale-item { display: flex; align-items: center; gap: 14px; padding: 6px 0 14px; border-bottom: 1px solid #eef1f6; }
.mcs-sale-thumb { width: 52px; height: 52px; border-radius: 14px; background: #f4f7fc; color: #2667dc; display: flex; align-items: center; justify-content: center; flex: none; }
.mcs-sale-thumb svg { width: 28px; height: 28px; }
.mcs-sale-item b { display: block; font-size: 16px; }
.mcs-sale-item small { display: block; font-size: 13px; color: #4f5a6d; }
.mcs-sale-item strong { margin-left: auto; font-size: 18px; }
.mcs-sale-row { display: flex; justify-content: space-between; font-size: 14px; color: #4f5a6d; }
.mcs-sale-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 4px; padding: 14px 16px; background: #e9f7ee; border-radius: 14px; }
.mcs-sale-total span { font-weight: 600; color: #1d4f2e; }
.mcs-sale-total strong { font-family: 'Space Grotesk', Inter, sans-serif; font-size: 28px; color: #1d7a3e; }
.mcs-sale-foot { font-size: 12px; color: #8a93a3; }

/* Numbers strip */
.mcs-stats { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #e3e8f0; border-radius: 20px; overflow: hidden; }
.mcs-stats > div { padding: 26px 28px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid #e3e8f0; }
.mcs-stats > div:first-child { border-left: 0; }
.mcs-stats strong { font-family: 'Space Grotesk', Inter, sans-serif; font-size: 34px; font-weight: 700; color: #2667dc; letter-spacing: -0.5px; }
.mcs-stats span { font-size: 14px; color: #4f5a6d; }

/* Sections */
.mcs-section { margin-top: 88px; scroll-margin-top: 24px; }
.mcs-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.mcs .mcs-head h2 { font-size: 40px !important; letter-spacing: -0.8px; line-height: 1.1 !important; }

/* Steps */
.mcs-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.mcs-step { position: relative; padding: 30px; border-radius: 22px; background: #f4f7fc; border: 1px solid #e3e8f0; display: flex; flex-direction: column; gap: 12px; }
.mcs-num { width: 44px; height: 44px; border-radius: 50%; background: #2667dc; color: #ffffff; display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', Inter, sans-serif; font-weight: 700; font-size: 18px; }
.mcs .mcs-step h3 { font-size: 21px !important; }
.mcs-step p { font-size: 15px; line-height: 1.6; color: #3b4558; }

/* Features */
.mcs-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mcs-feature { padding: 28px; border-radius: 22px; border: 1px solid #e3e8f0; background: #ffffff; display: flex; flex-direction: column; gap: 10px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.mcs-feature:hover { border-color: #c9d7f5; box-shadow: 0 14px 34px rgba(22, 28, 39, .08); transform: translateY(-2px); }
.mcs-ico { width: 48px; height: 48px; border-radius: 14px; background: #eef3ff; color: #2667dc; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.mcs-ico svg { width: 24px; height: 24px; }
.mcs .mcs-feature h3 { font-size: 19px !important; }
.mcs-feature p { font-size: 15px; line-height: 1.6; color: #3b4558; }

/* FAQ */
.mcs-faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.mcs-faq-wrap .mcs-head { margin: 0; }
.mcs-faq { display: flex; flex-direction: column; gap: 12px; }
.mcs-faq details { border: 1px solid #e3e8f0; border-radius: 16px; background: #ffffff; padding: 0 22px; transition: border-color .15s; }
.mcs-faq details[open] { border-color: #c9d7f5; background: #f8faff; }
.mcs-faq summary { list-style: none; cursor: pointer; padding: 20px 32px 20px 0; position: relative; font-size: 16px; font-weight: 600; color: #161c27; }
.mcs-faq summary::-webkit-details-marker { display: none; }
.mcs-faq summary:after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: #2667dc; transition: transform .2s; }
.mcs-faq details[open] summary:after { transform: translateY(-50%) rotate(45deg); }
.mcs-faq details p { padding: 0 0 20px; font-size: 15px; line-height: 1.65; color: #3b4558; }

/* Final call to action */
.mcs-cta {
  margin-top: 88px;
  padding: 52px 56px;
  border-radius: 28px;
  background: #161c27;
  color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: center;
}
.mcs .mcs-cta h2 { font-size: 36px !important; letter-spacing: -0.6px; color: #ffffff; }
.mcs-cta p { margin-top: 8px; font-size: 16px; color: #b8c2d3; }

/* Tablet and phone */
@media (max-width: 1024px) {
  .mcs-hero { grid-template-columns: 1fr; padding: 44px; }
  .mcs-features { grid-template-columns: 1fr 1fr; }
  .mcs-faq-wrap { grid-template-columns: 1fr; gap: 0; }
  .mcs-faq-wrap .mcs-head { margin-bottom: 24px; }
}
@media (max-width: 768px) {
  .mcs-hero { padding: 32px 22px; border-radius: 22px; gap: 32px; }
  .mcs .mcs-hero h1 { font-size: 38px !important; letter-spacing: -1px; }
  .mcs-hero p { font-size: 16px; }
  .mcs-stats { grid-template-columns: 1fr 1fr; }
  .mcs-stats > div:nth-child(3) { border-left: 0; }
  .mcs-stats > div:nth-child(n+3) { border-top: 1px solid #e3e8f0; }
  .mcs-stats > div { padding: 20px; }
  .mcs-stats strong { font-size: 28px; }
  .mcs-section { margin-top: 64px; }
  .mcs .mcs-head h2 { font-size: 30px !important; }
  .mcs-steps, .mcs-features { grid-template-columns: 1fr; }
  .mcs-cta { margin-top: 64px; padding: 36px 24px; border-radius: 22px; }
  .mcs .mcs-cta h2 { font-size: 28px !important; }
}


/* =====================================================================
   SELLER PROFILE TABS: Reviews, About Us, Policies, Contact
   ===================================================================== */
/* -- Reviews -- */
.wk-seller-rating-contaainer { display: flex !important; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.wk-seller-rating-left-container {
  flex: 0 0 340px;
  width: 340px !important;
  float: none !important;
  background: #ffffff !important;
  border: 1px solid #e3e8f0;
  border-radius: 20px;
  padding: 28px !important;
  box-sizing: border-box;
}
.wk-seller-rating-right-container { flex: 1 1 360px; width: auto !important; float: none !important; padding: 0 !important; }
.wk-rating-left-block .rating-section,
.wk-rating-left-block [class*="rating-section"] > *:first-child { border-radius: 14px !important; }
.wk-rating-left-block .write-review { border-radius: 24px !important; height: 42px; padding: 0 22px !important; font-weight: 600 !important; }
.average-star-ratings-block [class*="star"],
.average-star-ratings-block > * > *:first-child { border-radius: 10px !important; }
.wk-review-heading {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 0 0 16px !important;
  margin: 0 0 20px !important;
  border-bottom: 1px solid #e3e8f0 !important;
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  color: #161c27 !important;
}
.wk-review-heading .wk-all-review {
  font-family: Inter, sans-serif !important;
  height: 40px;
  padding: 0 20px !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  border: 1.5px solid #2667dc !important;
  color: #2667dc !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center;
}
.wk-review-heading .wk-all-review:hover { background: #eef3ff !important; }
#supplier_review_info #customer-reviews { margin-top: 24px; text-align: center; }
/* When a button jumps down the page (e.g. "Write Your Reviews"), stop with breathing room above */
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
#customer-reviews, #review-form, .block.review-add, #reviews, [id*="review"] { scroll-margin-top: 120px; }
@media (max-width: 768px) {
  #customer-reviews, #review-form, .block.review-add, #reviews, [id*="review"] { scroll-margin-top: 160px; }
  #supplier_review_info #customer-reviews { margin-top: 28px; padding-top: 24px; border-top: 1px solid #eef1f6; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
#supplier_review_info .loginmsg button,
#supplier_review_info p.loginmsg button { height: 44px; padding: 0 26px !important; border-radius: 24px !important; font-weight: 600 !important; }

/* -- Seller ratings: brand blue tiles with gold stars (replaces Webkul's green/orange/lime) -- */
.wk-rating-left-block { text-align: center; }
.wk-rating-left-block .rating-section {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 120px;
  height: auto !important;
  padding: 14px 26px !important;
  margin: 0 auto 12px !important;
  border-radius: 18px !important;
  background: #f4f7fc !important;
  border: 1px solid #e3e8f0 !important;
  color: #161c27 !important;
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-size: 40px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}
.wk-rating-left-block .rating-section:before,
.wk-rating-left-block .rating-section:after { color: #f5a623 !important; font-size: 30px !important; }
.wk-rating-left-block .rating-line { display: block; font-size: 14px; color: #4f5a6d; }
.wk-rating-left-block .wk-review-count { display: flex !important; justify-content: center; gap: 4px; font-size: 15px; font-weight: 700; color: #161c27; margin: 2px 0 14px !important; }
.wk-rating-left-block .wk-review-count > div { float: none !important; margin: 0 !important; padding: 0 !important; }
.wk-rating-left-block .write-review a { color: #ffffff !important; text-decoration: none !important; }

/* 5 Star … 1 Star bars: soft track, gold fill */
.wk-mp-rating-individual { margin: 22px 0 8px !important; }
.wk-mp-rating-progress-bar-container { display: flex !important; align-items: center; gap: 10px; margin: 0 0 8px !important; }
.wk-mp-rating-individual-right-txt { flex: 0 0 48px; font-size: 13px !important; color: #4f5a6d !important; text-align: left; float: none !important; width: auto !important; }
.wk-mp-rating-individual-progress-bar {
  flex: 1 1 auto;
  float: none !important;
  width: auto !important;
  height: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
}
.wk-mp-rating-individual-progress-bar:before,
.wk-mp-rating-individual-progress-bar:after,
.wk-mp-rating-individual-progress-bar small:before,
.wk-mp-rating-individual-progress-bar small:after { display: none !important; content: none !important; }
.wk-mp-rating-individual-progress-bar small { width: 100% !important; margin: 0 !important; padding: 0 !important; }
.wk-mp-rating-individual-progress-bar small {
  display: block !important;
  height: 8px !important;
  border-radius: 8px !important;
  background: #eef1f6 !important;
  overflow: hidden;
  border: 0 !important;
}
.wk-mp-rating-progress-color-bar {
  display: block !important;
  height: 100% !important;
  background: #f5a623 !important;
  border: 0 !important;
  border-radius: 8px !important;
}
.wk-mp-rating-individual-txt { flex: 0 0 34px; font-size: 13px !important; color: #8a93a3 !important; text-align: right; float: none !important; width: auto !important; }

/* Average Quality / Price / Value: one matching set */
.average-star-ratings-block { margin-top: 18px !important; padding-top: 18px !important; border-top: 1px solid #eef1f6; text-align: left; }
.average-star-ratings-block .wk-rating-blocks { display: flex !important; align-items: center; gap: 12px; margin: 0 0 12px !important; }
.average-star-ratings-block .average-rating {
  flex: none;
  float: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 44px !important;
  padding: 0 10px !important;
  margin: 0 !important;
  border-radius: 12px !important;
  background: #eef3ff !important;
  border: 0 !important;
}
.average-star-ratings-block .rating-star {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  background: transparent !important;
  color: #161c27 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
  border: 0 !important;
}
.average-star-ratings-block .rating-star:before,
.average-star-ratings-block .average-rating:before { color: #f5a623 !important; font-size: 16px !important; }
.average-star-ratings-block .avg-rating-contetn { float: none !important; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 2px; }
.average-star-ratings-block .avg-rating-contetn .heading { font-size: 14px; font-weight: 600; color: #161c27; }
.average-star-ratings-block .total-reviewc-count { font-size: 12px; color: #8a93a3; }

/* -- Seller feedback page (/marketplace/seller/feedback/shop/…) -- */
.wk-mp-rating-block { display: block !important; width: 100% !important; margin: 8px 0 0 !important; padding: 0 !important; }
.wk-mp-rating-block::after { content: ""; display: block; clear: both; }
.wk-mp-rating-left {
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}
.wk-mp-rating-left > .wk-mp-rating-avg,
.wk-mp-rating-left > .wk-mp-rating-individual {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 22px !important;
  background: #ffffff !important;
  border: 1px solid #e3e8f0 !important;
  border-radius: 20px !important;
  box-sizing: border-box;
}
/* Overall score card */
.wk-mp-rating-left > .wk-mp-rating-avg {
  background: #f4f7fc !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
}
.wk-mp-rating-avg-count {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-size: 44px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  color: #161c27 !important;
  margin: 0 0 6px !important;
  float: none !important;
  width: auto !important;
}
.wk-mp-rating-icon:before { color: #f5a623 !important; }
.wk-mp-rating-avg-count.wk-mp-rating-icon:before { font-size: 34px !important; }
.wk-mp-rating-avg-txt { font-size: 14px !important; color: #4f5a6d !important; font-weight: 500; float: none !important; width: auto !important; margin: 0 !important; }
.wk-mp-rating-avg .wk-mp-collection-view-btn { margin: 14px 0 0 !important; }
.wk-mp-rating-avg .wk-mp-collection-view-btn a { width: auto !important; }
/* Price / Value / Quality cards */
.wk-mp-rating-left > .wk-mp-rating-individual { display: flex !important; flex-direction: column; gap: 14px; }
.wk-mp-rating-individual-left {
  display: flex !important;
  align-items: center;
  gap: 12px;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 0 12px !important;
  border-bottom: 1px solid #eef1f6;
  text-align: left !important;
}
.wk-mp-rating-individual-left .wk-mp-rating-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 56px;
  height: 42px;
  padding: 0 10px;
  border-radius: 12px;
  background: #eef3ff !important;
  color: #161c27 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  float: none !important;
  margin: 0 !important;
}
.wk-mp-rating-individual-left .wk-mp-rating-icon:before { font-size: 15px !important; }
.wk-mp-rating-individual-left .wk-mp-rating-individual-txt { flex: 1; text-align: left !important; font-size: 14px !important; font-weight: 600 !important; color: #161c27 !important; float: none !important; width: auto !important; }
.wk-mp-rating-individual-right { float: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
.wk-mp-rating-left .wk-mp-rating-individual-right-txt { flex: 0 0 64px !important; white-space: nowrap; }
/* Reviews list and "Login To Give Feedback" below the cards */
.wk-mp-rating-block > *:not(.wk-mp-rating-left) {
  float: none !important;
  width: 100% !important;
  margin: 32px 0 0 !important;
  padding: 0 !important;
  text-align: left;
}
.marketplace-seller-feedback p.loginmsg,
.marketplace-seller-feedback .loginmsg { text-align: center; margin: 24px 0 0 !important; }
.marketplace-seller-feedback .loginmsg button {
  height: 46px;
  padding: 0 28px !important;
  border-radius: 26px !important;
  white-space: nowrap;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
}
@media (max-width: 1100px) {
  .wk-mp-rating-left { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .wk-mp-rating-left { grid-template-columns: 1fr; gap: 14px; }
}

/* Feedback page fixes */
.wk-mp-collection-container:has(> .wk-mp-rating-block),
.wk-mp-collection-container:has(.wk-mp-rating-block) { display: block !important; }
.wk-mp-collection-container:has(.wk-mp-rating-block) > * { width: 100% !important; float: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.wk-mp-rating-icon { position: relative; }
.wk-mp-rating-icon:before { position: static !important; display: inline-block !important; margin: 0 !important; transform: none !important; }
.wk-mp-rating-individual,
.wk-mp-rating-individual-left,
.wk-mp-rating-individual-right { height: auto !important; min-height: 0 !important; }
.wk-mp-rating-individual-left { padding-top: 0 !important; }
/* Remove Webkul's fixed heights and padding inside the rating cards (they caused the big empty bands) */
.wk-mp-rating-left > .wk-mp-rating-individual { justify-content: flex-start !important; align-content: flex-start !important; }
.wk-mp-rating-left > .wk-mp-rating-individual * { min-height: 0 !important; }
.wk-mp-rating-left .wk-mp-rating-individual-left > *,
.wk-mp-rating-left .wk-mp-rating-individual-txt {
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1.4 !important;
  height: auto !important;
}
.wk-mp-rating-left .wk-mp-rating-individual-left .wk-mp-rating-icon { height: 42px !important; line-height: 42px !important; }
/* Webkul sizes both halves of each card to 200px; let them fit their content */
body .wk-mp-rating-block .wk-mp-rating-left > .wk-mp-rating-individual > .wk-mp-rating-individual-left,
body .wk-mp-rating-block .wk-mp-rating-left > .wk-mp-rating-individual > .wk-mp-rating-individual-right {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  flex: 0 0 auto !important;
}
.wk-mp-rating-left .wk-mp-rating-individual-right > *:last-child { margin-bottom: 0 !important; }
.wk-mp-rating-left .wk-mp-rating-individual-right,
.wk-mp-rating-left .wk-mp-rating-individual-right > * { padding-top: 0 !important; padding-bottom: 0 !important; }
.wk-mp-rating-avg .wk-mp-collection-view-btn a { white-space: nowrap; padding: 0 22px !important; }
@media (max-width: 768px) {
  /* Seller header banner stays inside the card on phones */
  .wk-mp-header-layout2 .wk-mp-header-container-right { width: 100% !important; max-width: 100% !important; padding: 0 !important; box-sizing: border-box; }
  .wk-mp-header-layout2 .wk-mp-header-container-right img.wk-mp-banner-image { width: 100% !important; max-width: 100% !important; box-sizing: border-box; }
  .wk-mp-header-layout2 .wk-mp-header-container { overflow: hidden; }
}

/* -- About us -- */
.description-tab-content { display: flex !important; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.description-left-container {
  flex: 0 0 280px;
  width: 280px !important;
  float: none !important;
  border: 0 !important;
  background: #f4f7fc;
  border-radius: 20px;
  padding: 24px !important;
  box-sizing: border-box;
  text-align: left !important;
}
.description-left-container .descrition-heading {
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #161c27 !important;
  margin: 0 0 14px !important;
  text-align: left !important;
}
.wk-mp-description-order-count-container { display: flex !important; gap: 10px; flex-wrap: wrap; }
.wk-mp-description-order-count-container > div {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 10px 14px !important;
  background: #ffffff;
  border: 1px solid #e3e8f0;
  border-radius: 14px;
  font-size: 14px !important;
  color: #3b4558;
  text-align: left !important;
}
.description-right-container {
  flex: 1 1 360px;
  width: auto !important;
  float: none !important;
  border: 0 !important;
  padding: 4px 0 0 !important;
  font-size: 15px !important;
  line-height: 1.7;
  color: #3b4558;
}

/* -- Policies -- */
.wk-seller-policy-contaainer { display: flex !important; gap: 32px; align-items: flex-start; }
.wk-seller-policy-left-container {
  flex: 0 0 240px;
  width: 240px !important;
  float: none !important;
  position: sticky;
  top: 24px;
}
.wk-seller-policy-left-container .left-container-content {
  border: 0 !important;
  padding: 8px !important;
  background: #f4f7fc;
  border-radius: 16px;
}
.wk-seller-policy-left-container h3 {
  margin: 0 !important;
  padding: 10px 14px !important;
  border-radius: 10px;
  font-family: Inter, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #2a3140 !important;
  cursor: pointer;
}
.wk-seller-policy-left-container h3:hover { background: #ffffff; color: #2667dc !important; }
.wk-seller-policy-right-container { flex: 1 1 auto; width: auto !important; float: none !important; padding: 0 !important; }
.policy-content-container {
  border: 1px solid #e3e8f0;
  border-radius: 18px;
  padding: 22px 24px !important;
  margin: 0 0 16px !important;
  background: #ffffff;
}
.policy-content-container h3.policy-heading {
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  color: #161c27 !important;
  margin: 0 0 8px !important;
}
.policy-content-container .border-line { display: none !important; }
.policy-content-container .policy-content { margin: 0 !important; font-size: 15px; line-height: 1.7; color: #3b4558; }

/* -- Contact -- */
.wk-seller-contact-contaainer { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.wk-seller-contact-left-container,
.wk-seller-contact-right-container { width: auto !important; float: none !important; border: 0 !important; padding: 0 !important; margin: 0 !important; }
.wk-seller-contact-left-container .wk-mp-collection-container { display: block !important; }
.wk-seller-contact-left-container iframe {
  width: 100% !important;
  height: 380px !important;
  border: 0 !important;
  border-radius: 20px;
  display: block;
}
.wk-seller-contact-left-container a { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 600; color: #2667dc !important; }
.wk-seller-contact-right-container .form-class-container {
  background: #ffffff;
  border: 1px solid #e3e8f0;
  border-radius: 20px;
  padding: 28px !important;
  box-sizing: border-box;
}
#tab-ask-form .field { margin: 0 0 16px !important; }
#tab-ask-form .label { display: block; margin: 0 0 6px !important; font-size: 13px !important; font-weight: 600 !important; color: #2a3140 !important; }
#tab-ask-form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]) {
  width: 100% !important;
  height: 46px !important;
  padding: 0 14px !important;
  border: 1px solid #c9d2e0 !important;
  border-radius: 12px !important;
  font-size: 15px !important;
  box-sizing: border-box;
}
#tab-ask-form textarea {
  width: 100% !important;
  min-height: 130px;
  padding: 12px 14px !important;
  border: 1px solid #c9d2e0 !important;
  border-radius: 14px !important;
  font-size: 15px !important;
  box-sizing: border-box;
}
#tab-ask-form input:focus, #tab-ask-form textarea:focus { border-color: #2667dc !important; box-shadow: 0 0 0 4px rgba(76, 139, 255, .18) !important; outline: none !important; }
#tab-ask-form button { width: 100%; height: 48px; border-radius: 30px !important; font-size: 15px !important; font-weight: 600 !important; margin: 4px 0 0 !important; }
#tab-ask-form .actions-toolbar, #tab-ask-form .actions-toolbar > * { float: none !important; width: 100%; margin: 0 !important; }

/* -- Seller's collection: heading and tidy product cards -- */
.wk-mp-collection-left .wk-mp-design > :first-child,
.wk-mp-collection-left [class*="title"],
.wk-mp-collection-left [class*="head"] {
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: -0.3px !important;
  color: #161c27 !important;
  text-transform: lowercase !important;
  padding: 0 !important;
  margin: 0 0 14px !important;
}
.wk-mp-collection-left .wk-mp-design > :first-child::first-letter,
.wk-mp-collection-left [class*="title"]::first-letter,
.wk-mp-collection-left [class*="head"]::first-letter { text-transform: uppercase; }
.products-grid .product-item-photo { display: block !important; height: auto !important; margin: 0 !important; }
.wk-mp-collection-right .products-grid .product-image-wrapper { padding-bottom: 0 !important; height: auto !important; aspect-ratio: 1 / 1; }
.wk-mp-collection-right .products-grid .product-item-details { padding-top: 14px !important; margin: 0 !important; }

/* -- Seller panel button colours -- */
.wk-rating-left-block .write-review,
#supplier_review_info p.loginmsg button,
.wk-seller-rating-contaainer p.loginmsg button {
  background: #2667dc !important;
  border: 1px solid #2667dc !important;
  color: #ffffff !important;
  font-family: Inter, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}
.wk-rating-left-block { background: transparent !important; }
.wk-review-heading a.action.primary.wk-all-review,
.wk-review-heading a.action.primary.wk-all-review:visited,
.wk-review-heading a.action.primary.wk-all-review:focus {
  background: #ffffff !important;
  border: 1.5px solid #2667dc !important;
  color: #2667dc !important;
}
.wk-review-heading a.action.primary.wk-all-review:hover { background: #eef3ff !important; color: #2667dc !important; }

/* -- Seller collection: room above "Show 12 per page", no gap under photos -- */
.wk-mp-collection-right .products.wrapper ~ .toolbar,
.wk-mp-collection-right .products.wrapper ~ * .toolbar,
.wk-mp-collection-right .products.wrapper ~ .pager,
.wk-mp-collection-right .products.wrapper ~ *:has(> .limiter) {
  clear: both;
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 36px 0 0 !important;
  padding: 18px 0 0 !important;
  border-top: 1px solid #e3e8f0;
  font-size: 14px;
  color: #4f5a6d;
}
.wk-mp-collection-right .products-grid .product-image-container,
.wk-mp-collection-right .products-grid .product-item-photo { height: auto !important; min-height: 0 !important; max-height: none !important; padding: 0 !important; }
.wk-mp-collection-right .products-grid .product-item-info { height: auto !important; min-height: 0 !important; }

/* -- Browse shops: cards never overlap, tidy pagination bar -- */
.wk-mp-sellerlist-container:has(> * > .wk-mp-sellerlist-wrap),
.wk-mp-sellerlist-container *:has(> * > .wk-mp-sellerlist-wrap) {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}
.wk-mp-sellerlist-container:has(> * > .wk-mp-sellerlist-wrap) > *,
.wk-mp-sellerlist-container *:has(> * > .wk-mp-sellerlist-wrap) > * {
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.wk-mp-sellerlist-container .wk-mp-sellerlist-wrap { height: 100%; min-width: 0; }
.wk-sellerlist-divide2 { min-width: 0; }
.wk-sellerlist-divide2 button, .wk-sellerlist-divide2 .button, .wk-sellerlist-divide2 .action { white-space: nowrap; }
.marketplace-seller-sellerlist .pager,
.marketplace-seller-sellerlist .toolbar,
.marketplace-seller-sellerlist .column.main *:has(> .limiter) {
  clear: both;
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 32px 0 80px !important;
  padding: 18px 0 0 !important;
  border-top: 1px solid #e3e8f0;
  font-size: 14px;
  color: #4f5a6d;
}
.marketplace-seller-sellerlist .limiter,
.wk-mp-collection-right .limiter { display: flex !important; align-items: center; gap: 10px; margin: 0 !important; float: none !important; }
@media (max-width: 768px) {
  .wk-mp-sellerlist-container:has(> * > .wk-mp-sellerlist-wrap),
  .wk-mp-sellerlist-container *:has(> * > .wk-mp-sellerlist-wrap) { grid-template-columns: 1fr; }
  .marketplace-seller-sellerlist .pager,
  .marketplace-seller-sellerlist .toolbar,
  .marketplace-seller-sellerlist .column.main *:has(> .limiter) { justify-content: center; }
}

/* -- Seller collection page: tidy header row, no empty gaps -- */
/* Empty filter column on the left: hide it so products use the full width */
.wk-mp-collection-left:not(:has(a, li, select, input, img)) { display: none !important; }
.wk-mp-collection-right { flex: 1 1 auto; width: 100% !important; }
/* "Seller's collection" heading */
.wk-mp-collection-right .block-account { margin: 0 0 6px !important; padding: 0 !important; border: 0 !important; }
.wk-mp-collection-right .block-account .block-title,
.wk-mp-collection-right .block-account .block-title strong,
.wk-mp-collection-right .block-account h1, .wk-mp-collection-right .block-account h2,
.wk-mp-collection-right .block-account h3, .wk-mp-collection-right .block-account h4 {
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  letter-spacing: -0.4px !important;
  color: #161c27 !important;
  text-transform: lowercase !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.wk-mp-collection-right .block-account .block-title::first-letter,
.wk-mp-collection-right .block-account .block-title strong::first-letter,
.wk-mp-collection-right .block-account h4::first-letter,
.wk-mp-collection-right .block-account h3::first-letter { text-transform: uppercase; }
.wk-mp-collection-right .block-account .block-content:empty { display: none; }
/* Top toolbar ("Show 12 per page") sits quietly on the right, no line, no big gap */
.wk-mp-collection-right .toolbar:has(~ .products.wrapper),
.wk-mp-collection-right .page-products > .toolbar:first-child {
  display: flex !important;
  justify-content: flex-end;
  align-items: center;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
  min-height: 0 !important;
}
.wk-mp-collection-right .page-products { margin: 0 !important; padding: 0 !important; }

/* Heading and "Show 12" share one row; products always start below them */
/* Webkul pins the heading with position:absolute, so it takes no space and products slide under it.
   Put it back in the normal flow, and pin the small "Show 12 per page" bar to the right of it instead. */
.wk-mp-collection-right { position: relative; }
.wk-mp-collection-right .block-account .block-title,
.wk-mp-collection-right .block-title.wk-mp-float-left {
  position: static !important;
  top: auto !important;
  left: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 0 18px !important;
}
.wk-mp-collection-right .block-account { height: auto !important; }
.wk-mp-collection-right .toolbar:has(~ .products.wrapper) {
  position: absolute !important;
  top: 0;
  right: 0;
  margin: 0 !important;
}
@media (max-width: 768px) {
  .wk-mp-collection-right .toolbar:has(~ .products.wrapper) { position: static !important; margin: 0 0 12px !important; }
}
.wk-mp-collection-right .products.wrapper,
.wk-mp-collection-right .products-grid { clear: both !important; padding-top: 8px !important; }
.wk-mp-collection-right .block-account:after { content: ""; display: block; clear: both; }
/* "View All Products" button */
.wk-mp-collection-view-btn { text-align: center; margin: 32px 0 0 !important; }
.wk-mp-collection-view-btn a,
.wk-mp-collection-view-btn .action,
.wk-mp-collection-view-btn button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 48px !important;
  padding: 0 30px !important;
  border-radius: 30px !important;
  background: #ffffff !important;
  border: 1.5px solid #2667dc !important;
  color: #2667dc !important;
  font-family: Inter, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  width: auto !important;
}
.wk-mp-collection-view-btn a:hover,
.wk-mp-collection-view-btn .action:hover,
.wk-mp-collection-view-btn button:hover { background: #eef3ff !important; }
.wk-mp-collection-view-btn { background: transparent !important; border: 0 !important; width: 100% !important; }

/* -- Seller pages on phones: full-width products, simple cards -- */
@media (max-width: 768px) {
  .wk_mp_design,
  .wk-mp-collection-container,
  .wk-mp-collection-right,
  .wk-mp-collection-right .page-products,
  .wk-mp-collection-right .products.wrapper {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    float: none !important;
    box-sizing: border-box;
  }
  .wk-mp-collection-right .products-grid .product-items { grid-template-columns: repeat(2, 1fr) !important; gap: 14px 12px !important; }
  .wk-mp-collection-right .block-account .block-title,
  .wk-mp-collection-right .block-title.wk-mp-float-left { padding-bottom: 10px !important; }
  .wk-mp-collection-right .block-account .block-title strong,
  .wk-mp-collection-right .block-account h4 { font-size: 22px !important; }
  .wk-mp-collection-right .toolbar:has(~ .products.wrapper) { justify-content: flex-start !important; }
  .wk-mp-collection-right .products.wrapper ~ .toolbar,
  .wk-mp-collection-right .products.wrapper ~ * .toolbar { justify-content: center !important; }
  .wk-mp-collection-view-btn a { width: 100% !important; box-sizing: border-box !important; max-width: 100%; }
  .wk-mp-collection-view-btn { padding: 0 !important; margin-left: 0 !important; margin-right: 0 !important; box-sizing: border-box; }
}
/* Grid cards on phones: just a full-width Add to Cart (wish list and compare stay on the product page) */
@media (max-width: 768px) {
  .products-grid .product-item-actions .actions-secondary { display: none !important; }
  .products-grid .product-item-actions .actions-primary { width: 100%; }
  .products-grid .product-item-actions .actions-primary .action.tocart { width: 100% !important; }
}

/* -- Phones -- */
@media (max-width: 768px) {
  .wk-seller-rating-left-container, .description-left-container, .wk-seller-policy-left-container { flex: 1 1 100%; width: 100% !important; }
  .wk-seller-policy-left-container { display: none !important; }   /* the policy cards below already show every policy */
  .wk-seller-policy-contaainer { display: block !important; }
  .wk-seller-contact-contaainer { grid-template-columns: 1fr; gap: 20px; }
  .wk-seller-contact-left-container iframe { height: 240px !important; border-radius: 16px; }
  .wk-seller-contact-contaainer { margin: 0 !important; padding: 0 !important; }
  .wk-seller-contact-left-container,
  .wk-seller-contact-left-container .wk-mp-collection-container,
  .wk-seller-contact-left-container .wk-mp-collection-container > * {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    min-height: 0 !important;
  }
  .wk-seller-contact-right-container .form-class-container { padding: 20px !important; }
}

/* =====================================================================
   ACCOUNT & SELLER DASHBOARD SIDE MENUS ("My Account", "Marketplace")
   ===================================================================== */
.block-collapsible-nav {
  background: #ffffff !important;
  border: 1px solid #e3e8f0 !important;
  border-radius: 18px !important;
  margin: 0 0 14px !important;
  padding: 8px !important;
  box-sizing: border-box;
  overflow: hidden;
}
.block-collapsible-nav .title {
  border: 0 !important;
  padding: 12px 14px !important;
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #161c27 !important;
  background: transparent !important;
}
.block-collapsible-nav .title strong { font-size: 15px !important; font-weight: 700 !important; }
.block-collapsible-nav .title:after { right: 14px !important; color: #4f5a6d !important; font-size: 13px !important; }
.block-collapsible-nav .content { padding: 4px 0 4px !important; background: transparent !important; border: 0 !important; }
.block-collapsible-nav .items { margin: 0 !important; padding: 0 !important; }
.block-collapsible-nav .item { margin: 0 0 4px !important; }
.block-collapsible-nav .item:last-child { margin-bottom: 0 !important; }
.block-collapsible-nav .item a,
.block-collapsible-nav .item > strong {
  display: block !important;
  padding: 10px 14px !important;
  border: 0 !important;
  border-radius: 10px;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #2a3140 !important;
  text-decoration: none !important;
}
.block-collapsible-nav .item a:hover { background: #f4f7fc !important; color: #2667dc !important; }
.block-collapsible-nav .item.current a,
.block-collapsible-nav .item.current > strong,
#block-collapsible-nav .nav.item.current > strong,
#block-collapsible-nav .nav.item.current > a {
  background: #eef3ff !important;
  color: #2667dc !important;
  font-weight: 600 !important;
  border: 0 !important;
}
.block-collapsible-nav .item .delimiter { display: block; height: 1px; margin: 6px 14px !important; border: 0 !important; background: #eef1f6; }
/* Webkul's seller menu uses the same look */
[class*="wk-mp"] li.current > a, [class*="wk-mp"] li.active > a { border-left: 0 !important; }
@media (min-width: 769px) {
  .account .sidebar-main .block-collapsible-nav .title { display: block !important; pointer-events: none; }
  .account .sidebar-main .block-collapsible-nav .title:after { display: none !important; }
  .account .sidebar-main .block-collapsible-nav .content { display: block !important; }
}
@media (max-width: 768px) {
  .block-collapsible-nav { padding: 0 !important; border-radius: 14px !important; }
  .block-collapsible-nav .title { padding: 14px 16px !important; }
  .block-collapsible-nav .content { padding: 0 8px 8px !important; }
  .block-collapsible-nav.active .title, .block-collapsible-nav .title.active { border-bottom: 1px solid #eef1f6 !important; }
}

/* Account page headings and info boxes */
.account .page-title-wrapper .page-title {
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-size: 34px !important;
  font-weight: 700 !important;
  letter-spacing: -0.6px;
  color: #161c27;
}
.account .column.main .block:not(.block-collapsible-nav) > .block-title {
  border: 0 !important;
  padding: 0 !important;
  margin: 8px 0 14px !important;
}
.account .column.main .block:not(.block-collapsible-nav) > .block-title strong {
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #161c27;
}
.account .column.main .block .box {
  background: #ffffff;
  border: 1px solid #e3e8f0;
  border-radius: 16px;
  padding: 18px 20px !important;
  box-sizing: border-box;
  margin-bottom: 16px !important;
}
.account .column.main .block .box-title { display: block; margin: 0 0 8px !important; }
.account .column.main .block .box-title span { font-size: 15px !important; font-weight: 700 !important; color: #161c27; }
.account .column.main .block .box-content { font-size: 14px; line-height: 1.7; color: #3b4558; }
.account .column.main .block .box-actions { margin-top: 10px !important; display: flex; gap: 14px; flex-wrap: wrap; }
.account .column.main .block .box-actions a { font-size: 14px; font-weight: 600; color: #2667dc !important; }
@media (min-width: 769px) {
  .account .column.main .block .block-content { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
  .account .column.main .block .block-content .box { width: auto !important; float: none !important; margin: 0 !important; }
}

/* My Account info boxes: the grid's hidden clearfix counted as a box and left an empty space on the left */
.account .column.main .block .block-content:before,
.account .column.main .block .block-content:after { display: none !important; content: none !important; }
.account .column.main .block .box-actions .action:after,
.account .column.main .block .box-actions .action:before { display: none !important; }

/* ---------- Seller dashboard pages (every page with the account side menu) ---------- */
/* Section headings with their buttons on the right */
body:has(.block-collapsible-nav) .column.main .fieldset > .legend:not(.admin__data-grid-outer-wrap *),
body:has(.block-collapsible-nav) .column.main fieldset > legend:not(.admin__data-grid-outer-wrap *) {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  width: 100% !important;
  float: none !important;
  box-sizing: border-box;
  margin: 8px 0 22px !important;
  padding: 0 0 14px !important;
  border: 0 !important;
  border-bottom: 1px solid #e3e8f0 !important;
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  letter-spacing: -0.3px;
  color: #161c27 !important;
}
body:has(.block-collapsible-nav) .column.main .fieldset > .legend > span:first-child { margin-right: auto; }
body:has(.block-collapsible-nav) .column.main .fieldset > .legend button,
body:has(.block-collapsible-nav) .column.main .fieldset > .legend .button { float: none !important; margin: 0 !important; }
body:has(.block-collapsible-nav) .column.main h3,
body:has(.block-collapsible-nav) .column.main .page-title-wrapper + * h2 {
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-weight: 700 !important;
  color: #161c27;
}

/* Labels */
body:has(.block-collapsible-nav) .column.main .field > .label,
body:has(.block-collapsible-nav) .column.main .field > label,
body:has(.block-collapsible-nav) .column.main .fieldset > .field > .label,
body:has(.block-collapsible-nav) .column.main label.label {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #161c27 !important;
  margin-bottom: 8px !important;
}
body:has(.block-collapsible-nav) .column.main .field { margin-bottom: 20px !important; }
body:has(.block-collapsible-nav) .column.main input[type="checkbox"] + label,
body:has(.block-collapsible-nav) .column.main .choice label { font-weight: 500 !important; color: #3b4558 !important; }
body:has(.block-collapsible-nav) .column.main input[type="checkbox"] { accent-color: #2667dc; width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; }

/* Text boxes: full width and no extra indent */
body:has(.block-collapsible-nav) .column.main :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="url"], input:not([type]), textarea, select):not(.admin__data-grid-outer-wrap *):not(.tox *) {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding-left: 16px !important;
  text-indent: 0 !important;
  text-align: left !important;
  margin-left: 0 !important;
}
body:has(.block-collapsible-nav) .column.main textarea { border-radius: 14px !important; min-height: 96px; }

/* File pickers */
body:has(.block-collapsible-nav) .column.main input[type="file"] {
  padding: 0 !important;
  margin: 0 0 12px !important;
  border: 0 !important;
  font-size: 13px;
  color: #4f5a6d;
}
body:has(.block-collapsible-nav) .column.main input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 9px 18px;
  border: 1px solid #c9d6ee;
  border-radius: 999px;
  background: #ffffff;
  color: #2667dc;
  font: 600 14px Inter, sans-serif;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
body:has(.block-collapsible-nav) .column.main input[type="file"]::file-selector-button:hover { background: #eef3ff; border-color: #2667dc; }
body:has(.block-collapsible-nav) .column.main .field img:not([src*="flag" i]) { border-radius: 14px; max-width: 100%; height: auto; }
body:has(.block-collapsible-nav) .column.main img[src*="flag" i] {
  width: 36px !important;
  height: auto !important;
  border-radius: 4px;
  margin-top: 10px;
  box-shadow: 0 0 0 1px #e3e8f0;
}

/* Text editors */
body:has(.block-collapsible-nav) .column.main .tox-tinymce { border: 1px solid #e3e8f0 !important; border-radius: 14px !important; }

/* Buttons: brand blue pills */
body:has(.block-collapsible-nav) .column.main :is(button, .button, a.button, .wk-mp-btn):not(:is(.tox, .admin__data-grid-outer-wrap, .data-grid, .ui-datepicker, .box-actions, .modal-popup) *):not(.action-close):not(.ui-datepicker-trigger):not([class*="tox"]) {
  width: auto;
  height: auto !important;
  min-height: 0 !important;
  padding: 10px 20px !important;
  border: 1px solid #2667dc !important;
  border-radius: 999px !important;
  background: #2667dc !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font: 600 14px/1.2 Inter, sans-serif !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
body:has(.block-collapsible-nav) .column.main :is(button, .button, a.button, .wk-mp-btn):not(:is(.tox, .admin__data-grid-outer-wrap, .data-grid, .ui-datepicker, .box-actions, .modal-popup) *):not(.action-close):not(.ui-datepicker-trigger):not([class*="tox"]) span { color: inherit !important; font: inherit !important; }
body:has(.block-collapsible-nav) .column.main :is(button, .button, a.button, .wk-mp-btn):not(:is(.tox, .admin__data-grid-outer-wrap, .data-grid, .ui-datepicker, .box-actions, .modal-popup) *):not(.action-close):not(.ui-datepicker-trigger):not([class*="tox"]):hover {
  background: #154c91 !important;
  border-color: #154c91 !important;
}
/* Secondary buttons (download, reset, view): white with a blue outline */
body:has(.block-collapsible-nav) .column.main :is(button, .button, .wk-mp-btn):is([title*="Download" i], [title*="Reset" i], [title*="View" i], [type="reset"], [onclick*="download" i], [onclick*="csv" i], [onclick*="reset" i]):not(:is(.admin__data-grid-outer-wrap, .data-grid) *) {
  background: #ffffff !important;
  color: #2667dc !important;
  border-color: #c9d6ee !important;
}
body:has(.block-collapsible-nav) .column.main :is(button, .button, .wk-mp-btn):is([title*="Download" i], [title*="Reset" i], [title*="View" i], [type="reset"], [onclick*="download" i], [onclick*="csv" i], [onclick*="reset" i]):not(:is(.admin__data-grid-outer-wrap, .data-grid) *):hover {
  background: #eef3ff !important;
  border-color: #2667dc !important;
}
body:has(.block-collapsible-nav) .column.main .fieldset > .legend:has(button + button) { justify-content: flex-start; }

/* "« Back" links */
body:has(.block-collapsible-nav) .column.main a:is([onclick*="history.back"], [href*="history.back"], .back, .action.back) {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: #4f5a6d !important;
  text-decoration: none !important;
}
body:has(.block-collapsible-nav) .column.main a:is([onclick*="history.back"], [href*="history.back"], .back, .action.back):hover { color: #2667dc !important; }

/* "No orders / no transactions" messages */
body:has(.block-collapsible-nav) .column.main .wk-emptymsg {
  display: block;
  margin: 16px 0 0 !important;
  padding: 36px 20px !important;
  border: 1px dashed #d6deeb;
  border-radius: 16px;
  background: #f4f7fc;
  color: #4f5a6d !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  text-align: center;
}
body:has(.block-collapsible-nav) .column.main .wk-emptymsg::first-letter { text-transform: uppercase; }

/* Number tiles (All Orders, Pending, Enabled Products ...) */
body:has(.block-collapsible-nav) .column.main .wk-card { background: transparent !important; }
body:has(.block-collapsible-nav) .column.main .wk-card > a {
  display: block;
  box-sizing: border-box;
  background: #ffffff !important;
  border: 1px solid #e3e8f0 !important;
  border-radius: 14px !important;
  box-shadow: 0 1px 2px rgba(22, 28, 39, .04);
  color: #4f5a6d !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.5;
  text-decoration: none !important;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
body:has(.block-collapsible-nav) .column.main .wk-card > a::first-line {
  font-family: 'Space Grotesk', Inter, sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #161c27;
}
body:has(.block-collapsible-nav) .column.main .wk-card > a:hover {
  border-color: #c9d6ee !important;
  box-shadow: 0 6px 18px rgba(22, 28, 39, .08);
}
body:has(.block-collapsible-nav) .column.main .wk-card > a.active {
  background: #eef3ff !important;
  border-color: #2667dc !important;
  color: #2667dc !important;
}
body:has(.block-collapsible-nav) .column.main .wk-card > a.active::first-line { color: #2667dc; }

/* Marketplace Dashboard: Reports / Activities tabs */
body:has(.block-collapsible-nav) .column.main .product.data.items { margin: 8px 0 0 !important; border: 0 !important; }
body:has(.block-collapsible-nav) .column.main .product.data.items > .item.title { margin: 0 4px 0 0 !important; }
body:has(.block-collapsible-nav) .column.main .product.data.items > .item.title > .switch {
  display: block;
  height: auto !important;
  padding: 12px 22px !important;
  border: 0 !important;
  border-radius: 14px 14px 0 0 !important;
  background: transparent !important;
  color: #8a93a3 !important;
  font: 600 15px/1.3 Inter, sans-serif !important;
  text-decoration: none !important;
  transition: color .15s;
}
body:has(.block-collapsible-nav) .column.main .product.data.items > .item.title > .switch:hover { color: #2667dc !important; }
body:has(.block-collapsible-nav) .column.main .product.data.items > .item.title.active > .switch {
  background: #f4f7fc !important;
  color: #161c27 !important;
}
body:has(.block-collapsible-nav) .column.main .product.data.items > .item.content {
  background: #f4f7fc !important;
  border: 0 !important;
  border-radius: 0 16px 16px 16px !important;
  padding: 20px !important;
  box-sizing: border-box;
}

/* Dashboard filter row: Ask Question button and period dropdown side by side */
body:has(.block-collapsible-nav) .column.main .wk-report-filter { margin-bottom: 16px; }
body:has(.block-collapsible-nav) .column.main .wk-ask-question {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}
body:has(.block-collapsible-nav) .column.main .wk-ask-question > * { float: none !important; margin: 0 !important; }
body:has(.block-collapsible-nav) .column.main .wk-report-filter select#wk-sales-filter {
  width: auto !important;
  min-width: 190px;
  background-color: #ffffff !important;
}
body:has(.block-collapsible-nav) .column.main .wk-report-filter .wk-daterange-container { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; justify-content: flex-end; }
body:has(.block-collapsible-nav) .column.main .wk-report-filter .wk-daterange-container.dispnone { display: none !important; }

/* Mobile: account menus and dashboard tabs */
@media (max-width: 768px) {
  /* Arrows centred on their row */
  .block-collapsible-nav .title { position: relative !important; }
  .block-collapsible-nav .title:after {
    position: absolute !important;
    top: 50% !important;
    right: 16px !important;
    margin: 0 !important;
    line-height: 1 !important;
    transform: translateY(-50%);
  }
  /* Room between the menu heading line and the first item */
  .block-collapsible-nav .content { padding: 8px 0 !important; }
  .block-collapsible-nav.active .title, .block-collapsible-nav .title.active { margin-bottom: 0 !important; }

  /* Reports / Activities on phones */
  body:has(.block-collapsible-nav) .column.main .product.data.items > .item.title > .switch {
    position: relative;
    border-radius: 14px !important;
    padding: 14px 44px 14px 16px !important;
  }
  body:has(.block-collapsible-nav) .column.main .product.data.items > .item.title.active > .switch { border-radius: 14px 14px 0 0 !important; }
  body:has(.block-collapsible-nav) .column.main .product.data.items > .item.title > .switch:after {
    position: absolute !important;
    top: 50% !important;
    right: 16px !important;
    margin: 0 !important;
    line-height: 1 !important;
    transform: translateY(-50%);
  }
  body:has(.block-collapsible-nav) .column.main .product.data.items > .item.content { padding: 12px !important; border-radius: 0 0 16px 16px !important; }
  body:has(.block-collapsible-nav) .column.main .product.data.items > .item.content > * { margin-top: 0 !important; padding-top: 0 !important; }
  body:has(.block-collapsible-nav) .column.main .wk-report-filter { margin: 0 0 12px !important; padding: 0 !important; }
  body:has(.block-collapsible-nav) .column.main .wk-ask-question { justify-content: stretch; }
  body:has(.block-collapsible-nav) .column.main .wk-report-filter select#wk-sales-filter { width: 100% !important; }
}

/* Plain tables (order and transaction search) */
body:has(.block-collapsible-nav) .column.main table:not(.data-grid) {
  width: 100%;
  border: 1px solid #e3e8f0 !important;
  border-radius: 16px;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden;
  background: #ffffff !important;
}
body:has(.block-collapsible-nav) .column.main table:not(.data-grid) :is(thead, tbody, tfoot, tr, th, td) {
  background: transparent !important;
  background-image: none !important;
}
body:has(.block-collapsible-nav) .column.main table:not(.data-grid) :is(th, td) {
  border: 0 !important;
  border-bottom: 1px solid #eef1f6 !important;
  padding: 12px 14px !important;
  vertical-align: middle !important;
  font-size: 14px;
  color: #161c27;
}
body:has(.block-collapsible-nav) .column.main table:not(.data-grid) tr:last-child > td { border-bottom: 0 !important; }
body:has(.block-collapsible-nav) .column.main table:not(.data-grid) thead :is(th, td) {
  background: #f4f7fc !important;
  color: #4f5a6d !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: .4px;
}
body:has(.block-collapsible-nav) .column.main table:not(.data-grid) td:has(input, select) { white-space: nowrap; }
body:has(.block-collapsible-nav) .column.main table:not(.data-grid) td :is(input, select) { margin: 3px 0 !important; }

@media (max-width: 768px) {
  /* Section heading on its own line, buttons side by side underneath */
  body:has(.block-collapsible-nav) .column.main .fieldset > .legend:not(.admin__data-grid-outer-wrap *):has(button, .button) { gap: 10px; }
  body:has(.block-collapsible-nav) .column.main .fieldset > .legend:not(.admin__data-grid-outer-wrap *):has(button, .button) > span:first-child { flex: 1 0 100%; }
  body:has(.block-collapsible-nav) .column.main .fieldset > .legend:not(.admin__data-grid-outer-wrap *) :is(button, .button) {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 12px !important;
    font-size: 13px !important;
    white-space: normal;
    text-align: center;
  }

  /* Number tiles two across */
  body:has(.block-collapsible-nav) .column.main .wk-card:has(> a + a) { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  body:has(.block-collapsible-nav) .column.main .wk-card:has(> a + a) > a { width: auto !important; float: none !important; margin: 0 !important; padding: 14px 16px !important; }
  body:has(.block-collapsible-nav) .column.main .wk-card:has(> a + a)::before, body:has(.block-collapsible-nav) .column.main .wk-card:has(> a + a)::after { display: none !important; }

  /* Search tables stack into one column */
  body:has(.block-collapsible-nav) .column.main table:not(.data-grid), body:has(.block-collapsible-nav) .column.main table:not(.data-grid) :is(tbody, tr, td) { display: block !important; width: 100% !important; box-sizing: border-box; }
  body:has(.block-collapsible-nav) .column.main table:not(.data-grid) thead { display: none !important; }
  body:has(.block-collapsible-nav) .column.main table:not(.data-grid) td { border-bottom: 0 !important; padding: 8px 14px !important; text-align: left !important; }
  body:has(.block-collapsible-nav) .column.main table:not(.data-grid) tr > td:first-child { padding-top: 14px !important; }
  body:has(.block-collapsible-nav) .column.main table:not(.data-grid) tr > td:last-child { padding-bottom: 14px !important; }
  body:has(.block-collapsible-nav) .column.main table:not(.data-grid) td :is(input, select) { width: 100% !important; margin: 0 !important; }
}

/* Search rows (built from the real Webkul markup) */
body:has(.block-collapsible-nav) .column.main table:not(.data-grid) td > * { float: none !important; }
body:has(.block-collapsible-nav) .column.main table:not(.data-grid) td.wk-mp-td-last { text-align: right; }
body:has(.block-collapsible-nav) .column.main table:not(.data-grid) td.wk-mp-td-last:has(> button + button) { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
/* Date From / Date To: two equal boxes with a gap */
body:has(.block-collapsible-nav) .column.main table:not(.data-grid) .wk-mp-td-span {
  display: inline-block !important;
  position: relative;
  width: calc(50% - 8px) !important;
  margin: 0 !important;
  vertical-align: middle;
  float: none !important;
}
body:has(.block-collapsible-nav) .column.main table:not(.data-grid) .wk-mp-td-span + .wk-mp-td-span { margin-left: 10px !important; }
body:has(.block-collapsible-nav) .column.main table:not(.data-grid) .wk-mp-td-span input { width: 100% !important; margin: 0 !important; padding-right: 36px !important; }
/* Calendar icon sits inside the date box */
body:has(.block-collapsible-nav) .column.main table:not(.data-grid) .wk-mp-td-span .ui-datepicker-trigger {
  position: absolute !important;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
@media (max-width: 768px) {
  body:has(.block-collapsible-nav) .column.main table:not(.data-grid) td.wk-mp-td-last { text-align: left; }
  body:has(.block-collapsible-nav) .column.main table:not(.data-grid) td.wk-mp-td-last > button { width: 100% !important; }
  body:has(.block-collapsible-nav) .column.main table:not(.data-grid) .wk-mp-td-span { width: calc(50% - 7px) !important; }
  body:has(.block-collapsible-nav) .column.main table:not(.data-grid) .wk-mp-td-span + .wk-mp-td-span { margin-left: 8px !important; }
}

/* Data grids (My Products, Draft Products, Earnings, attributes) */
body:has(.block-collapsible-nav) .column.main .admin__data-grid-wrap {
  border: 1px solid #e3e8f0;
  border-radius: 16px;
  padding: 0 !important;
  margin-top: 12px;
  overflow: auto;
  background: #ffffff;
}
body:has(.block-collapsible-nav) .column.main .data-grid { border: 0 !important; margin: 0 !important; }
body:has(.block-collapsible-nav) .column.main .data-grid th,
body:has(.block-collapsible-nav) .column.main .data-grid .data-grid-th {
  background: #f4f7fc !important;
  color: #4f5a6d !important;
  border: 0 !important;
  border-bottom: 1px solid #e3e8f0 !important;
  border-right: 1px solid #eef1f6 !important;
  padding: 13px 14px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: .4px;
  vertical-align: middle !important;
}
body:has(.block-collapsible-nav) .column.main .data-grid th:last-child { border-right: 0 !important; }
body:has(.block-collapsible-nav) .column.main .data-grid th._sortable:hover { background: #eef3ff !important; color: #2667dc !important; }
body:has(.block-collapsible-nav) .column.main .data-grid th._ascend:after,
body:has(.block-collapsible-nav) .column.main .data-grid th._descend:after { color: #2667dc !important; }
body:has(.block-collapsible-nav) .column.main .data-grid td {
  background: #ffffff !important;
  border: 0 !important;
  border-bottom: 1px solid #eef1f6 !important;
  padding: 13px 14px !important;
  font-size: 14px;
  color: #161c27 !important;
  vertical-align: middle !important;
}
body:has(.block-collapsible-nav) .column.main .data-grid tbody tr:last-child td { border-bottom: 0 !important; }
body:has(.block-collapsible-nav) .column.main .data-grid tbody tr:not(.data-grid-tr-no-data):hover td { background: #f8faff !important; }
body:has(.block-collapsible-nav) .column.main .data-grid .data-grid-tr-no-data td {
  padding: 40px 16px !important;
  text-align: center;
  color: #8a93a3 !important;
  font-weight: 500;
}
body:has(.block-collapsible-nav) .column.main .data-grid a { color: #2667dc; font-weight: 600; }

/* Grid checkboxes: plain brand-blue ticks instead of the broken grey squares */
body:has(.block-collapsible-nav) .column.main .data-grid .admin__control-checkbox {
  position: static !important;
  opacity: 1 !important;
  clip: auto !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  accent-color: #2667dc;
  vertical-align: middle;
}
body:has(.block-collapsible-nav) .column.main .data-grid .admin__control-checkbox + label:before,
body:has(.block-collapsible-nav) .column.main .data-grid .admin__control-checkbox + label:after { display: none !important; }
body:has(.block-collapsible-nav) .column.main .data-grid .admin__control-checkbox + label { padding: 0 !important; width: 0; }
body:has(.block-collapsible-nav) .column.main .data-grid .action-multicheck-wrap { display: inline-flex; align-items: center; gap: 4px; width: auto !important; }
body:has(.block-collapsible-nav) .column.main .data-grid .action-multicheck-toggle {
  background: transparent !important;
  border: 0 !important;
  width: 18px !important;
  height: 18px !important;
  padding: 0 !important;
}

/* Grid toolbar: Filters, Default View, Columns */
body:has(.block-collapsible-nav) .column.main .admin__data-grid-header { margin-bottom: 4px; }
body:has(.block-collapsible-nav) .column.main .admin__data-grid-header-row { align-items: center; }
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters-actions-wrap .action-default,
body:has(.block-collapsible-nav) .column.main .data-grid-filters-action-wrap .action-default,
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  height: auto !important;
  padding: 9px 18px !important;
  border: 1px solid #e3e8f0 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  color: #161c27 !important;
  font: 600 14px/1.2 Inter, sans-serif !important;
  text-transform: none !important;
}
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters-actions-wrap .action-default:hover,
body:has(.block-collapsible-nav) .column.main .data-grid-filters-action-wrap .action-default:hover,
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown:hover,
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-wrap._active .admin__action-dropdown {
  border-color: #2667dc !important;
  color: #2667dc !important;
  background: #eef3ff !important;
}
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown:before,
body:has(.block-collapsible-nav) .column.main .data-grid-filters-action-wrap .action-default:before { color: inherit !important; }
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-bookmarks + .admin__data-grid-action-columns,
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-columns { border-left: 0 !important; padding-left: 8px !important; margin-left: 0 !important; }
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-bookmarks:after,
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-columns:before { display: none !important; }
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-menu {
  border: 1px solid #e3e8f0 !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 40px rgba(22, 28, 39, .12) !important;
  padding: 12px !important;
  background: #ffffff !important;
}
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-wrap._active .admin__action-dropdown { border-bottom-left-radius: 999px !important; border-bottom-right-radius: 999px !important; }
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-wrap._active:after,
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-wrap._active:before { display: none !important; }

/* Filters panel */
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters-wrap._show {
  border: 1px solid #e3e8f0;
  border-radius: 16px;
  padding: 20px !important;
  margin: 12px 0;
  background: #f8faff;
}
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters-wrap :is(.admin__control-text, select, input) {
  border: 1px solid #d6deeb !important;
  border-radius: 999px !important;
  padding: 8px 14px !important;
  height: auto !important;
  background: #ffffff !important;
}
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters-wrap .action-secondary {
  padding: 10px 20px !important;
  border: 1px solid #2667dc !important;
  border-radius: 999px !important;
  background: #2667dc !important;
  color: #ffffff !important;
  font: 600 14px/1.2 Inter, sans-serif !important;
}
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters-wrap .action-tertiary {
  background: none !important;
  border: 0 !important;
  color: #4f5a6d !important;
  font-weight: 600 !important;
}

/* Grid toolbar fixes: no orange line, no divider, proper dropdown arrows */
body:has(.block-collapsible-nav) .column.main :is(.data-grid-filters-action-wrap, .admin__data-grid-filters-actions-wrap, .admin__data-grid-action-bookmarks, .admin__data-grid-action-columns, .admin__data-grid-header-row .admin__action-dropdown-wrap) {
  border: 0 !important;
  box-shadow: none !important;
}
body:has(.block-collapsible-nav) .column.main .data-grid-filters-action-wrap::before,
body:has(.block-collapsible-nav) .column.main .data-grid-filters-action-wrap::after,
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters-actions-wrap::before,
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters-actions-wrap::after,
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-bookmarks::before,
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-bookmarks::after,
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-columns::before,
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-columns::after,
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-bookmarks .admin__action-dropdown-wrap::before,
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-bookmarks .admin__action-dropdown-wrap::after,
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-columns .admin__action-dropdown-wrap::before,
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-columns .admin__action-dropdown-wrap::after,
body:has(.block-collapsible-nav) .column.main .data-grid-filters-action-wrap .action-default:after,
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters-actions-wrap .action-default:after { display: none !important; content: none !important; }
body:has(.block-collapsible-nav) .column.main .data-grid-filters-action-wrap .action-default._active,
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters-actions-wrap .action-default._active {
  border-color: #2667dc !important;
  color: #2667dc !important;
  background: #eef3ff !important;
}
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-bookmarks,
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-columns { margin-left: 8px !important; padding-left: 0 !important; }
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown {
  position: relative !important;
  padding-right: 38px !important;
}
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown:after {
  content: '' !important;
  position: absolute !important;
  right: 17px !important;
  left: auto !important;
  top: calc(50% - 6px) !important;
  margin: 0 !important;
  width: 7px !important;
  height: 7px !important;
  border: 0 !important;
  border-right: 2px solid currentColor !important;
  border-bottom: 2px solid currentColor !important;
  transform: rotate(45deg);
  transition: transform .15s;
}
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-wrap._active .admin__action-dropdown:after {
  transform: rotate(-135deg);
  top: calc(50% - 2px) !important;
}
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-wrap { position: relative; z-index: 20; }
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-wrap._active { z-index: 60; }
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-menu {
  margin-top: 8px !important;
  z-index: 60 !important;
  opacity: 1 !important;
  min-width: 240px;
}
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-menu :is(.action-tertiary, .action-secondary, button) {
  background: none !important;
  border: 0 !important;
  color: #2667dc !important;
  font: 600 14px Inter, sans-serif !important;
  padding: 6px 4px !important;
}
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-menu .admin__action-dropdown-menu-footer,
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-menu-footer { border-top: 1px solid #eef1f6 !important; margin-top: 8px; padding-top: 8px !important; }
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-menu input[type="checkbox"] { accent-color: #2667dc; }
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters-wrap { position: relative; z-index: 1; }

/* Filters panel layout */
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters-wrap._show .admin__data-grid-filters {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px 24px;
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
}
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters:before,
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters:after { display: none !important; }
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters > * {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  min-width: 0;
}
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters legend,
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters .admin__form-field-legend,
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters .admin__form-field-label,
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters label {
  display: block !important;
  width: auto !important;
  float: none !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  font-family: Inter, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  color: #161c27 !important;
  text-align: left !important;
}
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters .admin__form-field-range .admin__form-field,
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters fieldset .admin__form-field {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px !important;
  width: auto !important;
  float: none !important;
}
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters fieldset .admin__form-field .admin__form-field-label {
  flex: 0 0 34px;
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #4f5a6d !important;
}
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters fieldset .admin__form-field .admin__form-field-label:after { display: none; }
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters .admin__form-field-control {
  flex: 1 1 auto;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  position: relative;
}
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters :is(input, select) { width: 100% !important; box-sizing: border-box !important; }
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters .ui-datepicker-trigger {
  position: absolute !important;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none !important;
  border: 0 !important;
}
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters-footer { display: flex; justify-content: flex-end; }

/* Gap between the toolbar and the filters panel */
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters-wrap._show { margin-top: 16px !important; }
body:has(.block-collapsible-nav) .column.main .admin__data-grid-header-row:has(.admin__data-grid-filters-wrap._show) { margin-bottom: 0; }

/* Open menus: solid white card above everything */
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-wrap._active { z-index: 200 !important; }
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-wrap._active .admin__action-dropdown-menu {
  z-index: 200 !important;
  background-color: rgb(255, 255, 255) !important;
  opacity: 1 !important;
  isolation: isolate;
}
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-menu > * { background-color: rgb(255, 255, 255); opacity: 1 !important; }
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-columns .admin__action-dropdown-menu { right: 0 !important; left: auto !important; }
body:has(.block-collapsible-nav) .column.main .admin__data-grid-header,
body:has(.block-collapsible-nav) .column.main .admin__data-grid-header-row { position: relative; }
body:has(.block-collapsible-nav) .column.main .admin__data-grid-header-row:has(._active) { z-index: 200; }

/* Pager: compact page box and rows-per-page box (beat the full-width form rule) */
body:has(.block-collapsible-nav) .column.main .admin__data-grid-pager input.admin__control-text:not(#a):not(#b) {
  width: 56px !important;
  height: 38px !important;
  padding: 0 !important;
  text-align: center !important;
  border: 1px solid #e3e8f0 !important;
  border-radius: 999px !important;
}
body:has(.block-collapsible-nav) .column.main .selectmenu .selectmenu-value input:not(#a):not(#b) {
  width: 46px !important;
  height: 38px !important;
  padding: 0 0 0 16px !important;
  border: 0 !important;
  text-align: left !important;
}
body:has(.block-collapsible-nav) .column.main .selectmenu-toggle:after {
  content: '' !important;
  position: absolute !important;
  left: 9px !important;
  right: auto !important;
  top: calc(50% - 6px) !important;
  margin: 0 !important;
  width: 7px !important;
  height: 7px !important;
  border: 0 !important;
  border-right: 2px solid #4f5a6d !important;
  border-bottom: 2px solid #4f5a6d !important;
  transform: rotate(45deg);
}
body:has(.block-collapsible-nav) .column.main .selectmenu-toggle { position: relative !important; height: 38px !important; }
body:has(.block-collapsible-nav) .column.main .admin__data-grid-pager-wrap > *,
body:has(.block-collapsible-nav) .column.main .admin__data-grid-pager > * { vertical-align: middle; }
body:has(.block-collapsible-nav) .column.main .admin__data-grid-pager-wrap label,
body:has(.block-collapsible-nav) .column.main .admin__data-grid-pager-wrap .admin__control-support-text { margin: 0 4px !important; line-height: 38px; }

/* Keep the grid's own menus inside the grid, so the site menu always opens on top */
body:has(.block-collapsible-nav) .column.main .admin__data-grid-outer-wrap { position: relative; z-index: 1; isolation: isolate; }

/* Grid menus: more room below the buttons, solid cards, tidy contents */
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-wrap._active .admin__action-dropdown-menu { margin-top: 14px !important; top: 100% !important; }
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters-wrap._show { position: relative; top: 14px; margin-bottom: 30px !important; }
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-menu,
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-columns-menu,
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-columns .admin__action-dropdown-menu,
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-menu .admin__action-dropdown-menu-content,
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-menu .admin__action-dropdown-menu-header,
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-menu .admin__action-dropdown-footer {
  background: #ffffff !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
}
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-menu::before,
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-menu::after { display: none !important; }
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-menu { padding: 16px !important; box-sizing: border-box; }
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-menu .admin__action-dropdown-menu-header {
  margin: 0 0 12px !important;
  padding: 0 0 12px !important;
  border-bottom: 1px solid #eef1f6 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #4f5a6d !important;
}
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-menu .admin__action-dropdown-menu-header *::before,
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-menu .admin__action-dropdown-menu-header *::after { display: none !important; }
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-columns .admin__action-dropdown-menu-content {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 4px 16px;
  padding: 0 !important;
  margin: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-columns .admin__action-dropdown-menu-content > * {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 6px 4px !important;
  display: flex !important;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
}
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-columns .admin__action-dropdown-menu-content > *:hover { background: #f4f7fc !important; }
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-menu .admin__control-checkbox {
  position: static !important;
  opacity: 1 !important;
  clip: auto !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  accent-color: #2667dc;
}
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-menu .admin__control-checkbox + label { padding: 0 !important; margin: 0 !important; font-size: 14px !important; font-weight: 500 !important; color: #161c27 !important; }
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-menu .admin__control-checkbox + label::before,
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-menu .admin__control-checkbox + label::after { display: none !important; }
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-menu .admin__action-dropdown-footer {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0 0 !important;
  padding: 12px 0 0 !important;
  border-top: 1px solid #eef1f6 !important;
}
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-menu .admin__action-dropdown-footer > * { float: none !important; margin: 0 !important; padding: 0 !important; }
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-menu .admin__action-dropdown-footer button { padding: 6px 8px !important; border-radius: 8px !important; }
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-menu .admin__action-dropdown-footer button:hover { background: #eef3ff !important; }

/* Default View list */
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-bookmarks .admin__action-dropdown-menu { padding: 8px !important; min-width: 220px; }
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-bookmarks .admin__action-dropdown-menu ul { margin: 0 !important; padding: 0 !important; list-style: none; }
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-bookmarks .admin__action-dropdown-menu li {
  margin: 0 0 2px !important;
  padding: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  border: 0 !important;
}
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-bookmarks .admin__action-dropdown-menu li :is(a, span, .action-dropdown-menu-link) {
  display: block;
  padding: 10px 14px !important;
  border-radius: 10px;
  color: #161c27 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  background: transparent !important;
}
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-bookmarks .admin__action-dropdown-menu li:hover,
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-bookmarks .admin__action-dropdown-menu li._active,
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-bookmarks .admin__action-dropdown-menu li._selected { background: #eef3ff !important; }
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-bookmarks .admin__action-dropdown-menu li:hover :is(a, span, .action-dropdown-menu-link),
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-bookmarks .admin__action-dropdown-menu li._active :is(a, span, .action-dropdown-menu-link),
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-bookmarks .admin__action-dropdown-menu li._selected :is(a, span, .action-dropdown-menu-link) { color: #2667dc !important; font-weight: 600 !important; }

/* Closed filter panel takes no space */
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters-wrap:not(._show) { display: none !important; }

/* Toolbar buttons: same height, same top line */
body:has(.block-collapsible-nav) .column.main :is(.admin__data-grid-actions-wrap, .data-grid-filters-actions-wrap, .data-grid-filters-action-wrap, .admin__data-grid-filters-actions-wrap, .admin__data-grid-action-bookmarks, .admin__data-grid-action-columns, .admin__data-grid-header-row .admin__action-dropdown-wrap) {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  top: auto !important;
  vertical-align: top !important;
  line-height: 1 !important;
}
body:has(.block-collapsible-nav) .column.main .admin__data-grid-header-row .admin__action-dropdown,
body:has(.block-collapsible-nav) .column.main .data-grid-filters-action-wrap .action-default,
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters-actions-wrap .action-default {
  display: inline-flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  height: 40px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
}
body:has(.block-collapsible-nav) .column.main .admin__data-grid-header-row .admin__action-dropdown > *,
body:has(.block-collapsible-nav) .column.main .data-grid-filters-action-wrap .action-default > * { line-height: 1 !important; }

/* No white patch between an open button and its menu */
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-wrap::before,
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-wrap::after,
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-wrap._active::before,
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-wrap._active::after { display: none !important; content: none !important; }
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-wrap._active .admin__action-dropdown {
  box-shadow: none !important;
  border-bottom: 1px solid #2667dc !important;
  border-radius: 999px !important;
}

/* Open button always drawn above anything that overlaps its bottom edge */
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-wrap._active .admin__action-dropdown { position: relative !important; z-index: 300 !important; }
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-wrap._active .admin__action-dropdown-menu { z-index: 250 !important; }

/* Filters panel only as wide as its fields, lined up on the right under the Filters button */
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters-wrap._show {
  width: fit-content !important;
  min-width: 340px;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  clear: both;
  box-sizing: border-box;
}
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters-wrap._show .admin__data-grid-filters {
  display: flex !important;
  flex-wrap: wrap;
  gap: 18px 24px;
}
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters-wrap._show .admin__data-grid-filters > * { flex: 0 0 240px; }
@media (max-width: 768px) {
  body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters-wrap._show { width: 100% !important; min-width: 0; }
  body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters-wrap._show .admin__data-grid-filters > * { flex: 1 1 100%; }
}


/* Filters panel: floating card that opens directly under the Filters button */
body:has(.block-collapsible-nav) .column.main .data-grid-filters-action-wrap .action-default,
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters-actions-wrap .action-default { anchor-name: --mc-filters; }
body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters-wrap._show {
  position: absolute !important;
  z-index: 150 !important;
  top: 54px !important;
  right: 365px;
  left: auto !important;
  width: max-content !important;
  min-width: 340px;
  max-width: calc(100% - 365px) !important;
  margin: 0 !important;
  background: #ffffff !important;
  box-shadow: 0 16px 40px rgba(22, 28, 39, .12);
}
@supports (anchor-name: --a) {
  body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters-wrap._show {
    position-anchor: --mc-filters;
    top: calc(anchor(bottom) + 14px) !important;
    right: anchor(right);
  }
}
@media (max-width: 768px) {
  body:has(.block-collapsible-nav) .column.main .admin__data-grid-filters-wrap._show {
    position: relative !important;
    top: 0 !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    margin: 14px 0 !important;
    box-shadow: none;
  }
}

/* Open button: one even blue outline all round, nothing drawn under its bottom edge */
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-wrap._active .admin__action-dropdown {
  border: 1px solid #2667dc !important;
  box-shadow: none !important;
  outline: 0 !important;
  background: #eef3ff !important;
}
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-wrap._active .admin__action-dropdown::before {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  position: static !important;
}

/* Remove the white "link" strip Magento draws between an open button and its menu */
body:has(.block-collapsible-nav) .column.main :is(.admin__action-dropdown-wrap, .admin__data-grid-action-bookmarks, .admin__data-grid-action-columns, .admin__data-grid-actions-wrap),
body:has(.block-collapsible-nav) .column.main :is(.admin__action-dropdown-wrap, .admin__data-grid-action-bookmarks, .admin__data-grid-action-columns)._active {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  height: auto !important;
  min-height: 0 !important;
}
/* Columns list: the hidden clearfix was taking the first grid cell */
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-menu-content::before,
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-menu-content::after { display: none !important; content: none !important; }
body:has(.block-collapsible-nav) .column.main .admin__data-grid-action-columns .admin__action-dropdown-menu { min-width: 320px !important; }

/* The white strip comes from the button label's ::after (Magento admin joins button and menu with it) */
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-text::after,
body:has(.block-collapsible-nav) .column.main .admin__action-dropdown-wrap._active .admin__action-dropdown-text::after { display: none !important; content: none !important; }

/* Actions menu, rows per page and page arrows */
body:has(.block-collapsible-nav) .column.main .action-select-wrap .action-select {
  display: inline-flex !important;
  align-items: center;
  height: auto !important;
  padding: 9px 40px 9px 18px !important;
  border: 1px solid #e3e8f0 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  color: #161c27 !important;
  font: 600 14px/1.2 Inter, sans-serif !important;
}
body:has(.block-collapsible-nav) .column.main .action-select-wrap .action-select:hover { border-color: #2667dc !important; }
body:has(.block-collapsible-nav) .column.main .action-select-wrap .action-select:before { background: transparent !important; border: 0 !important; }
body:has(.block-collapsible-nav) .column.main .action-select-wrap .action-menu {
  border: 1px solid #e3e8f0 !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 40px rgba(22, 28, 39, .12) !important;
  padding: 6px !important;
}
body:has(.block-collapsible-nav) .column.main .action-select-wrap .action-menu-item { border-radius: 10px; padding: 9px 12px !important; }
body:has(.block-collapsible-nav) .column.main .action-select-wrap .action-menu-item:hover { background: #eef3ff !important; color: #2667dc !important; }

body:has(.block-collapsible-nav) .column.main .admin__data-grid-pager-wrap { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
body:has(.block-collapsible-nav) .column.main .selectmenu {
  display: inline-flex !important;
  align-items: center;
  border: 1px solid #e3e8f0 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  overflow: hidden;
}
body:has(.block-collapsible-nav) .column.main .selectmenu-value input {
  width: 52px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 9px 0 9px 16px !important;
  height: auto !important;
  font-weight: 600;
}
body:has(.block-collapsible-nav) .column.main .selectmenu-toggle {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  width: 34px !important;
}
body:has(.block-collapsible-nav) .column.main .selectmenu-toggle:before { background: transparent !important; border-left: 0 !important; }
body:has(.block-collapsible-nav) .column.main .admin__data-grid-pager .admin__control-text {
  width: 56px !important;
  height: 38px !important;
  border: 1px solid #e3e8f0 !important;
  border-radius: 999px !important;
  text-align: center !important;
  padding: 0 !important;
  font-weight: 600;
}
body:has(.block-collapsible-nav) .column.main .admin__data-grid-pager :is(.action-previous, .action-next) {
  width: 38px !important;
  height: 38px !important;
  border: 1px solid #e3e8f0 !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: #161c27 !important;
}
body:has(.block-collapsible-nav) .column.main .admin__data-grid-pager :is(.action-previous, .action-next):not([disabled]):hover { border-color: #2667dc !important; color: #2667dc !important; background: #eef3ff !important; }
body:has(.block-collapsible-nav) .column.main .admin__data-grid-pager :is(.action-previous, .action-next)[disabled] { opacity: .45; }
body:has(.block-collapsible-nav) .column.main .admin__data-grid-pager .action-previous { margin-right: 8px !important; }
body:has(.block-collapsible-nav) .column.main .admin__data-grid-pager .action-next { margin-left: 8px !important; }
body:has(.block-collapsible-nav) .column.main .admin__control-support-text { color: #4f5a6d; font-size: 14px; font-weight: 500; }

/* Earnings chart */
body:has(.block-collapsible-nav) .column.main canvas {
  border: 1px solid #e3e8f0;
  border-radius: 16px;
  padding: 16px;
  box-sizing: border-box;
  background: #ffffff;
  margin: 12px 0 20px;
}

@media (max-width: 768px) {
  body:has(.block-collapsible-nav) .column.main .fieldset > .legend,
  body:has(.block-collapsible-nav) .column.main fieldset > legend { font-size: 19px !important; }
  body:has(.block-collapsible-nav) .column.main .admin__data-grid-pager-wrap { justify-content: flex-start; }
}

/* =====================================================================
   12. CHECKOUT AND CART
   ===================================================================== */
/* ---------- Shopping cart page ---------- */
.checkout-cart-index .page-title-wrapper { margin: 8px 0 28px !important; }
.checkout-cart-index .page-title-wrapper .page-title {
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-size: 40px !important;
  font-weight: 700 !important;
  letter-spacing: -0.8px;
  color: #161c27;
  margin: 0 !important;
}

/* Items list as a white card */
.checkout-cart-index .form-cart {
  background: #ffffff;
  border: 1px solid #e3e8f0;
  border-radius: 22px;
  padding: 8px 28px 24px !important;
  box-sizing: border-box;
}
.checkout-cart-index .cart.table-wrapper { margin: 0 !important; border-top: 0 !important; }
.checkout-cart-index .cart.table-wrapper .cart.items > tbody:first-of-type,
.checkout-cart-index .cart.table-wrapper .cart.items thead + .cart.item { border-top: 0 !important; }
.checkout-cart-index .cart.table-wrapper .cart.items { border: 0 !important; }
.checkout-cart-index .cart.table-wrapper thead th {
  padding: 18px 10px 14px !important;
  border-bottom: 1px solid #e3e8f0 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #8a93a3 !important;
}
.checkout-cart-index .cart.table-wrapper thead th.col.item { padding-left: 0 !important; }
.checkout-cart-index .cart.table-wrapper .cart.item { border-bottom: 1px solid #eef1f6 !important; border-top: 0 !important; }
.checkout-cart-index .cart.table-wrapper .item-info td { padding: 22px 10px 6px !important; vertical-align: top; border: 0 !important; }
.checkout-cart-index .cart.table-wrapper .item-info td.col.item { padding-left: 0 !important; }

/* Product photo: small rounded tile */
/* Product photo: small rounded tile (tile on the image, not the table cell) */
.checkout-cart-index .cart.table-wrapper .product-item-photo {
  width: 124px !important;
  max-width: 124px !important;
  padding: 0 20px 0 0 !important;
  vertical-align: top !important;
  background: transparent !important;
}
.checkout-cart-index .cart.table-wrapper .product-item-photo .product-image-container {
  width: 104px !important;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: #f4f7fc;
}
.checkout-cart-index .cart.table-wrapper .product-item-photo .product-image-wrapper { padding-bottom: 100% !important; height: 0; background: #f4f7fc; }
.checkout-cart-index .cart.table-wrapper .product-item-photo .product-image-photo { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: contain; padding: 8px; box-sizing: border-box; }
/* "Sold by" line under the product name */
.checkout-cart-index .cart.table-wrapper .product-item-details :not(.product-item-name, .product-item-name *, .item-options, .item-options *) { font-size: 13px !important; color: #4f5a6d !important; }
.checkout-cart-index .cart.table-wrapper .product-item-details > *:not(.product-item-name) { margin-top: 2px; }
.checkout-cart-index .cart.table-wrapper .product-item-details > *:not(.product-item-name) a { font-size: 13px !important; font-weight: 600; color: #2667dc !important; }
.checkout-cart-index .cart.table-wrapper .product-item-details { padding-top: 4px; }
.checkout-cart-index .cart.table-wrapper .product-item-name { font-size: 16px !important; font-weight: 500 !important; margin: 0 0 6px !important; }
.checkout-cart-index .cart.table-wrapper .product-item-name a { color: #161c27 !important; text-decoration: none !important; }
.checkout-cart-index .cart.table-wrapper .product-item-name a:hover { color: #2667dc !important; }
.checkout-cart-index .cart.table-wrapper .item-options { font-size: 13px; color: #4f5a6d; }

/* Price, quantity, subtotal */
.checkout-cart-index .cart.table-wrapper .col.price .price,
.checkout-cart-index .cart.table-wrapper .col.subtotal .price { font-size: 16px !important; font-weight: 600 !important; color: #4f5a6d !important; }
.checkout-cart-index .cart.table-wrapper .col.subtotal .price { font-weight: 700 !important; color: #161c27 !important; }
.checkout-cart-index .cart.table-wrapper .col.qty .input-text.qty,
.checkout-cart-index .cart.table-wrapper .col.qty input.qty {
  width: 72px !important;
  min-width: 0 !important;
  height: 44px !important;
  padding: 0 !important;
  text-align: center;
  border: 1px solid #c9d2e0 !important;
  border-radius: 12px !important;
  font-size: 15px !important;
  font-weight: 600;
}
.checkout-cart-index .cart.table-wrapper .col.qty input.qty:focus { border-color: #2667dc !important; box-shadow: 0 0 0 4px rgba(76, 139, 255, .18) !important; outline: none; }

/* Edit / remove: small round icon buttons, close to the item */
.checkout-cart-index .cart.table-wrapper .item-actions td { padding: 0 0 16px !important; border: 0 !important; }
.checkout-cart-index .cart.table-wrapper .item-actions .actions-toolbar { display: flex !important; justify-content: flex-end; gap: 8px; margin: 0 !important; }
.checkout-cart-index .cart.table-wrapper .item-actions .actions-toolbar > * { float: none !important; margin: 0 !important; }
.checkout-cart-index .cart.table-wrapper .item-actions .action {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 !important;
  border-radius: 50%;
}
.checkout-cart-index .cart.table-wrapper .item-actions .action:hover { background: #f4f7fc; }
.checkout-cart-index .cart.table-wrapper .item-actions .action:before { color: #8a93a3 !important; font-size: 18px !important; margin: 0 !important; }
.checkout-cart-index .cart.table-wrapper .item-actions .action-edit:hover:before { color: #2667dc !important; }
.checkout-cart-index .cart.table-wrapper .item-actions .action-delete:hover:before { color: #b42318 !important; }
.checkout-cart-index .cart.table-wrapper .item-actions .action > span { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.checkout-cart-index .cart.table-wrapper .item-actions .gift-options-cart-item { display: none; }

/* Buttons under the list */
.checkout-cart-index .cart.main.actions {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin: 20px 0 0 !important;
  text-align: right;
}
.checkout-cart-index .cart.main.actions .action {
  float: none !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center;
  height: 42px;
  padding: 0 20px !important;
  border-radius: 24px !important;
  border: 1px solid #c9d2e0 !important;
  background: #ffffff !important;
  color: #2a3140 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
.checkout-cart-index .cart.main.actions .action:hover { border-color: #2667dc !important; color: #2667dc !important; }
.checkout-cart-index .cart.main.actions .action.clear:hover { border-color: #b42318 !important; color: #b42318 !important; }
.checkout-cart-index .cart.main.actions .action.continue { margin-right: auto !important; border: 0 !important; padding-left: 0 !important; color: #2667dc !important; }
.checkout-cart-index .cart.main.actions .action.continue:before { content: "\2190\00a0" !important; font-family: inherit !important; font-size: inherit !important; color: inherit !important; }

/* Summary card */
.checkout-cart-index .cart-summary {
  background: #ffffff !important;
  border: 1px solid #e3e8f0;
  border-radius: 22px;
  padding: 26px 26px 28px !important;
  box-sizing: border-box;
  box-shadow: 0 14px 40px rgba(22, 28, 39, .06);
}
.checkout-cart-index .cart-summary > .title,
.checkout-cart-index .cart-summary .summary.title {
  display: block;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #161c27;
}
.checkout-cart-index .cart-summary .block.shipping { margin: 0 0 8px !important; border-top: 1px solid #eef1f6; border-bottom: 1px solid #eef1f6; }
.checkout-cart-index .cart-summary .block.shipping > .title { padding: 14px 0 !important; border: 0 !important; }
.checkout-cart-index .cart-summary .block.shipping > .title strong { font-size: 15px !important; font-weight: 600 !important; color: #161c27; }
.checkout-cart-index .cart-summary .cart-totals { border: 0 !important; padding: 6px 0 0 !important; }
.checkout-cart-index .cart-summary .cart-totals .table-wrapper { margin: 0 !important; }
.checkout-cart-index .cart-summary .cart-totals th,
.checkout-cart-index .cart-summary .cart-totals td { padding: 8px 0 !important; font-size: 15px; color: #3b4558; border: 0 !important; }
.checkout-cart-index .cart-summary .cart-totals .grand th,
.checkout-cart-index .cart-summary .cart-totals .grand td {
  padding-top: 16px !important;
  border-top: 1px solid #e3e8f0 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #161c27 !important;
}
.checkout-cart-index .cart-summary .cart-totals .grand .price {
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
}
.checkout-cart-index .cart-summary .checkout-methods-items { margin: 22px 0 0 !important; padding: 0 !important; }
.checkout-cart-index .cart-summary .checkout-methods-items .action.primary.checkout {
  width: 100% !important;
  height: 54px !important;
  border-radius: 30px !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  box-shadow: 0 8px 20px rgba(38, 103, 220, .25);
}
.checkout-cart-index .cart-summary .checkout-methods-items .item { margin: 0 0 10px !important; }
/* Small trust line under the checkout button */
.checkout-cart-index .cart-summary .checkout-methods-items:after {
  content: "\1F512\00a0 Secure checkout with Stripe";
  display: block;
  text-align: center;
  font-size: 13px;
  color: #4f5a6d;
  margin-top: 4px;
}

/* Discount code */
.checkout-cart-index .cart-discount {
  border: 1px solid #e3e8f0 !important;
  border-radius: 18px;
  background: #ffffff;
  padding: 4px 24px !important;
  margin-top: 20px !important;
  box-sizing: border-box;
}
.checkout-cart-index .cart-discount .block > .title { border: 0 !important; padding: 16px 0 !important; }
.checkout-cart-index .cart-discount .block > .title strong { font-size: 15px !important; font-weight: 600 !important; color: #2667dc; }
.checkout-cart-index .cart-discount .fieldset.coupon { display: flex; gap: 10px; align-items: flex-end; }
.checkout-cart-index .cart-discount .fieldset.coupon .field { flex: 1; margin: 0 !important; }
.checkout-cart-index .cart-discount input#coupon_code { height: 46px !important; padding: 0 16px !important; border-radius: 12px !important; border: 1px solid #c9d2e0 !important; }
.checkout-cart-index .cart-discount .actions-toolbar .action.apply { height: 46px; border-radius: 24px !important; padding: 0 20px !important; }

/* Cart: "Sold by" as a small chip right under the product name */
.checkout-cart-index .cart.table-wrapper .product-item-details > *:not(.product-item-name):not(.item-options):not(.message):not(.messages) {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  margin: 6px 0 0 !important;
  width: fit-content !important;
  max-width: 100%;
  padding: 4px 12px !important;
  border-radius: 20px;
  background: #f4f7fc !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  color: #4f5a6d !important;
}
.checkout-cart-index .cart.table-wrapper .product-item-details > *:not(.product-item-name):not(.item-options):not(.message):not(.messages) * { margin: 0 !important; padding: 0 !important; font-size: 13px !important; line-height: 1.4 !important; }
.checkout-cart-index .cart.table-wrapper .product-item-details > *:not(.product-item-name) a { font-weight: 600 !important; color: #2667dc !important; text-decoration: none !important; }

/* Cart: Edit / Remove as small labelled buttons */
.checkout-cart-index .cart.table-wrapper .actions-toolbar { display: flex !important; justify-content: flex-end; gap: 8px; margin: 0 !important; }
.checkout-cart-index .cart.table-wrapper .actions-toolbar > * { float: none !important; margin: 0 !important; }
.checkout-cart-index .cart.table-wrapper .actions-toolbar .action-edit,
.checkout-cart-index .cart.table-wrapper .actions-toolbar .action-delete {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  width: auto !important;
  height: 32px !important;
  padding: 0 12px !important;
  margin: 0 !important;
  border: 1px solid #e3e8f0 !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  color: #4f5a6d !important;
  font-size: 13px !important;
  font-weight: 500;
  text-decoration: none !important;
  position: static !important;   /* Luma floats Remove on top of Edit */
  top: auto !important;
  right: auto !important;
}
.checkout-cart-index .cart.table-wrapper .actions-toolbar .action-edit:before,
.checkout-cart-index .cart.table-wrapper .actions-toolbar .action-delete:before { font-size: 15px !important; line-height: 1 !important; color: inherit !important; margin: 0 !important; }
.checkout-cart-index .cart.table-wrapper .actions-toolbar .action-edit > span,
.checkout-cart-index .cart.table-wrapper .actions-toolbar .action-delete > span { position: static !important; width: auto !important; height: auto !important; clip: auto !important; overflow: visible !important; font-size: 0 !important; }
.checkout-cart-index .cart.table-wrapper .actions-toolbar .action-edit > span:after { content: "Edit"; font-size: 13px; }
.checkout-cart-index .cart.table-wrapper .actions-toolbar .action-delete > span:after { content: "Remove"; font-size: 13px; }
.checkout-cart-index .cart.table-wrapper .actions-toolbar .action-edit:hover { border-color: #2667dc !important; color: #2667dc !important; background: #eef3ff !important; }
.checkout-cart-index .cart.table-wrapper .actions-toolbar .action-delete:hover { border-color: #f0b4b0 !important; color: #b42318 !important; background: #fdeeee !important; }

/* Cart: "The requested qty is not available" and other item messages */
.checkout-cart-index .cart.table-wrapper .product-item-details .message,
.checkout-cart-index .cart.table-wrapper .item-info .message {
  display: flex !important;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 8px 0 0 !important;
  padding: 6px 12px !important;
  border-radius: 10px !important;
  border: 0 !important;
  outline: 0 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
}
.checkout-cart-index .cart.table-wrapper .item-info .message > * { border: 0 !important; background: transparent !important; box-shadow: none !important; }
.checkout-cart-index .cart.table-wrapper .item-info .message > *:first-child:before,
.checkout-cart-index .cart.table-wrapper .item-info .message:before {
  position: static !important;
  transform: none !important;
  width: auto !important;
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 1 !important;
}
.checkout-cart-index .cart.table-wrapper .item-info .message > div,
.checkout-cart-index .cart.table-wrapper .item-info .message > * { display: inline-flex; align-items: center; gap: 8px; padding: 0 !important; margin: 0 !important; }

@media (min-width: 769px) {
  /* Items left, 340px summary right, 28px gap (works with Split Cart's one-cart-per-seller layout) */
  .checkout-cart-index .cart-container { display: flow-root !important; margin-bottom: 40px; }
  .checkout-cart-index .cart-container .form-cart,
  .checkout-cart-index .cart-container .cart-discount { float: left !important; clear: left; width: calc(100% - 368px) !important; }
  .checkout-cart-index .cart-container .cart-summary { float: right !important; width: 340px !important; margin: 0 0 24px !important; position: sticky !important; top: 24px; }
}
@media (max-width: 768px) {
  .checkout-cart-index .page-title-wrapper .page-title { font-size: 30px !important; }
  .checkout-cart-index .form-cart { padding: 4px 16px 20px !important; border-radius: 18px; }
  .checkout-cart-index .column.main,
  .checkout-cart-index .cart-container { width: 100% !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; float: none !important; }
  .checkout-cart-index .cart-container .form-cart,
  .checkout-cart-index .cart-container .cart-summary,
  .checkout-cart-index .cart-container .cart-discount { width: 100% !important; float: none !important; }
  .checkout-cart-index .cart.table-wrapper .item-info td { padding: 14px 0 4px !important; }
  .checkout-cart-index .cart.table-wrapper .item-info td.col.item { position: relative; min-height: 84px; padding: 16px 0 10px 96px !important; display: block; }
  .checkout-cart-index .cart.table-wrapper .product-item-photo { position: absolute !important; left: 0; top: 16px; width: 80px !important; max-width: 80px !important; padding: 0 !important; display: block !important; }
  .checkout-cart-index .cart.table-wrapper .product-item-photo .product-image-container { width: 80px !important; border-radius: 14px; }
  .checkout-cart-index .cart-container > .cart-summary { margin-bottom: 20px; }
  .checkout-cart-index .cart.table-wrapper .col.price:before,
  .checkout-cart-index .cart.table-wrapper .col.qty:before,
  .checkout-cart-index .cart.table-wrapper .col.subtotal:before { font-size: 11px !important; font-weight: 600 !important; letter-spacing: 1px; text-transform: uppercase; color: #8a93a3 !important; }
  .checkout-cart-index .cart.main.actions { justify-content: center; }
  .checkout-cart-index .cart.main.actions .action.continue { margin-right: 0 !important; width: 100%; justify-content: center; }
  .checkout-cart-index .cart-summary { margin-top: 20px; padding: 22px 18px !important; border-radius: 18px; }
}

/* Payment method "Card": replace the black card image with a blue card icon in a soft tile */
.checkout-payment-method img.payment-icon { display: none !important; }
.checkout-payment-method .payment-method-title:has(img.payment-icon) .label:before {
  content: "";
  width: 34px;
  height: 26px;
  border-radius: 7px;
  background: #eef3ff center / 20px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232667dc' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='2.5'/%3E%3Cpath d='M2.5 10h19M6.5 15h4'/%3E%3C/svg%3E");
  order: -1;
}
.checkout-payment-method .payment-method-title { padding: 20px 0; margin: 0; margin-left: 22px !important; }

/* ---------- Checkout ---------- */
.checkout-index-index .page-main { padding-top: 12px !important; }

/* Progress bar: blue instead of orange */
.checkout-index-index .opc-progress-bar { margin: 8px 0 36px !important; }
.checkout-index-index .opc-progress-bar-item:before { background: #e3e8f0 !important; border: 0 !important; height: 4px !important; top: 18px !important; }
.checkout-index-index .opc-progress-bar-item._active:before,
.checkout-index-index .opc-progress-bar-item._complete:before { background: #2667dc !important; }
.checkout-index-index .opc-progress-bar-item > span { font-size: 15px !important; font-weight: 600 !important; color: #8a93a3 !important; padding-top: 50px !important; }
.checkout-index-index .opc-progress-bar-item._active > span,
.checkout-index-index .opc-progress-bar-item._complete > span { color: #161c27 !important; }
.checkout-index-index .opc-progress-bar-item > span:before {
  width: 40px !important; height: 40px !important; margin-left: -20px !important; top: 0 !important;
  background: #ffffff !important; border: 2px solid #e3e8f0 !important; box-shadow: none !important;
}
.checkout-index-index .opc-progress-bar-item > span:after {
  width: 40px !important; height: 40px !important; margin-left: -20px !important; top: 0 !important;
  line-height: 40px !important; font-size: 16px !important; font-weight: 700 !important;
  background: transparent !important; color: #8a93a3 !important;
  border: 0 !important; box-shadow: none !important; outline: 0 !important;
}
.checkout-index-index .opc-progress-bar-item > span:before { box-sizing: border-box; }
.checkout-index-index .opc-progress-bar-item._active > span:before,
.checkout-index-index .opc-progress-bar-item._complete > span:before { background: #2667dc !important; border-color: #2667dc !important; }
.checkout-index-index .opc-progress-bar-item._active > span:after,
.checkout-index-index .opc-progress-bar-item._complete > span:after { color: #ffffff !important; }

/* Step titles */
.checkout-index-index .opc-wrapper .step-title,
.checkout-index-index .opc-block-shipping-information .shipping-information-title,
.checkout-index-index .checkout-payment-method .step-title {
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  letter-spacing: -0.4px;
  color: #161c27 !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 0 16px !important;
}

/* Each step in a white card */
.checkout-index-index .opc-wrapper .step-content,
.checkout-index-index .opc-wrapper #checkout-step-shipping,
.checkout-index-index .opc-wrapper #checkout-step-shipping_method {
  background: #ffffff !important;
  border: 1px solid #e3e8f0;
  border-radius: 22px;
  padding: 28px !important;
  margin: 0 0 32px !important;
  box-sizing: border-box;
}
.checkout-index-index .opc-wrapper .form-login,
.checkout-index-index .opc-wrapper .form-shipping-address,
.checkout-index-index .opc-wrapper .methods-shipping { max-width: none !important; background: transparent !important; padding: 0 !important; margin: 0 !important; border: 0 !important; }
.checkout-index-index .opc-wrapper .form-login { padding-bottom: 20px !important; margin-bottom: 22px !important; border-bottom: 1px solid #eef1f6 !important; }
.checkout-index-index .opc-wrapper .form-login .note { font-size: 13px; color: #4f5a6d; }
.checkout-index-index .opc-wrapper .fieldset { margin: 0 !important; }
.checkout-index-index .opc-wrapper .fieldset > .field,
.checkout-index-index .opc-wrapper .fieldset > .fields > .field { margin: 0 0 16px !important; }
.checkout-index-index .opc-wrapper .field .label {
  display: block !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #2a3140 !important;
  text-align: left !important;
  width: auto !important;
}
.checkout-index-index .opc-wrapper .field .control { width: 100% !important; float: none !important; }
.checkout-index-index .opc-wrapper .control._with-tooltip,
.checkout-index-index .opc-wrapper .field._with-tooltip .control { display: flex !important; align-items: center; gap: 10px; flex-wrap: wrap; }
.checkout-index-index .opc-wrapper .control._with-tooltip > :not(input):not(.field-tooltip),
.checkout-index-index .opc-wrapper .field._with-tooltip .control > :not(input):not(.field-tooltip) { flex: 0 0 100%; margin: 6px 0 0 !important; float: none !important; display: block; }
.checkout-index-index .opc-wrapper .form-login .note { margin-left: 0 !important; padding: 0 !important; }
.checkout-index-index .page-main .control._with-tooltip input:not([type="checkbox"]):not([type="radio"]),
.checkout-index-index .page-main .field._with-tooltip .control input:not([type="checkbox"]):not([type="radio"]) { flex: 1 1 auto; width: auto !important; min-width: 0 !important; }
.checkout-index-index .opc-wrapper .field-tooltip { position: static !important; flex: none; }
.checkout-index-index .page-main input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.checkout-index-index .page-main select {
  width: 100% !important;
  height: 46px !important;
  padding: 0 14px !important;
  border: 1px solid #c9d2e0 !important;
  border-radius: 12px !important;
  font-size: 15px !important;
  box-sizing: border-box;
  box-shadow: none !important;
  background-color: #ffffff;
}
.checkout-index-index .page-main select {
  appearance: none;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f5a6d' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat !important;
  padding-right: 44px !important;
}
.checkout-index-index .page-main input:focus, .checkout-index-index .page-main select:focus, .checkout-index-index .page-main textarea:focus {
  border-color: #2667dc !important;
  box-shadow: 0 0 0 4px rgba(76, 139, 255, .18) !important;
  outline: none !important;
}
.checkout-index-index .page-main input[type="checkbox"], .checkout-index-index .page-main input[type="radio"] { accent-color: #2667dc; width: 18px; height: 18px; }
.checkout-index-index .opc-wrapper .street .field.additional { margin-top: 10px !important; }
.checkout-index-index .opc-wrapper .street > .legend { display: none; }

/* Shipping methods: each option a selectable card */
.checkout-index-index .table-checkout-shipping-method { width: 100% !important; max-width: none !important; border-collapse: separate !important; border-spacing: 0 10px !important; margin: -10px 0 0 !important; }
.checkout-index-index .table-checkout-shipping-method thead { display: none; }
.checkout-index-index .table-checkout-shipping-method tbody tr { cursor: pointer; }
.checkout-index-index .table-checkout-shipping-method tbody td {
  padding: 16px 14px !important;
  border-top: 1px solid #e3e8f0 !important;
  border-bottom: 1px solid #e3e8f0 !important;
  background: #ffffff;
  font-size: 15px;
  color: #3b4558;
  vertical-align: middle !important;
}
.checkout-index-index .table-checkout-shipping-method tbody td:first-child { border-left: 1px solid #e3e8f0 !important; border-radius: 14px 0 0 14px; width: 30px; }
.checkout-index-index .table-checkout-shipping-method tbody td:last-child { border-right: 1px solid #e3e8f0 !important; border-radius: 0 14px 14px 0; color: #8a93a3; font-size: 13px; }
.checkout-index-index .table-checkout-shipping-method tbody td.col-price .price { font-weight: 700; color: #161c27; }
.checkout-index-index .table-checkout-shipping-method tbody tr:hover td { background: #f8faff; }
.checkout-index-index .table-checkout-shipping-method tbody tr:has(input:checked) td { background: #eef3ff !important; border-color: #2667dc !important; }

/* Next / Place order buttons */
.checkout-index-index #shipping-method-buttons-container,
.checkout-index-index .opc-wrapper .actions-toolbar { margin: 24px 0 0 !important; display: flex; justify-content: flex-end; }
.checkout-index-index .opc-wrapper .action.primary.continue,
.checkout-index-index .opc-wrapper .action.primary.checkout,
.checkout-index-index .opc-wrapper button.action.primary {
  height: 52px !important;
  min-width: 200px;
  padding: 0 32px !important;
  border-radius: 30px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  box-shadow: 0 8px 20px rgba(38, 103, 220, .25);
  margin: 0 !important;
}

/* Payment step */
.checkout-index-index .checkout-payment-method .payment-method {
  border: 1px solid #e3e8f0 !important;
  border-radius: 16px;
  margin: 0 0 12px !important;
  padding: 0 18px !important;
  background: #ffffff;
}
.checkout-index-index .checkout-payment-method .payment-method._active { border-color: #2667dc !important; background: #f8faff; }
.checkout-index-index .checkout-payment-method .payment-method-title { border: 0 !important; padding: 18px 0 !important; margin: 0 !important; font-weight: 600; }
.checkout-index-index .checkout-payment-method .payment-method-content { padding: 0 0 20px !important; }
.checkout-index-index .checkout-payment-method .checkout-billing-address { margin: 0 0 16px !important; }
.checkout-index-index .checkout-payment-method .payment-option { border: 0 !important; margin: 12px 0 0 !important; }
.checkout-index-index .checkout-payment-method .payment-option-title { border: 0 !important; padding: 12px 0 !important; }
.checkout-index-index .checkout-payment-method .payment-option-title .action-toggle { color: #2667dc !important; font-weight: 600; font-size: 15px; }
.checkout-index-index .checkout-payment-method .payment-method .actions-toolbar .action.checkout { width: 100%; }

/* Order summary (right) */
.checkout-index-index .opc-sidebar .opc-block-summary,
.checkout-index-index .opc-block-shipping-information {
  background: #ffffff !important;
  border: 1px solid #e3e8f0;
  border-radius: 22px;
  padding: 26px !important;
  box-shadow: 0 14px 40px rgba(22, 28, 39, .06);
  margin-bottom: 20px;
}
.checkout-index-index .opc-block-summary > .title {
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #161c27 !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 0 12px !important;
  display: block;
}
.checkout-index-index .opc-block-summary .items-in-cart > .title { border-bottom: 1px solid #eef1f6 !important; padding: 12px 32px 12px 0 !important; }
.checkout-index-index .opc-block-summary .items-in-cart > .title strong { font-size: 15px !important; font-weight: 600 !important; color: #161c27; }
.checkout-index-index .opc-block-summary .minicart-items .product-item { padding: 14px 0 !important; border-bottom: 1px solid #eef1f6; }
.checkout-index-index .opc-block-summary .minicart-items .product-image-container { border-radius: 12px; overflow: hidden; background: #f4f7fc; }
.checkout-index-index .opc-block-summary .minicart-items .product-item-name { font-size: 15px !important; font-weight: 500; color: #161c27; }
.checkout-index-index .opc-block-summary .minicart-items .details-qty { font-size: 13px; color: #4f5a6d; }
.checkout-index-index .opc-block-summary .minicart-items .subtotal .price { font-weight: 700; color: #161c27; }
.checkout-index-index .opc-block-summary .table-totals th, .checkout-index-index .opc-block-summary .table-totals td { padding: 8px 0 !important; font-size: 15px; border: 0 !important; }
.checkout-index-index .opc-block-summary .table-totals .grand th, .checkout-index-index .opc-block-summary .table-totals .grand td {
  border-top: 1px solid #e3e8f0 !important; padding-top: 14px !important; font-size: 17px !important; font-weight: 700 !important; color: #161c27 !important;
}
.checkout-index-index .opc-block-summary .table-totals .grand .price { font-family: 'Space Grotesk', Inter, sans-serif; font-size: 24px !important; }

/* Sign-in link / pop-up on checkout */
.checkout-index-index .authentication-wrapper .action-auth-toggle { color: #2667dc !important; font-weight: 600; font-size: 15px; }
.checkout-index-index .authentication-dropdown {
  background: #ffffff !important;
  border: 1px solid #e3e8f0 !important;
  border-radius: 20px !important;
  box-shadow: 0 18px 48px rgba(22, 28, 39, .16) !important;
  padding: 26px !important;
}
.checkout-index-index .authentication-dropdown .block-title strong,
.checkout-index-index .block-authentication .block-title strong { font-family: 'Space Grotesk', Inter, sans-serif !important; font-size: 22px !important; font-weight: 700 !important; color: #161c27; }
.checkout-index-index .block-authentication .block-title { border: 0 !important; margin: 0 0 16px !important; }
.checkout-index-index .block-authentication .action.action-login,
.checkout-index-index .authentication-dropdown .action.action-login {
  width: 100%;
  height: 50px !important;
  border-radius: 30px !important;
  background: #2667dc !important;
  border: 0 !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}
.checkout-index-index .block-authentication .action.action-remind { color: #2667dc !important; font-weight: 600; font-size: 14px; }

/* Payment step details */
.checkout-index-index .checkout-payment-method .payment-method-title .label {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #161c27;
}
.checkout-index-index .checkout-payment-method .payment-method-title .label img,
.checkout-index-index .checkout-payment-method .payment-method-title .label svg { margin: 0 !important; }
.checkout-index-index .checkout-payment-method .payment-method-content * { box-shadow: none !important; }
.checkout-index-index .checkout-payment-method .payment-method-content > *:not(.actions-toolbar):not(.messages) {
  background: #ffffff !important;
  border: 1px solid #e3e8f0 !important;
  border-radius: 14px !important;
  padding: 18px 20px !important;
  margin: 0 0 14px !important;
}
.checkout-index-index .checkout-payment-method .payment-method-content > * > * { background: transparent !important; border: 0 !important; }
.checkout-index-index .checkout-payment-method .billing-address-same-as-shipping-block { display: flex; align-items: center; gap: 10px; margin: 0 0 10px !important; font-weight: 600; }
.checkout-index-index .checkout-payment-method .billing-address-details { padding: 0 0 0 28px !important; font-size: 14px; line-height: 1.7; color: #3b4558; }
.checkout-index-index .checkout-payment-method .billing-address-details a { color: #2667dc !important; }
.checkout-index-index .checkout-payment-method .billing-address-details .action-edit-address {
  margin-top: 10px !important;
  height: 36px;
  padding: 0 18px !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  border: 1px solid #c9d2e0 !important;
  color: #2a3140 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
.checkout-index-index .checkout-payment-method .billing-address-details .action-edit-address:hover { border-color: #2667dc !important; color: #2667dc !important; }
/* Stripe card box */
.checkout-index-index .StripeElement,
.checkout-index-index .payment-method-content [id*="card-element"],
.checkout-index-index .payment-method-content [class*="card-element"] {
  background: #ffffff !important;
  border: 1px solid #c9d2e0 !important;
  border-radius: 12px !important;
  padding: 14px 14px !important;
  margin: 8px 0 10px !important;
  transition: border-color .15s, box-shadow .15s;
}
.checkout-index-index .StripeElement--focus { border-color: #2667dc !important; box-shadow: 0 0 0 4px rgba(76, 139, 255, .18) !important; }
.checkout-index-index .StripeElement--invalid { border-color: #e0807a !important; }

/* Discount code row */
.checkout-index-index .checkout-payment-method .payment-option-content { padding: 4px 0 0 !important; }
.checkout-index-index .checkout-payment-method .form-discount,
.checkout-index-index .checkout-payment-method .payment-option-inner + .actions-toolbar,
.checkout-index-index .checkout-payment-method .payment-option-content form { display: flex !important; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.checkout-index-index .checkout-payment-method .payment-option-inner { flex: 1 1 220px; min-width: 0; width: auto !important; margin: 0 !important; }
.checkout-index-index .checkout-payment-method .payment-option-content { overflow: hidden; }
@media (max-width: 768px) {
  .checkout-index-index .checkout-payment-method .form-discount,
  .checkout-index-index .checkout-payment-method .payment-option-content form { display: block !important; }
  .checkout-index-index .checkout-payment-method .payment-option-content .actions-toolbar { margin-top: 10px !important; }
  .checkout-index-index .checkout-payment-method .payment-option-content .actions-toolbar,
  .checkout-index-index .checkout-payment-method .payment-option-content .actions-toolbar .primary { display: block !important; width: 100% !important; float: none !important; }
  .checkout-index-index .checkout-payment-method .payment-option-content .action-apply,
  .checkout-index-index .checkout-payment-method .payment-option-content .action.action-apply {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin: 10px 0 0 !important;
    white-space: nowrap;
  }
}
.checkout-index-index .checkout-payment-method .payment-option-inner .field { margin: 0 !important; }
.checkout-index-index .checkout-payment-method .payment-option-content .actions-toolbar { margin: 0 !important; display: block !important; }
.checkout-index-index .checkout-payment-method .payment-option-content .action-apply,
.checkout-index-index .checkout-payment-method .payment-option-content .action.action-apply {
  height: 46px !important;
  min-width: 0 !important;
  padding: 0 22px !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  border: 1.5px solid #2667dc !important;
  color: #2667dc !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
.checkout-index-index .checkout-payment-method .payment-option-content .action-apply:hover { background: #eef3ff !important; }

/* Right column: summary starts level with the left column; smaller "Ship To" headings */
.checkout-index-index .opc-sidebar { margin-top: 0 !important; }
.checkout-index-index .opc-block-shipping-information .shipping-information-title {
  font-size: 18px !important;
  margin: 0 0 10px !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.checkout-index-index .opc-block-shipping-information .shipping-information-content { font-size: 14px; line-height: 1.7; color: #3b4558; margin-bottom: 18px; }
.checkout-index-index .opc-block-shipping-information .action-edit:before { color: #8a93a3 !important; font-size: 18px !important; }
.checkout-index-index .opc-block-shipping-information .action-edit:hover:before { color: #2667dc !important; }
.checkout-index-index .opc-block-summary .table-totals .totals-tax-summary .amount .price { padding-right: 0 !important; }
.checkout-index-index .opc-block-summary .table-totals .shipping .value { font-size: 13px; color: #4f5a6d; }

/* Billing address form (when "same as shipping" is unticked) */
.checkout-index-index .checkout-billing-address .billing-address-form,
.checkout-index-index .checkout-billing-address .fieldset,
.checkout-index-index .checkout-billing-address form { max-width: none !important; width: 100% !important; }
.checkout-index-index .checkout-billing-address .billing-address-form { margin-top: 14px !important; padding-top: 18px !important; border-top: 1px solid #eef1f6 !important; }
.checkout-index-index .checkout-billing-address .field .control { width: 100% !important; }
.checkout-index-index .checkout-billing-address .actions-toolbar {
  display: flex !important;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  margin: 8px 0 4px !important;
}
.checkout-index-index .checkout-billing-address .actions-toolbar > * { float: none !important; margin: 0 !important; }
.checkout-index-index .checkout-billing-address .action-update {
  height: 44px !important;
  min-width: 0 !important;
  padding: 0 26px !important;
  border-radius: 24px !important;
  background: #2667dc !important;
  border: 0 !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
.checkout-index-index .checkout-billing-address .action-update:hover { background: #154c91 !important; }
.checkout-index-index .checkout-billing-address .action-cancel { color: #4f5a6d !important; font-size: 14px; font-weight: 600; text-decoration: none !important; }
.checkout-index-index .checkout-billing-address .action-cancel:hover { color: #2667dc !important; }
.checkout-index-index .checkout-billing-address .billing-address-same-as-shipping-block label { font-weight: 600; color: #161c27; }

/* Stripe card section: secure strip under the card field, full-width Place Order */
.checkout-index-index .stripe-payments-elements { margin: 0 !important; padding: 0 !important; }
.checkout-index-index .pci-dss-info-block {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 4px 0 0 !important;
  padding: 10px 14px !important;
  background: #e9f7ee !important;
  border: 1px solid #c3e6cf !important;
  border-radius: 12px !important;
}
.checkout-index-index .pci-dss-info-block #pci-svg,
.checkout-index-index .pci-dss-info-block svg {
  flex: none;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  fill: #1d7a3e !important;
  float: none !important;
  display: block;
}
.checkout-index-index .pci-dss-info-text,
.checkout-index-index .pci-dss-info-text span { font-size: 13px !important; line-height: 1.45 !important; color: #1d4f2e !important; margin: 0 !important; }
.checkout-index-index #card-errors:not(:empty) {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fdeeee;
  border: 1px solid #f5c2c0;
  color: #8a1c14;
  font-size: 13px;
}
.checkout-index-index .checkout-payment-method .payment-method-content > .actions-toolbar { display: block !important; margin: 18px 0 4px !important; }
.checkout-index-index .checkout-payment-method .payment-method-content > .actions-toolbar .primary { width: 100% !important; float: none !important; }
.checkout-index-index .checkout-payment-method .payment-method-content > .actions-toolbar .action.primary.checkout { width: 100% !important; height: 54px !important; font-size: 17px !important; }

/* Sign-in pop-up and order summary panel: white inside, no empty boxes */
.checkout-index-index .authentication-dropdown .modal-inner-wrap,
.checkout-index-index .authentication-dropdown .block-authentication,
.checkout-index-index .block-authentication { background: #ffffff !important; box-shadow: none !important; border: 0 !important; }
@media (min-width: 769px) {
  .checkout-index-index .opc-sidebar .modal-inner-wrap { background: transparent !important; box-shadow: none !important; }
}
.checkout-index-index .opc-block-shipping-information:not(:has(*)),
.checkout-index-index .opc-block-shipping-information:not(:has(.shipping-information)) { display: none !important; }
@media (max-width: 768px) {
  .checkout-index-index .opc-estimated-wrapper { clear: both; width: auto !important; max-width: 100%; box-sizing: border-box; float: none !important; margin-left: 0 !important; margin-right: 0 !important; }
  .checkout-index-index .opc-estimated-wrapper .estimated-block { float: left; }
  .checkout-index-index .opc-estimated-wrapper .minicart-wrapper { float: right; margin: 6px 0 0 !important; }
}

/* Checkout on phones: no menu button (the checkout has no menu) */
@media (max-width: 768px) {
  .checkout-index-index .nav-toggle { display: none !important; }
  .checkout-index-index .page-header .logo { margin-left: 0 !important; }
  /* Order summary panel: one clean white sheet, no card-in-a-panel */
  .checkout-index-index .opc-sidebar .modal-inner-wrap { background: #ffffff !important; }
  .checkout-index-index .opc-sidebar .opc-block-summary,
  .checkout-index-index .opc-sidebar .opc-block-shipping-information {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 8px 20px 20px !important;
    margin: 0 !important;
    background: transparent !important;
  }
  .checkout-index-index .opc-sidebar .modal-header { padding: 16px 20px 0 !important; border: 0 !important; }
}
/* Sign-in pop-up: no stray lines, single padding */
.checkout-index-index .authentication-dropdown .modal-header { border: 0 !important; padding-bottom: 0 !important; }
.checkout-index-index .block-authentication,
.checkout-index-index .block-authentication .block,
.checkout-index-index .block-authentication .block-customer-login { padding: 0 !important; margin: 0 !important; border: 0 !important; }
.checkout-index-index .block-authentication .block-title { border: 0 !important; padding: 0 !important; }
.checkout-index-index .authentication-dropdown .modal-content { padding: 0 24px 24px !important; }
.checkout-index-index .authentication-dropdown { padding: 0 !important; overflow: hidden; }

/* Phones: sign-in pop-up as a compact card, not a full-height panel */
@media (max-width: 768px) {
  .checkout-index-index .modal-custom.authentication-dropdown,
  .checkout-index-index .authentication-dropdown.modal-slide {
    left: 12px !important;
    right: 12px !important;
    top: 72px !important;
    bottom: auto !important;
    height: auto !important;
    max-height: calc(100vh - 96px);
    border-radius: 20px !important;
  }
  .checkout-index-index .authentication-dropdown .modal-inner-wrap { height: auto !important; min-height: 0 !important; border-radius: 20px !important; overflow-y: auto; }
  .checkout-index-index .authentication-dropdown .modal-content { padding: 0 20px 22px !important; }
}

/* Phones: estimated total bar and layout */
@media (max-width: 768px) {
  .checkout-index-index .opc-estimated-wrapper {
    background: #ffffff !important;
    border: 1px solid #e3e8f0 !important;
    border-radius: 16px;
    padding: 16px 18px !important;
    margin: 0 0 24px !important;
  }
  .checkout-index-index .opc-estimated-wrapper .estimated-label { font-size: 13px; color: #4f5a6d; font-weight: 600; }
  .checkout-index-index .opc-estimated-wrapper .estimated-price { font-family: 'Space Grotesk', Inter, sans-serif; font-size: 22px; font-weight: 700; color: #161c27; }
  .checkout-index-index .opc-estimated-wrapper .minicart-wrapper .action.showcart:before { color: #2667dc !important; }
  .checkout-index-index .opc-estimated-wrapper .minicart-wrapper .action.showcart .counter.qty { background: #2667dc !important; border-radius: 10px; }
  .checkout-index-index .opc-wrapper .step-content,
  .checkout-index-index .opc-wrapper #checkout-step-shipping,
  .checkout-index-index .opc-wrapper #checkout-step-shipping_method { padding: 20px !important; border-radius: 18px; }
  .checkout-index-index .opc-wrapper .step-title { font-size: 22px !important; }
  .checkout-index-index #shipping-method-buttons-container .primary, .checkout-index-index .opc-wrapper .actions-toolbar .primary { width: 100%; }
  .checkout-index-index .opc-wrapper .action.primary.continue, .checkout-index-index .opc-wrapper button.action.primary { width: 100%; }
  .checkout-index-index .opc-progress-bar-item > span { font-size: 13px !important; }
}

/* ---------- Order success ("Thank you for your purchase!") ---------- */
.checkout-onepage-success .page-main { padding-top: 40px !important; }
.checkout-onepage-success .page-title-wrapper { text-align: center; margin: 0 auto 20px !important; max-width: 620px; }
.checkout-onepage-success .page-title-wrapper:before {
  content: "";
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #e9f7ee center / 34px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d7a3e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.checkout-onepage-success .page-title-wrapper .page-title {
  font-family: 'Space Grotesk', Inter, sans-serif !important;
  font-size: 38px !important;
  font-weight: 700 !important;
  letter-spacing: -0.8px;
  line-height: 1.15 !important;
  color: #161c27;
  margin: 0 !important;
}
.checkout-onepage-success .checkout-success,
.checkout-onepage-success #registration {
  max-width: 620px;
  margin: 0 auto 20px !important;
  padding: 30px 32px !important;
  box-sizing: border-box;
  border-radius: 22px;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: #3b4558;
}
.checkout-onepage-success .checkout-success {
  background: #ffffff;
  border: 1px solid #e3e8f0;
  box-shadow: 0 14px 40px rgba(22, 28, 39, .06);
}
.checkout-onepage-success .checkout-success p { margin: 0 0 8px !important; }
/* Order number as a highlighted chip */
.checkout-onepage-success .checkout-success p:first-child { font-size: 14px; color: #4f5a6d; margin-bottom: 14px !important; }
.checkout-onepage-success .checkout-success p:first-child span,
.checkout-onepage-success .checkout-success p:first-child strong,
.checkout-onepage-success .checkout-success p:first-child a {
  display: inline-block;
  margin-left: 4px;
  padding: 4px 12px;
  border-radius: 20px;
  background: #eef3ff;
  color: #2667dc !important;
  font-weight: 700;
  text-decoration: none !important;
}
.checkout-onepage-success .checkout-success .actions-toolbar { display: flex !important; justify-content: center; margin: 22px 0 0 !important; }
.checkout-onepage-success .checkout-success .actions-toolbar > * { float: none !important; margin: 0 !important; }
.checkout-onepage-success .checkout-success .action.primary.continue,
.checkout-onepage-success .checkout-success .action.primary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 34px !important;
  border-radius: 30px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(38, 103, 220, .25);
}
/* Guest: "create an account" box */
.checkout-onepage-success #registration { background: #f4f7fc; border: 1px solid #e3e8f0; }
.checkout-onepage-success #registration p { margin: 0 0 6px !important; }
.checkout-onepage-success #registration p:first-child { font-family: 'Space Grotesk', Inter, sans-serif; font-size: 18px; font-weight: 700; color: #161c27; }
.checkout-onepage-success #registration .action.primary {
  display: inline-flex !important;
  align-items: center;
  height: 46px;
  margin-top: 14px !important;
  padding: 0 26px !important;
  border-radius: 26px !important;
  background: #ffffff !important;
  border: 1.5px solid #2667dc !important;
  color: #2667dc !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
.checkout-onepage-success #registration .action.primary:hover { background: #eef3ff !important; }
@media (max-width: 768px) {
  .checkout-onepage-success .page-title-wrapper .page-title { font-size: 28px !important; }
  .checkout-onepage-success .checkout-success, .checkout-onepage-success #registration { padding: 24px 20px !important; border-radius: 18px; }
  .checkout-onepage-success .checkout-success .action.primary { width: 100%; }
}

/* Hide "Check Out with Multiple Addresses" (Split Cart handles per-seller checkout) */
.action.multicheckout,
a[href*="multishipping"],
a[title="Check Out with Multiple Addresses"] { display: none !important; }


/* =====================================================================
   13. FOOTER (CMS block "merchace-footer")
   ===================================================================== */
.page-footer { background: #f4f7fc !important; border-top: 1px solid #e3e8f0; padding-bottom: 0 !important; margin-top: 64px; }
.page-footer .footer.content { border: 0 !important; padding: 0 !important; max-width: none !important; }
.mc-footer { color: #3b4558; }
.mc-footer-grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.mc-footer-brand { display: flex; flex-direction: column; gap: 18px; max-width: 360px; }
.mc-footer-brand img { width: 56px; height: 56px; object-fit: contain; }
.mc-footer-brand p { margin: 0; font-size: 15px; line-height: 1.65; }
.mc-social { display: flex; gap: 10px; }
.mc-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #c9d2e0; color: #161c27 !important; display: flex; align-items: center; justify-content: center; }
.mc-social a:hover { border-color: #2667dc; color: #2667dc !important; }
.mc-social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mc-footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.mc-footer-col h4 { margin: 0 0 6px; color: #161c27; font-family: Inter, sans-serif !important; font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; }
.mc-footer-col a { color: #3b4558 !important; }
.mc-footer-col a:hover { color: #2667dc !important; }
.mc-footer-bottom { border-top: 1px solid #dfe5ee; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding-top: 22px; padding-bottom: 36px; font-size: 13px; color: #4f5a6d; }
.mc-pay { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mc-pay b { border: 1px solid #c9d2e0; background: #ffffff; border-radius: 6px; padding: 4px 10px; font-size: 12px; color: #161c27; }


/* =====================================================================
   14. MOBILE AND TABLET
   ===================================================================== */

/* Tablet and small laptop */
@media (max-width: 1024px) {
  .mc-hero-grid, .mc-sell { grid-template-columns: 1fr; }
  .mc-promos { grid-template-columns: 1fr 1fr; }
  .mc-trust { grid-template-columns: 1fr 1fr; }
  .mc-tiles { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .mc-footer-grid { grid-template-columns: 1fr 1fr; }
  .mc-footer-brand { grid-column: 1 / -1; }
}

/* Phone (Luma's mobile layout) */
@media (max-width: 768px) {
  /* Side padding */
  .page-header .header.content, .page-main, .mc-wrap { padding-left: 16px !important; padding-right: 16px !important; }

  /* Top bar: links only */
  .mc-topstrip .mc-wrap > span { display: none; }

  /* Search always visible, full width under logo and cart, no magnifier toggle */
  .block-search .label { display: none !important; }
  .block-search input { position: static !important; left: auto !important; font-size: 16px !important; }
  .block-search {
    float: none !important;
    clear: both;
    width: 100% !important;
    margin-top: 10px;
    margin-right: 0 !important;
  }
  .block-search .control { border-top: 0; margin: 0; padding: 0 0 10px; }

  /* Header row: [menu button] [logo] ........ [cart] */
  .page-header .header.content { position: relative; padding-top: 14px !important; padding-bottom: 4px !important; }
  .page-header .logo { float: left; margin: 0 0 0 56px !important; padding: 0 !important; }
  .page-header .logo img { max-height: 44px; width: auto; }
  .page-header .minicart-wrapper { margin-top: 8px !important; }

  /* Cart: same bag icon as desktop, number as a small bubble */
  .page-header .minicart-wrapper { margin-top: 12px !important; margin-right: 14px !important; }
  .page-header .minicart-wrapper .action.showcart { position: relative; display: block; width: 28px; }
  .page-header .minicart-wrapper .action.showcart:before {
    content: "" !important;
    display: block;
    width: 28px;
    height: 28px;
    background: center / contain no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232667dc' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l-1 13H7z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%3E%3C/svg%3E");
  }
  .page-header .minicart-wrapper .action.showcart .counter.qty {
    position: absolute;
    top: -7px;
    left: auto;
    right: -13px;
    margin: 0 !important;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    padding: 0 4px;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    border-radius: 9px;
    border: 2px solid #ffffff;
    box-sizing: content-box;
    background: #2667dc !important;
    color: #ffffff;
  }
  .page-header .minicart-wrapper .action.showcart .counter.qty.empty { display: none; }

  /* Hamburger: rounded square button, dark icon, same height as the logo */
  .nav-toggle {
    position: absolute !important;
    left: 16px !important;
    top: 14px !important;
    width: 44px;
    height: 44px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    background: #ffffff;
    border: 1px solid #e3e8f0;
    border-radius: 12px;
    box-sizing: border-box;
    z-index: 2;
  }
  .nav-toggle:before {
    font-size: 24px !important;
    line-height: 1 !important;
    color: #161c27 !important;
    margin: 0 !important;
  }
  .nav-toggle:hover:before, .nav-toggle:active:before { color: #2667dc !important; }
  .nav-toggle:active { background: #eef3ff; border-color: #c9d7f5; }

  /* ---- Mobile menu panel ---- */
  .nav-sections { background: #ffffff !important; margin-bottom: 0 !important; }
  .nav-sections-items, .navigation { background: #ffffff !important; }
  .nav-sections-item-content { padding: 0 !important; background: #ffffff !important; }

  /* Tabs: "menu" / "account" with a blue underline on the open one */
  .nav-sections-item-title {
    background: #ffffff !important;
    border: 0 !important;
    border-bottom: 1px solid #e3e8f0 !important;
    box-sizing: border-box;
    float: left;
    height: 60px;
    padding: 0 !important;
    text-align: center;
    width: 50%;
  }
  .nav-sections-item-title a {
    display: block;
    line-height: 58px;
    color: #4f5a6d !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    text-transform: lowercase !important;
    text-decoration: none !important;
  }
  .nav-sections-item-title.active { background: #ffffff !important; border-bottom: 2px solid #2667dc !important; }
  .nav-sections-item-title.active a { color: #2667dc !important; }

  /* Every menu row: no Luma orange/grey side bars */
  .navigation .level0.active > .level-top,
  .navigation .level0.has-active > .level-top,
  .navigation .level0 .submenu .active > a,
  .navigation .level0.active > a:not(.ui-state-active),
  .navigation .level0.has-active > a:not(.ui-state-active),
  .navigation .level0 .submenu a,
  .navigation .level0 > .level-top {
    border: 0 !important;
    border-width: 0 !important;
  }

  /* Top-level categories */
  .navigation .level0 { border-top: 0 !important; border-bottom: 1px solid #eef1f6; }
  .navigation .level0 > .level-top {
    padding: 16px 48px 16px 20px !important;
    color: #161c27 !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    text-transform: lowercase !important;
    line-height: 1.3 !important;
  }
  .navigation .level0.active > .level-top,
  .navigation .level0.has-active > .level-top,
  .navigation .level0 > .level-top.ui-state-active { color: #2667dc !important; }
  .navigation .parent .level-top:after { right: 18px !important; color: #4f5a6d; font-size: 14px !important; }

  /* Sub-categories */
  .navigation .level0 .submenu { background: #f7f9fc !important; padding: 6px 0 !important; }
  .navigation .level0 .submenu a,
  .navigation .submenu:not(:first-child) .level1 > a {
    padding: 11px 20px 11px 32px !important;
    color: #2a3140 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
    background: transparent !important;
  }
  .navigation .submenu .submenu a,
  .navigation .submenu:not(:first-child) .submenu .level2 > a { padding-left: 46px !important; color: #4f5a6d !important; font-size: 15px !important; }
  .navigation .level0 .submenu .active > a,
  .navigation .level0 .submenu a:hover,
  .navigation .level0 .submenu a.ui-state-focus { color: #2667dc !important; background: #eef3ff !important; }
  /* "All Fashion" style link */
  .navigation .level0 .submenu .all-category > a,
  .navigation .level0 .submenu > li:first-child > a.all-category { font-weight: 600 !important; color: #2667dc !important; }

  /* "Browse shops" row at the bottom of the menu */
  .nav-sections a.mc-browse {
    display: block;
    padding: 16px 20px;
    color: #2667dc !important;
    font-size: 17px;
    font-weight: 600;
    text-transform: lowercase;
    text-decoration: none !important;
    border-bottom: 1px solid #eef1f6;
  }

  /* ---- Account tab: welcome, Sign in / Join buttons, Sell card ---- */
  .nav-sections .header.links {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    padding: 22px 20px !important;
    margin: 0 !important;
    border: 0 !important;
  }
  .nav-sections .header.links li { border: 0 !important; margin: 0 !important; padding: 0 !important; order: 5; }
  .nav-sections .header.links li > a {
    display: block;
    border: 0 !important;
    border-bottom: 1px solid #eef1f6 !important;
    padding: 14px 4px !important;
    color: #161c27 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
  }
  /* Welcome line as a small heading */
  .nav-sections .header.links li.greet.welcome {
    order: 0;
    border: 0 !important;
    padding: 0 0 6px !important;
    font-family: 'Space Grotesk', Inter, sans-serif;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #161c27;
  }
  /* Sign in: solid blue button */
  .nav-sections .header.links li.authorization-link { order: 1; }
  .nav-sections .header.links li.authorization-link > a {
    border: 0 !important;
    border-radius: 30px;
    background: #2667dc;
    color: #ffffff !important;
    text-align: center;
    padding: 14px 20px !important;
    font-weight: 600 !important;
  }
  /* Create account: outline button */
  .nav-sections .header.links li:has(> a[href*="customer/account/create"]) { order: 2; }
  .nav-sections .header.links li > a[href*="customer/account/create"] {
    border: 1.5px solid #2667dc !important;
    border-radius: 30px;
    color: #2667dc !important;
    text-align: center;
    padding: 13px 20px !important;
    font-weight: 600 !important;
  }
  /* Signed in: account links first, Sell card, then a quiet "Sign Out" at the bottom */
  .nav-sections .header.links li.authorization-link:has(a[href*="logout"]) { order: 10 !important; margin-top: 12px !important; }
  .nav-sections .header.links li.authorization-link > a[href*="logout"] {
    background: #ffffff !important;
    border: 1px solid #e3e8f0 !important;
    color: #4f5a6d !important;
    font-weight: 600 !important;
  }
  .nav-sections .header.links li.authorization-link > a[href*="logout"]:hover { border-color: #f0b4b0 !important; color: #b42318 !important; background: #fdeeee !important; }
  .nav-sections .header.links li:not(.authorization-link):not(.greet):not(:has(> a[href$="/marketplace/"])):not(:has(> a[href*="customer/account/create"])) { order: 2; }
  .nav-sections .header.links li:has(> a[href$="/marketplace/"]) { order: 6 !important; margin-top: 12px !important; }
  /* Every row and the Sell card share the same left and right edges */
  .nav-sections .header.links li { width: 100%; box-sizing: border-box; }
  .nav-sections .header.links li > a { box-sizing: border-box; width: 100%; }

  /* Sell: light blue card with a shop icon */
  .nav-sections .header.links li:has(> a[href$="/marketplace/"]) { order: 3; margin-top: 10px !important; }
  .nav-sections [id="store.links"] .header.links li > a[href$="/marketplace/"],
  .nav-sections .header.links li > a[href$="/marketplace/"] {
    display: flex !important;
    align-items: center;
    gap: 14px;
    margin: 0 !important;
    padding: 16px 18px !important;
    border: 1px solid #c9d7f5 !important;
    border-radius: 16px !important;
    background: #eef3ff !important;
    color: #161c27 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
  }
  .nav-sections .header.links li > a[href$="/marketplace/"]:before {
    content: "";
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #ffffff center / 22px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232667dc' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l1.5-5h15L21 9'/%3E%3Cpath d='M4 9v11h16V9'/%3E%3Cpath d='M3 9a3 3 0 0 0 6 0 3 3 0 0 0 6 0 3 3 0 0 0 6 0'/%3E%3C/svg%3E");
  }
  .nav-sections .header.links li > a[href$="/marketplace/"]:after {
    content: "Open your shop for free \2192";
    margin-left: auto;
    font-size: 13px;
    font-weight: 500;
    color: #2667dc;
  }


  /* Contact Seller button */
  a.askque { margin-top: 0 !important; display: inline-block; }
}

@media (max-width: 767px) {
  /* Account pages: menu above the content */
  .account .columns { display: flex; flex-direction: column; }
  .account .sidebar-main { order: -1; width: 100%; }
  .account .column.main { order: 0; width: 100%; }
  .account .block-collapsible-nav { position: relative !important; top: 0 !important; margin-bottom: 20px; }
  .account .page-main { padding-top: 0; }

  /* Account and seller dashboard pages: content uses the full phone width */
  .columns .column.main,
  .columns .sidebar-main,
  .columns .sidebar-additional {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
  }
  .account .page-main, body[class*="marketplace-"] .page-main { padding-left: 16px !important; padding-right: 16px !important; }

  /* Webkul marketplace pages: no extra gap above the menu */
  body[class*="marketplace-"] .page-main { padding-top: 0 !important; margin-top: 0 !important; }
  body[class*="marketplace-"] .columns,
  body[class*="marketplace-"] .sidebar-main { margin-top: 0 !important; padding-top: 0 !important; }
}

/* Small phones: homepage */
@media (max-width: 640px) {
  .mc-hero, .mc-sell { padding: 32px 24px; min-height: 0; }
  .mc-home .mc-hero h1 { font-size: 36px !important; }
  .mc-home .mc-sell h2 { font-size: 32px !important; }
  .mc-home .mc-head h2 { font-size: 26px !important; }
  .mc-promos, .mc-trust { grid-template-columns: 1fr; }
  .mc-tiles { grid-template-columns: repeat(2, 1fr); }
}
