/* ==================================================
   VARIABLES & RESET
================================================== */
:root {
    --clr-black: #080808;
    --clr-dark: #121212;
    --clr-yellow: #FFD400;
    --clr-dark-yellow: #E5B900;
    --clr-white: #FFFFFF;
    --clr-light: #F5F5F5;
    --clr-gray: #707070;
    --clr-border: #EAEAEA;
    
    --font-main: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--clr-white);
    color: var(--clr-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-yellow { color: var(--clr-yellow); }
.bg-light { background-color: var(--clr-light); }
.text-center { text-align: center; }
.mb-40 { margin-bottom: 40px; }
.w-100 { width: 100%; }

.section {
    padding: 80px 0;
}

/* ==================================================
   BUTTONS
================================================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    border-radius: 4px;
}

.btn-primary {
    background-color: var(--clr-yellow);
    color: var(--clr-black);
}

.btn-primary:hover {
    background-color: var(--clr-dark-yellow);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--clr-white);
    border: 2px solid var(--clr-white);
}

.btn-outline:hover {
    background-color: var(--clr-yellow);
    color: var(--clr-black);
    border-color: var(--clr-yellow);
}

/* ==================================================
   TOP BAR
================================================== */
.top-bar {
    background-color: var(--clr-black);
    color: var(--clr-white);
    text-align: center;
    padding: 8px 0;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* ==================================================
   HEADER & NAVIGATION
================================================== */
.header {
    background-color: var(--clr-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    gap: 30px;
}

/* Mobile Menu Checkbox Hack */
.mobile-nav-toggle {
    display: none;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--clr-black);
}

.logo span {
    color: var(--clr-yellow);
}

.search-bar {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 12px 20px;
    padding-right: 50px;
    border: 1px solid var(--clr-border);
    border-radius: 30px;
    background: var(--clr-light);
    outline: none;
    font-family: var(--font-main);
    transition: var(--transition);
}

.search-bar input:focus {
    border-color: var(--clr-yellow);
    background: var(--clr-white);
}

.search-bar button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--clr-gray);
    cursor: pointer;
    font-size: 16px;
}

.header-icons {
    display: flex;
    gap: 25px;
}

.icon-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--clr-dark);
}

.icon-btn i {
    font-size: 20px;
}

.icon-text {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.icon-btn:hover {
    color: var(--clr-yellow);
}

.cart-icon {
    position: relative;
}

.cart-badge-container {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--clr-yellow);
    color: var(--clr-black);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Nav Bar */
.nav-bar {
    background-color: var(--clr-black);
    color: var(--clr-white);
}

.nav-container {
    display: flex;
    align-items: center;
}

.all-categories {
    background-color: var(--clr-yellow);
    color: var(--clr-black);
    padding: 15px 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.all-categories .arrow {
    margin-left: auto;
    font-size: 12px;
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--clr-white);
    color: var(--clr-dark);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 10;
}

.all-categories:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu ul {
    display: flex;
    flex-direction: column;
}

.mega-menu li a {
    display: block;
    padding: 12px 25px;
    border-bottom: 1px solid var(--clr-border);
    font-size: 14px;
    font-weight: 500;
}

.mega-menu li a:hover {
    padding-left: 30px;
    color: var(--clr-yellow);
    background-color: var(--clr-light);
}

.nav-links {
    display: flex;
    gap: 30px;
    margin-left: 40px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--clr-yellow);
}

/* ==================================================
   HERO SECTION
================================================== */
.hero {
    background-color: var(--clr-black);
    color: var(--clr-white);
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-bg-accent {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,212,0,0.1) 0%, rgba(8,8,8,0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    animation: fadeIn 1s ease forwards;
}

.hero-label {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--clr-yellow);
}

.hero-title {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 18px;
    color: #AAA;
    max-width: 450px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-product-comp {
    position: relative;
}

.prod-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background-color: var(--clr-dark);
    border-radius: 50%;
    border: 1px solid rgba(255,212,0,0.3);
}

.floating-img {
    position: relative;
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ==================================================
   TRUST STRIP
================================================== */
.trust-strip {
    background-color: var(--clr-dark);
    border-top: 1px solid #222;
    padding: 25px 0;
    color: var(--clr-white);
}

.trust-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: 600;
}

.trust-item i {
    font-size: 24px;
    color: var(--clr-yellow);
}

/* ==================================================
   CATEGORIES
================================================== */
.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--clr-gray);
    font-size: 15px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.category-card {
    display: flex;
    align-items: center;
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    padding: 15px;
    transition: var(--transition);
}

.category-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--clr-yellow);
    transform: translateY(-3px);
}

.cat-img {
    width: 60px;
    height: 60px;
    background: var(--clr-light);
    border-radius: 5px;
    overflow: hidden;
    margin-right: 20px;
}

.cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .cat-img img {
    transform: scale(1.1);
}

.cat-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cat-info h3 {
    font-size: 15px;
    font-weight: 600;
}

.cat-info i {
    color: var(--clr-gray);
    font-size: 14px;
    transition: var(--transition);
}

.category-card:hover .cat-info i {
    color: var(--clr-yellow);
    transform: translateX(5px);
}

/* ==================================================
   FEATURED PRODUCTS
================================================== */
.tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.tab {
    background: transparent;
    border: none;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 14px;
    color: var(--clr-gray);
    cursor: pointer;
    padding: 8px 16px;
    transition: var(--transition);
    border-radius: 20px;
}

.tab:hover, .tab.active {
    color: var(--clr-black);
    background: var(--clr-yellow);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
}

.prod-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 3px;
}

.badge.sale { background: var(--clr-yellow); color: var(--clr-black); }
.badge.new { background: var(--clr-black); color: var(--clr-white); }

.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--clr-gray);
    transition: var(--transition);
}

.wishlist-btn:hover {
    color: #ff4757;
    border-color: #ff4757;
}

.prod-img {
    width: 100%;
    aspect-ratio: 1/1;
    background: var(--clr-light);
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.prod-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .prod-img img {
    transform: scale(1.05);
}

.prod-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.brand {
    font-size: 11px;
    color: var(--clr-gray);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.prod-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.prod-name:hover {
    color: var(--clr-yellow);
}

.rating {
    font-size: 12px;
    color: var(--clr-yellow);
    margin-bottom: 15px;
}

.rating span {
    color: var(--clr-gray);
    margin-left: 5px;
}

.price-box {
    margin-top: auto;
    margin-bottom: 15px;
}

.old-price {
    font-size: 13px;
    color: var(--clr-gray);
    text-decoration: line-through;
    margin-right: 8px;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--clr-black);
}

.action-buttons {
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.product-card:hover .action-buttons {
    opacity: 1;
    transform: translateY(0);
}

.btn-cart, .btn-buy {
    flex: 1;
    padding: 10px 0;
    font-size: 12px;
}

.btn-cart {
    background: var(--clr-black);
    color: var(--clr-white);
}

.btn-cart:hover { background: var(--clr-dark); }

.btn-buy {
    background: var(--clr-yellow);
    color: var(--clr-black);
}

/* ==================================================
   PROMO BANNER
================================================== */
.promo-banner {
    background-color: var(--clr-black);
    padding: 0;
    overflow: hidden;
}

.promo-container {
    display: flex;
    align-items: center;
}

.promo-content {
    flex: 1;
    padding: 80px 40px 80px 0;
    color: var(--clr-white);
}

.promo-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
}

.promo-content p {
    color: #AAA;
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 400px;
}

.promo-image {
    flex: 1;
    height: 100%;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==================================================
   FLASH DEALS
================================================== */
.flash-deals {
    background-color: var(--clr-dark);
    color: var(--clr-white);
}

.deals-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.deals-title h2 {
    font-size: 32px;
    font-weight: 700;
}

.deals-title p { color: #AAA; }

.countdown {
    display: flex;
    gap: 15px;
}

.time-box {
    background: var(--clr-black);
    border: 1px solid #333;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    min-width: 70px;
}

.time-box span {
    display: block;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.dark-card {
    background: var(--clr-black);
    border-color: #333;
}
.dark-card .prod-name { color: var(--clr-white); }
.dark-card .prod-img { background: #222; }

/* ==================================================
   COLLECTION BANNERS
================================================== */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.col-banner {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 40px;
}

.col-banner .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.2));
    transition: var(--transition);
}

.col-banner:hover .overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.4));
}

.col-content {
    position: relative;
    z-index: 2;
    color: var(--clr-white);
}

.col-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.col-content p {
    font-size: 14px;
    color: #CCC;
    margin-bottom: 20px;
}

.col-banner:hover .col-content {
    transform: translateY(-5px);
}

/* ==================================================
   WHY CHOOSE US
================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    text-align: center;
}

.feature-block i {
    font-size: 40px;
    color: var(--clr-yellow);
    margin-bottom: 20px;
}

.feature-block h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-block p {
    font-size: 13px;
    color: var(--clr-gray);
}

/* ==================================================
   FAQ (Pure HTML/CSS Details Summary)
================================================== */
.faq-container {
    max-width: 800px;
}

.faq-list details {
    background: var(--clr-light);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-list summary {
    padding: 20px 25px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    list-style: none; /* Hide default arrow */
    position: relative;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--clr-yellow);
    font-weight: 300;
}

.faq-list details[open] summary::after {
    content: '-';
}

.faq-list p {
    padding: 0 25px 20px;
    color: var(--clr-gray);
    font-size: 14px;
}

/* ==================================================
   NEWSLETTER
================================================== */
.newsletter {
    background: var(--clr-black);
    padding: 60px 0;
    color: var(--clr-white);
}

.news-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #151515;
    padding: 50px;
    border-radius: 12px;
    border: 1px solid #333;
}

.news-text h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--clr-yellow);
    margin-bottom: 10px;
}

.news-text p { color: #AAA; }

.news-form {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 450px;
}

.news-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 4px;
    font-family: var(--font-main);
    outline: none;
}

/* ==================================================
   FOOTER
================================================== */
.footer {
    background-color: var(--clr-dark);
    color: var(--clr-white);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.brand-col p {
    color: #AAA;
    font-size: 14px;
    margin: 20px 0;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #222;
    border-radius: 50%;
    margin-right: 10px;
    color: var(--clr-white);
}

.social-icons a:hover {
    background: var(--clr-yellow);
    color: var(--clr-black);
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--clr-white);
}

.footer-col ul li { margin-bottom: 12px; }

.footer-col ul a {
    color: #AAA;
    font-size: 14px;
}

.footer-col ul a:hover { color: var(--clr-yellow); }

.contact-info li {
    color: #AAA;
    font-size: 14px;
    display: flex;
    gap: 15px;
}

.contact-info i { color: var(--clr-yellow); margin-top: 5px; }

.footer-bottom {
    border-top: 1px solid #222;
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #777;
    font-size: 13px;
}

.payment-methods {
    display: flex;
    gap: 15px;
    font-size: 24px;
    color: #555;
}

/* ==================================================
   RESPONSIVE DESIGN
================================================== */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .collection-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-title { font-size: 50px; }
}

@media (max-width: 768px) {
    .header-main { flex-wrap: wrap; }
    .search-bar { order: 3; min-width: 100%; }
    
    .nav-bar { display: none; }
    
    /* Hamburger Menu Activation via Checkbox Hack */
    .hamburger { display: block; }
    
    .nav-bar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--clr-black);
        flex-direction: column;
    }
    
    #mobile-nav-toggle:checked ~ .nav-bar {
        display: block;
    }
    
    .nav-container { flex-direction: column; align-items: flex-start; padding: 20px; }
    .nav-links { flex-direction: column; margin-left: 0; gap: 15px; margin-top: 20px; }
    .all-categories { width: 100%; justify-content: space-between; }
    .mega-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; }
    
    .all-categories:hover .mega-menu { display: block; }
    
    .hero-container { flex-direction: column; text-align: center; }
    .hero-content { padding-bottom: 40px; }
    .hero-buttons { justify-content: center; }
    .hero-visual { margin-top: 20px; }
    
    .trust-container { justify-content: center; }
    
    /* Mobile horizontal scroll for categories */
    .category-grid { 
        display: flex; 
        overflow-x: auto; 
        scroll-snap-type: x mandatory; 
        padding-bottom: 20px;
    }
    .category-card { min-width: 250px; scroll-snap-align: start; }
    
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .hidden-mobile { display: none; }
    
    .promo-container { flex-direction: column; text-align: center; }
    .promo-content { padding: 40px 0; }
    
    .collection-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    
    .news-container { flex-direction: column; text-align: center; gap: 20px; padding: 30px; }
    
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .brand-col, .footer-col:last-child { grid-column: span 2; }
    
    .action-buttons { opacity: 1; transform: none; flex-direction: column; }
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .brand-col, .footer-col:last-child { grid-column: span 1; }
    .hero-title { font-size: 40px; }
    .prod-circle { width: 250px; height: 250px; }
    .deals-header { flex-direction: column; align-items: flex-start; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}