:root {
    --black: #000000;
    --charcoal: #0f0f0f;
    --gun: #171717;
    --yellow: #ffd700;
    --white: #ffffff;
    --muted: #6b7280;
    --border: #e5e7eb;
    --card: #f8f8f8;
    --shadow: 0 20px 50px rgba(0,0,0,0.08);
    --radius: 16px;
    --font: 'Poppins', 'Segoe UI', sans-serif;
}

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

/* Top bar */
.top-bar {
    background: linear-gradient(90deg, #111, #1b1b1b);
    color: #f4f4f4;
    font-size: 14px;
    padding: 8px 0;
}
.top-social a { color: #f4f4f4; margin-left: 12px; transition: 0.2s; }
.top-social a:hover { color: var(--yellow); }

/* Navbar */
.main-navbar { background: var(--white); box-shadow: 0 6px 20px rgba(0,0,0,0.06); padding: 12px 0; }
.logo-text .logo-title { font-weight: 800; color: #111; display: block; line-height: 1; }
.logo-text .logo-sub { font-size: 12px; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }
.navbar-nav .nav-link {
    font-weight: 600; color: #141414 !important; margin: 0 10px; letter-spacing: 0.2px; position: relative;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    content: ''; position: absolute; left: 8px; right: 8px; bottom: -6px; height: 2px; background: var(--yellow);
}
.nav-icons { display: flex; align-items: center; gap: 14px; }
.wishlist-icon, .cart-icon, .account-icon { color: #111; font-size: 18px; position: relative; }
.wishlist-count, .cart-count { position: absolute; top: -8px; right: -10px; background: var(--yellow); color: #111; border-radius: 50%; padding: 2px 6px; font-size: 11px; font-weight: 700; }
.btn-accent { background: var(--yellow); color: #111; border: none; font-weight: 700; }
.btn-accent:hover { background: #f5c400; color: #111; }
.site-logo { height: 46px; width: auto; object-fit: contain; }

/* Buttons */
.btn { border-radius: 999px; font-weight: 700; letter-spacing: 0.2px; }
.btn-primary { background: #111; border-color: #111; color: #fff; }
.btn-primary:hover { background: #000; color: #fff; }
.btn-outline { border: 1px solid #111; color: #111; background: transparent; }
.btn-outline:hover { background: #111; color: #fff; }
.btn-outline.btn-sm { padding: 8px 14px; }

/* Promo bar */
.promo-bar { background: #0f0f0f; color: #f5f5f5; padding: 10px 0; border-bottom: 1px solid #1f1f1f; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #171717; color: #e5e5e5; font-weight: 600; font-size: 13px; }
.pill-accent { background: var(--yellow); color: #111; }
.pill-light { background: #f2f2f2; color: #111; }
.promo-link-btn { background: var(--yellow); color: #111; padding: 9px 16px; border-radius: 999px; font-weight: 700; }

/* Homepage banner */
.crazywear-hero-banner {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.45)),
        url('../images/banner.jpg') center/cover no-repeat;
}
.crazywear-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.42) 55%, rgba(0, 0, 0, 0.58) 100%);
}
.crazywear-hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
    max-width: 860px;
    padding-top: 40px;
    padding-bottom: 40px;
}
.crazywear-hero-seo-image {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.crazywear-hero-kicker {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 700;
}
.crazywear-hero-banner h1 {
    font-size: 52px;
    line-height: 1.08;
    font-weight: 800;
    margin-bottom: 14px;
}
.crazywear-hero-banner h1 span { color: #facc15; }
.crazywear-hero-banner h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.92);
}
.crazywear-hero-description,
.crazywear-hero-copy {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.crazywear-hero-description {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}
.crazywear-hero-copy {
    color: rgba(255, 255, 255, 0.84);
    margin-bottom: 28px;
}
.crazywear-hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.crazywear-hero-actions .btn {
    min-width: 190px;
    padding: 13px 24px;
}
.crazywear-hero-actions .btn-light {
    color: #111;
    font-weight: 700;
}

/* Hero */
.hero-fashion { display: none; }
.hero-section { padding: 80px 0 70px; position: relative; }
.hero-fashion h1 { font-size: 44px; font-weight: 800; line-height: 1.1; }
.hero-fashion h1 span { color: var(--yellow); }
.hero-fashion .lead { font-size: 18px; color: #2f2f2f; margin: 16px 0 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-metrics { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 26px; }
.hero-metrics div { background: #fff; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); text-align: center; }
.hero-metrics strong { display: block; font-size: 20px; }
.hero-visual { border-radius: 22px; overflow: hidden; min-height: 360px; background-size: cover; background-position: center; position: relative; box-shadow: var(--shadow); }
.hero-overlay-card { position: absolute; bottom: 16px; left: 16px; background: rgba(0,0,0,0.72); color: #fff; padding: 16px 18px; border-radius: 14px; }

/* Trust strip */
.trust-strip { padding: 22px 0; background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-pill { background: #f4f4f4; border-radius: 14px; padding: 10px 14px; font-weight: 700; color: #111; box-shadow: 0 10px 24px rgba(0,0,0,0.04); }
.trust-pill i { color: var(--yellow); margin-right: 8px; }

/* Urgency chips */
.urgency-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.urgency-chip { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-weight: 700; color: #111; }

.section-padding { padding: 64px 0; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.section-header h2 { font-size: 30px; font-weight: 800; }
.section-link { color: #111; font-weight: 700; text-decoration: underline; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; color: var(--muted); font-weight: 700; font-size: 12px; }

/* Category cards */
.category-grid .category-card,
.category-card--ghost { background: #fff; border-radius: var(--radius); padding: 14px; border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.25s; display: block; }
.category-grid .category-card:hover,
.category-card--ghost:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }
.category-img { border-radius: 14px; background-size: cover; background-position: center; height: 140px; margin-bottom: 12px; position: relative; }
.category-card h5 { font-weight: 700; margin-bottom: 6px; }
.link-arrow { color: #111; font-weight: 700; font-size: 13px; }
.category-card--ghost .pill { display: inline-flex; margin-top: 8px; }

/* Product cards */
.product-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: 0 12px 32px rgba(0,0,0,0.06); display: flex; flex-direction: column; height: 100%; position: relative; }
.product-card.compact { box-shadow: 0 10px 26px rgba(0,0,0,0.05); }
.product-card.ghost { background: #0f0f0f; color: #f8f8f8; border-color: #1f1f1f; }
.product-card .product-img { position: relative; background: #fdfdfd; display: grid; place-items: center; padding: 14px; }
.product-card .product-img img { width: 100%; height: 240px; object-fit: cover; border-radius: 12px; }
.product-card .product-actions { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: 0.25s; background: rgba(0,0,0,0.48); }
.product-card:hover .product-actions { opacity: 1; }
.product-card .discount-chip { position: absolute; top: 12px; left: 12px; background: #ff3b30; color: #fff; padding: 6px 10px; border-radius: 10px; font-size: 12px; font-weight: 800; }
.product-card .product-info { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-category { text-transform: uppercase; letter-spacing: 1px; font-size: 11px; color: var(--muted); margin: 0; }
.product-card h5 { font-size: 16px; font-weight: 700; line-height: 1.4; }
.price-row { display: flex; align-items: baseline; gap: 8px; }
.price-main { font-weight: 800; color: #111; }
.price-mrp { color: #9ca3af; text-decoration: line-through; font-size: 13px; }
.rating-row { display: flex; align-items: center; gap: 8px; }
.stars-inline i { color: #f4b000; font-size: 13px; }
.card-ctas { display: flex; gap: 8px; }
.card-ctas .btn { flex: 1; border-radius: 12px; }
.product-card.ghost .price-main { color: var(--yellow); }

/* Newsletter */
.newsletter { background: #111; color: #f7f7f7; border-radius: 24px 24px 0 0; margin-top: 40px; }
.newsletter .eyebrow { color: #c6c6c6; }
.newsletter h3 { font-size: 28px; font-weight: 800; }
.newsletter-form { display: flex; gap: 10px; flex-direction: column; }
.newsletter-form input { padding: 12px 14px; border-radius: 12px; border: none; }
.newsletter .btn-primary { background: var(--yellow); color: #111; border: none; }

/* Reviews */
.review-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: 0 12px 26px rgba(0,0,0,0.05); height: 100%; }
.review-card p { margin: 12px 0; color: #1f2937; }
.stars i { color: #ffb703; margin-right: 2px; }

/* Footer */
.footer { background: #0b0b0b; color: #f6f6f6; padding: 40px 0 20px; }
.footer a { color: #f6f6f6; text-decoration: none; }
.footer a:hover { color: #ffd700; }
.footer-logo { height: 56px; width: auto; background: #fff; border-radius: 10px; padding: 4px 6px; object-fit: contain; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.footer-col h4 { font-weight: 800; margin-bottom: 12px; letter-spacing: 0.3px; color:#ffd700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col li { margin: 0; }
.footer-text { color: rgba(246,246,246,0.78); margin: 8px 0 12px; line-height: 1.6; }
.footer-contact { display: grid; gap: 8px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact i { color: #ffd700; margin-top: 4px; }
.footer-social { display: flex; gap: 12px; margin-top: 10px; }
.footer-social a { font-size: 18px; }
.footer-bottom { text-align: left; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 14px; margin-top: 18px; font-size: 13px; color: rgba(246,246,246,0.7); }
.site-logo { height: 54px; width: auto; object-fit: contain; }
.footer-logo { height: 64px; width: auto; object-fit: contain; }

/* Product detail page */
.slider-box { overflow: hidden; border-radius: 14px; background: #fff; border: 1px solid var(--border); }
.slide-img { width: 100%; height: 420px; object-fit: contain; background: #fff; }
.thumb-img { border: 1px solid var(--border); padding: 4px; border-radius: 10px; cursor: pointer; }
.price-row .save-tag { background: #ecfdf3; color: #15803d; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.review-form { border-radius: var(--radius); border: 1px solid var(--border); }

.size-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.size-pill { border: 1px solid var(--border); border-radius: 12px; padding: 8px 14px; font-weight: 700; cursor: pointer; }
.size-pill:hover, .size-pill.active { border-color: #111; background: #111; color: #fff; }

/* Shop listing */
.ecommerce-listing h2 { font-weight: 800; }
.ecommerce-grid-card { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.ecommerce-grid-card .card-img-top { height: 220px; object-fit: contain; object-position: center; background: #fffaf4; padding: 10px; }
.discount-chip { font-size: 12px; font-weight: 800; }

/* Category overview */
.category-overview-card,
.category-overview-block {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.05);
}
.category-overview-card {
    padding: 28px;
    margin-bottom: 10px;
}
.category-overview-card h1 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 10px;
}
.category-overview-intro {
    margin: 0;
    max-width: 760px;
    color: #4b5563;
}
.category-overview-block {
    padding: 24px;
    height: 100%;
}
.category-overview-media {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background: #fffaf4;
    border: 1px solid #f3e6d8;
}
.category-overview-image {
    width: 100%;
    height: 220px;
    object-fit: contain;
    object-position: center;
    padding: 10px;
}
.category-overview-block h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
}
.category-overview-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}
.category-overview-list li {
    padding: 11px 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    font-weight: 500;
}
.category-overview-link {
    font-size: 13px;
    color: #6b7280;
    text-decoration: underline;
}
.category-overview-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* Cart */
.cart-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cart-thumb { width: 70px; height: 70px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); background: #fff; }

/* Responsive */
@media (max-width: 991px) {
    .crazywear-hero-banner h1 { font-size: 40px; }
    .crazywear-hero-banner h2 { font-size: 22px; }
    .hero-fashion h1 { font-size: 34px; }
    .nav-icons { margin-left: auto; }
}
@media (max-width: 768px) {
    .crazywear-hero-banner {
        min-height: auto;
        padding: 72px 0;
    }
    .crazywear-hero-content { padding-top: 0; padding-bottom: 0; }
    .crazywear-hero-banner h1 { font-size: 34px; }
    .crazywear-hero-banner h2 { font-size: 20px; }
    .category-overview-card h1 { font-size: 30px; }
    .hero-section { padding: 64px 0; }
    .hero-visual { min-height: 260px; }
    .hero-metrics { grid-template-columns: repeat(3, 1fr); }
    .section-header h2 { font-size: 26px; }
    .category-img { height: 120px; }
}
@media (max-width: 576px) {
    .crazywear-hero-actions .btn { width: 100%; }
    .crazywear-hero-banner h1 { font-size: 29px; }
    .crazywear-hero-description { font-size: 16px; }
    .pill { width: 100%; justify-content: center; }
    .hero-actions { flex-direction: column; }
    .card-ctas { flex-direction: column; }
}

/* Legal and info pages */
.policy-section {
    padding: 72px 0;
    background:
        radial-gradient(circle at top right, rgba(255, 186, 59, 0.12), transparent 28%),
        linear-gradient(180deg, #fff8f0 0%, #fffdf9 100%);
}
.policy-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: 0 22px 52px rgba(26, 22, 18, 0.08);
    padding: 36px;
}
.policy-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ff5c1a;
    margin-bottom: 16px;
}
.policy-card h1 {
    font-size: 42px;
    line-height: 1.08;
    font-weight: 800;
    margin-bottom: 14px;
}
.policy-subtitle {
    font-size: 18px;
    color: #4b5563;
    max-width: 760px;
    margin-bottom: 28px;
}
.policy-grid {
    display: grid;
    gap: 22px;
}
.policy-block {
    background: #fffaf4;
    border: 1px solid #f3e6d8;
    border-radius: 20px;
    padding: 24px;
}
.policy-block h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
}
.policy-body,
.policy-block p {
    color: #374151;
    line-height: 1.75;
    margin-bottom: 0;
}
.policy-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: grid;
    gap: 12px;
}
.policy-list li {
    position: relative;
    padding-left: 18px;
    color: #1f2937;
    line-height: 1.65;
}
.policy-list li::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff5c1a;
}
.policy-note {
    margin-top: 22px;
    padding: 16px 18px;
    border-radius: 16px;
    background: #1a1612;
    color: #fff8f0;
}
.policy-note strong {
    color: #ffba3b;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
}
.contact-card {
    background: #fffaf4;
    border: 1px solid #f3e6d8;
    border-radius: 20px;
    padding: 24px;
    height: 100%;
}
.contact-card h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 14px;
}
.contact-list-page {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}
.contact-list-page li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #374151;
    line-height: 1.65;
}
.contact-list-page i {
    width: 18px;
    color: #ff5c1a;
    margin-top: 4px;
}
.contact-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

@media (max-width: 991px) {
    .policy-card {
        padding: 28px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .policy-section {
        padding: 56px 0;
    }
    .policy-card h1 {
        font-size: 32px;
    }
    .policy-subtitle {
        font-size: 16px;
        margin-bottom: 22px;
    }
    .policy-block {
        padding: 20px;
    }
}
@media (max-width: 576px) {
    .policy-card {
        padding: 22px 18px;
        border-radius: 22px;
    }
    .policy-card h1 {
        font-size: 28px;
    }
    .contact-actions .btn {
        width: 100%;
    }
}
