/* Sweet Vanilla — The Boutique Edit (Dec 2026)
   Presentation only. Shopping, pricing, category availability and checkout are unchanged. */
:root {
  --sv-boutique-blush: #f5c7d9;
  --sv-boutique-rose: #b95a80;
  --sv-boutique-ink: #4c3542;
  --sv-boutique-paper: #fffaf8;
  --sv-boutique-cream: #fff2e8;
  --sv-boutique-outline: rgba(168, 107, 129, .17);
}
.store-body {
  color: var(--sv-boutique-ink);
  background: var(--sv-boutique-paper);
  font-family: 'Segoe UI', 'Tajawal', Tahoma, Arial, sans-serif;
}
.store-body .container { width: min(1190px, calc(100% - 38px)); }
.store-header {
  background: rgba(255,250,249,.94) !important;
  border-bottom: 1px solid #f0e2e7 !important;
  box-shadow: 0 5px 25px rgba(110,68,84,.035);
}
.store-header .header-inner { min-height: 80px; }
.store-header .store-brand-button { gap: 11px; font-family: Georgia, 'Times New Roman', serif; font-size: 20px; letter-spacing: -.035em; color: #a44d75; }
.store-header .store-brand-button img { width: 51px; height: 51px; background: #fff; border: 1px solid rgba(179,111,139,.18); box-shadow: 0 5px 15px rgba(137,84,101,.07); }
.sv-header-links { display: flex; align-items: center; gap: 7px; margin-inline: auto; }
.sv-header-links button { font-size: 13px; font-weight: 800; border: 0; padding: 10px 16px; background: transparent; border-radius: 14px; color: #66515c; transition: background .2s, color .2s; }
.sv-header-links button:hover, .sv-header-links button:focus-visible { background: #fff0f5; color: #a24370; }
.store-header .store-whatsapp-top { border-radius: 999px; background: #bb6087 !important; padding-inline: 23px; box-shadow: 0 6px 20px rgba(185,90,128,.14); }
.store-notice-wrap { padding-top: 14px; }
.store-notice-wrap:has(.store-notice.hidden):has(.sv-availability-banner.hidden):has(.sv-payment-followup.hidden) { padding-top: 0; }

/* Editorial hero: real category photography is populated from Supabase. */
.sv-editorial-hero { position: relative; padding: 24px 0 12px; isolation: isolate; }
.sv-hero-shell { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); min-height: 470px; border: 1px solid #f1dfdf; border-radius: 38px; overflow: hidden; background: #fbedef; box-shadow: 0 20px 50px rgba(123,68,87,.075); }
.sv-hero-copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(28px,4.7vw,65px); overflow: hidden; background: radial-gradient(ellipse at 8% 95%, rgba(255,255,255,.93), transparent 53%), radial-gradient(ellipse at 90% 0%, #f9dce7 0%, transparent 50%), #fff0f1; }
.sv-hero-overline { position: relative; display: inline-flex; align-items: center; gap: 11px; font-size: 12px; font-weight: 900; letter-spacing: .04em; color: #9f6280; }
.sv-hero-overline span { color: #cb7b98; font-size: 23px; }
.sv-hero-copy h1 { position: relative; max-width: 560px; margin: 21px 0 19px; font-size: clamp(37px,4.5vw,65px); line-height: 1.26; letter-spacing: -.06em; font-weight: 900; color: #4a3641; }
.sv-hero-copy h1 em { font-weight: 800; font-style: normal; color: #bd5b84; }
.sv-hero-copy p { max-width: 450px; margin: 0; font-size: 16px; font-weight: 550; line-height: 2; color: #75636b; }
.sv-hero-petals { position: absolute; top: -67px; left: -19px; font-family: Georgia, serif; font-size: 180px; color: rgba(198,109,148,.08); line-height: 1; pointer-events: none; }
.sv-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 29px; }
.sv-hero-button-main, .sv-hero-button-soft { min-height: 53px; display: inline-flex; justify-content: center; align-items: center; gap: 22px; border-radius: 999px; padding: 13px 22px; font-size: 13px; font-weight: 900; transition: transform .2s, box-shadow .2s; }
.sv-hero-button-main { border: 1px solid #a74e74; background: #b9577f; color: white; box-shadow: 0 9px 22px rgba(181,79,122,.18); }
.sv-hero-button-soft { border: 1px solid #e5c4ce; background: rgba(255,255,255,.68); color: #89516b; }
.sv-hero-button-main:hover, .sv-hero-button-soft:hover { transform: translateY(-2px); box-shadow: 0 12px 23px rgba(158,92,117,.15); }
.sv-hero-actions button span { font-size: 19px; font-weight: 600; line-height: 1; }
.sv-hero-signature { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 38px; font-size: 11px; font-family: Georgia, 'Times New Roman', serif; font-style: italic; color: #ab8a9a; }
.sv-hero-signature-line { display: inline-block; width: 29px; height: 1px; background: #d6aab8; }
.sv-hero-visual { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 430px; background: radial-gradient(circle at 70% 24%, #fff7f1 0, transparent 45%), linear-gradient(160deg,#f6c4d6 0%,#ecd9e3 53%,#ead5e2 100%); overflow: hidden; }
.sv-hero-visual-orbit { width: min(76%,385px); aspect-ratio: 1; position: absolute; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; transform: scale(1.32); z-index: -1; }
.sv-hero-visual-orbit::after { content: ''; position: absolute; inset: 20px; border: 1px dashed rgba(255,255,255,.45); border-radius: 50%; }
.sv-hero-picture { width: 69%; max-width: 385px; height: 80%; max-height: 385px; min-height: 270px; display: grid; place-items: center; border-radius: 48% 48% 27% 27% / 38% 38% 24% 24%; border: 9px solid rgba(255,255,255,.8); background: linear-gradient(155deg,#fff8f8,#f7dbe7); background-size: cover; background-position: center; box-shadow: 0 24px 36px rgba(90,53,70,.16), 0 0 0 1px rgba(255,255,255,.8); overflow: hidden; transform: rotate(-2deg); }
.sv-hero-picture-logo { display: block; width: 83%; max-width: 290px; aspect-ratio: 1; object-fit: contain; border-radius: 20%; mix-blend-mode: multiply; }
.sv-hero-picture.has-photo .sv-hero-picture-logo { display: none; }
.sv-hero-float-note { position: absolute; bottom: 16%; right: 3%; max-width: 160px; padding: 11px 18px; border-radius: 99px; color: #7e4963; background: #fffdfa; box-shadow: 0 10px 20px rgba(109,58,82,.15); font-size: 13px; font-weight: 900; text-align: center; transform: rotate(-6deg); }
.sv-hero-round-stamp { position: absolute; top: 13%; left: 7%; width: 90px; height: 90px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fffaf7; border: 1px solid #f5e6e9; border-radius: 50%; transform: rotate(12deg); box-shadow: 0 8px 19px rgba(104,55,76,.13); text-align: center; color: #99546e; }
.sv-hero-round-stamp b { font-size: 24px; font-family: Georgia, serif; line-height: 1.1; }
.sv-hero-round-stamp small { font-size: 10px; font-weight: 900; line-height: 1.3; }
.sv-benefit-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(15px,5vw,68px); min-height: 72px; padding: 8px 0; border-bottom: 1px solid #f2e5e7; }
.sv-benefit-row div { display: inline-flex; align-items: center; gap: 10px; color: #866b79; font-size: 12px; font-weight: 800; }
.sv-benefit-row div span:first-child { display: grid; place-items: center; font-size: 19px; color: #c47798; }

/* Existing instant-pickup hero remains an independently functioning category. */
.instant-spotlight-section { padding: 24px 0 12px !important; }
.instant-spotlight-section .instant-spotlight-card { min-height: 220px !important; border-radius: 28px !important; box-shadow: 0 16px 30px rgba(143,69,104,.12) !important; }
.instant-spotlight-section .instant-spotlight-card::after { background: linear-gradient(90deg,rgba(63,30,46,.70) 0%,rgba(66,31,45,.12) 100%) !important; }
.instant-spotlight-section .instant-spotlight-content { min-height: 220px !important; justify-content: center !important; padding: 28px 36px !important; }
.instant-spotlight-section .instant-spotlight-content strong { font-size: clamp(24px,3.8vw,37px) !important; }
.instant-spotlight-section .store-trust-strip { display: none !important; }

/* Reusable section headings. */
.sv-editorial-section-heading { display: flex !important; align-items: flex-end !important; justify-content: space-between !important; gap: 18px !important; margin-bottom: 20px !important; }
.sv-editorial-section-heading > div { min-width: 0; }
.sv-section-overline { display: block; font-size: 10px; font-weight: 900; letter-spacing: .08em; color: #b97994; margin-bottom: 7px; }
.sv-editorial-section-heading h2 { font-size: clamp(24px,3vw,37px) !important; margin: 0 !important; color: #543845 !important; line-height: 1.35; font-weight: 900; letter-spacing: -.03em; }
.sv-editorial-section-heading h2 em { font-style: normal; color: #bd6489; }
.sv-section-heading-deco { display: grid; place-items: center; width: 55px; height: 55px; flex: none; border: 1px solid #edd4dd; border-radius: 50%; color: #c67f9d; font-size: 33px; }
.sv-menu-section-note { font-size: 12px !important; font-weight: 700; color: #aa8595 !important; }

/* Feature ANY category selected by the sister in Admin > Categories. */
.sv-featured-category-section { padding: 32px 0 20px; }
.sv-featured-category-section.hidden { display: none !important; }
.sv-featured-category-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.sv-featured-category-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; text-align: right; min-width: 0; min-height: 286px; padding: 23px; border: 1px solid #efdce2; border-radius: 28px; overflow: hidden; isolation: isolate; background: #e8cbd8; box-shadow: 0 12px 24px rgba(98,53,70,.09); color: white; transition: transform .25s, box-shadow .25s; }
.sv-featured-category-card:hover { transform: translateY(-4px); box-shadow: 0 19px 36px rgba(105,50,78,.15); }
.sv-featured-category-card:focus-visible { outline: 3px solid #bd6590; outline-offset: 4px; }
.sv-featured-category-photo { position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse at 70% 15%, #f9e8dc, transparent 55%),linear-gradient(140deg,#df9fba,#ba7e9a); background-position: center; background-size: cover; transition: transform .4s ease; }
.sv-featured-category-card:hover .sv-featured-category-photo { transform: scale(1.06); }
.sv-featured-category-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,rgba(55,28,39,.02) 5%,rgba(58,27,42,.75) 100%); }
.sv-featured-category-badge { position: absolute; top: 16px; right: 16px; border-radius: 99px; background: rgba(255,251,247,.95); color: #a44e76; font-size: 11px; font-weight: 900; padding: 7px 13px; }
.sv-featured-category-body { position: relative; display: flex; align-items: flex-start; flex-direction: column; }
.sv-featured-category-body strong { font-size: clamp(22px,2.8vw,32px); line-height: 1.3; color: white; text-shadow: 0 2px 12px rgba(50,20,32,.25); }
.sv-featured-category-body small { margin-top: 7px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.88); }
.sv-featured-category-link { margin-top: 15px; display: inline-flex; align-items: center; gap: 14px; background: white; color: #96516f; padding: 9px 14px; border-radius: 99px; font-size: 12px; font-weight: 900; }
.sv-featured-category-card.is-lead { min-height: 316px; }
.sv-featured-category-card:only-child { grid-column: 1 / -1; min-height: 350px; }
.sv-featured-category-card:only-child .sv-featured-category-body strong { font-size: clamp(30px,4.5vw,48px); }

/* The menu becomes an elegant magazine-like grid while preserving button IDs and events. */
.store-categories-section { padding: 33px 0 36px !important; }
.store-categories-section .categories.category-card-grid { grid-auto-flow: row !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 16px !important; }
.store-categories-section .category-card { position: relative; min-height: 220px !important; border-radius: 25px !important; border: 1px solid #ecd9e1 !important; box-shadow: 0 12px 25px rgba(116,66,85,.07) !important; background-color: #eddae3 !important; transition: transform .22s, box-shadow .22s !important; }
.store-categories-section .category-card:hover { transform: translateY(-3px) !important; box-shadow: 0 18px 32px rgba(116,66,85,.11) !important; }
.store-categories-section .category-card:last-child:nth-child(odd) { grid-column: auto !important; min-height: 220px !important; }
.store-categories-section .category-card-overlay { background: linear-gradient(180deg,rgba(64,34,44,.06) 22%,rgba(58,24,39,.55) 100%) !important; }
.store-categories-section .category-card-name { right: 16px !important; bottom: 16px !important; left: 58px !important; border-radius: 13px !important; font-size: 16px !important; padding: 9px 12px !important; }
.store-categories-section .category-card-arrow { left: 16px !important; bottom: 16px !important; border-radius: 50% !important; width: 38px !important; height: 38px !important; background: #b95a80 !important; }
.store-categories-section .category-card.sv-category-curated { outline: 2px solid #db98b4; outline-offset: -2px; }
.sv-curated-mini-mark { position: absolute; z-index: 3; top: 12px; left: 12px; padding: 7px 10px; border-radius: 100px; background: rgba(255,255,255,.96); color: #a85073; font-size: 10px; font-weight: 900; }

/* Catalog and product cards: quieter layout, uninterrupted photo gallery/cart functionality. */
.store-catalog-view { background: var(--sv-boutique-paper) !important; }
.catalog-product-toolbar { padding: 14px 0 !important; border-radius: 0 0 18px 18px; background: linear-gradient(to bottom,#fffaf9 82%,rgba(255,250,249,0)) !important; }
.catalog-title-wrap h2 { color: #523947 !important; font-size: clamp(22px,3vw,31px) !important; }
.smart-filter.is-active { background: #ffedf3 !important; color: #9a446b !important; }
.store-products-grid { gap: 17px !important; }
.store-products-grid .product-card { border: 1px solid #f0e2e6 !important; border-radius: 24px !important; box-shadow: 0 10px 23px rgba(95,52,70,.055) !important; transition: transform .2s,box-shadow .2s; }
.store-products-grid .product-card:hover { transform: translateY(-3px); box-shadow: 0 16px 29px rgba(95,52,70,.09) !important; }
.store-products-grid .product-body { padding: 13px 14px 15px !important; }
.store-products-grid .product-card h3 { color: #51394a !important; font-weight: 900; }
.store-products-grid .product-image { aspect-ratio: 1/1 !important; }
#cartPanel { border: 1px solid #efdde5 !important; border-radius: 24px !important; box-shadow: 0 12px 35px rgba(112,68,88,.065) !important; }
.sweet-story-section { padding: 15px 0 45px !important; }
.sweet-story-card { border-radius: 32px !important; border: 1px solid #eedce3; background: radial-gradient(circle at 92% 12%,#fff0f5,transparent 32%),linear-gradient(125deg,#fffaf8,#fff1f3) !important; box-shadow: 0 13px 29px rgba(118,73,88,.045); }
.sweet-story-card h2 { color: #a84c75 !important; }
.store-footer { background: #f9eaee !important; border-top: 1px solid #edd8e1 !important; }

@media (max-width: 900px) {
  .sv-header-links { gap: 0; }
  .sv-header-links button { padding-inline: 9px; font-size: 12px; }
  .sv-hero-shell { grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); min-height: 400px; }
  .sv-hero-copy { padding: 30px; }
  .sv-hero-copy h1 { font-size: 45px; }
  .sv-hero-visual { min-height: 390px; }
  .sv-hero-picture { width: 77%; }
  .store-categories-section .categories.category-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .sv-featured-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .sv-header-links { display: none; }
  .store-header .header-inner { min-height: 68px; }
  .store-header .store-brand-button { font-size: 16px; }
  .store-header .store-brand-button img { width: 42px; height: 42px; }
  .store-body .container { width: min(100% - 30px,600px); }
  .sv-editorial-hero { padding: 14px 0 8px; }
  .sv-hero-shell { display: flex; flex-direction: column; min-height: 0; border-radius: 29px; }
  .sv-hero-copy { align-items: flex-start; padding: 25px 24px 27px; }
  .sv-hero-overline { font-size: 11px; }
  .sv-hero-copy h1 { margin: 12px 0; font-size: clamp(34px,8vw,45px); line-height: 1.3; }
  .sv-hero-copy p { font-size: 13px; line-height: 1.85; }
  .sv-hero-actions { margin-top: 18px; gap: 9px; }
  .sv-hero-button-main, .sv-hero-button-soft { min-height: 45px; padding: 10px 17px; font-size: 12px; gap: 11px; }
  .sv-hero-signature { margin-top: 18px; font-size: 10px; }
  .sv-hero-visual { min-height: 220px; max-height: 270px; }
  .sv-hero-picture { min-height: 0; width: 48%; height: 92%; max-height: 210px; border-width: 6px; }
  .sv-hero-float-note { bottom: 16%; right: 8%; font-size: 11px; padding: 8px 12px; }
  .sv-hero-round-stamp { width: 73px; height: 73px; top: 10%; left: 9%; }
  .sv-hero-round-stamp b { font-size: 20px; }
  .sv-hero-round-stamp small { font-size: 9px; }
  .sv-benefit-row { justify-content: space-between; gap: 8px; min-height: 58px; }
  .sv-benefit-row div { font-size: 10px; gap: 5px; }
  .sv-benefit-row div span:first-child { font-size: 16px; }
  .instant-spotlight-section { padding: 13px 0 6px !important; }
  .instant-spotlight-section .instant-spotlight-card { min-height: 183px !important; border-radius: 23px !important; }
  .instant-spotlight-section .instant-spotlight-content { min-height: 183px !important; padding: 20px !important; }
  .instant-spotlight-section .instant-spotlight-content strong { font-size: 27px !important; }
  .sv-featured-category-section { padding: 25px 0 5px; }
  .sv-editorial-section-heading h2 { font-size: 26px !important; }
  .sv-editorial-section-heading { margin-bottom: 15px !important; }
  .sv-section-heading-deco { width: 41px; height: 41px; font-size: 25px; }
  .sv-featured-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .sv-featured-category-card { min-height: 188px; padding: 15px; border-radius: 22px; }
  .sv-featured-category-card.is-lead, .sv-featured-category-card:only-child { grid-column: 1 / -1; min-height: 236px; }
  .sv-featured-category-body strong { font-size: 19px; }
  .sv-featured-category-card.is-lead .sv-featured-category-body strong { font-size: 26px; }
  .sv-featured-category-badge { top: 12px; right: 12px; font-size: 10px; padding: 5px 9px; }
  .sv-featured-category-link { font-size: 10px; margin-top: 10px; padding: 7px 10px; }
  .sv-featured-category-body small { font-size: 10px; }
  .store-categories-section { padding: 25px 0 28px !important; }
  .store-categories-section .categories.category-card-grid { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 11px !important; }
  .store-categories-section .category-card, .store-categories-section .category-card:last-child:nth-child(odd) { grid-column: auto !important; min-height: 150px !important; border-radius: 19px !important; }
  .store-categories-section .category-card-name { right: 9px !important; bottom: 9px !important; left: 36px !important; font-size: 12px !important; max-width: calc(100% - 47px); padding: 8px !important; }
  .store-categories-section .category-card-arrow { bottom: 10px !important; left: 9px !important; width: 29px !important; height: 29px !important; font-size: 16px !important; }
  .store-categories-section .category-card .sv-category-paused-chip { top: 9px; right: 8px; font-size: 9px; padding: 5px 7px; }
  .sv-curated-mini-mark { top: 9px; left: 8px; font-size: 9px; padding: 5px 7px; }
  .sv-menu-section-note { font-size: 10px !important; }
  .store-products-grid { gap: 10px !important; }
  .store-products-grid .product-body { padding: 10px !important; }
  .sweet-story-card { border-radius: 22px !important; }
}
@media (max-width: 370px) {
  .store-body .container { width: calc(100% - 22px); }
  .sv-hero-copy { padding: 22px 18px; }
  .sv-hero-copy h1 { font-size: 31px; }
  .sv-hero-button-main, .sv-hero-button-soft { font-size: 11px; min-height: 42px; padding: 9px 12px; }
  .sv-benefit-row div { font-size: 9px; }
  .sv-editorial-section-heading h2 { font-size: 22px !important; }
  .sv-featured-category-card { min-height: 175px; padding: 13px; }
  .sv-featured-category-body strong { font-size: 16px; }
  .store-categories-section .category-card, .store-categories-section .category-card:last-child:nth-child(odd) { min-height: 132px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .sv-featured-category-photo,.sv-featured-category-card,.sv-hero-button-main,.sv-hero-button-soft { transition: none !important; }
}

/* Dec 2026 — header legibility and rotating category-cover refinement. */
.store-header .store-brand-button {
  flex: 0 1 auto;
  min-width: 0;
  white-space: nowrap;
  gap: 9px;
}
.store-header .store-brand-button .sv-header-brand-name {
  display: inline-block !important;
  color: #963c67 !important;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(14px, 2.3vw, 20px);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.25;
  white-space: nowrap;
}
.store-header .store-whatsapp-top {
  background: #a83d69 !important;
  color: #fff !important;
  border: 1px solid #a83d69 !important;
  box-shadow: 0 7px 18px rgba(148, 42, 92, .2) !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  min-width: 84px;
}
.store-header .store-whatsapp-top:hover,
.store-header .store-whatsapp-top:focus-visible {
  background: #8b2c55 !important;
  color: #fff !important;
  border-color: #8b2c55 !important;
  outline-offset: 3px;
}
.sv-hero-picture.has-photo {
  background-color: #f3d9e4;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
/* Remove the oversized central decorative asterisk/symbol, retaining the soft colors. */
.sv-hero-petals,
.sv-section-heading-deco { display: none !important; }
@media (max-width: 700px) {
  .store-header .store-brand-button .sv-header-brand-name { font-size: 15px; }
  .store-header .store-brand-button img { width: 40px; height: 40px; flex: none; }
  .store-header .store-whatsapp-top { font-size: 13px !important; padding: 9px 14px !important; min-width: 78px; }
}
@media (max-width: 370px) {
  .store-header .header-inner { gap: 8px; }
  .store-header .store-brand-button { gap: 6px; }
  .store-header .store-brand-button .sv-header-brand-name { font-size: 13px; }
  .store-header .store-brand-button img { width: 35px; height: 35px; }
  .store-header .store-whatsapp-top { min-width: 70px; padding: 8px 10px !important; }
}
