/* Shared components. Header (.s01), footer (.s90) and product card (.pc) are ported from the
   the main branch (css/01-header.css, css/90-footer.css, css/09-newly-added.css).
   Removed parts: delivery pill, membership pill, reminders, currency, wishlist, cart, account,
   app badges, journal, stats, payment strip, ratings, MRP and discount. */

/* ---------- Header + drawer menu ---------- */
.s01{position:fixed;top:0;left:0;right:0;z-index:100;background:#fff;font-family:var(--font)}
.s01 svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.s01-bar{height:56px;display:flex;align-items:center;padding:0 38px 0 40px;border-bottom:1px solid #e2e2e2;background:#fff;position:relative;z-index:3}
.s01-burger{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:#2e2d42;flex:none;transition:background .2s}
.s01-burger-ic{display:grid;gap:4px;width:18px}
.s01-burger-ic i{display:block;height:2px;border-radius:2px;background:#2e2d42}
.s01-burger-ic i:nth-child(2){width:14px}
.s01-burger-x{display:none}
.s01.is-open .s01-burger{background:#f1f5f9}
.s01.is-open .s01-burger-ic{display:none}
.s01.is-open .s01-burger-x{display:grid}
/* Text wordmark in place of the logo artwork. */
.s01-logo{display:flex;align-items:center;gap:5px;height:56px;padding:0 8px;flex:none;font:700 20px/1 var(--font);letter-spacing:-.4px;color:#2e2d42;white-space:nowrap}
.s01-logo em{font:300 22px/1 var(--hand);font-style:normal;letter-spacing:0;color:#dd2745}
.s01-search{position:relative;width:504px;height:36px;margin-left:142px;flex:none}
.s01-q{width:100%;height:36px;min-height:36px;border:1px solid #afafaf;border-radius:40px;padding:0 44px 0 16px;font:500 14px/20px var(--font);color:#2e2d42;background:#fff;outline:none}
.s01-q::placeholder{color:#757575}
.s01-q:focus{border-color:#2e2d42}
.s01-q::-webkit-search-cancel-button{display:none}
.s01-search button{position:absolute;right:6px;top:3px;width:30px;height:30px;min-height:30px;display:grid;place-items:center;color:#2e2d42}
.s01-right{display:flex;align-items:center;margin-left:auto}
.s01-ic{width:44px;height:44px;display:grid;place-items:center;color:#2e2d42;border-radius:50%;transition:background .2s}
.s01-ic:hover,.s01-burger:hover{background:#f1f5f9}
.s01-ic svg{width:24px;height:24px}
.s01-ic-find{display:none}
.s01-mtop{display:none}

/* Search results panel (product search over js/data.js). */
.s01-res{position:absolute;top:42px;left:0;right:0;max-height:60vh;overflow-y:auto;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:6px;box-shadow:0 6px 20px rgba(0,0,0,.08)}
.search-hit{display:flex;align-items:center;gap:12px;min-height:56px;padding:6px 8px;border-radius:8px;color:#2e2d42}
.search-hit:hover,.search-hit:focus-visible{background:#f8fafc}
.search-hit img{width:44px;height:44px;border-radius:4px;object-fit:cover;flex:none;background:#f4f1f1}
.search-hit__name{font:600 14px/20px var(--font)}
.search-hit__meta{font:400 12px/16px var(--font);color:#636363}
.search-empty{padding:10px 8px;font:400 14px/20px var(--font);color:#636363}

/* drawer, desktop */
.s01-backdrop{position:fixed;inset:56px 0 0;z-index:1}
.s01-drawer{position:fixed;top:56px;left:0;z-index:2;display:none}
.s01.is-open .s01-drawer{display:flex;animation:s01fade .2s ease-out}
@keyframes s01fade{from{opacity:0}}
.s01-panel{width:312px;max-height:calc(100vh - 56px);overflow-y:auto;background:#fff;border-radius:0 0 16px 0;padding:16px 16px 20px;box-shadow:2px 6px 16px rgba(0,0,0,.06)}
.s01-top{border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}
.s01-top-h{display:flex;align-items:center;justify-content:space-between;height:52px;padding:0 12px;background:#f8fafc;font:600 16px/22px var(--font);color:#2e2d42}
.s01-top-l{padding:4px 0}
.s01-top-l a{display:flex;align-items:center;height:36px;padding:0 12px;font:600 14px/20px var(--font);color:#2e2d42}
.s01-top-l a.is-hot{color:#dd2745}
.s01-top-l a:hover{background:#f8fafc}
.s01-shopby{display:flex;align-items:center;gap:8px;margin:16px 0 4px;font:600 12px/16px var(--font);color:#636363}
.s01-shopby::after{content:"";flex:1;height:1px;background:#e2e8f0}
.s01-rows li{list-style:none}
.s01-row{width:100%;height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;border-radius:8px;font:600 16px/22px var(--font);color:#2e2d42;text-align:left}
.s01-row svg{width:12px;height:12px;color:#64748b;stroke-width:2}
.s01-row.is-active,.s01-row:hover,.s01-row[aria-current=page]{background:#f8fafc}
.s01-row[aria-current=page]{color:#dd2745}

/* Tablet: the 504px search shrinks so the bar never scrolls sideways. */
@media (min-width:768px) and (max-width:1199px){
  .s01-bar{padding:0 16px}
  .s01-search{flex:1 1 auto;width:auto;min-width:0;max-width:504px;margin:0 16px}
}

@media (max-width:767px){
  .s01{position:sticky;top:0}
  .s01-bar{height:65px;padding:10px 6px;border-bottom:1px solid #e9e9ee}
  .s01-logo{height:44px;margin-left:2px;padding:0 4px;font-size:18px}
  .s01-logo em{font-size:20px}
  .s01-search{display:none}
  .s01-ic-find{display:grid}
  .s01.is-search .s01-search{display:block;position:absolute;left:12px;right:12px;top:68px;width:auto;margin:0;z-index:4}
  .s01.is-search .s01-q{height:40px;box-shadow:0 4px 12px rgba(0,0,0,.12)}
  .s01.is-search .s01-search button{top:5px}
  .s01-search button{width:44px;height:44px;min-height:44px;top:-2px;right:0}
  .s01.is-search .s01-search button{top:-2px}
  .s01.is-open .s01-burger{background:none}
  .s01.is-open .s01-burger-ic{display:grid}
  .s01.is-open .s01-burger-x{display:none}
  .s01-backdrop{inset:0;z-index:5;background:rgba(0,0,0,.5)}
  .s01-drawer{display:flex;top:0;bottom:0;z-index:6;width:328px;max-width:100%;flex-direction:column;background:#fff;transform:translateX(-100%);transition:transform .3s ease-in-out;overflow-y:auto;visibility:hidden}
  .s01.is-open .s01-drawer{transform:none;animation:none;visibility:visible}
  .s01-mtop{display:flex;align-items:flex-start;gap:20px;padding:16px 16px 12px}
  .s01-mtop a{display:flex;flex-direction:column;align-items:center;gap:6px;font:400 12px/16px var(--font);color:#2e2d42}
  .s01-qi{width:44px;height:44px;border-radius:50%;background:#f8fafc;display:grid;place-items:center;color:#2e2d42}
  .s01-qi svg{width:22px;height:22px}
  .s01-qi-p{background:#f4f1fa;color:#7b4fd6}
  .s01-mclose{margin-left:auto;width:44px;height:44px;border-radius:12px;background:#f1f5f9;display:grid;place-items:center;color:#2e2d42}
  .s01-panel{width:100%;height:auto;max-height:none;overflow:visible;border-radius:0;box-shadow:none;padding:4px 16px 24px}
  .s01-top-h{height:65px;padding:12px 16px;background:#e2e8f0;font-size:20px;line-height:28px}
  .s01-top-l a{height:48px;padding:0 16px;font-size:16px}
  .s01-row{height:64px;padding:0 4px;border-radius:0;border-bottom:1px solid #f1f5f9}
  .s01-row:hover{background:none}
}

/* ---------- Footer ---------- */
.s90{margin-top:44px;font-family:var(--font);color:#333;background:#f6f6f6}
.s90 svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.s90-w1{background:#f6f6f6;padding:32px 48px 22px}
.s90-help{display:none}
.s90-links>div{margin-bottom:14px}
.s90-links h3{font:600 14px/19.6px var(--font);color:#2e2d42;letter-spacing:0;text-decoration:underline;text-underline-offset:2px;margin-bottom:6px}
.s90-links ul{font:500 12px/16px var(--font)}
.s90-links li{list-style:none;display:inline}
.s90-links li:not(:last-child)::after{content:"|";margin:0 6px;color:#636363}
.s90-links a{color:#333}
.s90-links a:hover{color:#dd2745}
.s90-w2{display:flex;flex-wrap:wrap;padding:34px 0 69px}
.s90-follow{width:100%;display:grid;justify-content:center;justify-items:center;align-content:start;gap:16px}
.s90-follow p{font:600 16px/22.4px var(--font);color:#2e2d42}
.s90-soc{display:flex;gap:24px}
.s90-soc a{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;color:#fff;transition:transform .2s}
.s90-soc a:hover{transform:translateY(-2px)}
.s90-soc svg{width:24px;height:24px}
.so-ig{background:#dd2745}
.s90-mark{position:absolute;left:50%;bottom:calc(100% + 1px);transform:translateX(-50%);display:flex;align-items:center;gap:4px;height:72px;padding:0 8px;font:700 16px/1 var(--font);letter-spacing:-.3px;color:#2e2d42;white-space:nowrap}
.s90-mark em{font:300 18px/1 var(--hand);font-style:normal;color:#c41f3b}
.s90-bot{position:relative;height:65px;background:#f2f2f2;display:flex;align-items:center;justify-content:center;padding:0 48px}
.s90-copy{font:400 10px/14px var(--font);color:#636363;margin-top:33px}
.s90-copy a{color:#636363;text-decoration:underline;margin-left:10px}

@media (max-width:767px){
  .s90{margin-top:0}
  .s90-w1{padding:16px 16px 16px}
  .s90-help{display:block;padding-bottom:32px;margin-bottom:33px;border-bottom:1px solid #e0e0e0}
  .s90-help h2{font:600 16px/22.4px var(--font);letter-spacing:0;color:#2e2d42;margin-bottom:24px}
  .s90-help-l{font:600 12px/16.8px var(--font);color:#2e2d42;margin:16px 0 4px}
  .s90-help-r{display:flex;align-items:center;justify-content:space-between;gap:8px;height:54px;padding:0 9px 0 14px;border:1px solid #d6d6d6;border-radius:8px;background:#fff;font:400 15px/20px var(--font);color:#2e2d42;overflow-wrap:anywhere}
  .s90-hi{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;flex:none}
  .s90-hi-g{background:#e7f6ec;color:#1f9d55}
  .s90-hi-p{background:#f6f2ff;color:#7b4fd6}
  .s90-links h3{font-size:14px;line-height:19.6px;margin-bottom:4px}
  .s90-links>div{margin-bottom:16.8px}
  .s90-links ul{font-size:11.2px;line-height:17.6px;font-weight:400}
  /* 44px tap targets: each inline link gets a 44px box, separators stay inline. */
  .s90-links a{display:inline-flex;align-items:center;min-height:44px;min-width:44px;font-size:12px}
  .s90-links li:not(:last-child)::after{color:#333}
  .s90-w2{flex-direction:column;gap:32px;padding:15px 16px 32px}
  .s90-soc a{width:48px;height:48px}
  .s90-bot{display:block;height:auto;min-height:77px;padding:55px 16px 16px}
  .s90-mark{top:-15px;bottom:auto;height:62px;min-height:44px}
  .s90-copy{text-align:center;line-height:16px;margin-top:0}
}

/* ---------- Product card ---------- */
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 12px}
.product-grid>li{list-style:none;min-width:0}
@media (max-width:1023px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:767px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px}}
.pc{position:relative;border:1px solid var(--border-card);border-radius:16px;background:#fff;overflow:hidden}
.pc-link{display:block;color:inherit;text-decoration:none}
.pc-img{display:block;aspect-ratio:1;border-radius:15px 15px 0 0;overflow:hidden;background:#f4f1f1}
.pc-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.pc:hover .pc-img img{transform:scale(1.03)}
.pc-body{display:flex;flex-direction:column;height:92px;padding:6px 16px 0}
.pc-name{font-weight:600;font-size:14px;line-height:19.6px;height:22px;padding-top:1px;color:#636363;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pc-price{display:flex;align-items:center;gap:4px;height:26px;margin-top:6px;white-space:nowrap}
.pc-price b{font-weight:600;font-size:16px;line-height:24px;color:var(--text-strong)}
.pc-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:8px;overflow:hidden}
.pc-tag{display:inline-flex;align-items:center;gap:4px;font-size:10px;line-height:12px;padding:3px 6px;border-radius:2px}
.pc-tag svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.6}
.pc-new{font-weight:500;text-transform:uppercase;color:var(--badge-brown);background:#feeab8}
.pc-per{font-style:italic;color:#4f4f4f;padding-left:0}
@media (max-width:767px){
  .pc-body{height:143px;padding:6px 10px 0}
  .pc-name{height:auto;max-height:40px;line-height:20px;white-space:normal;text-overflow:clip;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .pc-price{flex-wrap:wrap;height:auto;row-gap:4px;margin-top:4px}
  .pc-meta{gap:6px;margin-top:6px}
}

/* ---------- Section heading ---------- */
.section-heading,.b2-head{padding:1px 0 0 6px;margin-bottom:23px;max-width:46rem}
.section-heading .sec-sub{margin-top:4px}
.eyebrow{font:600 12px/16px var(--font);text-transform:uppercase;letter-spacing:.4px;color:#636363;margin-bottom:6px}
.section--dark .eyebrow,.section--dark .sec-sub{color:#e2e2e2}
@media (max-width:767px){.section-heading,.b2-head{padding:0 0 0 12px;margin-bottom:14px}}
h1.sec-title{font-size:24px;line-height:32px}

/* ---------- Buttons, pills, inputs ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 20px;border:1px solid #2e2d42;border-radius:40px;font:600 14px/20px var(--font);color:#2e2d42;background:#fff;text-decoration:none;transition:background .2s,color .2s,border-color .2s}
.btn--primary,.btn--gold{background:#dd2745;border-color:#dd2745;color:#fff}
.btn--primary:hover,.btn--gold:hover{background:#c41f3b;border-color:#c41f3b}
.btn--ghost{background:transparent;color:#2e2d42}
.btn--ghost:hover{background:#f1f5f9}
.btn--ghost-light{background:transparent;border-color:#fff;color:#fff}
.btn--ghost-light:hover{background:rgba(255,255,255,.12)}
.btn svg{width:20px;height:20px}
.btn-row{display:flex;flex-wrap:wrap;gap:12px}

.icon-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:44px;padding:0 8px;border-radius:50%;color:#2e2d42;transition:background .2s}
.icon-btn:hover{background:#f1f5f9}

.pill-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.pill{display:inline-flex;align-items:center;padding:0 16px;border:1px solid var(--border-tile);border-radius:40px;background:#fff;font:500 14px/20px var(--font);color:#2e2d42;text-decoration:none;transition:border-color .2s,background .2s}
.pill:hover,.pill[aria-current=page]{border-color:#2e2d42}
.pill[aria-pressed=true]{background:#2e2d42;border-color:#2e2d42;color:#fff}

.input{width:100%;padding:0 16px;border:1px solid #afafaf;border-radius:8px;background:#fff;color:#2e2d42;font:500 14px/20px var(--font)}
.input:focus{border-color:#2e2d42;outline:none}
.input:focus-visible{outline:2px solid #2e2d42;outline-offset:1px}

.price{font-weight:600;color:var(--text-strong)}

/* Skeleton loader for async content (search results, later lists). */
.skeleton{display:block;border-radius:4px;background:#eef1f5;animation:skeleton-pulse 1.2s ease-in-out infinite}
.skeleton-row{display:flex;align-items:center;gap:12px;padding:6px 8px}
.skeleton-row .skeleton:first-child{width:44px;height:44px;flex:none}
.skeleton-row .skeleton:last-child{height:14px;flex:1;max-width:14rem}
@keyframes skeleton-pulse{50%{opacity:.45}}

/* Legal draft marker (info pages). */
.draft-note{display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border:1px solid var(--border-card);border-radius:40px;font:600 12px/16px var(--font);letter-spacing:.4px;color:#636363}
