/*
Theme Name: Stationery World Astra Child
Theme URI: https://stationeryworld.co.in/
Description: Stationery ecommerce child theme for Astra and WooCommerce - mega-menu header, product cards with cart shortcut on the image corner, reliable wishlist, and a full homepage.
Author: Stationery World
Template: astra
Version: 4.2.0
Text Domain: stationery-world
*/

:root {
  --sw-primary: #12305f;
  --sw-primary-2: #1d4f9c;
  --sw-accent: #e63946;
  --sw-gold: #f4b63f;
  --sw-ink: #1b2433;
  --sw-muted: #6b7587;
  --sw-line: #e6e9ef;
  --sw-bg: #ffffff;
  --sw-alt: #f5f7fb;
  --sw-radius: 12px;
  --sw-shadow: 0 6px 22px rgba(18, 48, 95, .10);
  --sw-font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.stationery-world-site { margin: 0; font-family: var(--sw-font); color: var(--sw-ink); background: var(--sw-bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.sw-lock { overflow: hidden; }
.stationery-world-site img { max-width: 100%; height: auto; display: block; }
.stationery-world-site a { color: inherit; text-decoration: none; }
.stationery-world-site h1, .stationery-world-site h2, .stationery-world-site h3, .stationery-world-site h4 { font-family: var(--sw-font); color: var(--sw-primary); margin: 0; line-height: 1.25; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.sw-skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 14px; z-index: 9999; }
.sw-skip:focus { left: 8px; top: 8px; }
.sw-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.sw-narrow { max-width: 900px; }
.sw-section { padding: 48px 0; }
.sw-alt { background: var(--sw-alt); }
.sw-center { text-align: center; justify-content: center !important; }
.sw-main { min-height: 50vh; }

/* Buttons */
.sw-btn, .stationery-world-site .sw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--sw-primary); color: #fff !important; border: 2px solid var(--sw-primary); border-radius: 999px; padding: 10px 24px; font: 600 14px/1.2 var(--sw-font); cursor: pointer; transition: background .2s, color .2s, transform .15s; }
.sw-btn:hover { background: var(--sw-accent); border-color: var(--sw-accent); transform: translateY(-1px); }
.sw-btn-ghost, .stationery-world-site .sw-btn-ghost { background: transparent; border-color: #fff; color: #fff !important; }
.sw-btn-ghost:hover { background: #fff; color: var(--sw-primary) !important; border-color: #fff; }

/* Scrolling marquee (top of site) */
.sw-marquee { background: var(--sw-accent); color: #fff; font-size: 13.5px; font-weight: 500; height: 38px; overflow: hidden; display: flex; align-items: center; }
.sw-marquee-track { display: flex; width: max-content; animation: sw-marquee 32s linear infinite; }
.sw-marquee:hover .sw-marquee-track { animation-play-state: paused; }
.sw-marquee-group { display: flex; flex-shrink: 0; align-items: center; justify-content: space-around; min-width: 100vw; }
.sw-marquee-group span { white-space: nowrap; padding: 0 28px; position: relative; }
.sw-marquee-group span::after { content: '✦'; position: absolute; right: -6px; top: 50%; transform: translateY(-50%); font-size: 10px; opacity: .8; }
@keyframes sw-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Header */
.sw-header { background: #fff; position: sticky; top: 0; z-index: 900; box-shadow: 0 1px 0 var(--sw-line); }
.sw-service { background: var(--sw-primary); color: #dbe6fa; font-size: 12.5px; }
.sw-service-inner { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 16px; }
.sw-service a { color: #fff; font-weight: 600; margin-left: 6px; }
.sw-service-links a { margin: 0 0 0 18px; font-weight: 500; color: #dbe6fa; }
.sw-service-links a:hover { color: #fff; }
.sw-mainbar-inner { display: grid; grid-template-columns: auto minmax(220px, 1fr) auto; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.sw-menu-toggle { display: none; }
.sw-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 22px; color: var(--sw-primary); }
.sw-logo-img { max-height: 54px; width: auto; }
.sw-logo-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--sw-primary); color: #fff; font-weight: 700; font-size: 22px; }
.sw-logo-text { letter-spacing: .3px; }
.sw-logo-light, .sw-logo-light .sw-logo-text { color: #fff; }
.sw-logo-light .sw-logo-mark { background: #fff; color: var(--sw-primary); }

.sw-search { position: relative; max-width: 620px; width: 100%; justify-self: center; }
.sw-search form { display: flex; border: 2px solid var(--sw-line); border-radius: 999px; overflow: hidden; background: #fff; transition: border-color .2s, box-shadow .2s; }
.sw-search.is-focus form, .sw-search form:focus-within { border-color: var(--sw-primary-2); box-shadow: 0 0 0 4px rgba(29,79,156,.10); }
.sw-search input[type="search"] { flex: 1; border: 0; outline: 0; padding: 11px 18px; font: 400 14px var(--sw-font); background: transparent; min-width: 0; box-shadow: none; }
.sw-search button { border: 0; background: var(--sw-primary); color: #fff; width: 52px; cursor: pointer; display: grid; place-items: center; }
.sw-search button:hover { background: var(--sw-accent); }
.sw-search-panel { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--sw-line); border-radius: var(--sw-radius); box-shadow: var(--sw-shadow); padding: 16px 18px; z-index: 50; }
.sw-search.is-focus .sw-search-panel { display: block; }
.sw-search-panel strong { font-size: 13px; color: var(--sw-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .6px; }
.sw-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sw-chips a { background: var(--sw-alt); border-radius: 999px; padding: 5px 14px; font-size: 13px; }
.sw-chips a:hover { background: var(--sw-primary); color: #fff; }

.sw-icons { display: flex; align-items: center; gap: 6px; }
.sw-icon-link { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 12px; color: var(--sw-primary); font-size: 11.5px; font-weight: 500; }
.sw-icon-link:hover { color: var(--sw-accent); }
.sw-badge-count, .sw-cart-count { position: absolute; top: -4px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--sw-accent); color: #fff; font: 700 11px/18px var(--sw-font); text-align: center; }
.sw-badge-count.is-empty { display: none; }

/* Navigation + mega menu */
.sw-nav { border-top: 1px solid var(--sw-line); background: #fff; position: relative; }
.sw-nav-inner { position: static; }
.sw-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; gap: 2px; overflow: visible; }
.sw-menu > li { position: static; }
.sw-menu > li > a { display: block; padding: 13px 14px; font-size: 13px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: var(--sw-primary); white-space: nowrap; border-bottom: 3px solid transparent; }
.sw-menu > li:hover > a, .sw-menu > li:focus-within > a { color: var(--sw-accent); border-bottom-color: var(--sw-accent); }
.sw-mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--sw-line); box-shadow: 0 18px 30px rgba(18,48,95,.12); z-index: 60; max-height: 70vh; overflow-y: auto; }
.sw-menu > li:hover > .sw-mega, .sw-menu > li:focus-within > .sw-mega { display: block; }
.sw-mega-inner { max-width: 1280px; margin: 0 auto; padding: 26px 20px 30px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px 32px; }
.sw-mega-title { display: block; font-weight: 700; color: var(--sw-primary); margin-bottom: 8px; padding-bottom: 6px; border-bottom: 2px solid var(--sw-gold); font-size: 14px; }
.sw-mega-col ul { list-style: none; margin: 0; padding: 0; }
.sw-mega-col li a { display: block; padding: 3px 0; font-size: 13.5px; color: #3b475d; }
.sw-mega-col li a:hover { color: var(--sw-accent); padding-left: 4px; }
/* WordPress-menu based dropdown (when a custom menu is assigned) */
.sw-menu .sub-menu { list-style: none; margin: 0; padding: 8px 0; display: none; background: #fff; box-shadow: var(--sw-shadow); border-radius: 0 0 var(--sw-radius) var(--sw-radius); min-width: 230px; position: absolute; z-index: 60; }
.sw-menu:not(.sw-menu-auto) > li { position: relative; }
.sw-menu > li:hover > .sub-menu, .sw-menu > li:focus-within > .sub-menu { display: block; }
.sw-menu .sub-menu a { display: block; padding: 7px 18px; font-size: 13.5px; }
.sw-menu .sub-menu a:hover { color: var(--sw-accent); background: var(--sw-alt); }
.sw-menu .sub-menu .sub-menu { position: static; display: block; box-shadow: none; padding: 0 0 0 12px; min-width: 0; }
.sw-menu > li:has(> .sub-menu .sub-menu) { position: static; }
.sw-menu > li:has(> .sub-menu .sub-menu) > .sub-menu { left: 0; right: 0; max-width: 1280px; margin: 0 auto; padding: 22px 20px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px 28px; }
.sw-menu > li:has(> .sub-menu .sub-menu):hover > .sub-menu { display: grid; }
.sw-menu > li:has(> .sub-menu .sub-menu) > .sub-menu > li > a { font-weight: 700; color: var(--sw-primary); border-bottom: 2px solid var(--sw-gold); }
.sw-nav-overlay { display: none; }

/* Hero */
.sw-hero { position: relative; overflow: hidden; background: var(--sw-primary); }
.sw-hero-track { position: relative; min-height: clamp(280px, 38vw, 520px); }
.sw-slide { position: absolute; inset: 0; background: linear-gradient(120deg, var(--sw-primary), var(--sw-primary-2)); background-size: cover; background-position: center; opacity: 0; visibility: hidden; transition: opacity .7s; display: flex; align-items: center; }
.sw-slide.is-active { opacity: 1; visibility: visible; position: relative; min-height: clamp(280px, 38vw, 520px); }
.sw-slide-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,25,55,.78) 0%, rgba(10,25,55,.35) 55%, rgba(10,25,55,0) 100%); }
.sw-slide-inner { position: relative; }
.sw-slide-copy { max-width: 560px; color: #fff; padding: 30px 0; }
.sw-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--sw-gold); margin-bottom: 10px; }
.sw-slide-copy h2 { color: #fff !important; font-size: clamp(28px, 4.4vw, 52px); font-weight: 700; margin-bottom: 12px; }
.sw-slide-copy p { font-size: clamp(14px, 1.5vw, 18px); margin: 0 0 22px; color: #e6eefc; }
.sw-slide-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.sw-slide-copy .sw-btn:not(.sw-btn-ghost) { background: var(--sw-accent); border-color: var(--sw-accent); }
.sw-slide-copy .sw-btn:not(.sw-btn-ghost):hover { background: #fff; color: var(--sw-primary) !important; border-color: #fff; }
.sw-carousel-prev, .sw-carousel-next { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--sw-primary); font-size: 26px; line-height: 1; cursor: pointer; z-index: 5; box-shadow: var(--sw-shadow); }
.sw-carousel-prev { left: 16px; } .sw-carousel-next { right: 16px; }
.sw-carousel-prev:hover, .sw-carousel-next:hover { background: var(--sw-accent); color: #fff; }
.sw-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 5; }
.sw-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.55); padding: 0; cursor: pointer; }
.sw-dots button.is-active { background: #fff; width: 26px; border-radius: 6px; }

/* Category circles */
.sw-cat-strip { padding: 34px 0 10px; }
.sw-cat-row { display: flex; gap: 22px; overflow-x: auto; padding: 6px 4px 14px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.sw-cat-circle { flex: 0 0 110px; text-align: center; scroll-snap-align: start; }
.sw-cat-img { display: grid; place-items: center; width: 100px; height: 100px; margin: 0 auto 10px; border-radius: 50%; overflow: hidden; background: var(--sw-alt); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--sw-line); transition: box-shadow .2s, transform .2s; }
.sw-cat-circle:hover .sw-cat-img { box-shadow: 0 0 0 3px var(--sw-accent); transform: translateY(-3px); }
.sw-cat-img img { width: 100%; height: 100%; object-fit: cover; }
.sw-cat-fallback { font-size: 36px; font-weight: 700; color: var(--sw-primary-2); }
.sw-cat-name { font-size: 12.5px; font-weight: 600; color: var(--sw-ink); display: block; line-height: 1.3; }

/* Trust strip */
.sw-trust { background: var(--sw-alt); border-block: 1px solid var(--sw-line); padding: 26px 0; }
.sw-trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; text-align: center; }
.sw-trust-grid > div { display: flex; flex-direction: column; gap: 2px; align-items: center; }
.sw-trust-ico { font-size: 28px; line-height: 1.2; }
.sw-trust-grid b { font-size: 14px; color: var(--sw-primary); }
.sw-trust-grid small { color: var(--sw-muted); font-size: 12px; }

/* Section heads */
.sw-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.sw-section-head h2 { font-size: clamp(22px, 2.6vw, 30px); position: relative; padding-bottom: 10px; }
.sw-section-head h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: var(--sw-accent); border-radius: 2px; }
.sw-center h2::after { left: 50%; transform: translateX(-50%); }
.sw-section-head a { font-weight: 600; font-size: 14px; color: var(--sw-primary-2); }
.sw-section-head a:hover { color: var(--sw-accent); }
.sw-page-title { font-size: clamp(26px, 3vw, 34px); margin-bottom: 24px !important; }
.sw-empty { color: var(--sw-muted); text-align: center; padding: 30px; background: var(--sw-alt); border-radius: var(--sw-radius); }

/* Product grids */
.sw-products, .stationery-world-site .woocommerce ul.products, .stationery-world-site ul.products {
  display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; list-style: none; margin: 0 0 28px !important; padding: 0 !important; width: 100%;
}
.stationery-world-site ul.products::before, .stationery-world-site ul.products::after { display: none !important; }
.stationery-world-site ul.products li.product, .stationery-world-site ul.products li.sw-loop-item { width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; clear: none !important; }

/* Product card */
.sw-product { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--sw-line); border-radius: var(--sw-radius); overflow: hidden; transition: box-shadow .25s, transform .25s, border-color .25s; }
.sw-product:hover { box-shadow: var(--sw-shadow); transform: translateY(-3px); border-color: transparent; }
.sw-product-media { position: relative; background: var(--sw-alt); aspect-ratio: 1 / 1; overflow: hidden; }
.sw-product-image { display: block; width: 100%; height: 100%; }
.sw-product-image img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; transition: opacity .35s, transform .5s; margin: 0 !important; }
.sw-product-image .sw-img-hover { opacity: 0; }
.sw-product:hover .sw-img-hover { opacity: 1; }
.sw-product:hover .sw-img-main { transform: scale(1.04); }
.sw-product:hover .sw-img-hover ~ .sw-img-main, .sw-product-image:hover .sw-img-main { transform: none; }

/* Cart shortcut: top-right corner of the image */
.sw-quick-cart, .stationery-world-site a.sw-quick-cart { position: absolute; top: 10px; right: 10px; z-index: 4; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--sw-primary); box-shadow: 0 2px 10px rgba(18,48,95,.22); transition: background .2s, color .2s, transform .2s; padding: 0; border: 0; }
.sw-quick-cart:hover { background: var(--sw-accent); color: #fff; transform: scale(1.08); }
.sw-quick-cart.loading { pointer-events: none; opacity: .7; }
.sw-quick-cart.loading svg { animation: sw-pulse .8s infinite alternate; }
.sw-quick-cart.added { background: #1a9d5b; color: #fff; }
.sw-quick-cart.added_to_cart { display: none; }
/* WooCommerce injects a "View cart" link after AJAX add-to-cart; hide it inside cards */
.sw-product .added_to_cart { display: none !important; }
@keyframes sw-pulse { from { transform: scale(1); } to { transform: scale(.8); } }

/* Wishlist heart: top-left corner */
.sw-wishlist-button { cursor: pointer; border: 0; background: #fff; color: var(--sw-primary); display: grid; place-items: center; padding: 0; transition: background .2s, color .2s, transform .2s; }
.sw-card-heart { position: absolute; top: 10px; left: 10px; z-index: 4; width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 2px 10px rgba(18,48,95,.22); }
.sw-wishlist-button .sw-heart-path { fill: transparent; transition: fill .2s; }
.sw-wishlist-button:hover { color: var(--sw-accent); transform: scale(1.08); }
.sw-wishlist-button.is-saved { color: var(--sw-accent); }
.sw-wishlist-button.is-saved .sw-heart-path { fill: var(--sw-accent); }
.sw-badge { position: absolute; left: 10px; bottom: 10px; z-index: 3; background: var(--sw-accent); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }

.sw-product-info { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.sw-product-title { font-size: 15px !important; font-weight: 600; line-height: 1.35; }
.sw-product-title a:hover { color: var(--sw-accent); }
.sw-product-excerpt { margin: 0; font-size: 12.5px; color: var(--sw-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sw-price { font-weight: 700; color: var(--sw-ink); font-size: 15px; margin-top: auto; }
.sw-price del { color: var(--sw-muted); font-weight: 400; margin-right: 6px; }
.sw-price ins { text-decoration: none; color: var(--sw-accent); }
.sw-card-btn { margin-top: 8px; width: 100%; padding: 9px 14px !important; font-size: 13px !important; background: #fff; color: var(--sw-primary) !important; }
.sw-card-btn:hover { background: var(--sw-primary); color: #fff !important; border-color: var(--sw-primary); }
.sw-card-btn.loading { opacity: .6; pointer-events: none; }
.sw-card-btn.added::after { content: ' ✓'; }

/* Exclusive tiles */
.sw-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sw-tile { position: relative; display: block; border-radius: var(--sw-radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sw-primary); }
.sw-tile-img, .sw-tile-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sw-tile:hover img { transform: scale(1.07); }
.sw-tile .sw-cat-fallback { color: rgba(255,255,255,.35); font-size: 90px; display: grid; place-items: center; height: 100%; }
.sw-tile-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 16px; color: #fff; font-weight: 700; font-size: 17px; background: linear-gradient(0deg, rgba(10,25,55,.85), transparent); }

/* About */
.sw-about-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.sw-about h2 { font-size: clamp(26px, 3vw, 36px); margin: 4px 0 14px; }
.sw-about p { color: #4a5568; margin: 0 0 20px; font-size: 15.5px; }
.sw-about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sw-about-points div { background: var(--sw-alt); border-radius: var(--sw-radius); padding: 18px; font-weight: 600; font-size: 14px; color: var(--sw-primary); }
.sw-about-points b { color: var(--sw-accent); margin-right: 4px; }

/* Blog */
.sw-blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sw-blog-card { background: #fff; border: 1px solid var(--sw-line); border-radius: var(--sw-radius); overflow: hidden; }
.sw-blog-img { display: block; aspect-ratio: 16 / 10; background: var(--sw-alt); }
.sw-blog-img img { width: 100%; height: 100%; object-fit: cover; }
.sw-blog-body { padding: 14px 16px 18px; }
.sw-blog-body time { font-size: 12px; color: var(--sw-muted); }
.sw-blog-body h3 { font-size: 15px; margin-top: 6px; }
.sw-blog-body h3 a:hover { color: var(--sw-accent); }

/* Forms */
.sw-form-card { background: #fff; border: 1px solid var(--sw-line); border-radius: 16px; padding: 28px; box-shadow: var(--sw-shadow); }
.sw-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.sw-form-field.full { grid-column: 1 / -1; }
.sw-form-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.sw-form-field input, .sw-form-field select, .sw-form-field textarea { width: 100%; border: 1px solid #cfd6e2; border-radius: 10px; padding: 11px 14px; font: 400 14px var(--sw-font); background: #fff; }
.sw-form-field textarea { min-height: 120px; resize: vertical; }
.sw-form-field input:focus, .sw-form-field select:focus, .sw-form-field textarea:focus { outline: 0; border-color: var(--sw-primary-2); box-shadow: 0 0 0 3px rgba(29,79,156,.12); }
.sw-form-message { background: #e8f7ee; color: #14683b; padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-weight: 600; }
.sw-notice { background: #fff4e5; color: #8a4b00; padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; }

/* Wishlist page */
.sw-wishlist-page .sw-wishlist-empty { text-align: center; padding: 50px 20px; background: var(--sw-alt); border-radius: var(--sw-radius); }
.sw-wishlist-page .sw-wishlist-empty[hidden], .sw-wishlist-items[hidden] { display: none !important; }
.sw-wishlist-loading { grid-column: 1 / -1; color: var(--sw-muted); }
.sw-wishlist-single { display: inline-flex; align-items: center; gap: 10px; margin: 14px 0 0 0; font-size: 14px; font-weight: 600; }
.sw-single-heart { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--sw-line); }

/* WooCommerce pages inside the theme */
.sw-woo .woocommerce-breadcrumb { font-size: 13px; color: var(--sw-muted); margin-bottom: 18px; }
.sw-woo .woocommerce-products-header__title, .sw-woo h1.product_title { font-size: clamp(24px, 3vw, 32px); }
.sw-woo .woocommerce-ordering select, .sw-woo .woocommerce-result-count { font-size: 13px; }
.sw-woo .woocommerce-ordering select { border: 1px solid var(--sw-line); border-radius: 999px; padding: 8px 14px; }
.sw-woo .woocommerce div.product form.cart .button, .sw-woo .woocommerce #respond input#submit, .sw-woo .woocommerce a.button, .sw-woo .woocommerce button.button, .sw-woo .woocommerce input.button, .sw-woo .wc-block-components-button, .woocommerce .checkout-button { background: var(--sw-primary) !important; color: #fff !important; border-radius: 999px !important; font-weight: 600; padding: 12px 26px; border: 0; }
.sw-woo .woocommerce a.button:hover, .sw-woo .woocommerce button.button:hover, .sw-woo .woocommerce div.product form.cart .button:hover { background: var(--sw-accent) !important; }
.sw-woo div.product p.price, .sw-woo div.product span.price { color: var(--sw-accent); font-weight: 700; font-size: 24px; }
.sw-woo .woocommerce-tabs ul.tabs li.active a { color: var(--sw-primary); }
.sw-woo section.related > h2, .sw-woo section.upsells > h2 { font-size: 24px; margin: 36px 0 20px; }

/* Footer */
.sw-footer { background: #0d2547; color: #c7d3ea; margin-top: 0; }
.sw-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-top: 52px; padding-bottom: 40px; }
.sw-footer h4 { color: #fff !important; font-size: 15px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.sw-footer ul { list-style: none; margin: 0; padding: 0; }
.sw-footer li { margin-bottom: 9px; }
.sw-footer a:hover { color: #fff; text-decoration: underline; }
.sw-footer-brand p { margin: 14px 0 18px; font-size: 14px; max-width: 360px; }
.sw-newsletter { display: flex; max-width: 380px; border-radius: 999px; overflow: hidden; background: #fff; }
.sw-newsletter input[type="email"] { flex: 1; min-width: 0; border: 0; padding: 12px 18px; font: 14px var(--sw-font); outline: 0; }
.sw-newsletter button { border: 0; background: var(--sw-accent); color: #fff; font-weight: 600; padding: 0 22px; cursor: pointer; font-family: var(--sw-font); }
.sw-newsletter button:hover { background: var(--sw-gold); color: #1b2433; }
.sw-news-msg { font-weight: 600; color: var(--sw-gold) !important; }
.sw-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.sw-footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; padding-bottom: 16px; gap: 12px; flex-wrap: wrap; }
.sw-social { display: flex; gap: 10px; }
.sw-social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); }
.sw-social a:hover { background: var(--sw-accent); text-decoration: none; }

/* Floating WhatsApp, toast */
.sw-whatsapp { position: fixed; right: 18px; bottom: 18px; z-index: 950; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.sw-whatsapp:hover { transform: scale(1.08); }
.sw-toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); background: #1b2433; color: #fff; padding: 11px 22px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 1200; }
.sw-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Responsive */
@media (max-width: 1100px) {
  .sw-products, .stationery-world-site ul.products, .sw-blog-grid, .sw-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .sw-trust-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .sw-service-links { display: none; }
  .sw-mainbar-inner { grid-template-columns: auto 1fr auto; gap: 12px; }
  .sw-menu-toggle { display: grid; gap: 4px; width: 42px; height: 42px; border: 0; background: transparent; align-content: center; justify-items: center; cursor: pointer; order: -1; }
  .sw-menu-toggle span { display: block; width: 22px; height: 2px; background: var(--sw-primary); border-radius: 2px; }
  .sw-mainbar-inner { grid-template-areas: 'tog logo icons' 'search search search'; grid-template-columns: auto 1fr auto; }
  .sw-menu-toggle { grid-area: tog; } .sw-logo { grid-area: logo; } .sw-icons { grid-area: icons; } .sw-search { grid-area: search; max-width: none; }
  .sw-icon-label { display: none; }
  .sw-icon-link { padding: 4px 8px; }
  .sw-nav { position: fixed; top: 0; left: 0; bottom: 0; width: min(86vw, 340px); background: #fff; z-index: 1100; transform: translateX(-100%); transition: transform .3s; overflow-y: auto; border: 0; padding-top: 10px; }
  .sw-nav.is-open { transform: none; }
  .sw-nav-overlay { display: block; position: fixed; inset: 0; background: rgba(10,25,55,.5); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 1050; }
  .sw-nav-overlay.is-open { opacity: 1; pointer-events: auto; }
  .sw-nav-inner { padding: 0; }
  .sw-menu { flex-direction: column; gap: 0; }
  .sw-menu > li > a { border-bottom: 1px solid var(--sw-line); padding: 14px 20px; white-space: normal; }
  .sw-mega, .sw-menu .sub-menu { position: static; display: none !important; box-shadow: none; max-height: none; border: 0; padding: 0; }
  .sw-menu > li.is-expanded > .sw-mega, .sw-menu > li.is-expanded > .sub-menu { display: block !important; background: var(--sw-alt); }
  .sw-mega-inner { grid-template-columns: 1fr; padding: 12px 20px; gap: 14px; }
  .sw-menu > li:has(> .sub-menu .sub-menu) > .sub-menu { padding: 12px 20px; display: none; }
  .sw-menu > li.is-expanded:has(> .sub-menu .sub-menu) > .sub-menu { display: block !important; }
  .sw-menu > li.menu-item-has-children > a::after { content: '+'; float: right; font-weight: 700; }
  .sw-menu > li.is-expanded > a::after { content: '–'; }
  .sw-about-inner { grid-template-columns: 1fr; }
  .sw-footer-grid { grid-template-columns: 1fr 1fr; }
  .sw-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .sw-section { padding: 34px 0; }
  .sw-products, .stationery-world-site ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; }
  .sw-blog-grid, .sw-tiles { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .sw-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .sw-form-grid { grid-template-columns: 1fr; }
  .sw-product-info { padding: 10px 10px 14px; }
  .sw-product-excerpt { display: none; }
  .sw-product-title { font-size: 13.5px !important; }
  .sw-quick-cart, .sw-card-heart { width: 36px; height: 36px; top: 8px; }
  .sw-quick-cart { right: 8px; } .sw-card-heart { left: 8px; }
  .sw-slide-shade { background: rgba(10,25,55,.55); }
  .sw-carousel-prev, .sw-carousel-next { display: none; }
  .sw-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .sw-cat-circle { flex-basis: 88px; } .sw-cat-img { width: 80px; height: 80px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
