:root {
    --primary-black: #000000;
    --primary-white: #ffffff;
    --bg-light: #f5f5f5;
    --text-grey: #666666;
    --border-grey: #e0e0e0;
    --font-inter: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-inter);
    color: var(--primary-black);
    background-color: var(--primary-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Utilities */
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    cursor: pointer;
}

.btn-white {
    background-color: var(--primary-white);
    color: var(--primary-black);
    border: none;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-white-outline {
    background-color: transparent;
    border: 2px solid var(--primary-white);
    color: var(--primary-white);
}

.btn-white-outline:hover {
    background-color: var(--primary-white);
    color: var(--primary-black);
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-black);
    color: var(--primary-white);
    text-align: center;
    padding: 10px 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Header */
header {
    background-color: var(--primary-white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
    /* Adjust based on actual SVG */
}

.logo h1 {
    line-height: 0.9;
}

header nav ul {
    display: flex;
    gap: 40px;
}

header nav ul li a {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-black);
    transition: width 0.3s ease;
}

header nav ul li a:hover::after {
    width: 100%;
}

.header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-icons img {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 80vh;
    width: 100%;
    overflow: hidden;
}

.slider-wrapper {
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    /* Flex to center content */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    color: var(--primary-white);
    z-index: 2;
}

.slide-content h2 {
    font-size: 80px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    border-color: var(--primary-white);
    background: rgba(255, 255, 255, 0.1);
}

.slider-btn.prev {
    left: 40px;
}

.slider-btn.next {
    right: 40px;
}

.slider-btn img {
    width: 15px;
    filter: brightness(0) invert(1);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border: 2px solid var(--primary-white);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background-color: var(--primary-white);
}

/* Common Section Styles */
.section-common {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
}

.view-more {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-grey);
    letter-spacing: 1px;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background-color: var(--primary-white);
    padding: 30px 20px 20px;
    /* More top padding */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    /* Ensure uniform height */
    overflow: hidden;
    /* For promo banner */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.product-info {
    margin-bottom: 20px;
}

.product-info h3 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-info p {
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

.product-image {
    width: 100%;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

/* Hover Effects */
.product-card:hover .product-image img {
    transform: scale(1.05) translateY(-10px);
    /* Move up slightly to make room for buttons */
}

/* Actions */
.product-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.add-to-cart {
    flex-grow: 1;
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: none;
    padding: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.quick-view {
    width: 40px;
    background-color: var(--primary-black);
    color: var(--primary-white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.add-to-cart:hover,
.quick-view:hover {
    background-color: #333;
}

/* Promo Banner */
.promo-card .product-actions {
    display: none;
    /* Hide actions on promo card if banner is there, or show above? Image shows banner at bottom. */
}

/* Wait, the image shows actions on one card and banner on another. Assuming banner persists. */
/* Actually, let's keep interactions consistent. Promo banner takes precedence visually at bottom. */

.promo-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 8px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    text-align: center;
}

/* Find Your Pair Section */
.find-pair {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    color: var(--primary-white);
}

.find-pair-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.fp-title-col {
    flex: 0 0 45%;
}

.fp-title-col h2 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.fp-list-col {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centers the button */
}

.fp-list {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    margin-bottom: 40px;
}

.fp-item {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: background 0.3s ease;
}

.fp-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.fp-num {
    width: 60px;
    padding: 25px 0;
    border-right: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.fp-text {
    flex: 1;
    padding: 25px 0 25px 30px;
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .find-pair-content-wrapper {
        flex-direction: column;
    }

    .fp-title-col,
    .fp-list-col {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
    }

    .fp-title-col h2 {
        font-size: 42px;
        margin-bottom: 20px;
    }
}

/* Why Us Section */
.why-us {
    background-color: #f0f0f0;
    padding: 100px 0;
}

.why-us-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
}

.why-us-title {
    flex: 0 0 30%;
}

.why-us-title h2 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

.accordion {
    flex: 0 0 65%;
    border-top: 1px solid #000;
}

.accordion-item {
    display: flex;
    border-bottom: 1px solid #000;
    align-items: flex-start;
}

.acc-number {
    width: 60px;
    padding: 25px 0;
    border-right: 1px solid #000;
    font-weight: 800;
    font-size: 18px;
    display: flex;
    align-items: flex-start;
    /* Or center if you prefer, design looks top aligned generally but content centered maybe? Design shows top alignment usually. */
}

.acc-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.accordion-header {
    padding: 25px 0 25px 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-transform: uppercase;
    width: 100%;
}

.accordion-header h3 {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    flex: 1;
}

.icon {
    font-weight: 400;
    font-size: 24px;
    transition: transform 0.3s ease;
    margin-left: 20px;
}

.accordion-item.active .icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    /* Maintained by JS */
}

.accordion-content p {
    padding: 0 0 25px 30px;
    color: #444;
    line-height: 1.5;
    font-size: 13px;
    max-width: 90%;
}

@media (max-width: 900px) {
    .why-us-grid {
        flex-direction: column;
    }

    .why-us-title,
    .accordion {
        flex: 0 0 100%;
        width: 100%;
    }

    .why-us-title h2 {
        font-size: 36px;
        margin-bottom: 40px;
    }
}

/* Instagram Section */
.instagram-section {
    background-color: #f0f0f0;
    padding: 60px 0 0;
    /* Padding top only, grid touches bottom? or padding bottom too? */
    text-align: center;
    padding-bottom: 80px;
}

.instagram-container {
    margin-bottom: 40px;
}

.instagram-section h2 {
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: 100%;
    max-width: 100%;
}

.insta-item {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    /* Square aspect ratio hack or use aspect-ratio */
    aspect-ratio: 1 / 1;
    padding-bottom: 0;
    /* Reset if using aspect-ratio */
    overflow: hidden;
    cursor: pointer;
}

.insta-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.insta-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .instagram-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Hide last 2 items if 4 columns to make it even? Or just wrap. 10 items, 4cols = 2 rows + 2. */
    /* styling for 5 cols usually switches to 2 or 3 on mobile. */
}

@media (max-width: 768px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Footer */
footer {
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    font-size: 12px;
    color: #999;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-white);
}

.logo-col img {
    width: 120px;
    margin-bottom: 30px;
}

.socials {
    display: flex;
    gap: 20px;
}

.socials a {
    font-weight: 700;
    font-size: 14px;
}

.newsletter form {
    display: flex;
    border-bottom: 1px solid var(--primary-white);
    padding-bottom: 10px;
}

.newsletter input {
    background: transparent;
    border: none;
    color: var(--primary-white);
    flex-grow: 1;
    outline: none;
    font-family: var(--font-inter);
}

.newsletter input::placeholder {
    color: #999;
}

.newsletter button {
    background: transparent;
    border: none;
    color: var(--primary-white);
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 12px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 10px;
    color: #666;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }

    header nav ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .slide-content h2 {
        font-size: 48px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .find-pair-text h2 {
        font-size: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
    }
}