/*
Theme Name: StationeryWorld Shop
Description: Clean, professional and mobile-friendly Stationery World storefront (Astra child theme for WooCommerce) with mega menu, product carousels, newsletter footer and festival themes.
Author: StationeryWorld
Version: 4.0.0
Template: astra
Text Domain: stationeryworld-shop
*/
:root{--sw-blue:#173f78;--sw-blue-dark:#102b50;--sw-red:#ed3443;--sw-yellow:#ffd44f;--sw-bg:#f5f7fb;--sw-ink:#172337;--sw-muted:#667085;--sw-line:#e3e8f0}
*{box-sizing:border-box}body{margin:0;color:var(--sw-ink);background:#fff;font-family:inherit}a{color:inherit}
#masthead,.site-header,.ast-header-break-point .main-header-bar{display:none!important}
.site-content{min-height:50vh}.ast-container{max-width:none;width:100%;padding:0}
.sw-topline{background:var(--sw-blue-dark);color:#fff;text-align:center;padding:8px 20px;font-size:12px;font-weight:600}
.sw-topline span{margin-left:20px;color:#ffe17a}
.sw-header{background:#fff;position:relative;z-index:100;border-bottom:1px solid var(--sw-line);box-shadow:0 2px 10px rgba(16,43,80,.05)}
.sw-header-main{max-width:1440px;margin:auto;min-height:82px;padding:12px 30px;display:grid;grid-template-columns:230px minmax(200px,1fr) 190px;gap:28px;align-items:center}
.sw-brand{display:flex;align-items:center;gap:10px;text-decoration:none!important;min-width:0}
.sw-brand img,.sw-brand .custom-logo{max-height:55px;width:auto;max-width:190px;object-fit:contain}
.sw-brand-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:var(--sw-red);color:white;font-weight:900;font-size:27px}
.sw-brand-name{font-size:23px;font-weight:850;letter-spacing:-.7px;color:var(--sw-blue);white-space:nowrap}
.sw-brand-name span{color:var(--sw-red)}
.sw-search{display:flex;height:46px;border:1px solid #c9d4e3;background:#f5f8fc;border-radius:10px;overflow:hidden;margin:0}
.sw-search input{flex:1;min-width:0;border:0!important;background:transparent!important;padding:0 16px!important;box-shadow:none!important;font-size:14px}
.sw-search button{width:54px;border:0;border-radius:0;background:var(--sw-yellow);color:var(--sw-blue-dark);font-size:28px;line-height:1;cursor:pointer}
.sw-header-actions{display:flex;justify-content:flex-end;gap:24px}
.sw-header-actions a{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;text-decoration:none!important;font-size:12px;font-weight:650}
.sw-action-icon{font-size:23px;line-height:1.1}
.sw-cart-count{position:absolute;top:-5px;right:-10px;background:var(--sw-red);color:#fff;border-radius:50%;font-size:10px;min-width:17px;height:17px;display:grid;place-items:center}
.sw-nav{display:flex;align-items:stretch;justify-content:center;gap:0;border-top:1px solid #f0f2f6;min-height:48px;padding:0 20px}
.sw-nav-item{position:static;display:flex;align-items:stretch}
.sw-nav-link{display:flex;align-items:center;gap:8px;padding:0 15px;font-size:13px;font-weight:700;text-decoration:none!important;color:#25354b!important;white-space:nowrap;border-bottom:3px solid transparent}
.sw-nav-link:hover,.sw-nav-item:focus-within>.sw-nav-link{color:var(--sw-blue)!important;border-bottom-color:var(--sw-red)}
.sw-chevron{font-size:16px;color:#738198}
.sw-mega{display:none;position:absolute;left:50%;top:100%;transform:translateX(-50%);width:min(1120px,calc(100vw - 50px));max-height:70vh;overflow:auto;background:#fff;border:1px solid var(--sw-line);border-radius:0 0 14px 14px;box-shadow:0 18px 45px rgba(16,43,80,.17);padding:22px;grid-template-columns:minmax(210px,.75fr) minmax(0,2fr);gap:25px}
.sw-nav-dropdown:hover .sw-mega,.sw-nav-dropdown:focus-within .sw-mega{display:grid}
.sw-mega strong{display:block;color:var(--sw-blue);font-size:14px;margin-bottom:12px}
.sw-mega-categories{display:flex;flex-direction:column;align-items:stretch;gap:2px;border-right:1px solid var(--sw-line);padding-right:20px}
.sw-mega-categories>a{padding:8px 10px;border-radius:7px;text-decoration:none!important;font-size:13px}
.sw-mega-categories>a:hover{background:#eef4ff;color:var(--sw-blue)}
.sw-mega-hint{font-size:12px;color:var(--sw-muted);line-height:1.6;padding:7px 3px}
.sw-mega-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-content:start;gap:12px}
.sw-mega-products>strong{grid-column:1/-1;margin-bottom:0}
.sw-mega-product{display:flex;flex-direction:column;gap:7px;text-decoration:none!important;border:1px solid var(--sw-line);border-radius:10px;padding:9px;min-width:0;font-size:12px;font-weight:650}
.sw-mega-product img,.sw-mega-noimage{width:100%;height:110px;object-fit:contain;border-radius:7px;background:#f7f9fc}
.sw-mega-noimage{display:grid;place-items:center;font-size:38px;color:#a0aec0}
.sw-mega-product small{display:block;color:var(--sw-blue);font-weight:800;margin-top:5px}
.sw-home{max-width:1440px;margin:0 auto;padding:0 30px 45px}
.sw-promo{display:none}
.sw-hero{margin:22px 0 28px;border-radius:18px;overflow:hidden;background:linear-gradient(110deg,#153c73 0%,#2c5e9b 55%,#e8f2ff 100%);color:#fff;min-height:360px;display:flex;align-items:center;padding:clamp(32px,5vw,72px);position:relative}
.sw-hero:after{content:"✎  ✂  ◉";position:absolute;right:5%;bottom:8%;font-size:clamp(38px,6vw,82px);letter-spacing:12px;opacity:.2;color:#fff}
.sw-hero-copy{max-width:680px;position:relative;z-index:1}
.sw-kicker{display:inline-block;background:var(--sw-yellow);color:#1a2a42;border-radius:999px;padding:8px 13px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.sw-hero h1{color:#fff;font-size:clamp(38px,4.3vw,62px);line-height:1.04;margin:18px 0 14px}
.sw-hero p{font-size:18px;max-width:590px;color:#f1f6ff;line-height:1.65}
.sw-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.sw-btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 20px;border-radius:9px;background:var(--sw-yellow);color:#1b2b44!important;font-weight:800;text-decoration:none!important}
.sw-btn-alt{background:#fff;color:var(--sw-blue)!important}
.sw-section{margin:38px 0}
.sw-section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:18px}
.sw-section h2{font-size:clamp(24px,2.4vw,32px);color:var(--sw-blue);margin:0}
.sw-section-head p{margin:6px 0 0;color:var(--sw-muted)}
.sw-text-link{font-weight:750;color:var(--sw-blue);text-decoration:none}
.sw-category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.sw-category{min-height:155px;border:1px solid var(--sw-line);border-radius:15px;padding:18px;background:linear-gradient(140deg,#fff,#f2f6fc);text-decoration:none!important;color:var(--sw-ink)!important;display:flex;flex-direction:column;justify-content:space-between;transition:transform .16s,box-shadow .16s}
.sw-category:hover{transform:translateY(-3px);box-shadow:0 10px 25px rgba(21,59,112,.1)}
.sw-cat-icon{font-size:31px}.sw-category strong{font-size:16px;color:var(--sw-blue)}.sw-category small{color:var(--sw-muted);line-height:1.4}
.sw-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.sw-benefit{background:var(--sw-bg);border-radius:12px;padding:18px;display:flex;gap:12px;align-items:center}
.sw-benefit b{display:block;color:var(--sw-blue)}.sw-benefit span{font-size:13px;color:var(--sw-muted)}
.sw-home .woocommerce ul.products,.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px!important;margin:0!important}
.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;padding:12px!important;border:1px solid var(--sw-line);border-radius:13px;background:#fff;box-shadow:0 4px 16px rgba(21,59,112,.05);overflow:hidden}
.woocommerce ul.products li.product a img{aspect-ratio:1/1;object-fit:contain;border-radius:8px;background:#fff;margin-bottom:10px!important}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px;font-weight:650;line-height:1.4;color:var(--sw-ink)}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price{font-size:16px;font-weight:800;color:var(--sw-blue)!important}
.woocommerce ul.products li.product .button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--sw-blue);color:#fff;border-radius:8px;font-weight:700}
.woocommerce ul.products li.product .button{width:100%;text-align:center;padding:10px 6px}
.woocommerce span.onsale{background:var(--sw-red);border-radius:6px;min-width:auto;min-height:auto;padding:5px 8px;font-weight:700}
.woocommerce .woocommerce-breadcrumb{font-size:12px;color:var(--sw-muted)}
.woocommerce-products-header__title,.entry-title{color:var(--sw-blue)}
.woocommerce table.shop_table{border-color:var(--sw-line);border-radius:10px}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{min-height:44px;border-radius:8px;border-color:#dce3ee}
.woocommerce-checkout #place_order{width:100%;min-height:50px;background:var(--sw-red)}
.sw-footer{background:var(--sw-blue-dark);color:#fff;margin-top:35px;padding:38px 30px 0}
.sw-footer-inner{max-width:1380px;margin:auto;display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px;padding-bottom:30px}
.sw-footer-inner>div{display:flex;flex-direction:column;gap:10px}.sw-footer-inner strong{font-size:15px}.sw-footer-inner p,.sw-footer-inner a{font-size:13px;color:#e0e9f7;text-decoration:none;margin:0}
.sw-footer-brand{font-size:22px!important}.sw-footer-bottom{text-align:center;border-top:1px solid rgba(255,255,255,.15);padding:14px;font-size:12px;color:#d3deef}
.sw-mobile-bottom{display:none}
@media(min-width:1500px){.sw-nav-link{padding:0 18px;font-size:14px}.sw-header-main{grid-template-columns:250px minmax(250px,1fr) 200px}}
@media(max-width:1200px){.sw-header-main{grid-template-columns:200px minmax(180px,1fr) 150px;gap:16px;padding:12px 20px}.sw-nav-link{padding:0 9px;font-size:12px}.sw-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sw-home .woocommerce ul.products,.woocommerce ul.products{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:767px){
 .sw-topline{font-size:10px;padding:7px 8px}.sw-topline span{display:none}
 .sw-header-main{min-height:auto;padding:9px 12px;grid-template-columns:1fr auto;gap:9px}
 .sw-brand{grid-column:1;grid-row:1}.sw-brand-mark{width:34px;height:34px;border-radius:9px;font-size:20px}.sw-brand-name{font-size:19px}
 .sw-brand img,.sw-brand .custom-logo{max-height:36px;max-width:150px}
 .sw-search{grid-column:1/-1;grid-row:2;height:42px}
 .sw-search input{font-size:13px;padding:0 11px!important}.sw-search button{width:45px;font-size:24px}
 .sw-header-actions{grid-column:2;grid-row:1;gap:13px}.sw-header-actions a{font-size:10px}.sw-action-icon{font-size:20px}
 .sw-nav{justify-content:flex-start;overflow-x:auto;white-space:nowrap;padding:0 7px;min-height:42px;scrollbar-width:none}
 .sw-nav::-webkit-scrollbar{display:none}.sw-nav-link{font-size:12px;padding:0 11px}
 .sw-mega{position:fixed;left:8px;right:8px;top:150px;transform:none;width:auto;max-height:65vh;grid-template-columns:1fr;gap:12px;padding:14px}
 .sw-nav-dropdown:hover .sw-mega{display:none}.sw-nav-dropdown:focus-within .sw-mega{display:grid}
 .sw-mega-categories{border-right:0;border-bottom:1px solid var(--sw-line);padding:0 0 10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .sw-mega-categories strong{grid-column:1/-1}.sw-mega-products{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sw-mega-product img,.sw-mega-noimage{height:75px}
 .sw-home{padding:0 12px 26px}.sw-hero{margin:12px 0 20px;min-height:265px;padding:24px 18px;border-radius:14px}
 .sw-hero p{font-size:14px}.sw-hero h1{font-size:32px}.sw-hero:after{right:2%;bottom:3%;font-size:32px;letter-spacing:3px}
 .sw-section{margin:25px 0}.sw-section-head{align-items:start}.sw-section h2{font-size:22px}.sw-section-head p{font-size:12px}
 .sw-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.sw-category{min-height:122px;padding:13px;border-radius:12px}.sw-category strong{font-size:14px}.sw-category small{font-size:11px}
 .sw-benefits{grid-template-columns:1fr}.sw-benefit{padding:12px}
 .sw-home .woocommerce ul.products,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 .woocommerce ul.products li.product{padding:8px!important;border-radius:10px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:12px;min-height:2.6em}.woocommerce ul.products li.product .price{font-size:14px}.woocommerce ul.products li.product .button{font-size:12px;min-height:40px;white-space:normal}
 .woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{float:none;display:block;margin:0 0 10px}.woocommerce .woocommerce-ordering,.woocommerce .woocommerce-ordering select{width:100%}
 .woocommerce div.product div.images,.woocommerce div.product div.summary{width:100%!important;float:none!important}
 .woocommerce table.shop_table td,.woocommerce table.shop_table th{padding:7px 5px;font-size:12px}
 .sw-footer{padding:25px 16px 0;margin-bottom:58px}.sw-footer-inner{grid-template-columns:1fr 1fr;gap:22px}.sw-footer-inner>div:first-child{grid-column:1/-1}
 .sw-mobile-bottom{display:flex;position:fixed;z-index:9999;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--sw-line);box-shadow:0 -4px 18px rgba(16,43,80,.09);justify-content:space-around;padding:7px 4px calc(7px + env(safe-area-inset-bottom))}
 .sw-mobile-bottom a{display:flex;flex-direction:column;align-items:center;gap:2px;text-decoration:none!important;font-size:10px;font-weight:650;color:var(--sw-blue)}
 .sw-mobile-bottom span{font-size:20px;line-height:1.1}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

/* =========================================================
   CONSOLIDATED HEADER LAYOUT
   Replaces the repeated header-fix blocks previously added.
   ========================================================= */

/* Desktop and laptop */
@media (min-width: 768px) {
  body header.sw-header {
    width: 100%;
  }

  body header.sw-header .sw-header-main {
    display: grid !important;
    grid-template-columns: minmax(180px, 220px) minmax(250px, 1fr) minmax(170px, 220px) !important;
    grid-template-areas: "brand search actions" !important;
    align-items: center !important;
    gap: 22px !important;
    width: 100% !important;
    max-width: 1440px !important;
    min-height: 90px !important;
    margin: 0 auto !important;
    padding: 12px 24px !important;
    box-sizing: border-box !important;
  }

  body header.sw-header .sw-header-main > .sw-brand {
    grid-area: brand !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 220px !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  body header.sw-header .sw-header-main .sw-brand img,
  body header.sw-header .sw-header-main .sw-brand .custom-logo {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 200px !important;
    max-height: 62px !important;
    object-fit: contain !important;
  }

  body header.sw-header .sw-header-main > .sw-search {
    grid-area: search !important;
    display: flex !important;
    width: 100% !important;
    max-width: 760px !important;
    min-width: 0 !important;
    margin: 0 auto !important;
  }

  body header.sw-header .sw-header-main > .sw-header-actions {
    grid-area: actions !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 14px !important;
    min-width: 0 !important;
  }

  body header.sw-header .sw-mobile-menu-toggle {
    display: none !important;
  }

  body header.sw-header > .sw-nav {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: stretch !important;
    flex-wrap: wrap !important;
    overflow: visible !important;
  }
}

/* Mobile */
@media (max-width: 767px) {
  body header.sw-header .sw-header-main {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "brand actions"
      "search search" !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    box-sizing: border-box !important;
  }

  body header.sw-header .sw-header-main > .sw-brand {
    grid-area: brand !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 130px !important;
    max-width: 130px !important;
    min-width: 0 !important;
    height: 42px !important;
    max-height: 42px !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  body header.sw-header .sw-header-main .sw-brand img,
  body header.sw-header .sw-header-main .sw-brand .custom-logo {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 125px !important;
    max-height: 40px !important;
    object-fit: contain !important;
  }

  body header.sw-header .sw-header-main > .sw-search {
    grid-area: search !important;
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 42px !important;
    margin: 0 !important;
  }

  body header.sw-header .sw-header-main > .sw-header-actions {
    grid-area: actions !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 9px !important;
    min-width: 0 !important;
  }

  body header.sw-header .sw-header-actions > a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    white-space: nowrap !important;
    font-size: 10px !important;
  }

  body header.sw-header .sw-header-actions .sw-action-icon {
    font-size: 20px !important;
  }

  body header.sw-header .sw-mobile-menu-toggle {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: calc(100% - 24px) !important;
    min-height: 42px !important;
    margin: 0 12px 8px !important;
    padding: 8px 12px !important;
  }

  body header.sw-header > .sw-nav {
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-height: 65vh !important;
    overflow-y: auto !important;
    padding: 8px 12px 12px !important;
    background: #fff !important;
    box-sizing: border-box !important;
  }

  body header.sw-header > .sw-nav.sw-mobile-nav-open {
    display: flex !important;
  }

  body header.sw-header .sw-nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    border-bottom: 1px solid var(--sw-line) !important;
  }

  body header.sw-header .sw-nav-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 44px !important;
    padding: 10px 8px !important;
    white-space: normal !important;
    border-bottom: 0 !important;
  }

  body header.sw-header .sw-nav-dropdown .sw-mega {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 0 10px !important;
    box-shadow: none !important;
    border-radius: 8px !important;
    grid-template-columns: 1fr !important;
  }

  body header.sw-header .sw-nav-dropdown.sw-open .sw-mega {
    display: grid !important;
  }
}

/* Accessibility: respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* MOBILE HEADER AND HOMEPAGE FIXES */
@media (max-width: 767px) {

  /* Compact header */
  body header.sw-header .sw-header-main {
    padding: 8px 12px !important;
    gap: 8px !important;
  }

  body header.sw-header .sw-header-main > a.sw-brand {
    width: 125px !important;
    max-width: 125px !important;
    height: 38px !important;
  }

  body header.sw-header .sw-header-main > a.sw-brand img {
    max-width: 120px !important;
    max-height: 36px !important;
  }

  /* Keep Account, Wishlist and Cart compact */
  body header.sw-header .sw-header-actions {
    gap: 7px !important;
  }

  body header.sw-header .sw-header-actions a {
    font-size: 11px !important;
  }

  body header.sw-header .sw-action-icon {
    font-size: 20px !important;
  }

  /* Smaller menu button */
  body header.sw-header .sw-mobile-menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 8px 14px !important;
    margin: 0 12px 8px !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    border-radius: 6px !important;
  }

  /* Hide desktop category navigation until menu is opened */
  body header.sw-header > nav.sw-nav {
    display: none !important;
  }

  body header.sw-header > nav.sw-nav.sw-mobile-nav-open {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
  }

  /* Search field */
  body header.sw-header .sw-header-main > form.sw-search {
    width: 100% !important;
    margin: 0 !important;
  }

  body header.sw-header .sw-search input {
    min-height: 44px !important;
    font-size: 15px !important;
  }

  /* Homepage hero banner */
  .sw-hero,
  .sw-home-hero,
  .sw-hero-inner {
    max-width: 100% !important;
  }

  .sw-hero,
  .sw-home-hero {
    margin: 12px !important;
    padding: 24px 18px !important;
    min-height: 0 !important;
    border-radius: 18px !important;
  }

  .sw-hero h1,
  .sw-home-hero h1,
  .sw-hero-title {
    font-size: clamp(30px, 8vw, 42px) !important;
    line-height: 1.12 !important;
    margin-bottom: 14px !important;
  }

  .sw-hero p,
  .sw-home-hero p {
    font-size: 16px !important;
    line-height: 1.55 !important;
  }

  .sw-hero .sw-button,
  .sw-home-hero .sw-button {
    font-size: 14px !important;
    padding: 12px 14px !important;
  }

  /* Category heading */
  .sw-home-categories h2,
  .sw-section-title {
    font-size: 27px !important;
    line-height: 1.2 !important;
  }

  /* Prevent accidental horizontal scrolling */
  html,
  body {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
}

/* Stationery World - targeted header correction */
body header.sw-header .sw-header-main {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin-inline: auto !important;
    overflow: visible !important;
}

body header.sw-header .sw-brand {
    box-sizing: border-box !important;
    min-width: 0 !important;
    overflow: visible !important;
}

body header.sw-header .sw-brand img,
body header.sw-header .sw-brand .custom-logo {
    display: block !important;
    width: 100% !important;
    max-width: 220px !important;
    height: auto !important;
    max-height: 65px !important;
    object-fit: contain !important;
}

@media (min-width: 768px) {
    body header.sw-header .sw-header-main {
        display: grid !important;
        grid-template-columns: 220px minmax(0, 1fr) 180px !important;
        grid-template-areas: "brand search actions" !important;
        align-items: center !important;
        gap: 20px !important;
        padding: 12px 24px !important;
    }

    body header.sw-header .sw-brand {
        grid-area: brand !important;
        width: 100% !important;
        max-width: 220px !important;
    }

    body header.sw-header .sw-search {
        grid-area: search !important;
        width: 100% !important;
        max-width: 760px !important;
        justify-self: center !important;
    }

    body header.sw-header .sw-header-actions {
        grid-area: actions !important;
        justify-content: flex-end !important;
        gap: 12px !important;
    }

    body header.sw-header .sw-mobile-menu-toggle {
        display: none !important;
    }

    body header.sw-header > nav.sw-nav {
        display: flex !important;
    }
}

@media (max-width: 767px) {
    body header.sw-header .sw-header-main {
        grid-template-columns: minmax(0, 1fr) auto !important;
        grid-template-areas:
            "brand actions"
            "search search" !important;
        gap: 10px !important;
        padding: 10px 12px !important;
    }

    body header.sw-header .sw-brand {
        grid-area: brand !important;
        width: 125px !important;
        max-width: 125px !important;
        height: 42px !important;
    }

    body header.sw-header .sw-brand img,
    body header.sw-header .sw-brand .custom-logo {
        max-width: 125px !important;
        max-height: 42px !important;
    }

    body header.sw-header .sw-header-actions {
        grid-area: actions !important;
        gap: 8px !important;
    }

    body header.sw-header .sw-search {
        grid-area: search !important;
        width: 100% !important;
        max-width: none !important;
    }

    body header.sw-header .sw-mobile-menu-toggle {
        display: inline-flex !important;
        width: auto !important;
        min-width: 0 !important;
        min-height: 40px !important;
        margin: 0 12px 8px !important;
        padding: 8px 14px !important;
        font-size: 14px !important;
        line-height: 1.3 !important;
    }

    body header.sw-header > nav.sw-nav {
        display: none !important;
    }

    body header.sw-header > nav.sw-nav.sw-mobile-nav-open {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }
}

/* Homepage promotional carousel */
.sw-home .sw-hero-carousel {
  position: relative;
  margin: 20px auto 34px;
  overflow: hidden;
  border-radius: 18px;
}

.sw-home .sw-hero-slides {
  position: relative;
}

.sw-home .sw-hero-slide {
  display: none;
  min-height: 380px;
  margin: 0;
  box-sizing: border-box;
}

.sw-home .sw-hero-slide.is-active {
  display: flex;
  animation: sw-slide-in .35s ease;
}

.sw-home .sw-slide-blue {
  background: linear-gradient(110deg, #173d72 0%, #32649d 62%, #dceaff 100%);
  color: #fff;
}

.sw-home .sw-slide-yellow {
  background: linear-gradient(110deg, #fff0b0 0%, #ffd54b 55%, #fff8df 100%);
  color: #173d72;
}

.sw-home .sw-slide-light {
  background: linear-gradient(110deg, #e7f0ff 0%, #b8d2ef 58%, #fff0bc 100%);
  color: #173d72;
}

.sw-home .sw-hero-slide .sw-hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  padding: clamp(28px, 5vw, 64px);
  box-sizing: border-box;
}

.sw-home .sw-hero-slide h1 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
  margin: 22px 0 16px;
}

.sw-home .sw-hero-slide p {
  max-width: 620px;
  line-height: 1.7;
}

.sw-home .sw-slide-blue .sw-kicker {
  background: #ffd447;
  color: #173d72;
}

.sw-home .sw-slide-yellow .sw-kicker,
.sw-home .sw-slide-light .sw-kicker {
  background: #173d72;
  color: #fff;
}

.sw-home .sw-carousel-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: #173d72;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
}

.sw-home .sw-carousel-prev { left: 14px; }
.sw-home .sw-carousel-next { right: 14px; }

.sw-home .sw-carousel-dots {
  position: absolute;
  z-index: 4;
  bottom: 15px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 9px;
}

.sw-home .sw-carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.65);
  cursor: pointer;
}

.sw-home .sw-carousel-dot.is-active {
  background: #ffd447;
  transform: scale(1.25);
}

@keyframes sw-slide-in {
  from { opacity: .6; }
  to { opacity: 1; }
}

@media (max-width: 767px) {
  .sw-home .sw-hero-carousel {
    margin: 14px 12px 28px;
    border-radius: 16px;
  }

  .sw-home .sw-hero-slide {
    min-height: 410px;
  }

  .sw-home .sw-hero-slide .sw-hero-copy {
    padding: 38px 28px 54px;
  }

  .sw-home .sw-hero-slide h1 {
    font-size: clamp(32px, 8vw, 44px);
    line-height: 1.12;
  }

  .sw-home .sw-hero-slide p {
    font-size: 16px;
  }

  .sw-home .sw-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .sw-home .sw-hero-actions .sw-btn {
    margin: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .sw-home .sw-carousel-arrow {
    width: 34px;
    height: 34px;
    font-size: 24px;
  }

  .sw-home .sw-carousel-prev { left: 8px; }
  .sw-home .sw-carousel-next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .sw-home .sw-hero-slide.is-active {
    animation: none;
  }
}

/* =========================================
   STATIONERY WORLD - HEADER AND CAROUSEL FIX
   ========================================= */

/* 1. Keep the complete main header visible while scrolling */
body .sw-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
    width: 100%;
    background: #ffffff;
    overflow: visible !important;
    box-shadow: 0 3px 12px rgba(20, 48, 85, 0.08);
}

/* Account for the WordPress admin toolbar when logged in */
body.admin-bar .sw-header {
    top: 32px !important;
}

@media (max-width: 782px) {
    body.admin-bar .sw-header {
        top: 46px !important;
    }
}

/* Keep the header rows aligned */
.sw-header .sw-header-main {
    width: 100%;
    box-sizing: border-box;
}

.sw-header .sw-header-main-inner,
.sw-header .sw-header-main {
    background-color: #ffffff;
}

.sw-header .sw-nav {
    box-sizing: border-box;
    background: #ffffff;
    position: relative;
    z-index: 2;
}

/* 2. Align navigation labels and dropdown chevrons */
.sw-header .sw-nav-item {
    position: relative;
}

.sw-header .sw-nav-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    line-height: 1.3;
    white-space: nowrap;
    vertical-align: middle;
}

.sw-header .sw-chevron {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1;
    font-size: 15px;
    color: #54749a;
    transform: translateY(1px);
}

/* Keep dropdown panels anchored to their menu items */
.sw-header .sw-nav-dropdown .sw-mega {
    z-index: 100000;
}

/* Desktop navigation: scroll horizontally instead of cutting off items */
@media (min-width: 768px) {
    .sw-header .sw-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: clamp(12px, 1.8vw, 28px);
        max-width: 100%;
        overflow-x: auto;
        overflow-y: visible;
        white-space: nowrap;
        scrollbar-width: thin;
    }

    .sw-header .sw-nav-item {
        flex: 0 0 auto;
    }

    .sw-header .sw-nav-link {
        padding: 0 2px;
    }
}

/* 3. Correct carousel arrow size and vertical positioning */
.sw-home .sw-hero-carousel {
    position: relative;
}

.sw-home .sw-carousel-arrow {
    position: absolute !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 46px !important;
    height: 46px !important;
    min-width: 46px;
    min-height: 46px;
    padding: 0 !important;
    margin: 0 !important;

    border: 1px solid rgba(23, 61, 114, 0.12) !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #173d72 !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16);
    font-family: Arial, sans-serif !important;
    font-size: 0 !important;
    line-height: 1 !important;
    cursor: pointer;
    z-index: 10;
}

.sw-home .sw-carousel-prev {
    left: 16px !important;
    right: auto !important;
}

.sw-home .sw-carousel-next {
    right: 16px !important;
    left: auto !important;
}

.sw-home .sw-carousel-prev::before,
.sw-home .sw-carousel-next::before {
    display: block;
    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1;
    color: #173d72;
}

.sw-home .sw-carousel-prev::before {
    content: "\2039";
}

.sw-home .sw-carousel-next::before {
    content: "\203A";
}

.sw-home .sw-carousel-arrow:hover {
    background: #ffd447 !important;
    color: #173d72 !important;
}

.sw-home .sw-carousel-arrow:focus-visible,
.sw-header .sw-nav-link:focus-visible {
    outline: 3px solid #ffd447 !important;
    outline-offset: 3px;
}

/* 4. Mobile header: compact and prevent horizontal overflow */
@media (max-width: 767px) {
    .sw-header .sw-header-main {
        padding: 12px 14px;
    }

    .sw-header .sw-header-main-inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
    }

    .sw-header .sw-brand {
        min-width: 0;
        max-width: 48%;
    }

    .sw-header .sw-brand img,
    .sw-header .custom-logo {
        max-width: 100% !important;
        height: auto !important;
    }

    .sw-header .sw-header-actions {
        margin-left: auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 12px;
    }

    .sw-header .sw-search {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        order: 3;
    }

    .sw-header .sw-mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .sw-header .sw-nav {
        max-width: 100%;
        box-sizing: border-box;
    }

    .sw-home .sw-carousel-arrow {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px;
        min-height: 36px;
    }

    .sw-home .sw-carousel-prev {
        left: 8px !important;
    }

    .sw-home .sw-carousel-next {
        right: 8px !important;
    }
}

/* Align dropdown arrows vertically beside navigation text */
.sw-header .sw-nav-item > .sw-nav-link {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    line-height: 1.2 !important;
}

.sw-header .sw-nav-item > .sw-nav-link .sw-chevron {
    display: inline-block !important;
    position: relative !important;
    top: -1px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    transform: none !important;
    font-size: 14px !important;
}

/* Keep labels and arrows aligned on desktop */
@media (min-width: 768px) {
    .sw-header .sw-nav-item > .sw-nav-link {
        min-height: 44px !important;
    }
}

/* Keep alignment on mobile too */
@media (max-width: 767px) {
    .sw-header .sw-nav-item > .sw-nav-link {
        align-items: center !important;
        gap: 5px !important;
    }
}

/* =========================================
   FIX 1: Align dropdown arrows with menu text
========================================= */

.sw-header .sw-nav-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    line-height: 1.4 !important;
}

.sw-header .sw-nav-link .sw-chevron {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    transform: none !important;
    font-size: 13px !important;
    height: 1em !important;
}

/* =========================================
   FIX 2: Keep navigation and submenu on screen
========================================= */

.sw-header,
.sw-header .sw-nav {
    position: relative;
}

.sw-header .sw-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

.sw-header .sw-nav-item {
    position: relative;
}

.sw-header .sw-mega {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    width: min(720px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    box-sizing: border-box !important;
    z-index: 9999 !important;
}

/* Prevent dropdown from going beyond the right edge */
.sw-header .sw-nav-item:last-child .sw-mega,
.sw-header .sw-nav-item:nth-last-child(2) .sw-mega,
.sw-header .sw-nav-item:nth-last-child(3) .sw-mega {
    left: auto !important;
    right: 0 !important;
}

/* Keep dropdown columns inside the panel */
.sw-header .sw-mega-categories,
.sw-header .sw-mega-products {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere;
}

/* =========================================
   FIX 3: Smaller screens
========================================= */

@media (max-width: 1100px) {
    .sw-header .sw-nav {
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
    }

    .sw-header .sw-nav-item {
        flex-shrink: 0;
    }
}

@media (max-width: 767px) {
    .sw-header .sw-mega {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
        left: 0 !important;
        right: auto !important;
    }
}

/* Mobile menu visibility and click fix */
@media (max-width: 767px) {
  .sw-header {
    position: relative;
    z-index: 999;
  }

  .sw-mobile-menu-toggle {
    position: relative;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 18px;
    cursor: pointer;
    pointer-events: auto;
  }

  .sw-header #sw-main-navigation {
    display: none;
    position: relative;
    z-index: 1001;
    width: 100%;
    max-width: 100%;
    max-height: 65vh;
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
  }

  .sw-header #sw-main-navigation.sw-mobile-nav-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .sw-header #sw-main-navigation .sw-nav-item {
    position: relative;
    width: 100%;
  }

  .sw-header #sw-main-navigation .sw-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 18px;
  }

  .sw-header #sw-main-navigation .sw-mega {
    display: none;
    position: static;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    box-shadow: none;
  }

  .sw-header #sw-main-navigation .sw-nav-item:focus-within .sw-mega {
    display: block;
  }
}

/* Preserve desktop navigation */
@media (min-width: 768px) {
  .sw-mobile-menu-toggle {
    display: none;
  }

  .sw-header #sw-main-navigation {
    display: flex;
  }
}

/* Stationery World - mobile carousel sizing */
@media (max-width: 767px) {
  .sw-home .sw-hero {
    width: calc(100% - 32px) !important;
    max-width: 480px;
    min-height: 0 !important;
    height: auto !important;
    margin: 18px auto 28px !important;
    padding: 34px 22px 58px !important;
    box-sizing: border-box;
    overflow: hidden !important;
    border-radius: 22px;
  }

  .sw-home .sw-hero-copy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .sw-home .sw-hero h1 {
    font-size: clamp(30px, 7.5vw, 40px) !important;
    line-height: 1.12 !important;
    margin: 18px 0 14px !important;
    overflow-wrap: normal;
    word-break: normal;
  }

  .sw-home .sw-hero p {
    font-size: 16px !important;
    line-height: 1.5 !important;
    margin-bottom: 22px !important;
  }

  .sw-home .sw-hero .sw-kicker {
    font-size: 12px !important;
    line-height: 1.4 !important;
    padding: 9px 12px !important;
  }

  .sw-home .sw-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .sw-home .sw-hero-actions .sw-btn {
    min-height: 46px;
    padding: 12px 16px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
  }

  /* Keep arrows near the vertical centre of the banner */
  .sw-home .sw-hero .sw-prev,
  .sw-home .sw-hero .sw-next,
  .sw-home .sw-hero .swiper-button-prev,
  .sw-home .sw-hero .swiper-button-next,
  .sw-home .sw-hero .slick-prev,
  .sw-home .sw-hero .slick-next {
    top: 50% !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    transform: translateY(-50%) !important;
    z-index: 6;
  }

  .sw-home .sw-hero .sw-prev,
  .sw-home .sw-hero .swiper-button-prev,
  .sw-home .sw-hero .slick-prev {
    left: 6px !important;
  }

  .sw-home .sw-hero .sw-next,
  .sw-home .sw-hero .swiper-button-next,
  .sw-home .sw-hero .slick-next {
    right: 6px !important;
  }

  .sw-home .sw-hero .swiper-pagination,
  .sw-home .sw-hero .slick-dots {
    bottom: 14px !important;
  }
}

@media (max-width: 380px) {
  .sw-home .sw-hero {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .sw-home .sw-hero h1 {
    font-size: 29px !important;
  }

  .sw-home .sw-hero-actions .sw-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .sw-header #sw-main-navigation.sw-mobile-nav-open {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    max-height: 65vh;
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
  }

  .sw-header #sw-main-navigation .sw-nav-item {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
  }

  .sw-header #sw-main-navigation .sw-nav-link {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    padding: 14px 12px 14px 18px;
    box-sizing: border-box;
  }

  .sw-header #sw-main-navigation .sw-submenu-toggle {
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 0;
    background: transparent;
    color: #173f73;
    font-size: 24px;
    cursor: pointer;
  }

  .sw-header #sw-main-navigation .sw-mega {
    display: none !important;
    position: static !important;
    flex: 0 0 100%;
    width: 100% !important;
    max-width: 100%;
    max-height: none;
    overflow: visible;
    box-sizing: border-box;
    box-shadow: none;
  }

  .sw-header #sw-main-navigation .sw-nav-item.sw-submenu-open > .sw-mega {
    display: block !important;
  }

  .sw-header #sw-main-navigation .sw-submenu-toggle[aria-expanded="true"] {
    transform: rotate(180deg);
  }
}

/* FINAL MOBILE HERO SIZE OVERRIDE */
@media (max-width: 767px) {
  .sw-home .sw-hero-carousel {
    width: calc(100% - 24px) !important;
    margin: 12px auto 24px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }

  .sw-home .sw-hero-slide {
    min-height: 0 !important;
    height: auto !important;
  }

  .sw-home .sw-hero-slide .sw-hero-copy {
    padding: 28px 24px 54px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .sw-home .sw-hero-slide h1 {
    font-size: clamp(28px, 7vw, 36px) !important;
    line-height: 1.12 !important;
    margin: 16px 0 12px !important;
  }

  .sw-home .sw-hero-slide p {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 16px !important;
  }

  .sw-home .sw-hero-slide .sw-kicker {
    font-size: 10px !important;
    padding: 7px 10px !important;
  }

  .sw-home .sw-hero-slide .sw-hero-actions {
    gap: 8px !important;
  }

  .sw-home .sw-hero-slide .sw-btn {
    font-size: 13px !important;
    padding: 11px 13px !important;
    min-height: 42px !important;
  }

  .sw-home .sw-hero-carousel .sw-carousel-arrow {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
  }

  .sw-home .sw-hero-carousel .sw-carousel-prev {
    left: 6px !important;
  }

  .sw-home .sw-hero-carousel .sw-carousel-next {
    right: 6px !important;
  }
}


/* =====================================================================
   Stationery World - sw-fixes.css  (load AFTER style.css)
   1. Roboto font (Flipkart style) + Flipkart-like sizes
   2. Menu text / chevron perfectly centred
   3. Carousel round arrows: chevron exactly centred
   4. Mobile menu (hamburger + accordion) - single source of truth
   5. Mobile bottom navigation bar (Flipkart / Amazon style)
   ===================================================================== */

/* ---------- 1. FONT ---------- */
:root {
  --sw-font: "Roboto", -apple-system, "Segoe UI", Arial, sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
body,
button,
input,
select,
textarea,
.sw-header, .sw-header *,
.sw-home, .sw-home *,
.sw-footer, .sw-footer *,
.sw-bottom-nav, .sw-bottom-nav *,
.woocommerce, .woocommerce * {
  font-family: var(--sw-font) !important;
}
body { font-size: 14px; line-height: 1.5; color: #212121; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: 0; }

/* Flipkart-like type scale */
.sw-topline                      { font-size: 12px; font-weight: 400; }
.sw-search input                 { font-size: 14px; font-weight: 400; }
.sw-nav-link                     { font-size: 14px; font-weight: 500; }
.sw-header-actions a             { font-size: 13px; font-weight: 500; }
.sw-section h2                   { font-size: 22px; font-weight: 500; }
.sw-category strong              { font-size: 14px; font-weight: 500; }
.sw-category small               { font-size: 12px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 14px; font-weight: 400; line-height: 1.4; color: #212121;
}
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price { font-size: 16px; font-weight: 500; }
.woocommerce ul.products li.product .button { font-size: 14px; font-weight: 500; }
.sw-hero-slide h1, .sw-hero h1   { font-weight: 500; }
.sw-btn                          { font-size: 14px; font-weight: 500; }
.sw-footer-inner p,
.sw-footer-inner a               { font-size: 13px; font-weight: 400; }

@media (max-width: 767px) {
  body { font-size: 14px; }
  .sw-section h2 { font-size: 18px !important; }
  .sw-nav-link   { font-size: 14px !important; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 13px !important; }
  .woocommerce ul.products li.product .price { font-size: 14px !important; }
}

/* ---------- 2. MENU TEXT + CHEVRON ALIGNMENT ---------- */
.sw-header .sw-nav-link {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  line-height: 1 !important;
  min-height: 46px !important;
}
.sw-header .sw-nav-text { display: inline-block; line-height: 1; }
.sw-header .sw-chevron {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 14px !important;
  height: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0 !important;            /* kill any old text glyph */
  line-height: 0 !important;
  transform: none !important;
  top: auto !important;
  color: #54749a;
}
.sw-header .sw-chevron-svg { display: block; width: 14px; height: 14px; }

/* Desktop: arrow rotates on hover, submenu button hidden */
@media (min-width: 768px) {
  .sw-header .sw-chevron-svg { transition: transform .18s ease; }
  .sw-header .sw-nav-dropdown:hover .sw-chevron-svg,
  .sw-header .sw-nav-dropdown:focus-within .sw-chevron-svg { transform: rotate(180deg); }
  .sw-header .sw-submenu-toggle { display: none !important; }
  .sw-header .sw-mobile-menu-toggle { display: none !important; }
  .sw-header .sw-nav-item { position: relative !important; }
}

/* ---------- 3. CAROUSEL ROUND ARROWS - CENTRED ---------- */
.sw-home .sw-carousel-arrow {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  background: #fff !important;
  border: 1px solid rgba(23, 61, 114, .15) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18) !important;
  font-size: 0 !important;            /* hide any text arrow inside button */
  line-height: 0 !important;
  color: transparent !important;
  display: block !important;          /* we centre the chevron with ::before */
  overflow: hidden;
  cursor: pointer;
  z-index: 10;
}
/* chevron drawn with borders = mathematically centred, no font metrics */
.sw-home .sw-carousel-arrow::before {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 10px !important;
  height: 10px !important;
  border: solid #173d72 !important;
  border-width: 0 2.5px 2.5px 0 !important;
  font-size: 0 !important;
  display: block !important;
}
.sw-home .sw-carousel-prev::before {
  transform: translate(-30%, -50%) rotate(135deg) !important;   /* "<" */
}
.sw-home .sw-carousel-next::before {
  transform: translate(-70%, -50%) rotate(-45deg) !important;   /* ">" */
}
.sw-home .sw-carousel-prev { left: 14px !important; right: auto !important; }
.sw-home .sw-carousel-next { right: 14px !important; left: auto !important; }
.sw-home .sw-carousel-arrow:hover { background: #ffd447 !important; }

@media (max-width: 767px) {
  .sw-home .sw-carousel-arrow,
  .sw-home .sw-hero-carousel .sw-carousel-arrow {
    width: 34px !important; height: 34px !important;
    min-width: 34px !important; min-height: 34px !important;
  }
  .sw-home .sw-carousel-arrow::before { width: 8px !important; height: 8px !important; }
  .sw-home .sw-carousel-prev { left: 8px !important; }
  .sw-home .sw-carousel-next { right: 8px !important; }
}

/* ---------- 4. MOBILE MENU ---------- */
@media (max-width: 767px) {

  body header.sw-header { position: sticky !important; top: 0 !important; z-index: 99999 !important; }
  body.admin-bar header.sw-header { top: 46px !important; }

  /* Hamburger bar (Flipkart-style full-width strip) */
  body header.sw-header .sw-mobile-menu-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-top: 1px solid #eef0f4 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #173f78 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  body header.sw-header .sw-mobile-menu-toggle .sw-burger-svg { flex: 0 0 auto; }

  /* Menu panel: hidden until opened */
  body header.sw-header > nav#sw-main-navigation {
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: calc(100vh - 150px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 0 !important;
    background: #fff !important;
    border-top: 1px solid #eef0f4 !important;
    -webkit-overflow-scrolling: touch;
  }
  body header.sw-header > nav#sw-main-navigation.sw-mobile-nav-open {
    display: flex !important;
  }

  /* Each row: [label link ........ arrow button] */
  body header.sw-header #sw-main-navigation .sw-nav-item {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    width: 100% !important;
    position: relative !important;
    border-bottom: 1px solid #f1f3f6 !important;
  }
  body header.sw-header #sw-main-navigation .sw-nav-link {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    justify-content: flex-start !important;
    min-height: 48px !important;
    padding: 0 16px !important;
    border: 0 !important;
    white-space: normal !important;
  }
  /* arrow inside the link is replaced by the dedicated button on mobile */
  body header.sw-header #sw-main-navigation .sw-nav-link .sw-chevron { display: none !important; }

  body header.sw-header #sw-main-navigation .sw-submenu-toggle {
    flex: 0 0 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 52px !important;
    height: 48px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-left: 1px solid #f1f3f6 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #54749a !important;
    cursor: pointer;
    transform: none !important;
  }
  body header.sw-header #sw-main-navigation .sw-submenu-toggle .sw-chevron-svg {
    width: 16px; height: 16px; transition: transform .2s ease;
  }
  body header.sw-header #sw-main-navigation .sw-nav-item.sw-submenu-open > .sw-submenu-toggle .sw-chevron-svg {
    transform: rotate(180deg);
  }

  /* Submenu panel: hidden by default, shown only when .sw-submenu-open */
  body header.sw-header #sw-main-navigation .sw-nav-dropdown > .sw-mega,
  body header.sw-header #sw-main-navigation .sw-nav-dropdown:hover > .sw-mega,
  body header.sw-header #sw-main-navigation .sw-nav-dropdown:focus-within > .sw-mega {
    display: none !important;
  }
  body header.sw-header #sw-main-navigation .sw-nav-dropdown.sw-submenu-open > .sw-mega {
    display: block !important;
    position: static !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    transform: none !important;
    margin: 0 !important;
    padding: 8px 16px 14px !important;
    background: #f7f9fc !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  body header.sw-header #sw-main-navigation .sw-mega-categories {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2px 10px !important;
    border: 0 !important;
    padding: 0 0 8px !important;
  }
  body header.sw-header #sw-main-navigation .sw-mega-categories > strong,
  body header.sw-header #sw-main-navigation .sw-mega-categories > .sw-mega-hint { grid-column: 1 / -1; }
  body header.sw-header #sw-main-navigation .sw-mega-categories > a {
    padding: 10px 6px !important; font-size: 13px !important;
  }
  body header.sw-header #sw-main-navigation .sw-mega-products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  body header.sw-header #sw-main-navigation .sw-mega-product img,
  body header.sw-header #sw-main-navigation .sw-mega-noimage { height: 80px !important; }
}

/* ---------- 5. MOBILE BOTTOM NAV (Flipkart / Amazon style) ---------- */
.sw-bottom-nav { display: none; }

@media (max-width: 767px) {
  /* hide any older bottom bar from footer.php so there are never two */
  .sw-mobile-bottom { display: none !important; }

  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .sw-footer { margin-bottom: 0 !important; }

  .sw-bottom-nav {
    display: flex !important;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 100000;
    height: calc(58px + env(safe-area-inset-bottom));
    padding: 0 0 env(safe-area-inset-bottom);
    background: #fff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, .10);
  }
  .sw-bottom-nav a {
    position: relative;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #6b7280;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
    transition: color .15s ease;
  }
  .sw-bottom-nav a svg {
    width: 24px; height: 24px;
    fill: none; stroke: currentColor;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  }
  .sw-bottom-nav a:active { background: #f5f7fb; }

  /* active tab: blue colour + top indicator bar + filled icon */
  .sw-bottom-nav a.is-active { color: #173f78; font-weight: 700; }
  .sw-bottom-nav a.is-active::before {
    content: "";
    position: absolute; top: 0; left: 22%; right: 22%;
    height: 3px; border-radius: 0 0 4px 4px;
    background: #ed3443;
  }
  .sw-bottom-nav a.is-active svg { fill: rgba(23, 63, 120, .12); }

  /* cart badge */
  .sw-bottom-nav .sw-bn-badge {
    position: absolute;
    top: 6px;
    left: calc(50% + 6px);
    min-width: 18px; height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: #ed3443; color: #fff;
    font-size: 10px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #fff;
    box-sizing: content-box;
  }
  .sw-bottom-nav .sw-bn-badge[data-count="0"] { display: none; }
}

/* ---------- Wishlist buttons & page ---------- */
.sw-wishlist-loop{margin-top:8px;text-align:center}
.sw-wishlist-button{width:38px;height:38px;border-radius:50%;border:1px solid #dfe5ee;background:#fff;color:#ed3443;font-size:20px;line-height:1;cursor:pointer;padding:0}
.sw-wishlist-button.is-active{background:#ed3443;color:#fff;border-color:#ed3443}
.sw-wishlist-single{display:flex;align-items:center;gap:10px;margin:12px 0}
.sw-wishlist-items{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px;margin:18px 0}
.sw-wishlist-card{border:1px solid #e3e8f0;border-radius:10px;padding:10px;display:flex;flex-direction:column;gap:8px}
.sw-wishlist-card a{text-decoration:none;display:flex;flex-direction:column;gap:6px;font-size:13px}
.sw-wishlist-card img{width:100%;aspect-ratio:1/1;object-fit:contain}
.sw-wishlist-remove{border:1px solid #dfe5ee;background:#fff;border-radius:6px;padding:6px;cursor:pointer;font-size:12px}

/* Menu arrow optical centring (beats older top:-1px rule) */
.sw-header .sw-nav-item > .sw-nav-link .sw-chevron { position: relative !important; top: 0 !important; }

/* Hide empty cart badge in header */
.sw-cart-count[data-count="0"] { display: none !important; }

/* Mobile: slides fill the carousel (older rules shrank them) + text-logo fallback */
@media (max-width: 767px) {
  .sw-home .sw-hero-carousel .sw-hero.sw-hero-slide {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
  }
  body header.sw-header .sw-header-main > .sw-brand.sw-brand-text {
    width: auto !important; max-width: none !important; overflow: visible !important;
  }
}

@media (max-width: 767px) {
  .sw-home .sw-hero-carousel .sw-hero-slide .sw-hero-copy { padding: 28px 46px 54px !important; }
}


/* =====================================================================
   ADDITIONAL ERRORLESS FIXES (As per StationeryWorld Test Scenarios)
   ===================================================================== */

/* TC-010: Search button centering */
.sw-search {
  display: flex !important;
  align-items: center !important;
  position: relative !important;
}
.sw-search-btn,
.sw-search button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 50px !important;
  height: 100% !important;
  min-height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: var(--sw-yellow) !important;
  color: var(--sw-blue-dark) !important;
  border: 0 !important;
  cursor: pointer !important;
}
.sw-search-btn svg {
  display: block !important;
  margin: auto !important;
}

/* TC-002 & TC-003: Mega menu alignment & screen boundary protection */
.sw-nav-dropdown {
  position: relative !important;
}
.sw-mega {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  transform: none !important;
  width: min(860px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  box-sizing: border-box !important;
  z-index: 99999 !important;
}
/* Right-align dropdowns for items near the right side of the screen */
.sw-nav-item:nth-last-child(-n+4) .sw-mega {
  left: auto !important;
  right: 0 !important;
}

/* TC-012, TC-044, TC-059: Wishlist header badge & cards */
.sw-wishlist-action {
  position: relative !important;
}
.sw-wishlist-count,
.sw-wishlist-badge {
  position: absolute !important;
  top: -5px !important;
  right: -8px !important;
  background: var(--sw-red) !important;
  color: #fff !important;
  border-radius: 50% !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  min-width: 17px !important;
  height: 17px !important;
  line-height: 17px !important;
  text-align: center !important;
  border: 1px solid #fff !important;
}
.sw-wishlist-button {
  transition: transform 0.15s ease, background 0.15s ease;
}
.sw-wishlist-button:hover {
  transform: scale(1.1);
}
.sw-wishlist-page {
  max-width: 1180px;
  margin: 35px auto 60px;
  padding: 0 20px;
}
.sw-wishlist-header h1 {
  font-size: 28px;
  color: var(--sw-blue);
  margin-bottom: 6px;
}
.sw-wishlist-header p {
  color: var(--sw-muted);
  margin-top: 0;
}
.sw-wishlist-items {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
  gap: 20px !important;
  margin: 25px 0 !important;
}
.sw-wishlist-card {
  border: 1px solid var(--sw-line);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(16,43,80,.04);
}
.sw-wishlist-card-link {
  text-decoration: none !important;
  color: inherit !important;
  display: block;
  text-align: center;
}
.sw-wishlist-card img,
.sw-wishlist-placeholder {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  border-radius: 8px;
  background: #f8fafc;
  margin-bottom: 10px;
}
.sw-wishlist-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.sw-wishlist-title {
  font-size: 14px;
  font-weight: 500;
  margin: 6px 0;
  color: var(--sw-ink);
}
.sw-wishlist-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--sw-blue);
  display: block;
  margin-bottom: 10px;
}
.sw-wishlist-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}
.sw-btn-sm {
  font-size: 12px !important;
  padding: 8px 12px !important;
  flex: 1;
  text-align: center;
}
.sw-wishlist-empty {
  text-align: center;
  padding: 50px 20px;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px dashed var(--sw-line);
}
.sw-empty-icon {
  font-size: 42px;
  color: var(--sw-muted);
  display: block;
  margin-bottom: 12px;
}

/* TC-024 & TC-025: Header sizing on tablets & desktop */
@media (max-width: 1024px) {
  body header.sw-header .sw-mobile-menu-toggle {
    display: flex !important;
  }
  body header.sw-header > nav#sw-main-navigation {
    display: none !important;
  }
  body header.sw-header > nav#sw-main-navigation.sw-mobile-nav-open {
    display: flex !important;
  }
}

/* TC-026: Sticky Header Consistency */
body header.sw-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 99999 !important;
  width: 100% !important;
  background: #ffffff !important;
}
body.admin-bar header.sw-header {
  top: 32px !important;
}
@media (max-width: 782px) {
  body.admin-bar header.sw-header {
    top: 46px !important;
  }
}

/* TC-054 & TC-055: Wholesale enquiry form styling */
.sw-wholesale-section {
  background: linear-gradient(135deg, #f7faff 0%, #eef4fc 100%);
  border: 1px solid #dce5f2;
  border-radius: 16px;
  padding: clamp(24px, 4vw, 44px);
  margin: 40px auto;
  max-width: 1360px;
}
.sw-wholesale-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.sw-wholesale-info h2 {
  font-size: clamp(24px, 3vw, 32px);
  color: var(--sw-blue);
  margin-top: 0;
  margin-bottom: 12px;
}
.sw-wholesale-info p {
  color: var(--sw-muted);
  font-size: 15px;
  line-height: 1.6;
}
.sw-wholesale-perks {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.sw-btn-whatsapp {
  background: #25d366 !important;
  color: #fff !important;
}
.sw-wholesale-form-wrap {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 18px rgba(16,43,80,.06);
  border: 1px solid var(--sw-line);
}
.sw-form-row {
  margin-bottom: 16px;
}
.sw-form-row label {
  display: block;
  font-weight: 500;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--sw-ink);
}
.sw-form-row input,
.sw-form-row select,
.sw-form-row textarea {
  width: 100%;
  border: 1px solid #c9d4e3;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
}
.sw-btn-submit {
  width: 100%;
  background: var(--sw-blue) !important;
  color: #fff !important;
  cursor: pointer;
  border: 0;
}
.sw-form-message {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
}
.sw-form-success {
  background: #e6f9ed;
  color: #1e7e34;
  border: 1px solid #b7ebc5;
}
.sw-form-error {
  background: #fde8e8;
  color: #c81e1e;
  border: 1px solid #f8b4b4;
}

@media (max-width: 767px) {
  .sw-wholesale-inner {
    grid-template-columns: 1fr;
  }
}

/* TC-056: Shop & Category Grid Alignment */
.woocommerce .woocommerce-products-header,
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering,
.woocommerce ul.products {
  max-width: 1360px;
  margin-left: auto !important;
  margin-right: auto !important;
}
.woocommerce-products-header {
  text-align: center;
  margin: 15px auto 25px;
}
.woocommerce-products-header__title {
  text-align: center;
}

/* TC-057: Desktop Product Page layout (Image size & details offset) */
@media (min-width: 768px) {
  .woocommerce div.product {
    max-width: 1200px !important;
    margin: 30px auto !important;
    padding: 0 20px !important;
    display: flex !important;
    gap: 40px !important;
    align-items: flex-start !important;
  }
  .woocommerce div.product div.images {
    flex: 0 0 45% !important;
    max-width: 45% !important;
    margin: 0 !important;
    float: none !important;
  }
  .woocommerce div.product div.images img {
    max-height: 480px !important;
    width: 100% !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    background: #fafafa !important;
    border: 1px solid var(--sw-line) !important;
  }
  .woocommerce div.product div.summary {
    flex: 1 1 50% !important;
    min-width: 0 !important;
    float: none !important;
    padding-left: 10px !important;
  }
}

/* TC-060: Sorting dropdown on Desktop */
.woocommerce .woocommerce-ordering {
  display: block !important;
  visibility: visible !important;
}
.woocommerce .woocommerce-ordering select {
  min-height: 38px !important;
  padding: 6px 14px !important;
  border: 1px solid #c9d4e3 !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  background: #fff !important;
}

/* TC-061: Cart update button visibility */
.woocommerce table.cart td.actions .button,
.woocommerce button[name="update_cart"] {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* TC-064: Floating WhatsApp Button across all pages */
.sw-floating-wa {
  position: fixed !important;
  bottom: 84px !important;
  right: 20px !important;
  z-index: 99998 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #25d366 !important;
  color: #ffffff !important;
  border-radius: 30px !important;
  padding: 10px 16px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.sw-floating-wa:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.55) !important;
}
@media (max-width: 767px) {
  .sw-floating-wa {
    bottom: 72px !important;
    right: 14px !important;
    padding: 10px !important;
    border-radius: 50% !important;
  }
  .sw-floating-wa .sw-wa-label {
    display: none !important;
  }
}


/* Bulk order page */
.sw-bulk-page{max-width:1320px;margin:34px auto 60px;padding:0 20px;color:var(--sw-ink)}
.sw-bulk-hero{padding:36px clamp(22px,4vw,48px);border-radius:18px;background:linear-gradient(115deg,#173d72,#2e659f);color:#fff;margin-bottom:24px}
.sw-bulk-eyebrow{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.12em;color:#173d72;background:#ffd84d;border-radius:30px;padding:7px 12px}
.sw-bulk-hero h1{color:#fff;font-size:clamp(30px,4vw,42px);margin:12px 0 6px}
.sw-bulk-hero p{color:#e8f1ff;margin:0;max-width:650px}
.sw-bulk-benefits{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:20px;font-size:13px;font-weight:700}
.sw-bulk-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:20px 0 14px}
.sw-bulk-search{display:flex;align-items:center;gap:10px;max-width:520px;width:100%;height:48px;border:1px solid #d6dfeb;border-radius:10px;padding:0 14px;background:#fff}
.sw-bulk-search span{font-size:24px;color:#61748e}
.sw-bulk-search input{border:0!important;outline:0!important;box-shadow:none!important;width:100%;min-width:0;background:transparent!important}
.sw-bulk-count{font-size:13px;color:#5b6b80;white-space:nowrap}
.sw-bulk-count strong{color:#173d72;font-size:16px}
.sw-bulk-table-wrap{overflow-x:auto;border:1px solid #e0e7f0;border-radius:12px;background:#fff}
.sw-bulk-table{width:100%;border-collapse:collapse;margin:0!important;min-width:720px}
.sw-bulk-table th{background:#f4f7fb;color:#34465f;text-align:left;font-size:12px;text-transform:uppercase;letter-spacing:.04em;padding:14px 16px}
.sw-bulk-table td{padding:12px 16px;border-top:1px solid #edf0f5;vertical-align:middle;font-size:13px}
.sw-bulk-product a{display:flex;align-items:center;gap:12px;text-decoration:none!important;color:#20334d;font-weight:700}
.sw-bulk-thumb{width:58px!important;height:58px!important;object-fit:contain;background:#fff;border:1px solid #edf0f5;border-radius:8px;margin:0!important}
.sw-bulk-product small{display:block;color:#7b8798;font-size:11px;font-weight:400;margin-top:4px}
.sw-bulk-stock{font-size:12px;font-weight:700;white-space:nowrap}
.sw-bulk-stock.is-in{color:#18834b}.sw-bulk-stock.is-out{color:#a56b16}
.sw-bulk-qty{width:82px!important;min-height:40px!important;border:1px solid #cbd6e4!important;border-radius:8px!important;padding:6px 8px!important;text-align:center}
.sw-bulk-options{display:inline-block;padding:8px 12px;border-radius:7px;background:#edf3fb;color:#173d72!important;font-weight:700;text-decoration:none!important}
.sw-bulk-submitbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0}
.sw-bulk-submitbar>span,.sw-bulk-help{font-size:13px;color:#68778b}
.sw-bulk-submit{border:0;border-radius:9px;background:#ed3443;color:#fff;padding:14px 20px;font-weight:800;cursor:pointer}
.sw-bulk-submit:hover{background:#cf2635}
.sw-bulk-help{text-align:center;margin-top:12px}.sw-bulk-help a{color:#173d72;font-weight:700}
.sw-bulk-empty,.sw-bulk-no-results{text-align:center;padding:28px;color:#68778b}
@media(max-width:767px){
 .sw-bulk-page{padding:0 12px;margin:18px auto 40px}
 .sw-bulk-hero{padding:26px 20px;border-radius:14px}
 .sw-bulk-benefits{gap:8px 14px;font-size:12px}
 .sw-bulk-toolbar{align-items:stretch;flex-direction:column}
 .sw-bulk-search{max-width:none}
 .sw-bulk-count{text-align:right}
 .sw-bulk-table{min-width:0;display:block}
 .sw-bulk-table thead{display:none}
 .sw-bulk-table tbody{display:block}
 .sw-bulk-table tr.sw-bulk-row{display:grid;grid-template-columns:1fr 1fr;gap:7px 12px;padding:14px;border-top:1px solid #edf0f5}
 .sw-bulk-table td{border:0;padding:2px 0;font-size:12px}
 .sw-bulk-table td:first-child{grid-column:1/-1}
 .sw-bulk-table td:before{content:attr(data-label);display:block;color:#8490a0;font-size:10px;text-transform:uppercase;font-weight:700;margin-bottom:3px}
 .sw-bulk-table td:first-child:before{display:none}
 .sw-bulk-thumb{width:50px!important;height:50px!important}
 .sw-bulk-qty{width:100%!important;max-width:100px!important}
 .sw-bulk-submitbar{align-items:stretch;flex-direction:column}
 .sw-bulk-submit{width:100%}
}

/* ================= Festival theme system ================= */
:root{--sw-festival-primary:var(--sw-blue);--sw-festival-accent:var(--sw-red);--sw-festival-highlight:var(--sw-yellow);--sw-festival-soft:#f5f7fb}
body[data-sw-festival="diwali"]{--sw-festival-primary:#78320d;--sw-festival-accent:#d94b13;--sw-festival-highlight:#ffc247;--sw-festival-soft:#fff4df}
body[data-sw-festival="ganesh"]{--sw-festival-primary:#7137a5;--sw-festival-accent:#e36b19;--sw-festival-highlight:#ffd36a;--sw-festival-soft:#f7efff}
body[data-sw-festival="christmas"]{--sw-festival-primary:#145b3a;--sw-festival-accent:#bd2638;--sw-festival-highlight:#e6c66d;--sw-festival-soft:#edf8f0}
body[data-sw-festival="holi"]{--sw-festival-primary:#6237a8;--sw-festival-accent:#ed397c;--sw-festival-highlight:#f8c83d;--sw-festival-soft:#fff0f7}
body[data-sw-festival="gudhipadwa"]{--sw-festival-primary:#9a4a12;--sw-festival-accent:#16834d;--sw-festival-highlight:#f2c64c;--sw-festival-soft:#fff5e5}
body[data-sw-festival="navratri"]{--sw-festival-primary:#79204f;--sw-festival-accent:#d13b31;--sw-festival-highlight:#f2bd43;--sw-festival-soft:#fff0f2}
body[data-sw-festival]:not([data-sw-festival="default"]) .sw-topline{background:var(--sw-festival-primary)}
body[data-sw-festival]:not([data-sw-festival="default"]) .sw-brand-mark{background:var(--sw-festival-accent)}
body[data-sw-festival]:not([data-sw-festival="default"]) .sw-nav-link:hover,body[data-sw-festival]:not([data-sw-festival="default"]) .sw-nav-item:focus-within>.sw-nav-link{color:var(--sw-festival-primary)!important;border-bottom-color:var(--sw-festival-accent)}
body[data-sw-festival]:not([data-sw-festival="default"]) .sw-hero{background:linear-gradient(115deg,var(--sw-festival-primary),var(--sw-festival-accent) 70%,var(--sw-festival-soft));}
body[data-sw-festival]:not([data-sw-festival="default"]) .sw-btn,body[data-sw-festival]:not([data-sw-festival="default"]) .sw-search button{background:var(--sw-festival-accent);color:#fff}
.sw-festival-widget{position:fixed;right:20px;bottom:154px;z-index:100000!important;font-family:inherit;width:max-content;max-width:calc(100vw - 32px);isolation:isolate}
.sw-festival-toggle{position:relative;z-index:100001!important;width:auto!important;min-width:max-content!important;max-width:calc(100vw - 32px);white-space:nowrap!important;flex:0 0 auto!important;border:0;border-radius:999px;padding:12px 17px;background:#173f78;color:#fff;font-weight:800;font-size:13px;line-height:1.25;box-shadow:0 7px 24px #102b5040;cursor:pointer;display:inline-flex!important;align-items:center;justify-content:center;gap:8px;visibility:visible!important;opacity:1!important}
.sw-festival-toggle:hover{transform:translateY(-2px)}.sw-festival-chevron{font-size:17px}
.sw-festival-panel{position:absolute;z-index:100002!important;right:0;bottom:calc(100% + 10px);width:min(310px,calc(100vw - 28px));padding:16px;background:#fff;border:1px solid #e4e8ef;border-radius:17px;box-shadow:0 16px 48px #17233730;color:#172337}
.sw-festival-panel[hidden]{display:none}.sw-festival-panel-title{font-weight:850;font-size:15px;margin:0 0 12px}.sw-festival-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sw-festival-options button{display:flex;align-items:center;gap:7px;text-align:left;border:1px solid #e5e9f0;background:#f8fafc;border-radius:10px;padding:10px 9px;color:#25354b;font-size:12px;font-weight:700;cursor:pointer;min-height:42px}
.sw-festival-options button:hover,.sw-festival-options button.is-active{border-color:#173f78;background:#edf4ff;color:#173f78}.sw-festival-options button span{font-size:17px}.sw-festival-note{font-size:11px;color:#738198;margin:12px 0 0}
.sw-festival-effects{pointer-events:none;position:fixed;inset:0;z-index:99980;overflow:hidden;display:none}
body[data-sw-festival="diwali"] .sw-festival-effects,body[data-sw-festival="christmas"] .sw-festival-effects,body[data-sw-festival="holi"] .sw-festival-effects{display:block}
.sw-festival-particle{position:absolute;top:-35px;left:var(--x);font-size:var(--s);opacity:0;animation:sw-festival-fall var(--d) linear var(--delay) infinite;filter:drop-shadow(0 2px 3px #0002)}
@keyframes sw-festival-fall{0%{transform:translate3d(0,-5vh,0) rotate(0);opacity:0}10%{opacity:.8}90%{opacity:.65}100%{transform:translate3d(var(--drift),110vh,0) rotate(360deg);opacity:0}}
body[data-sw-festival="diwali"] .sw-hero:after{content:"🪔  ✨  🪔";opacity:.75}
body[data-sw-festival="ganesh"] .sw-hero:after{content:"🐘  🌺  🪷";opacity:.7}
body[data-sw-festival="christmas"] .sw-hero:after{content:"❄  🎄  ✨";opacity:.75}
body[data-sw-festival="holi"] .sw-hero:after{content:"🎨  🌈  🎉";opacity:.75}
body[data-sw-festival="gudhipadwa"] .sw-hero:after{content:"🚩  🌼  ✨";opacity:.75}
body[data-sw-festival="navratri"] .sw-hero:after{content:"💃  🪔  🌺";opacity:.75}
@media(max-width:767px){.sw-festival-widget{right:14px;bottom:132px;z-index:100000!important}.sw-festival-toggle{padding:11px 14px;font-size:12px;min-height:42px}.sw-festival-panel{right:0;max-height:min(70vh,520px);overflow-y:auto}.sw-floating-wa{z-index:99998!important}}
@media(prefers-reduced-motion:reduce){.sw-festival-particle{animation:none!important;display:none!important}.sw-festival-toggle{transition:none!important}}


/* ===== Festival experience: header placement, immersive backdrops, full-width hero, responsive ===== */
.sw-header-main{position:relative;z-index:10010}
.sw-header-actions{align-items:center;gap:clamp(10px,1.5vw,22px)}
.sw-festival-widget{position:relative!important;right:auto!important;bottom:auto!important;z-index:10020!important;width:auto!important;max-width:170px!important;flex:0 0 auto;}
.sw-festival-toggle{min-height:42px;padding:9px 12px!important;font-size:12px!important;max-width:170px!important;box-shadow:0 4px 15px #17233720!important}
.sw-festival-panel{right:0!important;bottom:auto!important;top:calc(100% + 12px)!important;width:min(320px,calc(100vw - 24px))!important;max-height:min(70vh,520px);overflow-y:auto}
.sw-festival-effects{z-index:9990!important}
/* Break the hero out of the centered content column so it spans the viewport. */
.sw-home{max-width:none!important;width:100%!important;padding-left:0!important;padding-right:0!important}
.sw-home>.sw-promo,.sw-home>section:not(.sw-hero-carousel),.sw-home>.sw-category-section,.sw-home>.sw-home-section{margin-left:auto;margin-right:auto;max-width:1440px;padding-left:clamp(14px,2vw,30px);padding-right:clamp(14px,2vw,30px)}
.sw-home .sw-hero-carousel{width:100vw!important;max-width:none!important;margin:18px calc(50% - 50vw) 38px!important;border-radius:0!important;overflow:hidden;}
.sw-home .sw-hero-slides,.sw-home .sw-hero-slide{width:100%;}
.sw-home .sw-hero-slide{min-height:clamp(420px,36vw,590px)!important;border-radius:0!important;}
.sw-home .sw-hero-slide .sw-hero-copy{max-width:850px;padding:clamp(38px,7vw,100px)!important}
/* Festival colour atmosphere across the shop, not just button colours. */
body[data-sw-festival="diwali"]{background-color:#fff8eb;background-image:radial-gradient(ellipse at 8% 12%,#ffd77b40,transparent 28%),radial-gradient(ellipse at 92% 30%,#f18b3440,transparent 25%)}
body[data-sw-festival="ganesh"]{background-color:#fff8f0;background-image:radial-gradient(ellipse at 5% 10%,#f4a34038,transparent 26%),radial-gradient(ellipse at 95% 28%,#a66bd333,transparent 25%)}
body[data-sw-festival="christmas"]{background-color:#f3faf4;background-image:radial-gradient(ellipse at 8% 12%,#d52d3b22,transparent 25%),radial-gradient(ellipse at 92% 25%,#23834a26,transparent 25%)}
body[data-sw-festival="holi"]{background-color:#fff8fc;background-image:radial-gradient(ellipse at 8% 10%,#ff4d9b30,transparent 25%),radial-gradient(ellipse at 92% 22%,#4b9bff30,transparent 25%),radial-gradient(ellipse at 52% 0%,#ffd33b30,transparent 28%)}
body[data-sw-festival="gudhipadwa"]{background-color:#fff9ed;background-image:radial-gradient(ellipse at 8% 12%,#e8a23a35,transparent 25%),radial-gradient(ellipse at 92% 25%,#29985a26,transparent 25%)}
body[data-sw-festival="navratri"]{background-color:#fff5f5;background-image:radial-gradient(ellipse at 8% 12%,#d92f4828,transparent 25%),radial-gradient(ellipse at 92% 25%,#f2b93230,transparent 25%)}
body[data-sw-festival="diwali"] .sw-hero-slide{background:radial-gradient(circle at 82% 78%,#ffcf6b 0 2%,transparent 3%),radial-gradient(circle at 88% 78%,#ffad43 0 1.5%,transparent 2.5%),linear-gradient(115deg,#54200d 0%,#a83b0c 44%,#ed6b1d 75%,#ffcf8b 100%)!important}
body[data-sw-festival="ganesh"] .sw-hero-slide{background:radial-gradient(circle at 85% 70%,#ffd58c 0 2%,transparent 2.5%),linear-gradient(115deg,#4b236f,#8d3e9d 52%,#ec8a32)!important}
body[data-sw-festival="christmas"] .sw-hero-slide{background:radial-gradient(circle at 82% 25%,#ffffff66 0 1px,transparent 3px),linear-gradient(115deg,#073c2b,#116b43 55%,#c02c3c)!important}
body[data-sw-festival="holi"] .sw-hero-slide{background:radial-gradient(circle at 80% 25%,#ffdb36 0 8%,transparent 8.5%),radial-gradient(circle at 92% 75%,#f04b9b 0 10%,transparent 10.5%),radial-gradient(circle at 70% 85%,#36a6ee 0 9%,transparent 9.5%),linear-gradient(115deg,#54268e,#b43a9b 55%,#ef7a51)!important}
body[data-sw-festival="gudhipadwa"] .sw-hero-slide{background:radial-gradient(circle at 86% 70%,#f8d77c 0 3%,transparent 3.5%),linear-gradient(115deg,#74310e,#c46b18 55%,#28794b)!important}
body[data-sw-festival="navratri"] .sw-hero-slide{background:radial-gradient(circle at 84% 70%,#ffd36b 0 3%,transparent 3.5%),linear-gradient(115deg,#541238,#9c2054 52%,#d44b32)!important}
body[data-sw-festival]:not([data-sw-festival="default"]) .sw-topline{background:var(--sw-festival-primary)!important}
body[data-sw-festival]:not([data-sw-festival="default"]) .sw-nav{border-bottom-color:color-mix(in srgb,var(--sw-festival-highlight) 55%,#fff)}
.sw-festival-toggle{background:linear-gradient(135deg,#173f78,#245a9d)!important;color:#fff!important}
.sw-festival-toggle:focus-visible,.sw-festival-options button:focus-visible{outline:3px solid #ffca45;outline-offset:3px}
@media (min-width:768px) and (max-width:1100px){
 .sw-header-main{grid-template-columns:170px minmax(160px,1fr) auto!important;gap:12px!important;padding:10px 16px!important}
 .sw-header-actions{gap:10px!important}.sw-festival-toggle{font-size:11px!important;padding:8px 9px!important}
 .sw-home .sw-hero-slide{min-height:430px!important}
}
@media(max-width:767px){
 .sw-header-main{grid-template-columns:minmax(0,1fr) auto!important;}
 .sw-header-actions{grid-column:2;grid-row:1;display:flex!important;align-items:center!important;gap:7px!important;}
 .sw-header-actions>a{min-width:34px}
 .sw-festival-widget{max-width:42px!important;overflow:visible;}
 .sw-festival-toggle{width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;font-size:0!important;gap:0!important;border-radius:50%!important;}
 .sw-festival-toggle>span:first-child{font-size:19px!important}.sw-festival-chevron{display:none!important}
 .sw-festival-panel{position:fixed!important;top:74px!important;right:10px!important;bottom:auto!important;width:min(330px,calc(100vw - 20px))!important;max-height:calc(100dvh - 100px)!important;}
 .sw-home .sw-hero-carousel{margin-top:10px!important;margin-bottom:24px!important;}
 .sw-home .sw-hero-slide{min-height:390px!important;}
 .sw-home .sw-hero-slide .sw-hero-copy{padding:34px 22px 58px!important;}
 .sw-festival-options{grid-template-columns:1fr 1fr!important;}
}
@media(max-width:380px){.sw-header-actions{gap:4px!important}.sw-header-actions .sw-action-label{font-size:9px!important}.sw-festival-widget{max-width:36px!important}.sw-festival-toggle{width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important}}
@media(prefers-reduced-motion:reduce){.sw-hero-slide.is-active{animation:none!important}}
html,body{overflow-x:clip}

/* Header alignment correction: reserve real space for the complete action group. */
@media(min-width:1201px){
 .sw-header-main{grid-template-columns:minmax(185px,220px) minmax(260px,1fr) minmax(330px,370px)!important;column-gap:22px!important}
}
.sw-header-main>.sw-search{min-width:0;width:100%;}
.sw-header-actions{min-width:0;display:flex!important;justify-content:flex-end;align-items:center!important;gap:clamp(8px,1vw,16px)!important;white-space:nowrap}
.sw-header-actions>a{width:52px;min-width:52px;min-height:54px;justify-content:center;gap:3px!important;padding:4px 2px;border-radius:11px;box-sizing:border-box;color:#102d55!important}
.sw-header-actions>a:hover{background:#f1f5fb}
.sw-header-actions .sw-action-icon{display:grid;place-items:center;width:29px;height:29px;font-size:21px;line-height:1;border-radius:50%;background:#f2f6fb}
.sw-header-actions .sw-action-label{display:block;font-size:11px;line-height:1.1;white-space:nowrap}
.sw-header-actions .sw-wishlist-count,.sw-header-actions .sw-cart-count{top:0;right:4px;min-width:16px;height:16px;padding:0 4px;display:flex;align-items:center;justify-content:center;border-radius:20px;font-size:10px;line-height:16px}
.sw-header-actions .sw-festival-widget{margin-left:2px;flex:0 0 148px;width:148px!important;max-width:148px!important}
.sw-header-actions .sw-festival-toggle{width:100%!important;min-width:0!important;max-width:none!important;min-height:42px;display:flex!important;justify-content:center!important;align-items:center!important;gap:8px!important;line-height:1!important;padding:9px 10px!important}
.sw-header-actions .sw-festival-chevron{display:inline-flex;align-items:center;justify-content:center;line-height:1;font-size:16px;transform:translateY(-1px)}
@media(min-width:768px) and (max-width:1200px){
 .sw-header-main{grid-template-columns:170px minmax(150px,1fr) minmax(300px,330px)!important;gap:12px!important;padding:10px 14px!important}
 .sw-brand img,.sw-brand .custom-logo{max-width:165px}
 .sw-header-actions{gap:5px!important}
 .sw-header-actions>a{width:46px;min-width:46px}
 .sw-header-actions .sw-festival-widget{flex-basis:126px;width:126px!important;max-width:126px!important}
 .sw-header-actions .sw-festival-toggle{font-size:10px!important;padding:8px 6px!important}
}
@media(max-width:767px){
 .sw-header-main{grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;}
 .sw-header-main>.sw-search{grid-column:1/-1!important;grid-row:2!important;width:100%!important;}
 .sw-header-actions{grid-column:2!important;grid-row:1!important;display:flex!important;gap:4px!important;align-items:center!important;}
 .sw-header-actions>a{width:37px;min-width:37px;min-height:42px;padding:2px 0;}
 .sw-header-actions .sw-action-icon{width:25px;height:25px;font-size:18px}
 .sw-header-actions .sw-action-label{font-size:9px!important}
 .sw-header-actions .sw-festival-widget{flex:0 0 36px;width:36px!important;max-width:36px!important}
 .sw-header-actions .sw-festival-toggle{width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;padding:0!important;border-radius:50%!important;font-size:0!important;gap:0!important}
 .sw-header-actions .sw-festival-toggle>span:first-child{font-size:17px!important}
 .sw-header-actions .sw-festival-chevron{display:none!important}
 .sw-header-actions .sw-festival-panel{position:fixed!important;top:68px!important;right:10px!important;width:min(330px,calc(100vw - 20px))!important}
}

/* Professional bulk-order catalogue cards */
.sw-bulk-page{max-width:1380px!important;margin:38px auto 64px!important;padding:0 clamp(14px,2.2vw,30px)!important}
.sw-bulk-hero{position:relative;overflow:hidden;background:linear-gradient(120deg,#102f5c 0%,#1d5792 62%,#347db4 100%)!important;box-shadow:0 14px 35px #173d721c}
.sw-bulk-hero:after{content:"✦  ✧  ✦";position:absolute;right:5%;bottom:12%;font-size:clamp(42px,6vw,82px);color:#ffffff20;letter-spacing:12px;pointer-events:none}
.sw-bulk-toolbar{padding:16px;background:#f5f8fc;border:1px solid #e5ebf3;border-radius:14px}
.sw-bulk-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:16px}
.sw-bulk-card{min-width:0;display:flex;flex-direction:column;background:#fff;border:1px solid #e5eaf1;border-radius:15px;overflow:hidden;box-shadow:0 4px 16px #1a35510b;transition:transform .18s ease,box-shadow .18s ease}
.sw-bulk-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px #1a355117}
.sw-bulk-card-image{height:168px;display:flex;align-items:center;justify-content:center;padding:14px;background:linear-gradient(180deg,#f8fafc,#fff);border-bottom:1px solid #edf1f5}
.sw-bulk-card-image .sw-bulk-thumb{width:100%!important;height:100%!important;max-width:150px;max-height:140px;object-fit:contain;border:0;background:transparent}
.sw-bulk-card-body{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:14px;flex:1}
.sw-bulk-sku{font-size:10px;color:#8290a2;font-weight:700;letter-spacing:.04em}
.sw-bulk-card h3{font-size:14px;line-height:1.4;margin:0;min-height:39px;color:#20334d}
.sw-bulk-card h3 a{color:inherit;text-decoration:none}
.sw-bulk-card-price{font-size:17px;font-weight:800;color:#173d72}
.sw-bulk-stock{font-size:11px}
.sw-bulk-card-buy{display:flex;align-items:end;gap:8px;width:100%;margin-top:auto;padding-top:8px}
.sw-bulk-card-buy label{font-size:10px;font-weight:700;color:#65748a;display:flex;flex-direction:column;gap:4px}
.sw-bulk-qty{width:68px!important;height:40px!important;min-height:40px!important;font-size:14px!important}
.sw-bulk-card-add{flex:1;min-height:40px;border:0;border-radius:9px;background:#ed3443;color:#fff;font-size:12px;font-weight:800;cursor:pointer;padding:8px 10px}
.sw-bulk-card-add:hover{background:#c92335}
.sw-bulk-options{margin-top:auto}
.sw-bulk-submitbar{position:sticky;bottom:10px;z-index:20;margin-top:20px;padding:14px 16px;background:#fff;border:1px solid #e3e9f1;border-radius:14px;box-shadow:0 8px 28px #1a35511c}
.sw-bulk-submit{min-height:46px;padding:13px 22px!important}
.sw-bulk-no-results{margin:20px 0;background:#fff;border-radius:12px}
@media(min-width:768px) and (max-width:1100px){.sw-bulk-products{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.sw-bulk-card-image{height:145px}}
@media(max-width:767px){
 .sw-bulk-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
 .sw-bulk-card{border-radius:12px}
 .sw-bulk-card-image{height:118px;padding:9px}
 .sw-bulk-card-body{padding:10px;gap:6px}
 .sw-bulk-card h3{font-size:12px;min-height:34px}
 .sw-bulk-card-price{font-size:15px}
 .sw-bulk-card-buy{gap:6px;align-items:stretch;flex-direction:column}
 .sw-bulk-card-buy label{flex-direction:row;align-items:center;justify-content:space-between}
 .sw-bulk-qty{width:100%!important;max-width:none!important}
 .sw-bulk-card-add{width:100%;font-size:11px}
 .sw-bulk-submitbar{position:static;align-items:stretch;flex-direction:column}
 .sw-bulk-hero{padding:24px 18px!important}
}
@media(max-width:360px){.sw-bulk-products{grid-template-columns:1fr}.sw-bulk-card{display:grid;grid-template-columns:112px 1fr}.sw-bulk-card-image{height:100%;min-height:170px}.sw-bulk-card-body{min-width:0}}
@media(prefers-reduced-motion:reduce){.sw-bulk-card{transition:none}}


/* =========================================================
   FINAL STABLE HEADER GRID — prevent search/action collisions
   ========================================================= */
@media (min-width: 1100px) {
  body header.sw-header .sw-header-main {
    display: grid !important;
    grid-template-columns: minmax(175px, 205px) minmax(260px, 1fr) minmax(345px, 370px) !important;
    grid-template-areas: "brand search actions" !important;
    gap: 18px !important;
    align-items: center !important;
    max-width: 1480px !important;
    padding: 12px clamp(18px, 2.4vw, 36px) !important;
    box-sizing: border-box !important;
  }
  body header.sw-header .sw-header-main > .sw-brand { grid-area: brand !important; min-width: 0 !important; }
  body header.sw-header .sw-header-main > .sw-search {
    grid-area: search !important; width: 100% !important; max-width: none !important;
    min-width: 0 !important; display: flex !important; position: relative !important;
    overflow: hidden !important; box-sizing: border-box !important;
  }
  body header.sw-header .sw-header-main > .sw-search input {
    flex: 1 1 auto !important; width: 0 !important; min-width: 0 !important;
  }
  body header.sw-header .sw-header-main > .sw-search .sw-search-btn {
    position: static !important; flex: 0 0 48px !important; width: 48px !important;
    min-width: 48px !important; height: 100% !important; margin: 0 !important;
  }
  body header.sw-header .sw-header-main > .sw-header-actions {
    grid-area: actions !important; width: 100% !important; min-width: 0 !important;
    display: flex !important; flex-wrap: nowrap !important; align-items: center !important;
    justify-content: flex-end !important; gap: 8px !important; overflow: visible !important;
  }
  body header.sw-header .sw-header-main > .sw-header-actions > a {
    position: relative !important; flex: 0 0 48px !important; width: 48px !important;
    min-width: 48px !important; max-width: 48px !important; min-height: 50px !important;
    margin: 0 !important; padding: 3px 1px !important; box-sizing: border-box !important;
    display: flex !important; flex-direction: column !important; align-items: center !important;
    justify-content: center !important; gap: 2px !important;
  }
  body header.sw-header .sw-header-main > .sw-header-actions .sw-festival-widget {
    flex: 0 0 145px !important; width: 145px !important; min-width: 145px !important;
    max-width: 145px !important; margin: 0 0 0 3px !important;
  }
  body header.sw-header .sw-header-main > .sw-header-actions .sw-festival-toggle {
    width: 145px !important; min-width: 145px !important; max-width: 145px !important;
    min-height: 42px !important; display: inline-flex !important;
    align-items: center !important; justify-content: center !important;
  }
}
@media (min-width: 768px) and (max-width: 1099px) {
  body header.sw-header .sw-header-main {
    display: grid !important;
    grid-template-columns: minmax(150px, 1fr) auto !important;
    grid-template-areas: "brand actions" "search search" !important;
    gap: 10px 16px !important; padding: 12px 18px !important;
  }
  body header.sw-header .sw-header-main > .sw-brand { grid-area: brand !important; }
  body header.sw-header .sw-header-main > .sw-search { grid-area: search !important; width: 100% !important; max-width: none !important; }
  body header.sw-header .sw-header-main > .sw-header-actions {
    grid-area: actions !important; display:flex !important; flex-wrap:nowrap !important;
    align-items:center !important; justify-content:flex-end !important; gap:8px !important;
  }
  body header.sw-header .sw-header-main > .sw-header-actions > a { flex:0 0 46px !important; width:46px !important; min-width:46px !important; }
  body header.sw-header .sw-header-main > .sw-header-actions .sw-festival-widget { flex:0 0 138px !important; width:138px !important; min-width:138px !important; }
  body header.sw-header .sw-header-main > .sw-header-actions .sw-festival-toggle { width:138px !important; min-width:138px !important; }
}
@media (max-width: 767px) {
  body header.sw-header .sw-header-main > .sw-search { position:relative !important; overflow:hidden !important; }
  body header.sw-header .sw-header-main > .sw-search .sw-search-btn {
    position:static !important; flex:0 0 44px !important; width:44px !important; min-width:44px !important;
  }
  body header.sw-header .sw-header-main > .sw-header-actions { min-width:0 !important; flex-wrap:nowrap !important; }
  body header.sw-header .sw-header-main > .sw-header-actions > a { flex:0 0 36px !important; width:36px !important; min-width:36px !important; }
}

/* =========================================================
   PROFESSIONAL SINGLE PRODUCT PAGE — two-column product,
   related products in a separate full-width section.
   ========================================================= */
body.single-product .site-content,
body.single-product .content-area,
body.single-product #primary,
body.single-product .site-main {
  width: 100% !important; max-width: 100% !important; min-width: 0 !important;
}
body.single-product .site-content .ast-container,
body.single-product .content-area .ast-container {
  display: block !important; width: 100% !important; max-width: 1440px !important;
  margin: 0 auto !important; padding: 0 clamp(16px, 3vw, 42px) !important;
  box-sizing: border-box !important;
}
body.single-product .woocommerce-notices-wrapper { width:100%; }
body.single-product .woocommerce div.product {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr) !important;
  gap: clamp(24px, 3vw, 48px) !important;
  align-items: start !important;
  width: 100% !important; max-width: 1320px !important;
  margin: 28px auto 48px !important; padding: 0 !important;
  float: none !important; box-sizing: border-box !important;
}
body.single-product .woocommerce div.product div.images {
  grid-column: 1 !important; grid-row: 1 !important;
  width: 100% !important; max-width: none !important; min-width: 0 !important;
  float: none !important; margin: 0 !important;
}
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image {
  width: 100% !important;
}
body.single-product .woocommerce div.product div.images img {
  display: block !important; width: 100% !important; max-height: 620px !important;
  object-fit: contain !important; background: #fff !important;
  border: 1px solid #e5eaf1 !important; border-radius: 16px !important;
}
body.single-product .woocommerce div.product div.summary {
  grid-column: 2 !important; grid-row: 1 !important;
  width: 100% !important; max-width: none !important; min-width: 0 !important;
  float: none !important; margin: 0 !important; padding: 0 !important;
}
body.single-product .woocommerce div.product .product_title {
  font-size: clamp(26px, 2.3vw, 36px) !important; line-height: 1.2 !important;
  margin: 0 0 14px !important; color: #17365f !important;
}
body.single-product .woocommerce div.product .woocommerce-product-details__short-description,
body.single-product .woocommerce div.product .price,
body.single-product .woocommerce div.product .cart,
body.single-product .woocommerce div.product .product_meta,
body.single-product .woocommerce div.product .woocommerce-tabs {
  max-width: 100% !important; min-width: 0 !important;
}
body.single-product .woocommerce div.product form.cart {
  display: flex !important; flex-wrap: wrap !important; align-items: center !important;
  gap: 12px !important; margin: 22px 0 !important;
}
body.single-product .woocommerce div.product form.cart .quantity { margin: 0 !important; }
body.single-product .woocommerce div.product form.cart .single_add_to_cart_button {
  min-height: 46px !important; padding: 12px 26px !important; border-radius: 9px !important;
  background: #e83243 !important; color: #fff !important; font-weight: 800 !important;
}
body.single-product .woocommerce div.product .woocommerce-tabs {
  grid-column: 1 / -1 !important; grid-row: 2 !important;
  width: 100% !important; margin-top: 10px !important;
}
body.single-product .woocommerce div.product .related,
body.single-product .related.products {
  display: block !important; clear: both !important; float: none !important;
  width: 100% !important; max-width: 1320px !important;
  margin: 42px auto 60px !important; padding: 0 !important;
}
body.single-product .related.products > h2 { font-size: 26px !important; margin: 0 0 22px !important; }
body.single-product .related.products ul.products {
  display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important; width: 100% !important; margin: 0 !important;
}
body.single-product .related.products ul.products li.product {
  display: flex !important; flex-direction: column !important; width: auto !important;
  min-width: 0 !important; margin: 0 !important; padding: 14px !important;
  border: 1px solid #e6ebf2 !important; border-radius: 14px !important;
  background: #fff !important; overflow: hidden !important;
}
body.single-product .related.products ul.products li.product img {
  width: 100% !important; height: 170px !important; object-fit: contain !important;
}
@media (max-width: 900px) {
  body.single-product .woocommerce div.product {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 22px !important;
  }
  body.single-product .related.products ul.products { grid-template-columns: repeat(3, minmax(0,1fr)) !important; }
}
@media (max-width: 767px) {
  body.single-product .site-content .ast-container { padding: 0 14px !important; }
  body.single-product .woocommerce div.product {
    display: grid !important; grid-template-columns: minmax(0,1fr) !important;
    gap: 20px !important; margin: 18px auto 32px !important;
  }
  body.single-product .woocommerce div.product div.images,
  body.single-product .woocommerce div.product div.summary {
    grid-column: 1 !important; grid-row: auto !important; width:100% !important;
  }
  body.single-product .woocommerce div.product div.images img { max-height: 420px !important; }
  body.single-product .woocommerce div.product .woocommerce-tabs { grid-column:1 !important; grid-row:auto !important; }
  body.single-product .related.products { margin: 28px auto 44px !important; padding: 0 14px !important; }
  body.single-product .related.products ul.products { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap:12px !important; }
  body.single-product .related.products ul.products li.product { padding:10px !important; }
  body.single-product .related.products ul.products li.product img { height:130px !important; }
}
@media (min-width:768px) and (max-width:900px) {
  body.single-product .woocommerce div.product { grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important; }
}

/* Full festival animation set; respects reduced-motion preference. */
body[data-sw-festival="ganesh"] .sw-festival-effects,
body[data-sw-festival="gudhipadwa"] .sw-festival-effects,
body[data-sw-festival="navratri"] .sw-festival-effects { display:block !important; }
.sw-festival-particle { will-change: transform, opacity; }
body[data-sw-festival="ganesh"] .sw-festival-particle { filter: drop-shadow(0 2px 4px #e68a3340); }
body[data-sw-festival="gudhipadwa"] .sw-festival-particle { filter: drop-shadow(0 2px 4px #d89b3440); }
body[data-sw-festival="navratri"] .sw-festival-particle { filter: drop-shadow(0 2px 4px #a51e4b40); }
@media (max-width: 767px) {
 body.single-product .woocommerce div.product form.cart { align-items: stretch !important; }
 body.single-product .woocommerce div.product form.cart .single_add_to_cart_button { flex:1 1 100% !important; }
}

@keyframes sw-festival-glow {
  0% { background-position: 0% 50%; filter: saturate(1); }
  100% { background-position: 100% 50%; filter: saturate(1.12); }
}
body[data-sw-festival]:not([data-sw-festival="default"]) .sw-hero-slide {
  background-size: 160% 160% !important;
  animation: sw-festival-glow 18s ease-in-out infinite alternate;
}
@media (prefers-reduced-motion: reduce) {
  body[data-sw-festival] .sw-hero-slide { animation: none !important; }
}


/* =========================================================
   FINAL PRODUCT + CART CONTROL FIX (Nov 2026)
   ========================================================= */
/* Keep the product gallery and summary as the only two columns. */
body.single-product .woocommerce div.product {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr) !important;
  grid-auto-flow: row !important;
  align-items: start !important;
  gap: 30px !important;
  max-width: 1320px !important;
  width: 100% !important;
  margin: 28px auto 34px !important;
  padding: 0 !important;
}
body.single-product .woocommerce div.product > .images,
body.single-product .woocommerce div.product > .woocommerce-product-gallery {
  grid-column: 1 !important; grid-row: 1 !important;
  width: 100% !important; min-width: 0 !important; float: none !important;
}
body.single-product .woocommerce div.product > .summary {
  grid-column: 2 !important; grid-row: 1 !important;
  width: 100% !important; min-width: 0 !important; float: none !important;
  padding: 0 !important; margin: 0 !important;
}
body.single-product .woocommerce div.product > .woocommerce-tabs {
  grid-column: 1 / -1 !important; grid-row: 2 !important;
  width: 100% !important; min-width: 0 !important; float: none !important;
  clear: both !important; margin: 12px 0 0 !important;
}
body.single-product .woocommerce div.product > .related,
body.single-product .woocommerce div.product > .related.products,
body.single-product .woocommerce div.product .related.products {
  grid-column: 1 / -1 !important; grid-row: 3 !important;
  display: block !important; position: relative !important;
  width: 100% !important; max-width: 1320px !important; min-width: 0 !important;
  float: none !important; clear: both !important;
  margin: 34px auto 55px !important; padding: 0 !important;
  box-sizing: border-box !important;
}
body.single-product .woocommerce div.product .related.products > h2 {
  display: block !important; width: 100% !important;
  font-size: 25px !important; line-height: 1.25 !important;
  margin: 0 0 18px !important; color: #17365f !important;
}
body.single-product .woocommerce div.product .related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important; width: 100% !important; margin: 0 !important;
  padding: 0 !important; list-style: none !important;
}
body.single-product .woocommerce div.product .related.products ul.products:before,
body.single-product .woocommerce div.product .related.products ul.products:after {
  display: none !important; content: none !important;
}
body.single-product .woocommerce div.product .related.products ul.products li.product {
  display: flex !important; flex-direction: column !important;
  width: auto !important; min-width: 0 !important; max-width: none !important;
  margin: 0 !important; padding: 14px !important;
  border: 1px solid #e4eaf2 !important; border-radius: 14px !important;
  background: #fff !important; box-shadow: 0 5px 18px rgba(20,45,80,.06) !important;
  overflow: hidden !important; box-sizing: border-box !important;
}
body.single-product .woocommerce div.product .related.products ul.products li.product a img {
  display: block !important; width: 100% !important; height: 165px !important;
  max-height: 165px !important; object-fit: contain !important;
  margin: 0 0 12px !important; border: 0 !important; background: #fff !important;
}
body.single-product .woocommerce div.product .related.products ul.products li.product .woocommerce-loop-product__title {
  min-height: 40px !important; font-size: 14px !important; line-height: 1.4 !important;
  white-space: normal !important; overflow-wrap: anywhere !important;
}
body.single-product .woocommerce div.product .related.products ul.products li.product .button {
  display: block !important; width: 100% !important; margin-top: 10px !important;
  white-space: normal !important; text-align: center !important;
}

/* Single-product purchase controls and unavailable-product enquiry. */
body.single-product .woocommerce div.product form.cart {
  display: flex !important; flex-wrap: wrap !important;
  align-items: center !important; gap: 12px !important;
  width: 100% !important; margin: 22px 0 !important;
  visibility: visible !important; opacity: 1 !important;
}
body.single-product .woocommerce div.product form.cart .quantity,
body.single-product .woocommerce div.product form.cart .single_add_to_cart_button,
body.single-product .woocommerce div.product form.cart .variations,
body.single-product .woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
  visibility: visible !important; opacity: 1 !important;
}
body.single-product .woocommerce div.product form.cart .single_add_to_cart_button {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  min-height: 46px !important; padding: 12px 24px !important;
  border: 0 !important; border-radius: 9px !important;
  background: #e83243 !important; color: #fff !important;
  font-size: 14px !important; font-weight: 800 !important;
}
body.single-product .sw-purchase-enquiry {
  display: block !important; margin: 20px 0 !important; padding: 16px !important;
  border: 1px solid #e4eaf2 !important; border-radius: 12px !important;
  background: #f8fafc !important;
}
body.single-product .sw-purchase-enquiry p { margin: 6px 0 12px !important; }
body.single-product .sw-purchase-enquiry-button {
  display: inline-flex !important; padding: 11px 18px !important;
  border-radius: 8px !important; background: #173f78 !important;
  color: #fff !important; font-weight: 750 !important; text-decoration: none !important;
}

/* Bulk order: force purchase controls to be visible and usable. */
.sw-bulk-page .sw-bulk-card-buy {
  display: flex !important; visibility: visible !important; opacity: 1 !important;
  align-items: end !important; gap: 9px !important; width: 100% !important;
  margin-top: auto !important; padding-top: 10px !important;
}
.sw-bulk-page .sw-bulk-card-buy label {
  display: flex !important; flex-direction: column !important;
  visibility: visible !important; opacity: 1 !important;
}
.sw-bulk-page .sw-bulk-card-buy .sw-bulk-qty {
  display: block !important; visibility: visible !important; opacity: 1 !important;
  width: 70px !important; min-width: 60px !important; height: 42px !important;
  background: #fff !important; border: 1px solid #cbd6e4 !important;
}
.sw-bulk-page .sw-bulk-card-buy .sw-bulk-card-add {
  display: inline-flex !important; visibility: visible !important; opacity: 1 !important;
  align-items: center !important; justify-content: center !important;
  flex: 1 1 auto !important; min-width: 100px !important; min-height: 42px !important;
  padding: 10px 12px !important; border: 0 !important; border-radius: 9px !important;
  background: #e83243 !important; color: #fff !important;
  font-size: 12px !important; font-weight: 800 !important; cursor: pointer !important;
}
.sw-bulk-page .sw-bulk-options {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  min-height: 40px !important; padding: 10px 14px !important; margin-top: auto !important;
  border-radius: 9px !important; background: #173f78 !important; color: #fff !important;
  font-size: 12px !important; font-weight: 800 !important; text-decoration: none !important;
}
.sw-bulk-page .sw-bulk-stock { display: block !important; min-height: 17px; }
.sw-bulk-page .sw-bulk-submitbar .sw-bulk-submit {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  min-height: 46px !important; visibility: visible !important; opacity: 1 !important;
}
@media (max-width: 900px) {
  body.single-product .woocommerce div.product .related.products ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 767px) {
  body.single-product .woocommerce div.product {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important; margin: 18px auto 30px !important;
  }
  body.single-product .woocommerce div.product > .images,
  body.single-product .woocommerce div.product > .woocommerce-product-gallery,
  body.single-product .woocommerce div.product > .summary,
  body.single-product .woocommerce div.product > .woocommerce-tabs,
  body.single-product .woocommerce div.product > .related,
  body.single-product .woocommerce div.product > .related.products {
    grid-column: 1 !important; grid-row: auto !important; width: 100% !important;
  }
  body.single-product .woocommerce div.product .related.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important;
  }
  body.single-product .woocommerce div.product .related.products ul.products li.product {
    padding: 10px !important;
  }
  body.single-product .woocommerce div.product .related.products ul.products li.product a img {
    height: 125px !important; max-height: 125px !important;
  }
  .sw-bulk-page .sw-bulk-card-buy { flex-direction: column !important; align-items: stretch !important; }
  .sw-bulk-page .sw-bulk-card-buy label { flex-direction: row !important; align-items: center !important; justify-content: space-between !important; }
  .sw-bulk-page .sw-bulk-card-buy .sw-bulk-qty { width: 100% !important; max-width: 110px !important; }
  .sw-bulk-page .sw-bulk-card-buy .sw-bulk-card-add { width: 100% !important; min-width: 0 !important; }
}


/* Buy Now purchase actions */
body.single-product .woocommerce div.product form.cart .sw-buy-now-button {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  min-height: 46px !important; margin-left: 8px !important; padding: 12px 26px !important;
  border: 0 !important; border-radius: 9px !important; background: #e83243 !important;
  color: #fff !important; font-weight: 800 !important; line-height: 1.2 !important;
}
body.single-product .woocommerce div.product form.cart .sw-buy-now-button:hover,
.sw-bulk-card-buy-now:hover, .sw-bulk-buy-selected:hover { background: #c92536 !important; color:#fff !important; }
.sw-bulk-card-actions { display:flex; flex-direction:column; gap:7px; width:100%; margin-top:auto; }
.sw-bulk-card-actions button { width:100%; min-height:39px; border:0; border-radius:8px; padding:8px 10px; font-size:12px; font-weight:800; cursor:pointer; }
.sw-bulk-card-actions .sw-bulk-card-add { background:#173f78; color:#fff; }
.sw-bulk-card-actions .sw-bulk-card-buy-now { background:#e83243; color:#fff; }
.sw-bulk-submit-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.sw-bulk-submit-actions button { min-height:46px; border:0; border-radius:9px; padding:12px 20px; font-weight:800; cursor:pointer; }
.sw-bulk-submit-actions .sw-bulk-submit { background:#173f78; color:#fff; }
.sw-bulk-submit-actions .sw-bulk-buy-selected { background:#e83243; color:#fff; }
@media(max-width:767px) {
 body.single-product .woocommerce div.product form.cart .sw-buy-now-button { flex:1 1 100% !important; margin:0 !important; }
 .sw-bulk-submit-actions { display:grid; grid-template-columns:1fr; width:100%; }
 .sw-bulk-submit-actions button { width:100%; }
}


/* =========================================================================
   SINGLE PRODUCT PAGE — FLIPKART-STYLE LAYOUT  (final, Nov 2026)
   -------------------------------------------------------------------------
   WHY THIS BLOCK EXISTS
   Earlier product-page rules were written as
       body.single-product .woocommerce div.product ...
   but WooCommerce/Astra do not put a ".woocommerce" element between <body>
   and the product, so those rules never matched on desktop/tablet. Only an
   old "display:flex" rule matched, squeezing gallery, summary, tabs and
   related products into one row. These rules target the real markup:
       body.single-product div.product.type-product
   and win by specificity, so no older block needs to be deleted.
   ========================================================================= */

/* ---- page frame -------------------------------------------------------- */
body.single-product { background: #f1f4f9; }
body.single-product .site-content .ast-container,
body.single-product .content-area .ast-container {
  display: block !important; width: 100% !important; max-width: 1320px !important;
  margin: 0 auto !important; padding: 0 16px !important;
}
body.single-product #primary, body.single-product .site-main {
  float: none !important; width: 100% !important; max-width: 100% !important;
  margin: 0 !important; padding: 0 !important;
}
body.single-product .woocommerce-breadcrumb {
  margin: 14px 0 12px !important; padding: 0 !important;
  font-size: 12.5px !important; line-height: 1.5; color: #667085 !important;
}
body.single-product .woocommerce-breadcrumb a { color: #173f78; text-decoration: none; }
body.single-product .woocommerce-breadcrumb a:hover { text-decoration: underline; }

/* ---- main grid: [gallery | summary] then tabs, then related ------------ */
html body.single-product div.product.type-product {
  position: relative; display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px 0 !important; align-items: start;
  width: 100% !important; max-width: none !important;
  margin: 0 0 40px !important; padding: 0 !important; float: none !important;
}
/* one white card behind gallery + summary (so both columns share a height) */
html body.single-product div.product.type-product::before {
  content: ""; grid-column: 1 / -1; grid-row: 1; align-self: stretch;
  background: #fff; border: 1px solid #e3e8f0; border-radius: 14px;
  box-shadow: 0 2px 10px rgba(16, 43, 80, .04);
}
html body.single-product div.product.type-product::after { display: none !important; content: none !important; }

@media (min-width: 1024px) {
  html body.single-product div.product.type-product { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
/* gallery */
html body.single-product div.product.type-product > .woocommerce-product-gallery {
  position: relative; z-index: 1; grid-column: 1; grid-row: 1;
  width: 100% !important; max-width: none !important; float: none !important;
  margin: 0 !important; padding: 28px !important; box-sizing: border-box;
}
html body.single-product div.product.type-product > .woocommerce-product-gallery img {
  display: block; width: 100% !important; height: auto !important; max-height: none !important;
  aspect-ratio: 1 / 1; object-fit: contain !important;
  background: transparent !important; border: 0 !important; border-radius: 0 !important;
}
html body.single-product div.product.type-product > .woocommerce-product-gallery .flex-control-thumbs {
  display: flex !important; gap: 10px; margin: 16px 0 0 !important; padding: 0 !important;
  list-style: none; overflow-x: auto;
}
html body.single-product div.product.type-product > .woocommerce-product-gallery .flex-control-thumbs li {
  flex: 0 0 64px; width: 64px !important; float: none !important; margin: 0 !important;
}
html body.single-product div.product.type-product > .woocommerce-product-gallery .flex-control-thumbs img {
  border: 1px solid #e3e8f0 !important; border-radius: 8px !important; padding: 3px;
  background: #fff !important; opacity: .65; cursor: pointer; transition: opacity .15s, border-color .15s;
}
html body.single-product div.product.type-product > .woocommerce-product-gallery .flex-control-thumbs img:hover,
html body.single-product div.product.type-product > .woocommerce-product-gallery .flex-control-thumbs img.flex-active {
  opacity: 1; border-color: #173f78 !important;
}
body.single-product .woocommerce-product-gallery__trigger {
  top: 16px !important; right: 16px !important; width: 38px; height: 38px;
  background: #fff; border: 1px solid #e3e8f0; box-shadow: 0 2px 8px rgba(16, 43, 80, .1);
}
html body.single-product div.product.type-product > span.onsale {
  position: absolute !important; top: 14px; left: 14px; right: auto; margin: 0 !important; z-index: 3;
  min-width: 0; min-height: 0; line-height: 1; padding: 7px 11px; border-radius: 6px;
}

/* summary */
html body.single-product div.product.type-product > .summary {
  position: relative; z-index: 1; grid-column: 2; grid-row: 1;
  width: 100% !important; max-width: none !important; float: none !important;
  margin: 0 !important; padding: 30px 34px 30px 10px !important; box-sizing: border-box; min-width: 0;
}
body.single-product div.product .summary .ast-woo-product-category,
body.single-product div.product .summary .posted_in_top {
  display: block; margin: 0 0 6px; font-size: 12px; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase; color: #667085;
}
body.single-product div.product .summary .product_title {
  margin: 0 0 10px !important; font-size: clamp(21px, 2vw, 27px) !important;
  line-height: 1.3 !important; font-weight: 650; color: #172337 !important;
}
body.single-product div.product .summary .woocommerce-product-rating { margin: 0 0 10px; }
body.single-product div.product .summary p.price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px;
  margin: 6px 0 4px !important; font-size: 30px !important; font-weight: 700;
  line-height: 1.2; color: #172337 !important;
}
body.single-product div.product .summary p.price ins { order: 1; background: none; text-decoration: none; color: inherit; }
body.single-product div.product .summary p.price del { order: 2; font-size: 18px; font-weight: 400; color: #8a94a6; opacity: 1; }
body.single-product div.product .summary .sw-discount-badge { display: inline-block; margin: 0 0 12px; font-size: 15px; }
body.single-product div.product .summary .woocommerce-product-details__short-description {
  margin: 12px 0 0; font-size: 14.5px; line-height: 1.65; color: #3d4a5c;
}
body.single-product div.product .summary .woocommerce-product-details__short-description p { margin: 0 0 8px; }

/* quantity + Add to cart + Buy Now */
body.single-product div.product .summary form.cart,
body.single-product div.product .summary form.cart .woocommerce-variation-add-to-cart {
  display: flex !important; flex-wrap: wrap; align-items: stretch; gap: 12px;
}
body.single-product div.product .summary form.cart { width: 100%; margin: 22px 0 8px !important; }
body.single-product div.product .summary form.cart .quantity { flex: 0 0 100%; margin: 0 !important; }
body.single-product div.product .summary form.cart .quantity .qty {
  width: 96px; height: 52px; padding: 0 8px; border: 1px solid #cdd6e3; border-radius: 10px;
  background: #fff; font-size: 16px; font-weight: 700; text-align: center;
}
body.single-product div.product .summary form.cart .single_add_to_cart_button,
body.single-product div.product .summary form.cart .sw-buy-now-button {
  flex: 1 1 calc(50% - 6px); min-width: 0; min-height: 52px; margin: 0 !important;
  padding: 12px 18px !important; border: 0 !important; border-radius: 10px !important;
  font-size: 15px !important; font-weight: 800 !important; letter-spacing: .02em;
  text-transform: uppercase; line-height: 1.2 !important; text-align: center;
  display: inline-flex !important; align-items: center; justify-content: center;
  cursor: pointer; transition: background .15s, transform .1s, box-shadow .15s;
}
body.single-product div.product .summary form.cart .single_add_to_cart_button {
  background: #ffd44f !important; color: #102b50 !important;
}
body.single-product div.product .summary form.cart .single_add_to_cart_button:hover { background: #f5c632 !important; }
body.single-product div.product .summary form.cart .sw-buy-now-button {
  background: #ed3443 !important; color: #fff !important;
}
body.single-product div.product .summary form.cart .sw-buy-now-button:hover { background: #cf2634 !important; color: #fff !important; }
body.single-product div.product .summary form.cart .single_add_to_cart_button:active,
body.single-product div.product .summary form.cart .sw-buy-now-button:active { transform: scale(.98); }
body.single-product div.product .summary form.cart .single_add_to_cart_button.disabled { opacity: .5; }
body.single-product div.product .summary table.variations { width: 100%; margin: 0 0 14px; border: 0; }
body.single-product div.product .summary table.variations th,
body.single-product div.product .summary table.variations td { display: block; padding: 0 0 6px; border: 0; background: none; }
body.single-product div.product .summary table.variations select { width: 100%; min-height: 46px; border: 1px solid #cdd6e3; border-radius: 10px; }

/* wishlist + meta */
body.single-product div.product .summary .sw-wishlist-single {
  display: inline-flex; align-items: center; gap: 10px; margin: 12px 0 0; font-size: 14px; color: #3d4a5c;
}
body.single-product div.product .summary .product_meta {
  display: grid; gap: 5px; margin: 20px 0 0; padding: 16px 0 0;
  border-top: 1px solid #e3e8f0; font-size: 13px; color: #667085;
}
body.single-product div.product .summary .product_meta a { color: #173f78; text-decoration: none; }
body.single-product div.product .summary .product_meta a:hover { text-decoration: underline; }
body.single-product .sw-purchase-enquiry { margin: 20px 0 !important; }

/* ---- full-width cards: tabs, up-sells, related ------------------------- */
html body.single-product div.product.type-product > .woocommerce-tabs,
html body.single-product div.product.type-product > section.related.products,
html body.single-product div.product.type-product > section.up-sells.products {
  grid-column: 1 / -1; grid-row: auto; position: relative; z-index: 1;
  width: 100% !important; max-width: none !important; float: none !important; clear: both;
  margin: 0 !important; box-sizing: border-box;
  background: #fff; border: 1px solid #e3e8f0; border-radius: 14px;
  box-shadow: 0 2px 10px rgba(16, 43, 80, .04);
}
/* tabs */
html body.single-product div.product.type-product > .woocommerce-tabs { padding: 0 !important; }
body.single-product .woocommerce-tabs ul.tabs {
  display: flex; gap: 4px; margin: 0 !important; padding: 0 20px !important;
  list-style: none; overflow-x: auto; border-bottom: 1px solid #e3e8f0; background: none;
}
body.single-product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce-tabs ul.tabs::after,
body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after { display: none !important; content: none !important; border: 0 !important; box-shadow: none !important; }
body.single-product .woocommerce-tabs ul.tabs li {
  margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; flex: 0 0 auto;
}
body.single-product .woocommerce-tabs ul.tabs li a {
  display: block; padding: 16px 18px !important; border-bottom: 3px solid transparent;
  font-size: 15px; font-weight: 700; color: #667085 !important; text-decoration: none; white-space: nowrap;
}
body.single-product .woocommerce-tabs ul.tabs li.active a { color: #173f78 !important; border-bottom-color: #173f78; }
body.single-product .woocommerce-tabs ul.tabs li:not(.active) a:hover { color: #172337 !important; }
body.single-product .woocommerce-tabs .woocommerce-Tabs-panel {
  margin: 0 !important; padding: 24px !important; font-size: 15px; line-height: 1.7; color: #3d4a5c;
}
body.single-product .woocommerce-tabs .woocommerce-Tabs-panel > h2:first-child { display: none; }
body.single-product .woocommerce-tabs table.woocommerce-product-attributes { width: 100%; border: 1px solid #e3e8f0; border-collapse: collapse; }
body.single-product .woocommerce-tabs table.woocommerce-product-attributes th { width: 30%; background: #f6f8fb; text-align: left; }
body.single-product .woocommerce-tabs table.woocommerce-product-attributes th,
body.single-product .woocommerce-tabs table.woocommerce-product-attributes td { padding: 11px 14px; border: 1px solid #e3e8f0; }

/* related / up-sells */
html body.single-product div.product.type-product > section.related.products,
html body.single-product div.product.type-product > section.up-sells.products { padding: 0 24px 24px !important; }
body.single-product section.related.products > h2,
body.single-product section.up-sells.products > h2 {
  margin: 0 -24px 20px !important; padding: 18px 24px 14px !important;
  border-bottom: 1px solid #e3e8f0; font-size: 20px !important; line-height: 1.3 !important;
  font-weight: 700; color: #172337 !important;
}
body.single-product section.related.products ul.products,
body.single-product section.up-sells.products ul.products {
  display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important; width: 100% !important; margin: 0 !important; padding: 0 !important; list-style: none;
}
body.single-product section.related.products ul.products::before,
body.single-product section.related.products ul.products::after,
body.single-product section.up-sells.products ul.products::before,
body.single-product section.up-sells.products ul.products::after { display: none !important; content: none !important; }

/* product card (Flipkart-style) */
body.single-product section.products ul.products li.product {
  position: relative; display: flex !important; flex-direction: column;
  width: auto !important; min-width: 0; max-width: none !important; margin: 0 !important; padding: 12px !important;
  background: #fff; border: 1px solid #e3e8f0 !important; border-radius: 12px !important;
  box-shadow: none !important; overflow: hidden !important; box-sizing: border-box; float: none !important;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
body.single-product section.products ul.products li.product:hover {
  border-color: #cfd8e6 !important; box-shadow: 0 8px 24px rgba(16, 43, 80, .12) !important; transform: translateY(-2px);
}
body.single-product section.products ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex; flex-direction: column; flex: 1 1 auto; color: inherit; text-decoration: none !important;
}
body.single-product section.products ul.products li.product img {
  display: block; width: 100% !important; height: auto !important; max-height: none !important;
  aspect-ratio: 1 / 1; object-fit: contain !important; margin: 0 0 12px !important;
  border: 0 !important; border-radius: 8px; background: #fff !important;
}
body.single-product section.products ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  min-height: 2.8em; margin: 0 0 8px !important; padding: 0 !important;
  font-size: 14px !important; font-weight: 500 !important; line-height: 1.4 !important; color: #172337 !important;
}
body.single-product section.products ul.products li.product .price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: auto 0 0 !important;
  font-size: 16px !important; font-weight: 700 !important; color: #172337 !important;
}
body.single-product section.products ul.products li.product .price ins { order: 1; background: none; text-decoration: none; color: inherit; }
body.single-product section.products ul.products li.product .price del { order: 2; font-size: 13px; font-weight: 400; color: #8a94a6; opacity: 1; }
body.single-product section.products ul.products li.product .sw-discount-badge { margin-top: 2px; font-size: 13px; }
body.single-product section.products ul.products li.product .star-rating { margin: 0 0 6px; font-size: 12px; }
body.single-product section.products ul.products li.product .button {
  display: block !important; width: 100% !important; margin: 12px 0 0 !important; padding: 10px 8px !important;
  background: #fff !important; color: #173f78 !important; border: 1.5px solid #173f78 !important; border-radius: 8px !important;
  font-size: 13px !important; font-weight: 700 !important; text-align: center; text-decoration: none !important; white-space: normal; transition: background .15s, color .15s;
}
body.single-product section.products ul.products li.product .button:hover { background: #173f78 !important; color: #fff !important; }
body.single-product section.products ul.products li.product .added_to_cart { display: block; margin-top: 8px; text-align: center; font-size: 12px; }
body.single-product section.products ul.products li.product .sw-wishlist-loop {
  position: absolute; top: 10px; right: 10px; z-index: 3; margin: 0;
}
body.single-product section.products ul.products li.product .sw-wishlist-button {
  width: 34px; height: 34px; font-size: 18px; box-shadow: 0 2px 8px rgba(16, 43, 80, .14);
}
body.single-product section.products ul.products li.product span.onsale {
  position: absolute !important; top: 10px; left: 10px; right: auto; z-index: 3; margin: 0 !important;
  min-width: 0; min-height: 0; line-height: 1; padding: 5px 8px; font-size: 11px; border-radius: 5px;
}

/* discount badge (printed by functions.php) */
.sw-discount-badge { color: #1f9d55; font-weight: 700; }

/* ---- tablet: keep two columns, tighten spacing ------------------------- */
@media (min-width: 768px) and (max-width: 1023px) {
  html body.single-product div.product.type-product > .woocommerce-product-gallery { padding: 20px !important; }
  html body.single-product div.product.type-product > .summary { padding: 22px 22px 22px 4px !important; }
  body.single-product div.product .summary p.price { font-size: 26px !important; }
  body.single-product section.related.products ul.products,
  body.single-product section.up-sells.products ul.products { gap: 10px !important; }
  body.single-product section.products ul.products li.product { padding: 10px !important; }
}
/* quantity sits on the same row as the buttons on wide screens */
@media (min-width: 1200px) {
  body.single-product div.product .summary form.cart .quantity { flex: 0 0 auto; }
  body.single-product div.product .summary form.cart .single_add_to_cart_button,
  body.single-product div.product .summary form.cart .sw-buy-now-button { flex: 1 1 0; }
}

/* ---- mobile: stacked cards, 2-column related grid ---------------------- */
@media (max-width: 767px) {
  body.single-product .site-content .ast-container,
  body.single-product .content-area .ast-container { padding: 0 12px !important; }
  html body.single-product div.product.type-product {
    grid-template-columns: minmax(0, 1fr); gap: 12px 0 !important; margin-bottom: 28px !important;
  }
  html body.single-product div.product.type-product::before { display: none; }
  html body.single-product div.product.type-product > .woocommerce-product-gallery,
  html body.single-product div.product.type-product > .summary {
    grid-column: 1; background: #fff; border: 1px solid #e3e8f0; border-radius: 14px;
  }
  html body.single-product div.product.type-product > .woocommerce-product-gallery { grid-row: 1; padding: 14px !important; }
  html body.single-product div.product.type-product > .summary { grid-row: 2; padding: 18px 16px !important; }
  body.single-product div.product .summary p.price { font-size: 26px !important; }
  body.single-product div.product .summary form.cart .single_add_to_cart_button,
  body.single-product div.product .summary form.cart .sw-buy-now-button { flex: 1 1 calc(50% - 6px); font-size: 13px !important; padding: 12px 8px !important; }
  body.single-product .woocommerce-tabs ul.tabs { padding: 0 8px !important; }
  body.single-product .woocommerce-tabs .woocommerce-Tabs-panel { padding: 16px !important; }
  html body.single-product div.product.type-product > section.related.products,
  html body.single-product div.product.type-product > section.up-sells.products { padding: 0 12px 14px !important; }
  body.single-product section.related.products > h2,
  body.single-product section.up-sells.products > h2 { margin: 0 -12px 14px !important; padding: 14px 12px 12px !important; font-size: 17px !important; }
  body.single-product section.related.products ul.products,
  body.single-product section.up-sells.products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  body.single-product section.products ul.products li.product { padding: 8px !important; border-radius: 10px !important; }
  body.single-product section.products ul.products li.product .woocommerce-loop-product__title { font-size: 12.5px !important; }
  body.single-product section.products ul.products li.product .price { font-size: 14px !important; }
  body.single-product section.products ul.products li.product .button { font-size: 12px !important; padding: 9px 4px !important; }
}
@media (prefers-reduced-motion: reduce) {
  body.single-product section.products ul.products li.product { transition: none; }
  body.single-product section.products ul.products li.product:hover { transform: none; }
}

/* ==========================================================================
   v2.2 — mega-menu overlap fix, category circles, Best Seller heading,
   About / Contact pages, four-column footer with copyright bar
   ========================================================================== */

/* ---- Mega menu: names no longer run over each other ----------------------
   The nav bar sets white-space:nowrap for its links; the dropdown inherited it,
   so long product names and hints could not wrap and spilled into the next card. */
.sw-header .sw-mega,
.sw-header .sw-mega * { white-space: normal !important; }
.sw-header .sw-mega-categories > a,
.sw-header .sw-mega-hint { overflow-wrap: anywhere; word-break: break-word; }
.sw-header .sw-mega-hint { display: block; }
.sw-header .sw-mega-products { align-items: stretch; }
.sw-header .sw-mega-product { overflow: hidden; min-width: 0; }
.sw-header .sw-mega-product-text { display: block; min-width: 0; max-width: 100%; }
.sw-header .sw-mega-product-title {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
  overflow: hidden; overflow-wrap: anywhere; word-break: break-word;
  line-height: 1.35; min-height: 2.7em; font-weight: 500; color: var(--sw-ink);
}
.sw-header .sw-mega-product small { overflow-wrap: anywhere; }

/* ---- Top line links -------------------------------------------------------- */
.sw-topline .sw-topline-links a { color: #fff; text-decoration: none; margin-left: 14px; font-weight: 500; }
.sw-topline .sw-topline-links a:hover { text-decoration: underline; }

/* ---- Category circles below the banner ------------------------------------- */
.sw-home > .sw-circles-section { margin-top: 30px; margin-bottom: 10px; }
.sw-circles {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start;
  gap: 22px 28px; margin: 0; padding: 0;
}
.sw-circle {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  width: 96px; text-decoration: none !important; color: var(--sw-ink) !important;
}
.sw-circle-img {
  display: grid; place-items: center; width: 82px; height: 82px; border-radius: 50%;
  overflow: hidden; background: #fde4e4; transition: transform .18s ease, box-shadow .18s ease;
}
.sw-circle:nth-child(6n+2) .sw-circle-img { background: #e2f1e1; }
.sw-circle:nth-child(6n+3) .sw-circle-img { background: #f3f6d9; }
.sw-circle:nth-child(6n+4) .sw-circle-img { background: #dff3ee; }
.sw-circle:nth-child(6n+5) .sw-circle-img { background: #e1e6fa; }
.sw-circle:nth-child(6n+6) .sw-circle-img { background: #fbeed3; }
.sw-circle-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.sw-circle-emoji { font-size: 34px; line-height: 1; }
.sw-circle:hover .sw-circle-img,
.sw-circle:focus-visible .sw-circle-img { transform: translateY(-4px); box-shadow: 0 10px 22px rgba(16, 43, 80, .16); }
.sw-circle-name {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  font-size: 12px; font-weight: 500; line-height: 1.3; letter-spacing: .03em;
  text-transform: uppercase; text-align: center; overflow-wrap: anywhere;
}
.sw-circle:hover .sw-circle-name { color: var(--sw-blue); }

/* ---- Centered section heading (Best Seller) ------------------------------- */
.sw-section-centered .sw-section-head { justify-content: center; text-align: center; margin-bottom: 24px; }
.sw-section-centered .sw-section-head h2 {
  font-size: clamp(24px, 2.4vw, 32px) !important; font-weight: 700 !important;
  letter-spacing: .02em; color: var(--sw-ink);
}

/* ---- About / Contact pages ------------------------------------------------- */
.sw-page { max-width: 1180px; margin: 0 auto; padding: 0 clamp(14px, 2vw, 30px) 50px; }
.sw-page-hero {
  margin: 26px 0 28px; padding: clamp(28px, 4vw, 52px) clamp(20px, 4vw, 48px); border-radius: 16px;
  background: linear-gradient(115deg, var(--sw-festival-primary, var(--sw-blue)), var(--sw-blue-dark));
  color: #fff;
}
.sw-page-hero h1 { margin: 14px 0 0; color: #fff; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.15; }
.sw-page-body { display: grid; gap: 28px; }
.sw-page-image img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: cover; border-radius: 14px; }
.sw-page-content { font-size: 16px; line-height: 1.75; color: #3d4a5c; max-width: 860px; }
.sw-page-content h2, .sw-page-content h3 { color: var(--sw-blue); margin: 28px 0 10px; line-height: 1.3; }
.sw-page-content h2 { font-size: 24px; }
.sw-page-content h3 { font-size: 19px; }
.sw-page-content p { margin: 0 0 14px; }
.sw-page-content ul, .sw-page-content ol { margin: 0 0 16px 22px; padding: 0; }
.sw-page-content li { margin-bottom: 6px; }
.sw-page-content img { max-width: 100%; height: auto; border-radius: 12px; }
.sw-page-content a { color: var(--sw-blue); }
.sw-page-benefits { margin: 34px 0 0; }
.sw-page-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.sw-page-cta .sw-btn-alt { border: 1.5px solid var(--sw-blue); }

.sw-contact-intro { margin-bottom: 26px; }
.sw-contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: start; }
.sw-contact-details,
.sw-contact-form-wrap {
  background: #fff; border: 1px solid var(--sw-line); border-radius: 14px;
  padding: clamp(18px, 2.4vw, 28px); box-shadow: 0 2px 10px rgba(16, 43, 80, .04);
}
.sw-contact-details h2,
.sw-contact-form-wrap h2 { margin: 0 0 18px; font-size: 21px; font-weight: 700; color: var(--sw-blue); }
.sw-contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-top: 1px solid var(--sw-line); }
.sw-contact-item:first-of-type { border-top: 0; padding-top: 0; }
.sw-contact-icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; background: var(--sw-bg); font-size: 19px; }
.sw-contact-item > div { min-width: 0; font-size: 14.5px; line-height: 1.6; color: #3d4a5c; overflow-wrap: anywhere; }
.sw-contact-item b { display: block; color: var(--sw-ink); font-size: 14px; }
.sw-contact-item a { color: var(--sw-blue); text-decoration: none; }
.sw-contact-item a:hover { text-decoration: underline; }
.sw-contact-details .sw-btn-whatsapp { margin-top: 16px; }
.sw-contact-map { margin-top: 24px; border: 1px solid var(--sw-line); border-radius: 14px; overflow: hidden; }
.sw-contact-map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---- Footer: four columns + copyright bar --------------------------------- */
.sw-footer .sw-footer-inner { grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.sw-footer .sw-footer-inner > div { min-width: 0; }
.sw-footer .sw-footer-inner > div > strong:not(.sw-footer-brand) {
  font-size: 14px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 4px;
}
.sw-footer .sw-footer-inner p { line-height: 1.65; }
.sw-footer .sw-footer-inner a { overflow-wrap: anywhere; }
.sw-footer .sw-footer-inner a:hover { color: #fff; text-decoration: underline; }
.sw-footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.sw-footer .sw-footer-social a {
  padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; font-size: 12px;
}
.sw-footer .sw-footer-social a:hover { background: rgba(255, 255, 255, .12); text-decoration: none; }
.sw-footer .sw-footer-hours { opacity: .85; }
.sw-footer .sw-footer-bottom {
  max-width: 1380px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 8px 24px; text-align: left; padding: 16px 0; font-size: 13px;
}
.sw-footer-bottom-social { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.sw-footer .sw-footer-bottom a { color: #d3deef; text-decoration: none; }
.sw-footer .sw-footer-bottom a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 1024px) {
  .sw-footer .sw-footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .sw-footer .sw-footer-inner > .sw-footer-about { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .sw-contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  /* circles become one swipeable row */
  .sw-home > .sw-circles-section { margin-top: 18px; padding-left: 0 !important; padding-right: 0 !important; }
  .sw-circles {
    flex-wrap: nowrap; justify-content: flex-start; gap: 14px; overflow-x: auto;
    padding: 4px 14px 10px; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .sw-circles::-webkit-scrollbar { display: none; }
  .sw-circle { flex: 0 0 74px; width: 74px; gap: 8px; scroll-snap-align: start; }
  .sw-circle-img { width: 64px; height: 64px; }
  .sw-circle-emoji { font-size: 27px; }
  .sw-circle-name { font-size: 10.5px; }
  .sw-section-centered .sw-section-head h2 { font-size: 21px !important; }

  .sw-page { padding-bottom: 34px; }
  .sw-page-hero { margin: 14px 0 20px; border-radius: 12px; }
  .sw-page-content { font-size: 15px; }
  .sw-contact-map iframe { height: 280px; }

  .sw-footer .sw-footer-inner { gap: 22px; }
  .sw-footer .sw-footer-bottom { flex-direction: column; align-items: center; text-align: center; padding: 14px 0; }
  .sw-footer-bottom-social { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .sw-circle-img { transition: none; }
  .sw-circle:hover .sw-circle-img { transform: none; }
}

/* ==========================================================================
   v2.3 — six product banners (built-in illustrations or uploaded pictures)
   ========================================================================== */
.sw-home .sw-hero-slide.sw-banner { position: relative; overflow: hidden; }
.sw-home .sw-hero-slide.sw-banner::after { content: none !important; display: none !important; }

/* banner colours */
.sw-home .sw-banner-theme-notebooks { background: linear-gradient(110deg, #173f78 0%, #2c5e9b 60%, #5b8fd0 100%); }
.sw-home .sw-banner-theme-pens      { background: linear-gradient(110deg, #fff3bf 0%, #ffd44f 62%, #ffc21a 100%); }
.sw-home .sw-banner-theme-art       { background: linear-gradient(110deg, #7b2d8e 0%, #c2417c 60%, #f08a5d 100%); }
.sw-home .sw-banner-theme-office    { background: linear-gradient(110deg, #0f5c5c 0%, #1f8a7a 60%, #6cc5a8 100%); }
.sw-home .sw-banner-theme-craft     { background: linear-gradient(110deg, #ffe3cc 0%, #ffb37a 60%, #ff8f5a 100%); }
.sw-home .sw-banner-theme-bulk      { background: linear-gradient(110deg, #0e2240 0%, #173f78 60%, #32649d 100%); }

/* text colour per banner */
.sw-home .sw-hero-slide.sw-banner-tone-light,
.sw-home .sw-hero-slide.sw-banner-tone-light h1 { color: #fff !important; }
.sw-home .sw-hero-slide.sw-banner-tone-light p { color: #f1f6ff !important; }
.sw-home .sw-hero-slide.sw-banner-tone-light .sw-kicker { background: #ffd447; color: #173d72; }
.sw-home .sw-hero-slide.sw-banner-tone-dark,
.sw-home .sw-hero-slide.sw-banner-tone-dark h1 { color: #173d72 !important; }
.sw-home .sw-hero-slide.sw-banner-tone-dark p { color: #2b3f5c !important; }
.sw-home .sw-hero-slide.sw-banner-tone-dark .sw-kicker { background: #173d72; color: #fff; }
.sw-home .sw-hero-slide.sw-banner-tone-dark .sw-btn { background: #173d72; color: #fff !important; }

/* built-in illustration on the right */
.sw-home .sw-banner .sw-hero-copy { max-width: min(760px, 58%); }
.sw-banner-art {
  position: absolute; z-index: 0; right: clamp(56px, 7vw, 120px); top: 50%; transform: translateY(-50%);
  width: min(36%, 440px); pointer-events: none;
}
.sw-banner-art-svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 26px rgba(8, 20, 40, .28)); }

/* uploaded picture behind the text */
.sw-home .sw-banner-has-image:not(.sw-banner-image-only) { background: #102b50; }
.sw-banner-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.sw-home .sw-banner-has-image:not(.sw-banner-image-only)::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(10, 24, 46, .82) 0%, rgba(10, 24, 46, .55) 45%, rgba(10, 24, 46, 0) 80%);
}
.sw-home .sw-banner-has-image:not(.sw-banner-image-only),
.sw-home .sw-banner-has-image:not(.sw-banner-image-only) h1 { color: #fff !important; }
.sw-home .sw-banner-has-image:not(.sw-banner-image-only) p { color: #f1f6ff !important; }
.sw-home .sw-banner-has-image:not(.sw-banner-image-only) .sw-kicker { background: #ffd447; color: #173d72; }
.sw-home .sw-banner-has-image:not(.sw-banner-image-only) .sw-btn { background: #ffd447; color: #173d72 !important; }

/* uploaded picture on its own (text is part of the picture) */
.sw-home .sw-hero-slide.sw-banner-image-only { min-height: 0 !important; padding: 0 !important; background: #f5f7fb !important; }
.sw-home .sw-hero-slide.sw-banner-image-only.is-active { display: block; }
.sw-banner-image-link { display: block; line-height: 0; }
.sw-banner-image-link img { display: block; width: 100%; height: auto; }

@media (max-width: 900px) {
  .sw-home .sw-banner .sw-hero-copy { max-width: 66%; }
  .sw-banner-art { right: 44px; width: 30%; }
}
@media (max-width: 767px) {
  .sw-home .sw-banner .sw-hero-copy { max-width: 100%; }
  .sw-banner-art { right: -18px; top: auto; bottom: 34px; transform: none; width: 46%; opacity: .32; }
  .sw-home .sw-banner-has-image:not(.sw-banner-image-only)::before { background: rgba(10, 24, 46, .62); }
}

/* a festival theme recolours every banner background, so keep the text light on all of them */
body[data-sw-festival]:not([data-sw-festival="default"]) .sw-home .sw-hero-slide.sw-banner-tone-dark,
body[data-sw-festival]:not([data-sw-festival="default"]) .sw-home .sw-hero-slide.sw-banner-tone-dark h1 { color: #fff !important; }
body[data-sw-festival]:not([data-sw-festival="default"]) .sw-home .sw-hero-slide.sw-banner-tone-dark p { color: #f1f6ff !important; }
body[data-sw-festival]:not([data-sw-festival="default"]) .sw-home .sw-hero-slide.sw-banner-tone-dark .sw-kicker { background: #ffd447; color: #173d72; }

/* ==========================================================================
   v2.4 — banners built from real product photos
   ========================================================================== */
.sw-banner-photos {
  position: absolute; z-index: 1; top: 0; bottom: 0; right: clamp(60px, 6vw, 110px);
  width: min(42%, 560px); pointer-events: none;
}
.sw-banner-photo {
  position: absolute; display: block; aspect-ratio: 1 / 1; padding: 10px; box-sizing: border-box;
  background: #fff; border-radius: 16px; pointer-events: auto;
  box-shadow: 0 22px 44px rgba(8, 20, 40, .34), 0 2px 6px rgba(8, 20, 40, .18);
  transition: transform .25s ease, box-shadow .25s ease;
}
.sw-banner-photo img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 9px; background: #fff; }

/* three photos: big one in the middle, two tilted behind it */
.sw-photos-collage.sw-banner-photos-3 .sw-banner-photo:nth-child(1) { z-index: 3; left: 24%; top: 50%; width: 50%; transform: translateY(-50%) rotate(-4deg); }
.sw-photos-collage.sw-banner-photos-3 .sw-banner-photo:nth-child(2) { z-index: 2; right: 0; top: 9%; width: 38%; transform: rotate(9deg); }
.sw-photos-collage.sw-banner-photos-3 .sw-banner-photo:nth-child(3) { z-index: 1; left: 0; bottom: 9%; width: 36%; transform: rotate(-11deg); }
.sw-photos-collage.sw-banner-photos-3 .sw-banner-photo:nth-child(1):hover { transform: translateY(-50%) rotate(-1deg) scale(1.04); }
/* two photos */
.sw-photos-collage.sw-banner-photos-2 .sw-banner-photo:nth-child(1) { z-index: 2; left: 6%; top: 50%; width: 52%; transform: translateY(-50%) rotate(-5deg); }
.sw-photos-collage.sw-banner-photos-2 .sw-banner-photo:nth-child(2) { z-index: 1; right: 0; top: 14%; width: 44%; transform: rotate(8deg); }
.sw-photos-collage.sw-banner-photos-2 .sw-banner-photo:nth-child(1):hover { transform: translateY(-50%) rotate(-2deg) scale(1.04); }
.sw-banner-photo:nth-child(n+2):hover { z-index: 4; box-shadow: 0 26px 50px rgba(8, 20, 40, .4); }

.sw-home .sw-banner-has-photos .sw-hero-copy { max-width: min(700px, 52%); }
@media (min-width: 768px) { .sw-home .sw-hero-slide.sw-banner-has-photos h1 { font-size: clamp(28px, 3.3vw, 50px); } }

@media (max-width: 1100px) {
  .sw-banner-photos { right: 50px; width: 40%; }
  .sw-banner-photo { padding: 7px; border-radius: 12px; }
}
@media (max-width: 767px) {
  /* phone: text first, then the photos in one row */
  .sw-home .sw-hero-slide.sw-banner-has-photos.is-active { flex-direction: column; align-items: stretch; justify-content: center; }
  .sw-home .sw-banner-has-photos .sw-hero-copy { max-width: 100%; padding-bottom: 16px !important; }
  .sw-banner-photos {
    position: static; order: 2; width: auto; display: flex; justify-content: center; gap: 10px;
    padding: 0 16px 50px; box-sizing: border-box;
  }
  .sw-banner-photos .sw-banner-photo,
  .sw-banner-photos .sw-banner-photo:hover {
    position: static !important; flex: 0 1 31%; width: auto !important; padding: 5px; border-radius: 10px;
    transform: none !important; box-shadow: 0 8px 18px rgba(8, 20, 40, .28);
  }
  .sw-banner-photos-2 .sw-banner-photo { flex-basis: 40%; }
}
@media (prefers-reduced-motion: reduce) {
  .sw-banner-photo { transition: none; }
}

/* ==========================================================================
   v2.5 — a different photo arrangement on every banner
   (collage · fan · mosaic · grid · circles · stairs)
   ========================================================================== */
.sw-photos-fan, .sw-photos-mosaic, .sw-photos-grid, .sw-photos-circles, .sw-photos-stairs { box-sizing: border-box; }
.sw-photos-fan .sw-banner-photo, .sw-photos-mosaic .sw-banner-photo, .sw-photos-grid .sw-banner-photo,
.sw-photos-circles .sw-banner-photo, .sw-photos-stairs .sw-banner-photo { position: relative; }
.sw-banner-photos .sw-banner-photo:hover { z-index: 9; }

/* fan: cards spread like a hand of cards */
.sw-photos-fan { display: flex; align-items: center; justify-content: center; }
.sw-photos-fan .sw-banner-photo { flex: 0 0 28%; margin-left: -13%; padding: 7px; transform-origin: 50% 130%; }
.sw-photos-fan .sw-banner-photo:first-child { margin-left: 0; }
.sw-photos-fan .sw-banner-photo:nth-child(1) { z-index: 1; transform: rotate(-18deg); }
.sw-photos-fan .sw-banner-photo:nth-child(2) { z-index: 2; transform: rotate(-9deg); }
.sw-photos-fan .sw-banner-photo:nth-child(3) { z-index: 3; transform: rotate(0deg); }
.sw-photos-fan .sw-banner-photo:nth-child(4) { z-index: 2; transform: rotate(9deg); }
.sw-photos-fan .sw-banner-photo:nth-child(5) { z-index: 1; transform: rotate(18deg); }
.sw-photos-fan .sw-banner-photo:hover { transform: rotate(0deg) scale(1.08); }

/* mosaic: one large photo with small ones beside it */
.sw-photos-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-content: center; }
.sw-photos-mosaic .sw-banner-photo { padding: 6px; border-radius: 14px; }
.sw-photos-mosaic .sw-banner-photo:first-child { grid-column: span 2; grid-row: span 2; padding: 10px; }
.sw-photos-mosaic .sw-banner-photo:hover { transform: scale(1.05); }

/* grid: a tilted wall of product tiles */
.sw-photos-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-content: center; padding: 0 6%; transform: rotate(-6deg); }
.sw-photos-grid .sw-banner-photo { padding: 6px; border-radius: 12px; }
.sw-photos-grid .sw-banner-photo:nth-child(even) { transform: translateY(14%); }
.sw-photos-grid .sw-banner-photo:hover { transform: scale(1.07); }
.sw-photos-grid .sw-banner-photo:nth-child(even):hover { transform: translateY(14%) scale(1.07); }

/* circles: round product bubbles in different sizes */
.sw-photos-circles { display: flex; flex-wrap: wrap; align-items: center; align-content: center; justify-content: center; }
.sw-photos-circles .sw-banner-photo { border-radius: 50%; padding: 5%; overflow: hidden; border: 5px solid rgba(255, 255, 255, .55); background-clip: padding-box; }
.sw-photos-circles .sw-banner-photo img { border-radius: 50%; }
.sw-photos-circles .sw-banner-photo:nth-child(1) { flex: 0 0 43%; z-index: 2; }
.sw-photos-circles .sw-banner-photo:nth-child(2) { flex: 0 0 32%; margin: 0 0 12% -4%; }
.sw-photos-circles .sw-banner-photo:nth-child(3) { flex: 0 0 29%; margin: -9% 0 0 8%; }
.sw-photos-circles .sw-banner-photo:nth-child(4) { flex: 0 0 37%; margin: -5% 0 0 -3%; z-index: 2; }
.sw-photos-circles .sw-banner-photo:hover { transform: scale(1.06); }

/* stairs: cards stepping down from left to right */
.sw-photos-stairs { display: flex; align-items: center; justify-content: center; }
.sw-photos-stairs .sw-banner-photo { flex: 0 0 29%; margin-left: -6%; padding: 7px; }
.sw-photos-stairs .sw-banner-photo:first-child { margin-left: 0; }
.sw-photos-stairs .sw-banner-photo:nth-child(1) { transform: translateY(-34%) rotate(-6deg); }
.sw-photos-stairs .sw-banner-photo:nth-child(2) { transform: translateY(-11%) rotate(4deg); z-index: 2; }
.sw-photos-stairs .sw-banner-photo:nth-child(3) { transform: translateY(11%) rotate(-4deg); z-index: 3; }
.sw-photos-stairs .sw-banner-photo:nth-child(4) { transform: translateY(34%) rotate(6deg); z-index: 4; }

@media (max-width: 767px) {
  /* phone: every arrangement becomes one tidy row of up to four photos */
  .sw-home .sw-banner-photos {
    display: flex !important; flex-wrap: nowrap !important; align-items: center; justify-content: center; gap: 8px;
    transform: none !important; padding: 0 16px 50px !important;
  }
  .sw-home .sw-banner-photos .sw-banner-photo,
  .sw-home .sw-banner-photos .sw-banner-photo:hover {
    position: static !important; flex: 0 1 23% !important; width: auto !important; margin: 0 !important;
    padding: 4px !important; border-width: 0 !important; transform: none !important;
  }
  .sw-home .sw-banner-photos-2 .sw-banner-photo { flex-basis: 38% !important; }
  .sw-home .sw-banner-photos-3 .sw-banner-photo { flex-basis: 30% !important; }
  .sw-home .sw-banner-photos .sw-banner-photo:nth-child(n+5) { display: none; }
}

/* ==========================================================================
   v2.6 — larger product photos, glow and badge accents on the banners
   ========================================================================== */
.sw-home .sw-banner-photos { right: clamp(62px, 5vw, 92px); width: min(49%, 740px); }
.sw-home .sw-banner-has-photos .sw-hero-copy { max-width: 49%; padding-right: 8px; }
.sw-home .sw-banner-photo { padding: 12px; border-radius: 20px; box-shadow: 0 28px 54px rgba(8, 20, 40, .38), 0 3px 8px rgba(8, 20, 40, .2); }
.sw-home .sw-banner-photo img { border-radius: 11px; }

/* soft spotlight behind the photos */
.sw-home .sw-banner-photos::before {
  content: ""; position: absolute; z-index: 0; left: 50%; top: 50%; width: 108%; aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, .42) 0%, rgba(255, 255, 255, .16) 42%, rgba(255, 255, 255, 0) 68%);
}
.sw-home .sw-banner-photo { z-index: 1; }

/* round badge on the photo area */
.sw-home .sw-banner-photos::after {
  content: "BEST\A SELLERS"; white-space: pre; position: absolute; z-index: 8; left: -2%; top: 7%;
  display: grid; place-items: center; width: clamp(74px, 7.4vw, 108px); aspect-ratio: 1 / 1; border-radius: 50%;
  background: #ed3443; color: #fff; border: 4px solid #fff; box-shadow: 0 10px 22px rgba(8, 20, 40, .3);
  font-size: clamp(10px, 1vw, 14px); font-weight: 800; line-height: 1.15; letter-spacing: .06em; text-align: center;
  transform: rotate(-12deg); pointer-events: none;
}
.sw-home .sw-photos-fan::after     { content: "TOP\A PICKS"; left: auto; right: 2%; top: 6%; background: #173f78; transform: rotate(10deg); }
.sw-home .sw-photos-mosaic::after  { content: "NEW\A ARRIVALS"; left: auto; right: -1%; top: 5%; background: #ffd44f; color: #173d72; transform: rotate(12deg); }
.sw-home .sw-photos-grid::after    { content: "OFFICE\A FAVOURITES"; left: -3%; top: auto; bottom: 7%; background: #ffd44f; color: #173d72; transform: rotate(-4deg); }
.sw-home .sw-photos-circles::after { content: "MOST\A LOVED"; left: auto; right: 0; top: auto; bottom: 8%; background: #173f78; transform: rotate(-10deg); }
.sw-home .sw-photos-stairs::after  { content: "BULK\A PRICES"; left: auto; right: 3%; top: 6%; transform: rotate(12deg); }

/* collage (3 photos) */
.sw-home .sw-photos-collage.sw-banner-photos-3 .sw-banner-photo:nth-child(1) { left: 23%; width: 52%; }
.sw-home .sw-photos-collage.sw-banner-photos-3 .sw-banner-photo:nth-child(2) { right: 0; top: 7%; width: 39%; }
.sw-home .sw-photos-collage.sw-banner-photos-3 .sw-banner-photo:nth-child(3) { left: 0; bottom: 7%; width: 37%; }
.sw-home .sw-photos-collage.sw-banner-photos-2 .sw-banner-photo:nth-child(1) { left: 2%; width: 60%; }
.sw-home .sw-photos-collage.sw-banner-photos-2 .sw-banner-photo:nth-child(2) { right: 0; top: 8%; width: 50%; }

/* fan */
.sw-home .sw-photos-fan .sw-banner-photo { flex: 0 0 33%; margin-left: -17.5%; padding: 10px; }
.sw-home .sw-photos-fan .sw-banner-photo:first-child { margin-left: 0; }
/* mosaic */
.sw-home .sw-photos-mosaic { gap: 14px; }
.sw-home .sw-photos-mosaic .sw-banner-photo { padding: 8px; border-radius: 16px; }
.sw-home .sw-photos-mosaic .sw-banner-photo:first-child { padding: 13px; border-radius: 22px; }
/* grid */
.sw-home .sw-photos-grid { gap: 14px; padding: 0 3%; }
.sw-home .sw-photos-grid .sw-banner-photo { padding: 8px; border-radius: 16px; }
/* circles */
.sw-home .sw-photos-circles .sw-banner-photo { border-radius: 50%; padding: 6%; border-width: 6px; }
.sw-home .sw-photos-circles .sw-banner-photo:nth-child(1) { flex: 0 0 47%; }
.sw-home .sw-photos-circles .sw-banner-photo:nth-child(2) { flex: 0 0 36%; margin: 0 0 13% -4%; }
.sw-home .sw-photos-circles .sw-banner-photo:nth-child(3) { flex: 0 0 32%; margin: -9% 0 0 6%; }
.sw-home .sw-photos-circles .sw-banner-photo:nth-child(4) { flex: 0 0 42%; margin: -5% 0 0 -3%; }
/* stairs */
.sw-home .sw-photos-stairs .sw-banner-photo { flex: 0 0 35%; margin-left: -13.5%; padding: 10px; }
.sw-home .sw-photos-stairs .sw-banner-photo:first-child { margin-left: 0; }
.sw-home .sw-photos-stairs .sw-banner-photo:nth-child(1) { transform: translateY(-30%) rotate(-6deg); }
.sw-home .sw-photos-stairs .sw-banner-photo:nth-child(2) { transform: translateY(-10%) rotate(4deg); }
.sw-home .sw-photos-stairs .sw-banner-photo:nth-child(3) { transform: translateY(10%) rotate(-4deg); }
.sw-home .sw-photos-stairs .sw-banner-photo:nth-child(4) { transform: translateY(30%) rotate(6deg); }

@media (min-width: 768px) {
  .sw-home .sw-hero-slide.sw-banner-has-photos { min-height: clamp(440px, 40vw, 600px); }
  .sw-home .sw-hero-slide.sw-banner-has-photos h1 { font-size: clamp(26px, 2.9vw, 48px); }
}
@media (max-width: 1100px) {
  .sw-home .sw-banner-photos { right: 52px; width: 47%; }
  .sw-home .sw-banner-has-photos .sw-hero-copy { max-width: 48%; }
  .sw-home .sw-banner-photo { padding: 8px; border-radius: 14px; }
}
@media (max-width: 767px) {
  /* phone: three larger photos in a row under the text */
  .sw-home .sw-banner-has-photos .sw-hero-copy { max-width: 100%; }
  .sw-home .sw-banner-photos { width: auto; gap: 10px; }
  .sw-home .sw-banner-photos::before, .sw-home .sw-banner-photos::after { content: none; display: none; }
  .sw-home .sw-banner-photos .sw-banner-photo,
  .sw-home .sw-banner-photos .sw-banner-photo:hover { flex: 0 1 31% !important; padding: 6px !important; border-radius: 12px; }
  .sw-home .sw-photos-circles .sw-banner-photo { border-radius: 50%; }
  .sw-home .sw-banner-photos-2 .sw-banner-photo { flex-basis: 44% !important; }
  .sw-home .sw-banner-photos .sw-banner-photo:nth-child(n+4) { display: none; }
}

/* ==========================================================================
   v2.7 — product page redesign + shop/category page with filter sidebar
   ========================================================================== */

/* ---- product page: narrower, balanced two columns ------------------------- */
body.single-product .site-content .ast-container,
body.single-product .content-area .ast-container { max-width: 1240px !important; padding: 0 20px !important; }
@media (min-width: 1024px) {
  html body.single-product div.product.type-product { grid-template-columns: minmax(0, 11fr) minmax(0, 12fr); }
}
html body.single-product div.product.type-product > .woocommerce-product-gallery { padding: 22px !important; }
html body.single-product div.product.type-product > .woocommerce-product-gallery .flex-viewport,
html body.single-product div.product.type-product > .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
  border: 1px solid #e3e8f0; border-radius: 14px; overflow: hidden; background: #fff;
}
html body.single-product div.product.type-product > .woocommerce-product-gallery img { max-height: 560px !important; }

/* thumbnails in a column on the left of the main photo */
@media (min-width: 768px) {
  html body.single-product div.product.type-product > .woocommerce-product-gallery {
    display: flex !important; flex-direction: row-reverse; align-items: flex-start; gap: 14px;
  }
  html body.single-product div.product.type-product > .woocommerce-product-gallery > .flex-viewport,
  html body.single-product div.product.type-product > .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
    flex: 1 1 auto; min-width: 0;
  }
  html body.single-product div.product.type-product > .woocommerce-product-gallery .flex-control-thumbs {
    flex: 0 0 70px; flex-direction: column !important; gap: 10px; margin: 0 !important;
    max-height: 520px; overflow-x: hidden; overflow-y: auto; scrollbar-width: thin;
  }
  html body.single-product div.product.type-product > .woocommerce-product-gallery .flex-control-thumbs li {
    flex: 0 0 auto; width: 66px !important;
  }
  html body.single-product div.product.type-product > .woocommerce-product-gallery .flex-control-thumbs img {
    max-height: none !important; border-radius: 10px !important;
  }
  html body.single-product div.product.type-product > .woocommerce-product-gallery .flex-control-thumbs img.flex-active {
    border: 2px solid #ed3443 !important;
  }
  html body.single-product div.product.type-product > .summary { padding: 26px 30px 28px 12px !important; }
}

/* summary: category pill, title, price */
body.single-product div.product .summary .single-product-category,
body.single-product div.product .summary .ast-woo-product-category {
  display: inline-block; margin: 0 0 12px; padding: 5px 13px; border: 1px solid #f6c5ca; border-radius: 999px;
  background: #fff6f7; color: #d32738; font-size: 11px; font-weight: 600; line-height: 1.5;
  letter-spacing: .08em; text-transform: uppercase;
}
body.single-product div.product .summary .single-product-category a,
body.single-product div.product .summary .ast-woo-product-category a { color: inherit !important; text-decoration: none; }
body.single-product div.product .summary .product_title {
  margin: 0 0 10px !important; font-size: clamp(24px, 2.5vw, 34px) !important; line-height: 1.2 !important;
  font-weight: 700; letter-spacing: -.01em; color: #172337 !important;
}
body.single-product div.product .summary p.price { margin: 8px 0 2px !important; font-size: 32px !important; }
.sw-pp-note { margin: 2px 0 12px !important; font-size: 12.5px; color: #667085; }
.sw-pp-delivery {
  margin: 0 0 4px !important; padding: 11px 14px; border: 1px solid #e3e8f0; border-radius: 8px;
  background: #fafbfd; font-size: 14px; color: #3d4a5c;
}
.sw-pp-delivery b { color: #172337; }

/* quantity row, then the two buttons */
body.single-product div.product .summary form.cart { margin: 18px 0 8px !important; }
body.single-product div.product .summary form.cart .sw-pp-qty-label {
  flex: 0 0 100%; margin: 0 0 -4px; font-size: 11.5px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: #667085;
}
body.single-product div.product .summary form.cart .quantity { flex: 0 0 auto !important; }
body.single-product div.product .summary form.cart .sw-pp-stock {
  flex: 1 1 40%; align-self: center; font-size: 13.5px; font-weight: 600; color: #1f9d55;
}
body.single-product div.product .summary form.cart .quantity.sw-qty {
  display: inline-flex; align-items: stretch; border: 1px solid #cdd6e3; border-radius: 10px;
  overflow: hidden; background: #f6f8fb;
}
body.single-product div.product .summary form.cart .quantity.sw-qty .qty {
  width: 56px; height: 50px; border: 0 !important; border-radius: 0; background: #fff; box-shadow: none;
  -moz-appearance: textfield; appearance: textfield;
}
body.single-product div.product .summary form.cart .quantity.sw-qty .qty::-webkit-outer-spin-button,
body.single-product div.product .summary form.cart .quantity.sw-qty .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sw-qty-btn {
  width: 42px; min-height: 50px; padding: 0; border: 0; background: transparent; color: #172337;
  font-size: 20px; line-height: 1; cursor: pointer;
}
.sw-qty-btn:hover { background: #e9eef6; }
body.single-product div.product .summary form.cart .single_add_to_cart_button,
body.single-product div.product .summary form.cart .sw-buy-now-button {
  flex: 1 1 calc(50% - 6px) !important; min-height: 54px; border-radius: 8px !important; letter-spacing: .06em;
}
body.single-product div.product .summary form.cart .single_add_to_cart_button {
  background: #fff !important; color: #d32738 !important; border: 2px solid #ed3443 !important;
}
body.single-product div.product .summary form.cart .single_add_to_cart_button:hover { background: #fff1f2 !important; }
body.single-product div.product .summary form.cart .sw-buy-now-button {
  background: #ed3443 !important; color: #fff !important; border: 2px solid #ed3443 !important;
  box-shadow: 0 8px 18px rgba(237, 52, 67, .28);
}
body.single-product div.product .summary form.cart .sw-buy-now-button:hover { background: #cf2634 !important; border-color: #cf2634 !important; }

/* enquiry box (products without a price) */
body.single-product .sw-purchase-enquiry { padding: 18px 20px !important; border-radius: 12px !important; background: #fafbfd !important; }
body.single-product .sw-purchase-enquiry-button { background: #ed3443 !important; border-radius: 8px !important; padding: 13px 22px !important; }

/* trust tiles */
.sw-pp-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0 0; }
.sw-pp-trust > * {
  display: block; padding: 12px; border: 1px solid #e3e8f0; border-radius: 10px; background: #fff;
  text-align: center; text-decoration: none !important; color: #3d4a5c !important; line-height: 1.35;
}
.sw-pp-trust > a:hover { border-color: #cfd8e6; box-shadow: 0 6px 16px rgba(16, 43, 80, .08); }
.sw-pp-trust span { display: block; font-size: 20px; margin-bottom: 4px; }
.sw-pp-trust b { display: block; font-size: 13px; color: #172337; }
.sw-pp-trust small { display: block; font-size: 11.5px; color: #667085; }

@media (max-width: 767px) {
  body.single-product .site-content .ast-container,
  body.single-product .content-area .ast-container { padding: 0 12px !important; }
  body.single-product div.product .summary p.price { font-size: 27px !important; }
  body.single-product div.product .summary form.cart .sw-pp-stock { flex-basis: 30%; font-size: 12.5px; }
  .sw-pp-trust { grid-template-columns: 1fr; }
  .sw-pp-trust > * { display: grid; grid-template-columns: 30px 1fr; column-gap: 8px; text-align: left; align-items: center; }
  .sw-pp-trust span { grid-row: span 2; margin: 0; }
}

/* ---- shop / category page: sidebar + grid --------------------------------- */
.sw-shop-layout {
  display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 34px; align-items: start;
  max-width: 1320px; margin: 18px auto 40px; padding: 0 20px; box-sizing: border-box; clear: both;
}
.sw-shop-main { min-width: 0; }
.sw-shop-main::after { content: ""; display: table; clear: both; }
.woocommerce .sw-shop-main .woocommerce-result-count,
.woocommerce .sw-shop-main .woocommerce-ordering,
.woocommerce .sw-shop-main ul.products { max-width: none; margin-left: 0 !important; margin-right: 0 !important; }
.woocommerce .sw-shop-main .woocommerce-result-count { float: left; margin: 0 0 18px !important; padding: 11px 0; font-size: 13px; color: #667085; }
.woocommerce .sw-shop-main .woocommerce-ordering { float: right; margin: 0 0 18px !important; }
.woocommerce .sw-shop-main .woocommerce-ordering select {
  min-height: 44px; padding: 0 34px 0 14px; border: 1px solid #cdd6e3; border-radius: 6px; background-color: #fff; font-size: 13.5px;
}
.woocommerce .sw-shop-main ul.products {
  clear: both; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 20px !important;
  padding: 18px 0 0 !important; border-top: 1px solid #e3e8f0;
}

/* filter sidebar */
.sw-shop-filters { position: sticky; top: 16px; font-size: 14px; color: #3d4a5c; }
.sw-filter-toggle { display: none; }
.sw-filter-group { margin: 0 0 26px; }
.sw-filter-title {
  margin: 0 0 14px !important; padding: 0 0 10px; border-bottom: 2px solid #172337;
  font-size: 13.5px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #172337 !important;
}
.sw-filter-cats { list-style: none; margin: 0; padding: 0; }
.sw-filter-cats li { margin: 0 0 9px; }
.sw-filter-cats a { color: #3d4a5c; text-decoration: none; }
.sw-filter-cats a:hover { color: #d32738; }
.sw-filter-cats span { color: #8a94a6; font-size: 12.5px; }
.sw-filter-option { display: flex; align-items: center; gap: 9px; margin: 0 0 10px; cursor: pointer; }
.sw-filter-option input { width: 16px; height: 16px; margin: 0; accent-color: #ed3443; }
.sw-filter-price { display: flex; align-items: center; gap: 8px; }
.sw-filter-price label { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 4px; padding: 0 9px; border: 1px solid #cdd6e3; border-radius: 6px; background: #fff; }
.sw-filter-price input { width: 100%; min-width: 0; height: 42px; padding: 0 !important; border: 0 !important; box-shadow: none !important; background: transparent !important; font-size: 14px; text-align: right; }
.sw-filter-to { color: #667085; font-size: 13px; }
.sw-filter-apply {
  display: block; width: 100%; min-height: 44px; margin: 0; border: 1.5px solid #ed3443; border-radius: 6px;
  background: #fff; color: #d32738; font-size: 13.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
}
.sw-filter-apply:hover { background: #ed3443; color: #fff; }
.sw-filter-clear { display: inline-block; margin-top: 12px; font-size: 13px; color: #667085; }
.sw-filter-empty { text-align: center; margin: 16px 0 40px; }

/* product cards on shop / category pages */
.woocommerce .sw-shop-main ul.products li.product {
  position: relative; display: flex !important; flex-direction: column; padding: 10px 10px 12px !important;
  border: 0 !important; border-radius: 12px !important; background: #f4f7fc; box-shadow: none !important;
  text-align: center; transition: box-shadow .2s ease, transform .2s ease;
}
.woocommerce .sw-shop-main ul.products li.product:hover { box-shadow: 0 10px 26px rgba(16, 43, 80, .13) !important; transform: translateY(-2px); }
.woocommerce .sw-shop-main ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1 1 auto; text-decoration: none !important; }
.woocommerce .sw-shop-main ul.products li.product a img {
  width: 100% !important; aspect-ratio: 1 / 1; object-fit: contain; margin: 0 0 12px !important;
  border-radius: 9px; background: #fff;
}
.woocommerce .sw-shop-main ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 2.8em;
  margin: 0 0 6px !important; padding: 0 4px !important; font-size: 14.5px !important; font-weight: 500 !important;
  line-height: 1.4 !important; color: #172337 !important;
}
.woocommerce .sw-shop-main ul.products li.product .price {
  display: block; margin: auto 0 0 !important; font-size: 16px !important; font-weight: 700 !important; color: #172337 !important;
}
.woocommerce .sw-shop-main ul.products li.product .price del { font-size: 13px; font-weight: 400; color: #8a94a6; }
.woocommerce .sw-shop-main ul.products li.product .price ins { text-decoration: none; background: none; }
.woocommerce .sw-shop-main ul.products li.product .button {
  display: block !important; width: 100% !important; margin: 12px 0 0 !important; padding: 12px 8px !important;
  border: 1.5px solid #ed3443 !important; border-radius: 6px !important; background: #fff !important; color: #d32738 !important;
  font-size: 13px !important; font-weight: 700 !important; letter-spacing: .1em; text-transform: uppercase;
  text-align: center; white-space: normal; line-height: 1.3 !important; text-decoration: none !important; transition: background .15s, color .15s;
}
.woocommerce .sw-shop-main ul.products li.product .button:hover { background: #ed3443 !important; color: #fff !important; }
.woocommerce .sw-shop-main ul.products li.product .added_to_cart { display: block; margin-top: 8px; font-size: 12px; }
.woocommerce .sw-shop-main ul.products li.product .sw-wishlist-loop { position: absolute; top: 16px; right: 16px; z-index: 3; margin: 0; }
.woocommerce .sw-shop-main ul.products li.product .sw-wishlist-button { width: 34px; height: 34px; font-size: 17px; box-shadow: 0 2px 8px rgba(16, 43, 80, .14); }
.woocommerce .sw-shop-main ul.products li.product span.onsale {
  position: absolute !important; top: 16px; left: 16px; right: auto; z-index: 3; margin: 0 !important; min-width: 0; min-height: 0;
  padding: 5px 9px; border-radius: 5px; background: #ed3443; color: #fff; font-size: 11px; line-height: 1;
}
.woocommerce .sw-shop-main nav.woocommerce-pagination { margin: 28px 0 0; text-align: center; }

@media (max-width: 1200px) {
  .sw-shop-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 24px; }
  .woocommerce .sw-shop-main ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 16px !important; }
}
@media (max-width: 900px) {
  .sw-shop-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 0 12px; margin-top: 10px; }
  .sw-shop-filters { position: static; }
  .sw-filter-toggle {
    display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 46px; padding: 0 14px;
    border: 1px solid #cdd6e3; border-radius: 8px; background: #fff; color: #172337;
    font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
  }
  .sw-filter-toggle::after { content: "+"; font-size: 20px; font-weight: 400; }
  .sw-shop-filters.is-open .sw-filter-toggle::after { content: "−"; }
  .sw-filter-panel { display: none; padding: 16px 2px 4px; }
  .sw-shop-filters.is-open .sw-filter-panel { display: block; }
  .sw-filter-group { margin-bottom: 20px; }
}
@media (max-width: 767px) {
  .woocommerce .sw-shop-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  .woocommerce .sw-shop-main ul.products li.product { padding: 7px 7px 9px !important; }
  .woocommerce .sw-shop-main ul.products li.product .woocommerce-loop-product__title { font-size: 12.5px !important; }
  .woocommerce .sw-shop-main ul.products li.product .price { font-size: 14px !important; }
  .woocommerce .sw-shop-main ul.products li.product .button { font-size: 11px !important; padding: 10px 4px !important; letter-spacing: .06em; }
  .woocommerce .sw-shop-main .woocommerce-result-count,
  .woocommerce .sw-shop-main .woocommerce-ordering { float: none; display: block; margin-bottom: 10px !important; }
  .woocommerce .sw-shop-main .woocommerce-ordering select { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .woocommerce .sw-shop-main ul.products li.product { transition: none; }
  .woocommerce .sw-shop-main ul.products li.product:hover { transform: none; }
}


/* =========================================================================
   v3.0 — Help chat (chat bot) opened from the floating WhatsApp button
   ========================================================================= */
.sw-bot[hidden]{display:none!important}
.sw-bot{position:fixed!important;right:20px;bottom:144px;z-index:100001!important;width:360px;max-width:calc(100vw - 24px);max-height:min(580px,calc(100vh - 170px));display:flex;flex-direction:column;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 18px 50px rgba(15,23,42,.28),0 2px 8px rgba(15,23,42,.12);font-family:inherit;color:#1f2937;animation:sw-bot-in .18s ease-out}
@keyframes sw-bot-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.sw-bot{animation:none}}
.sw-bot-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;background:#075e54;color:#fff}
.sw-bot-head-text{display:flex;flex-direction:column;min-width:0}
.sw-bot-head-text strong{font-size:15px;line-height:1.3;font-weight:700;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sw-bot-head-text span{font-size:12px;line-height:1.4;color:#d1f4e6}
.sw-bot .sw-bot-close{flex:0 0 auto;width:32px!important;height:32px!important;min-height:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:rgba(255,255,255,.16)!important;color:#fff!important;font-size:22px!important;line-height:1!important;cursor:pointer;box-shadow:none!important}
.sw-bot .sw-bot-close:hover,.sw-bot .sw-bot-close:focus-visible{background:rgba(255,255,255,.3)!important}
.sw-bot-log{flex:1 1 auto;min-height:110px;overflow-y:auto;padding:14px 14px 6px;background:#f3f1ec;display:flex;flex-direction:column;gap:8px;position:relative}
.sw-bot-msg{max-width:86%;padding:9px 12px;border-radius:14px;font-size:14px;line-height:1.5;white-space:pre-line;overflow-wrap:anywhere}
.sw-bot-msg-bot{align-self:flex-start;background:#fff;color:#1f2937;border-top-left-radius:4px;box-shadow:0 1px 1px rgba(15,23,42,.08)}
.sw-bot-msg-user{align-self:flex-end;background:#d9fdd3;color:#12261f;border-top-right-radius:4px}
.sw-bot-msg a{color:#075e54!important;font-weight:600;text-decoration:underline!important}
.sw-bot-typing{letter-spacing:3px;color:#6b7280}
.sw-bot-chips{flex:0 0 auto;display:flex;flex-wrap:wrap;gap:6px;padding:10px 14px;background:#f3f1ec;border-top:1px solid #e5e1d8;max-height:132px;overflow-y:auto}
.sw-bot-chips[hidden]{display:none!important}
.sw-bot .sw-bot-chip{border:1px solid #0b7a5f!important;background:#fff!important;color:#075e54!important;border-radius:999px!important;padding:6px 12px!important;min-height:0!important;font-size:13px!important;line-height:1.35!important;font-weight:600!important;text-align:left;cursor:pointer;box-shadow:none!important;text-transform:none!important;letter-spacing:0!important}
.sw-bot .sw-bot-chip:hover,.sw-bot .sw-bot-chip:focus-visible{background:#075e54!important;color:#fff!important}
.sw-bot-foot{flex:0 0 auto;padding:12px 14px 10px;background:#fff;border-top:1px solid #e5e7eb}
.sw-bot a.sw-bot-wa{display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:8px 14px;border-radius:10px;background:#0b7a5f;color:#fff!important;font-size:14px;font-weight:700;text-decoration:none!important}
.sw-bot a.sw-bot-wa:hover,.sw-bot a.sw-bot-wa:focus-visible{background:#075e54}
.sw-bot-form{display:flex;gap:8px;margin:10px 0 0}
.sw-bot .sw-bot-input{flex:1 1 auto;min-width:0;height:40px!important;padding:0 12px!important;border:1px solid #cbd5e1!important;border-radius:10px!important;background:#fff!important;color:#1f2937!important;font-size:14px!important;box-shadow:none!important}
.sw-bot .sw-bot-input:focus{border-color:#0b7a5f!important;outline:2px solid rgba(11,122,95,.25)!important;outline-offset:0}
.sw-bot .sw-bot-send{flex:0 0 auto;height:40px!important;min-height:0!important;padding:0 16px!important;border:0!important;border-radius:10px!important;background:#1f2937!important;color:#fff!important;font-size:14px!important;font-weight:700!important;cursor:pointer;box-shadow:none!important;text-transform:none!important;letter-spacing:0!important}
.sw-bot .sw-bot-send:hover,.sw-bot .sw-bot-send:focus-visible{background:#111827!important}
.sw-bot-note{margin:6px 0 0!important;font-size:11.5px;line-height:1.4;color:#6b7280;text-align:center}
@media (max-width:767px){
  .sw-bot{left:10px;right:10px;bottom:130px;width:auto;max-width:none;max-height:calc(100vh - 160px)}
  .sw-bot .sw-bot-input{font-size:16px!important}
}


/* =========================================================================
   v3.1 — Login / register page and "log in before you order" notice
   ========================================================================= */
.sw-login-needed{max-width:1240px;margin:0 auto 20px;padding:14px 18px;border-radius:10px;border:1px solid #f3c96b;border-left:5px solid #d97706;background:#fff8e6;color:#5b3a00;font-size:15px;line-height:1.5;font-weight:600}
.woocommerce-account .woocommerce-form-register .sw-register-hint{margin:2px 0 14px!important;font-size:13px;line-height:1.5;color:#5b6472}
.woocommerce-account .woocommerce-form-register .woocommerce-password-strength{margin-top:6px;font-size:13px;border-radius:6px}
.woocommerce-account .woocommerce-form-register .woocommerce-password-hint{display:block;font-size:12.5px;line-height:1.5;color:#5b6472}

/* ==========================================================================
   Final storefront polish
   ========================================================================== */
:root {
  --sw-blue: #163b70;
  --sw-blue-dark: #102a50;
  --sw-red: #e33b45;
  --sw-yellow: #ffd447;
  --sw-line: #e7ebf2;
  --sw-bg: #f5f7fb;
}

body {
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.sw-topline {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 20px;
  letter-spacing: .01em;
}

.sw-header {
  border-bottom: 1px solid #edf0f5;
  box-shadow: 0 5px 18px rgba(16, 43, 80, .055);
}

.sw-header-main {
  max-width: 1380px;
  min-height: 78px;
}

.sw-search {
  border-color: #dfe5ed;
  background: #f8fafc;
  border-radius: 8px;
  box-shadow: inset 0 1px 2px rgba(16, 43, 80, .025);
}

.sw-search-btn,
.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button {
  border-radius: 8px;
}

.sw-nav {
  min-height: 46px;
  border-top: 1px solid #f1f3f7;
}

.sw-nav-link {
  padding: 0 14px;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: .01em;
}

.sw-home .sw-hero-carousel {
  margin-bottom: 26px;
  box-shadow: 0 10px 30px rgba(16, 43, 80, .10);
}

.sw-home .sw-hero-slide {
  min-height: clamp(400px, 31vw, 520px);
}

.sw-home .sw-hero-slide::after {
  content: "";
  display: none;
}

.sw-home .sw-hero-slide h1 {
  letter-spacing: -.035em;
  text-wrap: balance;
}

.sw-home .sw-hero-slide p {
  max-width: 560px;
  font-size: 17px;
  color: inherit;
}

.sw-home .sw-hero-slide .sw-kicker {
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(16, 43, 80, .08);
}

.sw-home .sw-carousel-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(16, 43, 80, .08);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 4px 14px rgba(16, 43, 80, .16);
}

.sw-home > .sw-circles-section {
  margin-top: 24px;
  margin-bottom: 28px;
}

.sw-circles {
  gap: 18px 34px;
}

.sw-circle-img {
  width: 86px;
  height: 86px;
  border: 1px solid rgba(16, 43, 80, .06);
  box-shadow: 0 5px 16px rgba(16, 43, 80, .06);
}

.sw-circle-name {
  max-width: 104px;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: .01em;
  line-height: 1.35;
  text-transform: none;
}

.sw-home .sw-section {
  margin-top: 34px;
  margin-bottom: 34px;
}

.sw-section-head {
  align-items: center;
  margin-bottom: 16px;
}

.sw-section-head h2,
.sw-section-centered .sw-section-head h2 {
  font-weight: 800;
  letter-spacing: -.025em;
  color: #173d72;
}

.sw-section-head p {
  font-size: 14px;
  line-height: 1.5;
}

.woocommerce ul.products {
  gap: 16px !important;
}

.woocommerce ul.products li.product {
  border-radius: 12px !important;
  border: 1px solid #e8edf4 !important;
  box-shadow: 0 3px 14px rgba(16, 43, 80, .055) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-3px);
  border-color: #d9e1ec !important;
  box-shadow: 0 10px 24px rgba(16, 43, 80, .10) !important;
}

.woocommerce ul.products li.product a img {
  border: 1px solid #f0f3f7;
  border-radius: 9px;
  background: #fff;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 39px;
  font-weight: 650;
}

.woocommerce ul.products li.product .price {
  color: #163b70 !important;
  font-weight: 800;
}

.sw-benefit {
  border: 1px solid #edf1f6;
  background: #f9fbfd;
}

.sw-footer {
  background: #102a50;
  border-top: 4px solid #ed3443;
}

@media (min-width: 768px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  .sw-topline {
    display: none;
  }

  .sw-header-main {
    min-height: 112px;
  }

  .sw-header-main > .sw-search {
    height: 42px;
  }

  .sw-nav {
    display: none;
  }

  .sw-home .sw-hero-carousel {
    width: 100%;
    margin: 10px 0 20px !important;
    border-radius: 0;
    box-shadow: none;
  }

  .sw-home .sw-hero-slide {
    min-height: 360px;
  }

  .sw-home .sw-hero-slide .sw-hero-copy {
    padding: 30px 20px 52px;
  }

  .sw-home .sw-hero-slide h1 {
    max-width: 92%;
    margin: 14px 0 10px;
    font-size: clamp(28px, 8.5vw, 38px);
  }

  .sw-home .sw-hero-slide p {
    max-width: 94%;
    font-size: 14.5px;
    line-height: 1.55;
  }

  .sw-home .sw-hero-actions {
    margin-top: 18px;
  }

  .sw-home .sw-hero-actions .sw-btn {
    min-height: 44px;
    padding: 12px 16px;
    font-size: 13px;
  }

  .sw-home .sw-carousel-arrow {
    display: none;
  }

  .sw-home > .sw-circles-section {
    margin-top: 12px;
    margin-bottom: 18px;
  }

  .sw-circles {
    gap: 12px;
    padding: 4px 12px 10px;
  }

  .sw-circle {
    flex-basis: 70px;
    width: 70px;
  }

  .sw-circle-img {
    width: 62px;
    height: 62px;
  }

  .sw-circle-name {
    max-width: 72px;
    font-size: 10.5px;
  }

  .sw-home .sw-section {
    margin-top: 24px;
    margin-bottom: 24px;
  }

  .sw-section-head {
    margin-bottom: 12px;
  }

  .sw-section-head h2,
  .sw-section-centered .sw-section-head h2 {
    font-size: 21px !important;
  }

  .sw-section-head p {
    font-size: 12.5px;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .woocommerce ul.products li.product {
    padding: 8px !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 36px;
    font-size: 12.5px;
  }

  .woocommerce ul.products li.product .price {
    font-size: 14.5px;
  }

  .sw-benefits {
    grid-template-columns: 1fr;
  }
}