@import url('./tokens.css');

.store-main { padding: 20px; }
.store-heading { display: flex; align-items: center; justify-content: space-between; margin: 0 0 15px; gap: 10px; }
.store-heading h1 { font-size: 21px; }
.store-heading p { font-size: 11px; color: var(--muted); margin-top: 3px; }
.store-heading button { background: white; color: var(--primary); border: 1px solid var(--border); width: 42px; padding: 0; }
.store-search { position: relative; margin-bottom: 17px; }
.store-search input { padding-inline-start: 41px; border: 1px solid var(--border); background: white; font-size: 13px; }
.store-search svg { position: absolute; right: 13px; top: 13px; width: 20px; color: var(--muted); }
.hero { position: relative; min-height: 355px; padding: 24px; overflow: hidden; border-radius: 24px; background: #1E293B; display: flex; flex-direction: column; justify-content: flex-end; color: white; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .85; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,#0f172af0, #0f172a08 100%); }
.hero > div { position: relative; z-index: 1; }
.hero .eyebrow { color: #E0E7FF; font-size: 10px; letter-spacing: 1px; }
.hero h2 { font-size: 29px; line-height: 1.6; font-weight: 800; margin: 8px 0; letter-spacing: -.8px; }
.hero p { font-size: 11px; color: #E2E8F0; margin-bottom: 17px; max-width: 240px; }
.hero .button { padding: 10px 15px; font-size: 11px; background: white; color: var(--text); }
.hero .button svg { width: 16px; height: 16px; }
.hero-tag { position: absolute !important; top: 18px; right: 18px; background: #ffffffdc; color: #334155; border-radius: 9px; padding: 5px 9px; font-size: 9px; font-weight: 700; }
.section-title { display: flex; justify-content: space-between; align-items: center; margin: 27px 0 14px; gap: 10px; }
.section-title h2 { font-size: 17px; font-weight: 800; }
.section-title a { color: var(--primary); font-size: 10px; font-weight: 700; }
.section-intro { font-size: 11px; color: var(--muted); margin: -6px 0 13px; }
.category-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
.category { text-align: center; font-weight: 700; font-size: 10px; }
.category img { width: 100%; aspect-ratio: 1; border-radius: 17px; background: #E2E8F0; margin-bottom: 7px; }
.product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.product { background: white; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; position: relative; min-width: 0; padding: 8px; }
.product-image { width: 100%; aspect-ratio: 1 / 1.06; background: #EEF2FF; border-radius: 12px; }
.product-copy { padding: 10px 3px 3px; }
.product h3 { font-size: 12px; font-weight: 800; margin-bottom: 4px; }
.product p { font-size: 9px; color: var(--muted); margin: 4px 0 9px; }
.product .price { display: flex; align-items: center; justify-content: space-between; gap: 4px; font-size: 12px; font-weight: 800; color: var(--primary); }
.product .add-cart { min-height: 36px; width: 36px; padding: 0; border-radius: 10px; background: var(--tint); color: var(--primary); }
.product .add-cart svg { width: 18px; height: 18px; }
.product .badge { position: absolute; top: 15px; right: 15px; padding: 2px 7px; background: #fffffff0; color: var(--primary); border-radius: 6px; font-size: 8px; font-weight: 800; max-width: calc(100% - 30px); }
.collection-links { display: flex; gap: 8px; margin: 20px 0; }
.collection-links a { flex: 1; text-align: center; padding: 9px; color: var(--primary); border: 1px solid #E0E7FF; background: var(--tint); border-radius: 10px; font-size: 11px; font-weight: 700; }
.story { margin-top: 28px; background: #EEF2FF; border-radius: 22px; overflow: hidden; border: 1px solid #E0E7FF; }
.story img { width: 100%; height: 180px; }
.story-copy { padding: 22px; }
.story h2 { font-size: 22px; margin: 6px 0 12px; }
.story p { color: var(--muted); font-size: 11px; line-height: 2; }
.newsletter { margin-top: 27px; padding: 22px; border-radius: 20px; text-align: center; background: white; border: 1px solid var(--border); }
.newsletter h2 { font-size: 21px; margin: 7px 0; }
.newsletter p { font-size: 11px; color: var(--muted); margin-bottom: 15px; }
.newsletter form { display: grid; gap: 9px; }
.newsletter button { width: 100%; }
.store-footer { padding: 25px 0 0; text-align: center; font-size: 10px; color: var(--muted); }
.store-footer nav { display: flex; gap: 20px; justify-content: center; margin-bottom: 12px; }
.cart-row { padding: 12px 0; display: flex; justify-content: space-between; gap: 12px; align-items: center; border-bottom: 1px solid var(--border); }
.cart-row h4 { font-size: 12px; }
.cart-row small { color: var(--muted); }
.cart-row button { min-height: 36px; background: #FEF2F2; color: var(--danger); padding: 6px 10px; }
.cart-total { display: flex; justify-content: space-between; padding: 17px 0; font-weight: 800; }
.cart-note { padding: 12px; font-size: 11px; border-radius: 12px; background: #EEF2FF; color: var(--primary-dark); }
.collection-empty { grid-column: 1 / -1; padding: 22px; text-align: center; color: var(--muted); background: white; border: 1px dashed var(--border); border-radius: 14px; font-size: 12px; }
.store-menu { display: grid; gap: 8px; }
.store-menu a { display: block; padding: 13px 14px; background: var(--background); border-radius: 12px; font-weight: 700; }
.store-menu a:hover { color: var(--primary); background: var(--tint); }
