:root {
    --primary: #000000;
    --secondary: #ffffff;
    --accent: #F2F0F1;
    --text-gray: #00000099;
    --border-color: #0000001a;
    --font-heading: 'Oswald', sans-serif;
    /* Similar to Integral CF */
    --font-body: 'Inter', sans-serif;
    /* Similar to Satoshi */
    --container-width: 1240px;
    --radius: 62px;
    /* Pill shape radius */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--primary);
    background-color: var(--secondary);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 16px;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary);
    color: var(--secondary);
    padding: 9px 0;
    font-size: 14px;
    position: relative;
}

.top-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-bar a {
    font-weight: 600;
    text-decoration: underline;
    margin-left: 5px;
}

.close-top-bar {
    position: absolute;
    right: 100px;
    /* Adjust based on container */
    background: none;
    border: none;
    color: var(--secondary);
    cursor: pointer;
    display: none;
    /* Hidden on mobile usually, shown on desktop if needed */
}

@media (min-width: 768px) {
    .close-top-bar {
        display: block;
        right: 20px;
        /* Simplified for now */
    }
}

/* Header */
.header {
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
    background: var(--secondary);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -1px;
    flex-shrink: 0;
}

.main-nav {
    display: none;
}

.main-nav ul {
    display: flex;
    gap: 24px;
}

.main-nav a {
    font-size: 16px;
    font-weight: 400;
    transition: color 0.2s;
}

.main-nav a:hover {
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.search-bar {
    display: none;
    background: var(--accent);
    border-radius: var(--radius);
    padding: 12px 16px;
    width: 577px;
    /* Fixed width from design usually */
    align-items: center;
    gap: 12px;
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-family: var(--font-body);
}

.search-bar i {
    color: var(--text-gray);
}

.icon-btn {
    font-size: 20px;
    color: var(--primary);
}

.mobile-menu-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: block;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }

    .main-nav {
        display: block;
    }

    .search-bar {
        display: flex;
    }
}

/* Hero Section */
.hero {
    background-color: #F2F0F1;
    padding-top: 40px;
    overflow: hidden;
    /* For the big image */
}

.hero-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-content {
    padding-bottom: 40px;
}

.hero h1 {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 36px;
    line-height: 1.1;
    margin-bottom: 16px;
    text-transform: uppercase;
    font-weight: 900;
}

.hero p {
    color: var(--text-gray);
    margin-bottom: 24px;
    font-size: 14px;
}

.btn {
    display: inline-block;
    padding: 16px 54px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--secondary);
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--border-color);
    width: 100%;
    /* Mobile full width */
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--secondary);
}

.hero-stats {
    display: flex;
    gap: 20px;
    /* Mobile gap */
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
    /* Center on mobile */
}

.stat-item {
    border-right: 1px solid var(--border-color);
    padding-right: 20px;
}

.stat-item:last-child {
    border-right: none;
    padding-right: 0;
}

.stat-item h3 {
    font-size: 24px;
    font-weight: 700;
}

.stat-item p {
    margin-bottom: 0;
    font-size: 12px;
}

.hero-image {
    position: relative;
    min-height: 300px;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: floatHero 3s ease-out forwards;
}

@keyframes floatHero {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* mask-image: linear-gradient(to bottom, black 80%, transparent 100%); Optional fade */


.star-decor {
    position: absolute;
    background-color: var(--primary);
    /* Use clip-path for star shape or SVG background */
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.big-star {
    width: 56px;
    height: 56px;
    top: 20px;
    right: 20px;
    animation: spin 10s linear infinite;
}

.small-star {
    width: 44px;
    height: 44px;
    top: 150px;
    left: 20px;
    animation: spin 8s linear infinite reverse;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (min-width: 1024px) {
    .hero-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .hero-content {
        flex: 1;
        padding-bottom: 80px;
    }

    .hero h1 {
        font-size: 64px;
        margin-bottom: 32px;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 32px;
        max-width: 500px;
    }

    .hero-stats {
        justify-content: flex-start;
        gap: 32px;
    }

    .stat-item h3 {
        font-size: 40px;
    }

    .hero-image {
        flex: 1;
        min-height: auto;
    }
}

/* Brands Strip (Marquee) */
.brands-strip {
    background-color: black;
    color: white;
    padding: 20px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.brands-wrapper {
    width: 100%;
    overflow: hidden;
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

.marquee-content span {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-right: 60px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.marquee-content span:hover {
    opacity: 1;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Products Section */
.section {
    padding: 50px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 32px;
    text-align: center;
    margin-bottom: 32px;
    text-transform: uppercase;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 cols on mobile */
    gap: 16px;
    margin-bottom: 24px;
}

.product-card {
    cursor: pointer;
    transition: transform 0.2s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.card-image {
    background-color: var(--accent);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 16px;
    aspect-ratio: 1/1;
    /* Square images */
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .card-image img {
    transform: scale(1.05);
}

.card-info h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rating {
    color: #FFC633;
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating span {
    color: var(--text-gray);
    font-size: 12px;
    margin-left: 4px;
}

.action-btn a {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: underline;
}

.view-all-container {
    text-align: center;
}

.view-all-container .btn {
    padding: 12px 30px;
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
        /* 4 cols on desktop */
        gap: 20px;
    }

    .section-title {
        font-size: 48px;
        margin-bottom: 55px;
    }

    .view-all-container .btn {
        width: auto;
        padding: 16px 54px;
    }
}

.section-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 0 auto;
    max-width: var(--container-width);
}

/* Categories Section */
.categories-section {
    background-color: #F0F0F0;
    border-radius: 40px;
    margin: 0 16px;
    /* Add margin on mobile */
    padding: 40px 24px;
}

.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.cat-item {
    background-color: var(--secondary);
    border-radius: 20px;
    height: 190px;
    padding: 24px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.cat-item:hover {
    transform: scale(0.98);
}

.cat-item h3 {
    font-size: 24px;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

/* Bento Grid Layout for Desktop */
@media (min-width: 768px) {
    .categories-section {
        margin: 0 auto;
        max-width: var(--container-width);
        padding: 70px 64px;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 289px;
        gap: 20px;
    }

    .cat-item {
        height: 100%;
    }

    /* Custom Bento Layout */
    .cat-item:nth-child(1) {
        grid-column: span 1;
    }

    .cat-item:nth-child(2) {
        grid-column: span 2;
    }

    .cat-item:nth-child(3) {
        grid-column: span 2;
    }

    .cat-item:nth-child(4) {
        grid-column: span 1;
    }

    .cat-item h3 {
        font-size: 36px;
    }
}

/* Testimonials */
.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.nav-arrows {
    display: none;
    /* Hidden on mobile usually */
    gap: 16px;
}

.nav-arrows button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.testimonials-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    /* Horizontal scroll on mobile */
    padding-bottom: 20px;
    scrollbar-width: none;
    /* Hide scrollbar */
}

.testimonials-grid::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 300px;
    /* Fixed width for cards */
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    flex-shrink: 0;
}

.testimonial-card .stars {
    color: #FFC633;
    margin-bottom: 12px;
}

.testimonial-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.testimonial-card h3::after {
    content: "\f058";
    /* Check circle icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #01AB31;
    font-size: 16px;
}

.testimonial-card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .nav-arrows {
        display: flex;
    }

    .testimonials-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        overflow-x: visible;
    }

    .testimonial-card {
        min-width: auto;
    }
}

/* Footer */
.footer {
    background-color: #F0F0F0;
    padding-top: 50px;
    padding-bottom: 20px;
    margin-top: 50px;
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 50px;
}

.footer-col h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 16px;
}

.footer-col h4 {
    font-size: 16px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-col p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 24px;
    max-width: 300px;
}

.footer-col ul li {
    margin-bottom: 16px;
}

.footer-col ul li a {
    color: var(--text-gray);
    font-size: 16px;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 28px;
    height: 28px;
    background-color: var(--secondary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary);
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.payment-methods {
    font-size: 24px;
    display: flex;
    gap: 10px;
}

@media (min-width: 768px) {
    .footer-top {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-col {
        flex: 1;
    }

    .footer-col:first-child {
        flex: 2;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}