/* RESET + GLOBALS */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Fira Mono", monospace;
    color: #000;
    background: #fff;
    line-height: 1.6;
    letter-spacing: 0.02em;
    overflow-x: hidden;
    width: 100%;
    text-transform: uppercase !important;
}

html {
    overflow-x: hidden;
    width: 100%;
}

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: "Fira Mono", monospace;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    letter-spacing: 0.05em;
}

:root {
    --section-padding: 6rem;
    --max-width: 1600px;
    --gap: 2px;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 3rem;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
    backdrop-filter: none;
    color: #fff;
}

    header.scrolled {
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(8px);
        border-bottom-color: rgba(0, 0, 0, 0.1);
        color: #000;
    }
    /* Ensure logo + nav + icons inherit color dynamically */
    header .logo,
    header nav a,
    header .header-icons i,
    header .hamburger i {
        color: inherit;
        transition: color 0.4s ease, opacity 0.3s ease;
    }

/* Logo and navigation remain consistent - use inherited color so scrolled state can override */
.logo {
    font-weight: 700;
    letter-spacing: 0.15em;
    font-size: 1rem;
    color: inherit;
}

nav {
    display: flex;
    gap: 2rem;
    color: inherit;
}

    nav a:hover {
        opacity: 0.6;
    }

.header-icons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.1rem;
}

    .header-icons button {
        background: none;
        border: none;
        padding: 0;
    }

    .header-icons i {
        transition: opacity 0.3s ease;
    }

    .header-icons button:hover i {
        opacity: 0.5;
    }

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: inherit;
    padding: 0;
    z-index: 1001;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
    display: none;
}

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

/* Mobile Menu Panel */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
}

@media (max-width: 1024px) {
    .mobile-menu {
        display: flex;
    }
}

.mobile-menu.active {
    transform: translateX(0);
    display: flex;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem;
    border-bottom: 1px solid #eee;
}

    .mobile-menu-header .logo {
        font-size: 1rem;
        position: static;
        transform: none;
        color: #000;
    }

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #000;
    padding: 0;
}

/* Mobile Menu User Section */
.mobile-user-section {
    padding: 1.5rem 1.5rem;
    border-bottom: 1px solid #eee;
    background: #f9f9f9;
}

    .mobile-user-section a {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        color: #000;
        text-decoration: none;
        font-size: 0.9rem;
    }

    .mobile-user-section i {
        font-size: 1.1rem;
    }

.mobile-nav {
    padding: 0;
    display: block;
    flex: 1;
    overflow-y: auto;
}

.mobile-nav-section {
    border-bottom: 1px solid #f0f0f0;
    display: block;
}

.mobile-nav-section-title {
    padding: 1rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #000000;
    background: #fafafa;
}

.mobile-nav a {
    display: block;
    padding: 1rem 1.5rem;
    color: #000;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.3s ease, color 0.3s ease;
}

    .mobile-nav a:hover,
    .mobile-nav a:active {
        background: #f9f9f9;
        color: #000;
    }

.mobile-nav .dropdown-parent > a,
.mobile-nav .men-parent > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

    .mobile-nav .dropdown-parent > a::after,
    .mobile-nav .men-parent > a::after {
        content: "+";
        font-size: 1.3rem;
        font-weight: 300;
        transition: transform 0.3s ease;
        color: #666;
    }

.mobile-nav .dropdown-parent.active > a::after,
.mobile-nav .men-parent.active > a::after {
    transform: rotate(45deg);
    color: #000;
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #f9f9f9;
}

    .mobile-submenu.active {
        max-height: 2000px;
    }

    .mobile-submenu a {
        padding-left: 2.5rem;
        font-size: 0.85rem;
        color: #555;
        font-weight: 400;
    }

        .mobile-submenu a:hover {
            background: #f0f0f0;
            color: #000;
        }

/* Mobile Menu Footer */
.mobile-menu-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    margin-top: auto;
}

    .mobile-menu-footer a {
        display: block;
        padding: 0.8rem 0;
        color: #666;
        text-decoration: none;
        font-size: 0.85rem;
        border-bottom: none;
    }

        .mobile-menu-footer a:hover {
            background: transparent;
            color: #000;
        }

/* Responsive Header */
@media (max-width: 1024px) {
    header {
        padding: 1rem 1.5rem;
    }

    .hamburger {
        display: block;
    }

    nav {
        display: none;
    }

    /* Show mobile menu on tablet and smaller */
    .mobile-menu {
        display: flex;
    }

    .mobile-menu-overlay {
        display: block;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1;
    }

    .header-icons {
        gap: 1rem;
    }

        /* Hide wishlist icon on tablet and smaller */
        .header-icons button:nth-child(3) {
            display: none;
        }
}

@media (max-width: 768px) {
    header {
        padding: 0.8rem 1rem;
    }

    .logo {
        font-size: 0.9rem;
    }

    .header-icons {
        gap: 0.8rem;
        font-size: 1rem;
    }
}

/* Fix for very small screens (under 375px) */
@media (max-width: 375px) {
    header {
        padding: 0.7rem 0.8rem;
    }

    .logo {
        font-size: 0.85rem;
    }

    .header-icons {
        gap: 0.6rem;
        font-size: 0.9rem;
    }

    /* Fix mega dropdowns to use 100% instead of 100vw */
    .mega-dropdown,
    .men-mega {
        width: 100%;
        max-width: 100%;
        left: 0;
        right: 0;
    }

    /* Fix mobile menu width */
    .mobile-menu {
        width: 100%;
        max-width: 100%;
    }

    /* Reduce padding on small screens */
    .mega-dropdown {
        padding: 2rem 3%;
    }

    .men-mega {
        padding: 2rem 3%;
    }

    /* Ensure all sections fit within viewport */
    .explore-section,
    .product-section,
    .feature {
        padding-left: 3%;
        padding-right: 3%;
    }

    /* Fix cart panel */
    .cart-panel {
        width: 100%;
    }
}

/* mega dropdown   */
.dropdown-parent {
    position: relative;
}

.mega-dropdown {
    position: fixed;
    left: 0;
    right: 0;
    transform: translateY(20px);
    top: 70px;
    width: 100%;
    max-width: 100%;
    background: #fff;
    border: 1px solid #000000;
    padding: 0%;
    /* box-shadow:0 8px 25px rgba(0,0,0,0.1); */
    opacity: 0;
    pointer-events: none;
    /* transition: all 0.35s ease; */
    z-index: 1000;
    border-bottom: 1px solid #5b5b5b;
}

    /* Show dropdown on hover */
    .dropdown-parent:hover .mega-dropdown,
    .mega-dropdown:hover {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

/* ===== GRID ===== */
.mega-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
    max-width: 1700px;
    margin: 0 auto;
}

.mega-img {
    padding: 0;
}

    .mega-img img {
        width: 400px;
        height: 500px;
        object-fit: cover;
        border-radius: 4px;
    }

/* Columns for links */
.mega-col {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 2.5rem 5%;
    /* border-right: 1px solid #a9a9a9; */
    height: 100%;
}

.right-border {
    border-right: 1px solid #a9a9a9;
}

.col-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

    .col-title.gold {
        color: #2b2b2b;
    }

/* Link style */
.mega-col a {
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    color: #000;
    text-transform: uppercase;
    transition: opacity 0.3s;
}

    .mega-col a:hover {
        opacity: 0.6;
    }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .mega-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 2rem;
    }

    .mega-img {
        display: none;
    }
}

@media (max-width: 1024px) {
    .mega-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .mega-img {
        display: none;
    }
}

@media (max-width: 600px) {
    .mega-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .mega-dropdown {
        padding: 1.5rem 2rem;
    }
}
/* mega dropdown end */

/* MEN MEGA DROPDOWN ---------------------------------------*/
.men-parent {
    position: relative;
}

.men-mega {
    position: fixed;
    left: 0;
    right: 0;
    transform: translateY(20px);
    top: 70px;
    width: 100%;
    max-width: 100%;
    background: #fff;
    border-top: 1px solid #ddd;
    padding: 3rem 5%;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    opacity: 0;
    transition: all 0.35s ease;
    z-index: 1000;
}

    .men-parent:hover .men-mega,
    .men-mega:hover {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

/* GRID */
.men-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2.5rem;
    align-items: flex-start;
    max-width: 1700px;
    margin: 0 auto;
}

.men-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.men-title {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    margin-bottom: 0.6rem;
}

.men-col a {
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    color: #000;
    text-transform: none;
    transition: opacity 0.3s ease;
}

    .men-col a:hover {
        opacity: 0.6;
    }

.plus {
    font-weight: 700;
    margin-left: 0.3rem;
}

/* RESPONSIVE ----------------------------------------------*/
@media (max-width: 1200px) {
    .men-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 800px) {
    .men-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .men-mega {
        padding: 2rem 3rem;
    }
}

@media (max-width: 500px) {
    .men-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .men-mega {
        padding: 1.5rem 2rem;
    }
}
/* mens mega dropdown end */

/* OFFCANVAS BACKDROP -------------------------------------------------------*/
.cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 1000;
}

/* OFFCANVAS CART PANEL ----------------------------------------------------*/
.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100%;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-backdrop.active {
    visibility: visible;
    opacity: 1;
}

    .cart-backdrop.active .cart-panel {
        transform: translateX(0);
    }

/* CART CONTENT --------------------------------------------------------------*/
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #eee;
}

    .cart-header h2 {
        font-size: 1rem;
        font-weight: 600;
    }

    .cart-header button {
        background: none;
        border: none;
        font-size: 1.3rem;
        line-height: 1;
        cursor: pointer;
    }

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 2rem;
}

.cart-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

    .cart-item img {
        width: 80px;
        height: 100px;
        border: 1px solid #eee;
        border-radius: 3px;
    }

.item-details {
    flex: 1;
}

    .item-details h4 {
        font-size: 0.88rem;
        font-weight: 600;
        margin-bottom: 0.4rem;
    }

    .item-details p {
        font-size: 0.8rem;
        color: #555;
        line-height: 1.4;
    }

.qty-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.7rem;
}

.qty-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

    .qty-box button {
        padding: 0.4rem 0.6rem;
        border: none;
        background: transparent;
        font-size: 0.9rem;
    }

    .qty-box span {
        font-size: 0.85rem;
    }

.remove-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
}

.item-price {
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.3rem;
}

/* FOOTER / SUMMARY ----------------------------------------------------------*/
.cart-footer {
    border-top: 1px solid #eee;
    padding: 1.5rem 2rem;
}

.protection {
    background: #f7f7f7;
    border-radius: 4px;
    font-size: 0.8rem;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    color: #555;
}

.checkout-btn {
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    padding: 1rem;
    font-size: 0.9rem;
    border-radius: 24px;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    transition: background 0.3s ease;
}

    .checkout-btn:hover {
        background: #333;
    }

.alt-checkout {
    font-size: 0.8rem;
    text-align: center;
    text-decoration: underline;
    display: none;
}

/* RESPONSIVE ---------------------------------------------------------------*/
@media (max-width: 500px) {
    .cart-panel {
        width: 100%;
    }

    .cart-header,
    .cart-items,
    .cart-footer {
        padding: 1.2rem;
    }

    .qty-box {
        width: 90px;
    }
}

/* === SEARCH OVERLAY === */
.search-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 1000;
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    z-index: 1001;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.search-backdrop.active {
    visibility: visible;
    opacity: 1;
}

    .search-backdrop.active .search-overlay {
        transform: translateY(0);
    }

.search-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 3rem;
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

    .search-header h2 {
        font-size: 1.2rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .search-header button {
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: #000;
        padding: 0;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .search-header button:hover {
            opacity: 0.6;
        }

.search-input-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

    .search-input-wrapper input {
        width: 100%;
        padding: 1.2rem 3rem 1.2rem 1rem;
        border: 1px solid #ddd;
        font-family: "Fira Mono", monospace;
        font-size: 1rem;
        letter-spacing: 0.02em;
        background: #fff;
        transition: border-color 0.3s ease;
    }

        .search-input-wrapper input:focus {
            outline: none;
            border-color: #000;
        }

    .search-input-wrapper .search-icon {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: #666;
        font-size: 1.1rem;
    }

.search-results {
    max-height: 60vh;
    overflow-y: auto;
}

.search-results-empty {
    text-align: center;
    padding: 3rem 0;
    color: #666;
    font-size: 0.9rem;
}

.search-results-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.search-result-item {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

    .search-result-item:hover {
        opacity: 0.6;
    }

    .search-result-item img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        margin-bottom: 0.8rem;
        border: 1px solid #eee;
    }

    .search-result-item h3 {
        font-size: 0.9rem;
        font-weight: 500;
        margin-bottom: 0.3rem;
    }

    .search-result-item p {
        font-size: 0.85rem;
        color: #666;
    }

.search-suggestions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

    .search-suggestions h3 {
        font-size: 0.9rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 1rem;
    }

.search-suggestions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-suggestion-tag {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

    .search-suggestion-tag:hover {
        background: #000;
        color: #fff;
        border-color: #000;
    }

@media (max-width: 768px) {
    .search-container {
        padding: 1.5rem;
    }

    .search-results-list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .search-result-item img {
        height: 200px;
    }
}

/* HERO */
.hero-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.hero {
    position: relative;
    width: 100%;
    height: 120vh;
    background: url("/Assets/Hero.png") center/cover no-repeat;
    transition: opacity 0.3s ease;
}


/* Responsive Hero Image for Tablet and Smaller */
@media (max-width: 1024px) {
    .hero {
        background: url("/Assets/Hero-responsive.png") center/cover no-repeat;
    }
}

/* EXPLORE NEW AND POPULAR STYLES */
.explore-section {
    max-width: 100%;
    /*max-width: 1700px;*/
    margin: 0;
    padding: 0;
}

.explore-grid {
    display: grid;
    grid-template-columns: 1fr 100px 1.1fr;
    align-items: stretch;
    gap: 0;
    position: relative;
}

/* Left large image */
.explore-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Center vertical textured bar wrapper */
.explore-center-wrapper {
    position: relative;
    grid-column: 2;
}

/* Center vertical textured bar */
.explore-center-texture {
    position: relative;
    background-color: #3e381e;
    filter: url(#grain-texture);
    width: 104%;
    height: 100.19%;
    margin-left: -2px;
    z-index: 1;
    margin-top: -1.6px;
}

.explore-center-title {
    position: absolute;
    top: 50%;
    left: 85%;
    width: 100px;
    transform: translate(-50%, -50%) rotate(180deg);
    writing-mode: vertical-rl;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.5em;
    font-weight: 500;
    font-size: 1.3rem;
    text-align: center;
    line-height: 1.6;
    z-index: 10;
    pointer-events: none;
    white-space: nowrap;
    font-family: "Courier Prime";
}

/* Subtle bleached edges, if desired */
.explore-center-texture::before,
.explore-center-texture::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.05);
}

.explore-center-texture::before {
    left: 0;
}

.explore-center-texture::after {
    right: 0;
}

/* Right 2×2 grid */
.explore-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2px;
}

    .explore-right img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

/* Responsive adjustments */
@media (max-width: 1000px) {
    .explore-grid {
        grid-template-columns: 1fr;
    }

    .explore-center-wrapper {
        grid-column: 1;
    }

    .explore-center-texture {
        height: 60px;
        filter: none;
    }

    .explore-center-title {
        writing-mode: horizontal-tb;
        transform: translateY(-50%);
        font-size: 0.8rem;
        letter-spacing: 0.2em;
        left: 35%;
        /* top: 50%; */
    }
}

@media (max-width: 768px) {
    .explore-center-title {
        left: 30%;
        /* top: 50%; */
    }
}

@media (max-width: 500px) {
    .explore-center-title {
        left: 16%;
        /* top: 50%; */
    }
}

@media (max-width: 380px) {
    .explore-center-title {
        left: 10%;
        /* top: 50%; */
    }
}

@media (max-width: 330px) {
    .explore-center-title {
        left: 8%;
        letter-spacing: 0.2em;
        font-size: 0.7rem;
    }
}
/* PRODUCT SECTION */
.product-section {
    padding: 0px 16px;
    max-width: var(--max-width);
    margin: auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--gap);
}

.product-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

    .product-card img {
        transition: transform 0.5s ease;
    }

    .product-card:hover img {
        transform: scale(1.05);
    }

.add-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #000;
    color: #fff;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s;
}

.product-card:hover .add-btn {
    opacity: 1;
    transform: translateY(0);
}

.add-btn:hover {
    background: #333;
}

.cta {
    text-align: center;
    margin-top: 3rem;
}

.cta-button-image {
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    max-width: 100%;
    height: auto;
}

    .cta-button-image:hover {
        transform: scale(1.05);
        opacity: 0.9;
    }

.cta a {
    display: inline-block;
}

/* WINTER 2026 COLLECTION */
.feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding: var(--section-padding) 10%;
    max-width: var(--max-width);
    margin: auto;
}

.feature__image {
    flex: 1 1 55%;
    overflow: hidden;
}

    .feature__image img {
        width: 100%;
        height: auto;
        display: block;
    }

.feature__content {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

    .feature__content h2 {
        text-transform: uppercase;
        font-size: 1.8rem;
        margin-bottom: 2rem;
        letter-spacing: 0.12em;
        width: max-content;
    }

.feature-button-image {
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    max-width: 100%;
    height: auto;
}

    .feature-button-image:hover {
        transform: scale(1.05);
        opacity: 0.9;
    }

.feature__content a {
    display: inline-block;
    align-self: center;
}

/* Responsive styles for feature section */
@media (max-width: 1024px) {
    .feature {
        gap: 3rem;
        padding: var(--section-padding) 6%;
    }

    .feature__content h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .feature {
        flex-direction: column;
        gap: 2.5rem;
        padding: 3rem 5%;
    }

    .feature__image {
        flex: 1 1 100%;
        width: 100%;
    }

    .feature__content {
        flex: 1 1 100%;
        width: 100%;
        align-items: center;
        text-align: center;
    }

        .feature__content h2 {
            font-size: 1.4rem;
            margin-bottom: 1.5rem;
        }
}

@media (max-width: 600px) {
    .feature {
        gap: 2rem;
        padding: 2.5rem 4%;
    }

    .feature__content h2 {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
        letter-spacing: 0.1em;
    }

    .feature-button-image {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .feature {
        gap: 1.5rem;
        padding: 2rem 3%;
    }

    .feature__content h2 {
        font-size: 1rem;
        margin-bottom: 1rem;
        letter-spacing: 0.08em;
    }

    .feature-button-image {
        max-width: 180px;
    }
}

@media (max-width: 375px) {
    .feature {
        padding: 1.5rem 2%;
    }

    .feature__content h2 {
        font-size: 0.9rem;
    }

    .feature-button-image {
        max-width: 150px;
    }
}

/* === FOOTER STYLES === */
.site-footer {
    border-top: 1px solid #ccc;
    padding: 5rem 8%;
    background: #fff;
    font-family: "Fira Mono", monospace;
    color: #000;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr 0.8fr;
    align-items: start;
    gap: 4rem;
    max-width: 1700px;
    margin: 0 auto;
}

/* LEFT */
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.newsletter-title {
    font-size: 0.9rem;
}

.newsletter {
    display: flex;
    max-width: 360px;
}

    .newsletter input {
        flex: 1;
        padding: 0.8rem;
        border: 1px solid #000;
        font-family: inherit;
        font-size: 0.85rem;
        border-radius: 0px;
    }

    .newsletter button {
        background: #000;
        color: #fff;
        border: none;
        padding: 0.8rem 1.6rem;
        font-size: 0.85rem;
        transition: background 0.3s ease;
    }

        .newsletter button:hover {
            background: #333;
        }

.footer-social {
    display: flex;
    gap: 1.5rem;
    font-size: 1rem;
}

    .footer-social a {
        color: #555;
        transition: opacity 0.3s ease;
    }

        .footer-social a:hover {
            opacity: 0.6;
        }

.footer-copy {
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* CENTER */
.footer-center {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    font-size: 0.85rem;
    /* text-transform: none; */
}

    .footer-center a {
        color: #000;
        transition: opacity 0.3s ease;
    }

        .footer-center a:hover {
            opacity: 0.6;
        }

/* RIGHT */
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* move everything to right edge */
    justify-content: flex-start;
    text-align: right;
    position: relative; /* needed for dropdown positioning */
}

@media (max-width: 768px) {
    .footer-right {
        align-items: center; /* move everything to right edge */
        justify-content: center;
        text-align: center;
    }
}
/* Ship To dropdown (minimal design, no border) */
.ship-to-wrapper {
    position: relative;
}

.footer-right .ship-to {
    font-size: 0.85rem;
    margin-bottom: 1.8rem;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    color: inherit;
    text-transform: none;
}

.ship-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 0.1rem);
    background: #fff;
    list-style: none;
    padding: 0.2rem 0;
    margin: 0;
    min-width: 120px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border-radius: 6px;
    z-index: 1200;
    border: 1px solid #a9a9a9;
}

    .ship-dropdown li button {
        display: block;
        width: 100%;
        padding: 0.45rem 0.9rem;
        background: transparent;
        border: none;
        text-align: left;
        font-size: 0.9rem;
        cursor: pointer;
    }

        .ship-dropdown li button:hover {
            background: #f5f5f5;
        }

.footer-logo {
    width: 90px;
    height: auto;
    object-fit: contain;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-right {
        text-align: center;
        align-items: center;
    }

    .newsletter {
        margin: 0 auto;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 380px) {
    .site-footer {
        padding: 3rem 1rem;
    }

    .footer-inner {
        gap: 2rem;
    }

    .footer-left {
        gap: 1.2rem;
    }

    .newsletter-title {
        font-size: 0.8rem;
        text-align: center;
    }

    .newsletter {
        flex-direction: column;
        max-width: 100%;
        gap: 0.8rem;
    }

        .newsletter input {
            width: 100%;
            padding: 0.7rem;
            font-size: 0.8rem;
        }

        .newsletter button {
            width: 100%;
            padding: 0.7rem;
            font-size: 0.8rem;
        }

    .footer-social {
        gap: 1rem;
        font-size: 0.9rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-copy {
        font-size: 0.75rem;
        text-align: center;
    }

    .footer-center {
        gap: 0.6rem;
        font-size: 0.8rem;
    }

        .footer-center a {
            padding: 0.3rem 0;
        }

    .footer-right {
        align-items: center;
        text-align: center;
    }

        .footer-right .ship-to {
            font-size: 0.8rem;
            margin-bottom: 1.2rem;
        }

    .footer-logo {
        width: 70px;
    }

    .ship-dropdown {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        min-width: 100px;
    }
}

/* ====== BACKDROP ====== */
.quickview-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 1500;
}

    .quickview-backdrop.active {
        opacity: 1;
        visibility: visible;
    }

/* ====== MODAL CONTAINER ====== */
.quickview-modal {
    background: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
    animation: fadeUp 0.35s ease;
}

@keyframes fadeUp {
    from {
        transform: translateY(20px);
        opacity: 0.8;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ====== CLOSE BUTTON ====== */
.quickview-close {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 1.5rem;
    border: none;
    background: none;
    color: #000;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

    .quickview-close:hover {
        opacity: 0.6;
    }

/* ====== CONTENT GRID ====== */
.quickview-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem 3.5rem;
}

@media (max-width: 900px) {
    .quickview-content {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }
}

/* ====== LEFT IMAGE ====== */
.quickview-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.qv-slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.2rem;
}

    .qv-slider-dots .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #ccc;
        cursor: pointer;
        transition: background 0.3s;
    }

        .qv-slider-dots .dot.active {
            background: #111;
        }

/* ====== RIGHT INFO ====== */
.quickview-info {
    text-align: center;
}

    .quickview-info h2 {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 1rem;
        letter-spacing: 0.03em;
        text-transform: uppercase;
    }

.quickview-desc {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    text-transform: none;
}

.quickview-price {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.quickview-meta {
    list-style: none;
    font-size: 0.85rem;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    text-transform: none;
}

    .quickview-meta li + li {
        margin-top: 0.3rem;
    }

.quickview-options {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

    .quickview-options input,
    .quickview-options select {
        flex: 1;
        border: 1px solid #ccc;
        border-radius: 4px;
        padding: 0.8rem;
        font-size: 0.85rem;
        font-family: "Fira Mono", monospace;
        background: #f9f9f9;
    }

.quickview-add {
    width: 70%;
    border: none;
    background: #000;
    color: #fff;
    padding: 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-bottom: 1.2rem;
}

    .quickview-add:hover {
        background: #333;
    }

.quickview-details {
    display: block;
    text-align: center;
    text-decoration: underline;
    font-size: 0.85rem;
    color: #000;
}

/* ====== SCROLL & RESPONSIVE ====== */
.quickview-modal::-webkit-scrollbar {
    width: 6px;
}

.quickview-modal::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

@media (max-width: 600px) {
    .quickview-info h2 {
        font-size: 1.25rem;
    }
}

/* FIELDS -------------------------------------------------*/
.form-group {
    margin-bottom: 1.2rem;
}

label {
    display: block;
    font-size: .85rem;
    margin-bottom: .4rem;
    text-transform: uppercase;
}

input[type=email],
input[type=password] {
    width: 100%;
    border: 1px solid #ddd;
    padding: .8rem;
    font-family: 'Fira Mono',monospace;
    font-size: .85rem;
    border-radius: 4px;
    background: #fff;
    text-transform: uppercase;
}

.password-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .4rem;
}

    .password-row a {
        font-size: .8rem;
        text-decoration: underline;
        color: #333;
        text-transform: uppercase;
    }

button.signin-btn {
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    padding: 1rem;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-radius: 25px;
    margin-top: .5rem;
    transition: background .3s ease;
}

    button.signin-btn:hover {
        background: #333;
    }
.d-none {
    display: none !important;
}