/* ═══════════════════════════════════════════════════════════════
   StyleStore — E-Commerce / Shop Template
   White + Coral/Salmon #E85D4E
   ═══════════════════════════════════════════════════════════════ */

:root {
    --accent: #E85D4E;
    --accent-dark: #D64A3C;
    --accent-soft: rgba(232, 93, 78, 0.08);
    --accent-medium: rgba(232, 93, 78, 0.15);
    --dark: #1a1a2e;
    --bg: #FFFFFF;
    --bg-warm: #FAFAFA;
    --bg-cool: #F5F5F7;
    --text: #1a1a2e;
    --text-secondary: #4a4a5a;
    --text-muted: #6b6b7b;
    --border: #e8e8ec;
    --border-light: #f2f2f5;
    --shadow: rgba(0, 0, 0, 0.04);
    --shadow-md: rgba(0, 0, 0, 0.08);
    --shadow-lg: rgba(0, 0, 0, 0.14);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Utilities */
.section-label {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text);
}
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
.top-trust {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 8px 0;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1001;
}
.top-trust .trust-strip {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.top-trust .trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
}
.top-trust .trust-item svg { color: var(--accent); flex-shrink: 0; }

.navbar {
    position: fixed;
    top: 36px; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
}
.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 24px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    flex-shrink: 0;
}
.logo svg { color: var(--accent); }

.nav-search {
    flex: 1;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-cool);
    padding: 10px 16px;
    border-radius: 100px;
    border: 1px solid var(--border-light);
}
.nav-search input {
    border: none;
    background: transparent;
    font-size: 0.9rem;
    font-family: var(--font-body);
    outline: none;
    width: 100%;
    color: var(--text);
}
.nav-search input::placeholder { color: var(--text-muted); }
.nav-search svg { color: var(--text-muted); flex-shrink: 0; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}
.nav-icon:hover { background: var(--bg-cool); color: var(--accent); }
.cart .cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--accent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(232, 93, 78, 0.25);
}
.btn-white {
    background: #fff;
    color: var(--accent);
}
.btn-white:hover {
    background: var(--bg-cool);
    transform: translateY(-2px);
}
.btn-full { width: 100%; }

/* ═══════════════════════════════════════════════════════════════
   HERO — Product cards as hero (unique concept)
   ═══════════════════════════════════════════════════════════════ */
.hero {
    padding: 140px 24px 60px;
    background: var(--bg-warm);
}

/* Hero Text */
.hero-text {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
}
.hero-badge {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}
.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -1px;
}
.hero-title .accent { color: var(--accent); }
.hero-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Hero Products Row */
.hero-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.h-product {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}
.h-product:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px var(--shadow-md);
}
.h-prod-img {
    position: relative;
    overflow: hidden;
}
.h-prod-img img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: var(--transition);
}
.h-product:hover .h-prod-img img { transform: scale(1.05); }
.h-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 100px;
}
.h-prod-body {
    padding: 16px;
}
.h-prod-cat {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
    display: block;
}
.h-prod-body h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
    line-height: 1.3;
}
.h-prod-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.h-prod-price .old {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
}
.h-prod-price .new {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent);
}
.h-add {
    width: 100%;
    padding: 10px;
    background: var(--dark);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
}
.h-add:hover { background: var(--accent); }

/* ═══════════════════════════════════════════════════════════════
   CATEGORIES
   ═══════════════════════════════════════════════════════════════ */
.categories {
    padding: 80px 0;
    background: var(--bg);
}
.cat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.cat-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1/1.2;
    transition: var(--transition);
}
.cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px var(--shadow-md);
}
.cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.cat-card:hover img { transform: scale(1.08); }
.cat-card span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 12px 14px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCTS
   ═══════════════════════════════════════════════════════════════ */
.products {
    padding: 80px 0;
    background: var(--bg-warm);
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}
.product-card:hover {
    box-shadow: 0 12px 40px var(--shadow-md);
    transform: translateY(-4px);
}
.prod-img {
    position: relative;
    overflow: hidden;
}
.prod-img img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: var(--transition);
}
.product-card:hover .prod-img img { transform: scale(1.05); }
.prod-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 100px;
}
.prod-badge.sale { background: var(--accent); color: #fff; }
.prod-badge.new { background: var(--dark); color: #fff; }
.prod-wish {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}
.prod-wish:hover { color: var(--accent); background: #fff; }
.prod-body {
    padding: 16px;
}
.prod-cat {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
    display: block;
}
.prod-body h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
    line-height: 1.3;
}
.prod-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.prod-price .old {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
}
.prod-price .new {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
}

/* ═══════════════════════════════════════════════════════════════
   PROMO BANNER
   ═══════════════════════════════════════════════════════════════ */
.promo {
    padding: 80px 0;
    background: var(--bg);
}
.promo-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: var(--accent);
    border-radius: var(--radius);
    padding: 48px 56px;
    overflow: hidden;
}
.promo-text {
    color: #fff;
}
.promo-label {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}
.promo-text h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 14px;
}
.promo-text p {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 24px;
    max-width: 400px;
}
.promo-img {
    display: flex;
    justify-content: center;
}
.promo-img img {
    max-height: 320px;
    width: auto;
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

/* ═══════════════════════════════════════════════════════════════
   REVIEWS
   ═══════════════════════════════════════════════════════════════ */
.reviews {
    padding: 80px 0;
    background: var(--bg-warm);
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.review-card {
    background: #fff;
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}
.review-card:hover {
    box-shadow: 0 8px 32px var(--shadow-md);
    transform: translateY(-4px);
}
.review-card.featured {
    border-color: var(--accent);
    box-shadow: 0 8px 32px rgba(232, 93, 78, 0.1);
}
.review-stars {
    color: #FFC107;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 14px;
}
.review-card > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}
.review-author strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}
.review-author span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   NEWSLETTER
   ═══════════════════════════════════════════════════════════════ */
.newsletter {
    padding: 80px 0;
    background: var(--bg);
}
.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: var(--dark);
    border-radius: var(--radius);
    padding: 48px 56px;
    flex-wrap: wrap;
}
.newsletter-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}
.newsletter-text p {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}
.newsletter-form {
    display: flex;
    gap: 10px;
    flex: 1;
    max-width: 420px;
}
.newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-body);
    background: rgba(255,255,255,0.1);
    color: #fff;
    outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { background: rgba(255,255,255,0.15); }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
    background: #111;
    color: rgba(255, 255, 255, 0.5);
    padding: 60px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand > p {
    font-size: 0.92rem;
    line-height: 1.7;
    max-width: 280px;
}
.footer-col h5 {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-col a {
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-col a:hover { color: #fff; }
.footer-col > p {
    font-size: 0.9rem;
    margin-bottom: 8px;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-products { grid-template-columns: repeat(2, 1fr); }
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .promo-inner { grid-template-columns: 1fr; text-align: center; }
    .promo-text p { max-width: none; }
    .promo-img { order: -1; }
    .promo-img img { max-height: 220px; }
    .newsletter-inner { flex-direction: column; text-align: center; }
    .newsletter-form { max-width: 100%; width: 100%; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-search { display: none; }
    .nav-toggle { display: flex; }
    .hero { padding-top: 90px; }
    .trust-strip { gap: 16px; }
    .trust-item span { font-size: 0.75rem; }
    .hero-products { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .promo-inner { padding: 32px 24px; }
    .newsletter-inner { padding: 32px 24px; }
    .newsletter-form { flex-direction: column; }
}
