/* Nancy Store Theme — Clean Rebuild
   Fonts: Fraunces (headings) + ESRebondGrotesque (body)
   Colors: Pink #ff2fcc, Cream #fcf7ed, Neon green #ccfd28 */

@font-face { font-family: 'Fraunces'; src: url('fonts/Fraunces-Regular.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('fonts/Fraunces-Bold.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'ESRebondGrotesque'; src: url('fonts/ESRebondGrotesque-Regular.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'ESRebondGrotesque'; src: url('fonts/ESRebondGrotesque-Semibold.woff') format('woff'); font-weight: 600; font-style: normal; font-display: swap; }

:root {
    --pink: #ff2fcc;
    --pink-dark: #e020b0;
    --pink-light: #fcd9e8;
    --pink-bg: #f3dce2;
    --cream: #fcf7ed;
    --cream-border: #f5e8ce;
    --neon: #ccfd28;
    --black: #1a1a1a;
    --gray-dark: #494a52;
    --gray: #797979;
    --gray-light: #b0b0b0;
    --green: #2dc653;
    --white: #ffffff;
    --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'ESRebondGrotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --max-width: 1400px;
    --content-width: 1200px;
    --radius: 12px;
    --radius-sm: 8px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--black); background: var(--white); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar { background: var(--neon); color: var(--black); text-align: center; padding: 10px 20px; font-size: 13px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }

/* ===== HEADER ===== */
.site-header { border-bottom: 1px solid #f0f0f0; padding: 14px 0; }
.header-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; }
.header-logo img { height: 28px; width: auto; }
.header-nav { display: flex; align-items: center; gap: 32px; }
.header-nav a { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; transition: color 0.2s; padding: 12px 4px; min-height: 44px; display: inline-flex; align-items: center; }
.header-nav a:hover { color: var(--pink); }
.header-cta { background: var(--pink); color: var(--white); font-size: 13px; font-weight: 600; padding: 12px 24px; border-radius: 50px; min-height: 44px; display: inline-flex; align-items: center; text-transform: uppercase; letter-spacing: 0.5px; transition: background 0.2s; }
.header-cta:hover { background: var(--pink-dark); }

/* ===== PRODUCT SECTION ===== */
.product-section { max-width: var(--content-width); margin: 0 auto; padding: 40px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

/* Gallery */
.product-gallery { position: sticky; top: 20px; }
.gallery-main { border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; background: var(--cream); }
.gallery-main img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.gallery-thumbs button { border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; padding: 0; opacity: 0.6; transition: all 0.2s; background: var(--cream); }
.gallery-thumbs button:hover, .gallery-thumbs button.active { border-color: var(--pink); opacity: 1; }
.gallery-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* Product Info */
.product-info { padding-top: 8px; }
.product-badges { display: flex; gap: 8px; margin-bottom: 16px; }
.badge { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-sale { background: var(--pink); color: var(--white); }
.badge-press { background: var(--cream); color: var(--gray-dark); }
.product-title { font-family: var(--font-heading); font-size: 36px; font-weight: 400; line-height: 1.15; margin-bottom: 12px; }
.product-subtitle { font-size: 16px; color: var(--gray); margin-bottom: 16px; line-height: 1.5; }

/* Rating */
.product-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--cream-border); }
.rating-stars { color: var(--pink); font-size: 16px; letter-spacing: 2px; }
.rating-text { font-size: 13px; color: var(--gray); }
.rating-text strong { color: var(--black); }

/* Price */
.price-block { display: flex; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--cream-border); margin-bottom: 20px; }
.price-current { font-family: var(--font-body); font-size: 24px; font-weight: 600; color: var(--black); }
.price-compare { font-size: 14px; color: var(--gray-light); text-decoration: line-through; }
.price-badge { font-size: 12px; color: var(--pink); font-weight: 600; }

/* USP Row */
.usp-row { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.usp-item { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.usp-item svg, .usp-item img { width: 20px; height: 20px; flex-shrink: 0; }

/* Buy Button */
.buy-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; background: var(--pink); color: var(--white); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; padding: 20px; border-radius: 0; min-height: 56px; transition: background 0.2s; text-decoration: none; }
.buy-btn:hover { background: var(--pink-dark); }
.buy-btn-sub { text-align: center; font-size: 12px; color: var(--gray); margin-top: 10px; }
.or-divider { display: flex; align-items: center; gap: 8px; margin: 12px 0; font-size: 12px; color: var(--gray); text-transform: uppercase; }
.or-divider span { flex: 1; height: 1px; background: var(--cream-border); }

/* Accordions */
.product-accordions { margin-top: 24px; }
.accordion { border-top: 1px solid var(--cream-border); }
.accordion:last-child { border-bottom: 1px solid var(--cream-border); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 20px; color: var(--gray); transition: transform 0.2s; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--pink-light); color: var(--pink); }
.accordion[open] summary::after { content: "−"; background: var(--pink); color: var(--white); }
.accordion-body { padding: 0 0 20px; font-size: 14px; color: var(--gray-dark); line-height: 1.7; }

/* ===== SOCIAL PROOF BAR ===== */
.social-proof-bar { background: var(--cream); padding: 40px 20px; margin-top: 60px; }
.social-proof-inner { max-width: var(--content-width); margin: 0 auto; text-align: center; }
.social-proof-title { font-family: var(--font-heading); font-size: 20px; margin-bottom: 8px; }
.social-proof-subtitle { font-size: 14px; color: var(--gray); margin-bottom: 24px; }
.press-logos { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; opacity: 0.6; }
.press-logos img { height: 24px; width: auto; filter: grayscale(100%); }

/* ===== FEATURES GRID ===== */
.features-section { padding: 60px 20px; max-width: var(--content-width); margin: 0 auto; }
.features-section .section-title { font-family: var(--font-heading); font-size: 28px; text-align: center; margin-bottom: 40px; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.feature-card { text-align: left; padding: 32px 24px; background: var(--cream); border-radius: var(--radius); display: flex; gap: 16px; align-items: flex-start; }
.feature-icon { width: 40px; height: 40px; flex-shrink: 0; }
.feature-title { font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.feature-desc { font-size: 13px; color: var(--gray); line-height: 1.5; }

/* ===== EXPERT ===== */
.expert-section { background: var(--cream); padding: 60px 20px; }
.expert-inner { max-width: 800px; margin: 0 auto; display: flex; gap: 32px; align-items: center; }
.expert-img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--pink-light); }
.expert-quote { font-family: var(--font-heading); font-size: 18px; font-style: italic; line-height: 1.6; color: var(--gray-dark); margin-bottom: 12px; }
.expert-name { font-weight: 600; font-size: 14px; }
.expert-role { font-size: 12px; color: var(--gray); }

/* ===== REVIEWS ===== */
.reviews-section { padding: 60px 20px; max-width: var(--content-width); margin: 0 auto; }
.reviews-header { text-align: center; margin-bottom: 40px; }
.reviews-header .section-title { font-family: var(--font-heading); font-size: 28px; margin-bottom: 8px; }
.reviews-header .section-subtitle { font-size: 14px; color: var(--gray); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card { background: var(--white); border: 1px solid #f0f0f0; border-radius: var(--radius); padding: 24px; transition: box-shadow 0.2s; }
.review-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.review-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.review-name { font-weight: 600; font-size: 14px; }
.review-stars { color: #f59e0b; font-size: 14px; letter-spacing: 1px; }
.review-verified { font-size: 11px; color: var(--green); font-weight: 600; margin-bottom: 10px; }
.review-text { font-size: 14px; line-height: 1.6; color: var(--gray-dark); }
.review-date { font-size: 11px; color: var(--gray-light); margin-top: 10px; }
.reviews-load-more { display: block; margin: 32px auto 0; padding: 14px 40px; background: transparent; border: 2px solid var(--pink); color: var(--pink); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; border-radius: 50px; transition: all 0.2s; }
.reviews-load-more:hover { background: var(--pink); color: var(--white); }

/* ===== BOTTOM CTA ===== */
.bottom-cta { background: var(--pink-bg); padding: 60px 20px; text-align: center; }
.bottom-cta .section-title { font-family: var(--font-heading); font-size: 32px; margin-bottom: 12px; }
.bottom-cta .section-subtitle { font-size: 16px; color: var(--gray-dark); margin-bottom: 24px; }
.bottom-cta .buy-btn { max-width: 400px; margin: 0 auto; border-radius: 50px; }

/* ===== FOOTER ===== */
.site-footer { background: var(--black); color: var(--gray); padding: 48px 40px 32px; }
.footer-inner { max-width: var(--content-width); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { font-size: 13px; line-height: 1.7; }
.footer-brand img { height: 24px; margin-bottom: 12px; filter: brightness(0) invert(1); }
.footer-col h4 { color: var(--white); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: var(--gray); padding: 8px 0; min-height: 44px; display: flex; align-items: center; transition: color 0.2s; }
.footer-col a:hover { color: var(--pink); }
.footer-bottom { max-width: var(--content-width); margin: 24px auto 0; padding-top: 24px; border-top: 1px solid #333; font-size: 11px; color: #555; text-align: center; }

/* ===== MOBILE STICKY ===== */
.mobile-sticky { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--white); border-top: 1px solid #eee; padding: 10px 16px; z-index: 1000; box-shadow: 0 -4px 12px rgba(0,0,0,0.08); }
.mobile-sticky-inner { display: flex; align-items: center; justify-content: space-between; }
.mobile-sticky-info { display: flex; align-items: center; gap: 10px; }
.mobile-sticky-img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; }
.mobile-sticky-price { font-weight: 600; font-size: 16px; }
.mobile-sticky-price s { color: var(--gray-light); font-size: 12px; font-weight: 400; margin-left: 4px; }
.mobile-sticky-btn { background: var(--pink); color: var(--white); font-weight: 600; font-size: 13px; padding: 12px 24px; border-radius: 50px; text-transform: uppercase; letter-spacing: 0.5px; min-height: 44px; display: flex; align-items: center; text-decoration: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .product-section { grid-template-columns: 1fr; gap: 32px; padding: 24px 20px; }
    .product-gallery { position: static; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .header-nav { display: none; }
    .product-title { font-size: 28px; }
    .gallery-thumbs { grid-template-columns: repeat(5, 1fr); }
    .features-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .reviews-grid { grid-template-columns: 1fr; }
    .expert-inner { flex-direction: column; text-align: center; }
    .footer-inner { grid-template-columns: 1fr; gap: 24px; }
    .mobile-sticky { display: block; }
    body { padding-bottom: 72px; }
    .press-logos { gap: 24px; }
    .press-logos img { height: 18px; }
}

@media (max-width: 480px) {
    .product-title { font-size: 24px; }
    .features-grid { grid-template-columns: 1fr; }
    .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
}
