@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600&display=swap');

/* Hide page scrollbar — scrolling still works */
html {
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.landing-nav-stack {
    position: sticky;
    top: 0;
    z-index: 50;
}

.landing-nav-stack > header {
    margin: 0;
}

/* Marketing header bar — logo left, links true center, actions right */
.marketing-nav-header-inner,
.landing-nav-stack > header > .marketing-nav-header-inner {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.marketing-nav-logo .site-brand-logo__frame {
    height: 2.5rem;
    width: calc(2.5rem * 1012.59 / 331.96 * 1.22);
    max-width: none;
}

.marketing-nav-header-inner > .marketing-nav-logo,
.landing-nav-stack > header .marketing-nav-header-inner > .marketing-nav-logo {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.marketing-nav-header-inner > nav + div,
.landing-nav-stack > header .marketing-nav-header-inner > nav + div {
    position: relative;
    z-index: 2;
    margin-left: auto;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .marketing-nav-logo .site-brand-logo__frame {
        height: 2rem;
        width: calc(2rem * 1012.59 / 331.96 * 1.22);
    }
}

@media (min-width: 1024px) {
    .marketing-nav-header-inner > nav,
    .landing-nav-stack > header .marketing-nav-header-inner > nav {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
    }
}

/* Main nav links — aligned baseline + animated underline */
.marketing-nav-link {
    position: relative;
    display: inline-block;
    padding-bottom: 0.375rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: #5c6262;
    transition: color 0.2s ease;
}

.marketing-nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #83060e;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.marketing-nav-link:hover {
    color: #83060e;
}

.marketing-nav-link:hover::after,
.marketing-nav-link.is-active::after {
    transform: scaleX(1);
}

.marketing-nav-link.is-active {
    color: #83060e;
    font-weight: 700;
}

.landing-category-strip {
    margin: 0;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.fill-1 {
    font-variation-settings: 'FILL' 1;
}

.reveal {
    opacity: 0;
}

.reveal.active,
.reveal-fade-stagger.active,
.reveal-slide-up.active,
.reveal-zoom.active,
.reveal-slide-right.active,
.reveal-wipe.active {
    opacity: 1;
}

.reveal-fade-stagger {
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-fade-stagger.active {
    transform: translateY(0);
}

.reveal-slide-up {
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-slide-up.active {
    transform: translateY(0);
}

.reveal-zoom {
    transform: scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-zoom.active {
    transform: scale(1);
}

.reveal-slide-right {
    transform: translateX(-30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal-slide-right.active {
    transform: translateX(0);
}

.reveal-wipe {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.reveal-wipe.active {
    clip-path: inset(0 0 0 0);
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.animate-floating {
    animation: float 6s ease-in-out infinite;
}

.blueprint-bg {
    background-image:
        linear-gradient(rgba(165, 36, 34, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(165, 36, 34, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.product-card:hover .cart-btn {
    opacity: 1;
    transform: translateY(0);
}

.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.magnetic-card {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.magnetic-card:hover {
    transform: scale(1.02) translateY(-5px);
}

/* Global Collections — product card content spacing */
.landing-collections-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding-bottom: 3rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.landing-collection-card {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    width: min(100%, 320px);
    min-height: 100%;
    scroll-snap-align: center;
    background: #fff;
    padding: 1.5rem;
    border-radius: 0.25rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.landing-collection-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.landing-collection-card__media {
    margin: 0 0 1.25rem;
    border-radius: 0.125rem;
    overflow: hidden;
    flex-shrink: 0;
}

.landing-collection-card__img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background-color: #eceeee;
}

.landing-collection-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.landing-collection-card__category {
    margin: 0 0 0.5rem;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #83060e;
    line-height: 1.5;
}

.landing-collection-card__title {
    margin: 0 0 0.75rem;
    font-family: 'Syne', Inter, system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: #191c1c;
}

.landing-collection-card__desc {
    margin: 0 0 1.5rem;
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.65;
    color: #5c6262;
}

.landing-collection-card__cta,
a.landing-collection-card__cta {
    margin-top: auto;
    width: 100%;
    padding: 0.8125rem 1rem;
    border: 1px solid #83060e;
    background: transparent;
    color: #83060e;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    line-height: 1.4;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
}

.landing-collection-card__cta:hover {
    background: #83060e;
    color: #fff;
}

/* Product & section images — always fill frame, never show empty gaps */
.product-card .aspect-square,
.product-card .aspect-\[3\/4\] {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.product-card .aspect-square > img,
.product-card .aspect-\[3\/4\] > img,
.product-card .relative.aspect-square img,
img.landing-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #eceeee;
}

.product-card .aspect-square > img,
.product-card .relative.aspect-square > img {
    position: absolute;
    inset: 0;
}

main section img:not(.material-symbols-outlined) {
    background-color: #eceeee;
}

/* Account dropdown (matches apparels storefront) */
.account-dropdown [hidden] {
    display: none !important;
}

.account-dropdown-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 240px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    pointer-events: none;
    z-index: 60;
}

.account-dropdown-panel::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}

.account-dropdown.open .account-dropdown-panel,
.account-dropdown:hover .account-dropdown-panel,
.account-dropdown:focus-within .account-dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.account-dropdown-trigger {
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    line-height: 1;
}

.account-dropdown-signup {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
}

.account-dropdown-divider {
    height: 1px;
    background: #e8e8e8;
    margin: 0.25rem 0;
}

.account-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 1.25rem;
    font-size: 14px;
    font-weight: 500;
    color: #191c1c;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.account-dropdown-item:hover {
    background: #fdf3f3;
    color: #83060e;
}

.account-dropdown-icon {
    font-size: 20px;
    color: #5e5e5e;
    flex-shrink: 0;
}

.account-dropdown-item:hover .account-dropdown-icon {
    color: #a52422;
}

@media (hover: none) {
    .account-dropdown:hover .account-dropdown-panel {
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        pointer-events: none;
    }

    .account-dropdown.open .account-dropdown-panel {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}

/* Top Deals section headings */
.landing-deals-title {
    font-family: Inter, system-ui, sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #83060e;
}

.landing-deals-badge {
    display: inline-flex;
    align-items: center;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(135deg, #a52422 0%, #83060e 100%);
    border: none;
    padding: 0.4rem 0.75rem;
    border-radius: 0.125rem;
    box-shadow: 0 2px 8px rgba(165, 36, 34, 0.28);
}

.landing-deals-subtitle {
    font-family: Inter, system-ui, sans-serif;
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 0.015em;
    color: #5e5e5e;
    margin-top: 0.625rem;
    max-width: 36rem;
}

/* Section headings — Syne display + DM Sans body */

.landing-heading-trending {
    font-family: 'Syne', Inter, system-ui, sans-serif;
    font-size: clamp(1.875rem, 3.2vw, 2.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.045em;
    color: #191c1c;
    margin: 0;
    position: relative;
    padding-bottom: 0.875rem;
}

.landing-heading-trending::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2.75rem;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #a52422 0%, #83060e 100%);
}

.landing-heading-collections {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.625rem 1.25rem;
    margin: 0;
    font-family: 'Syne', Inter, system-ui, sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.375rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.04em;
    color: #191c1c;
}

.landing-heading-collections-title {
    color: #191c1c;
}

.landing-heading-collections-badge {
    display: inline-flex;
    align-items: center;
    font-family: 'DM Sans', Inter, system-ui, sans-serif;
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #a52422;
    background: linear-gradient(135deg, rgba(165, 36, 34, 0.08) 0%, rgba(131, 6, 14, 0.04) 100%);
    border: 1px solid rgba(165, 36, 34, 0.28);
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    white-space: nowrap;
}

.landing-heading-lab {
    font-family: 'Syne', Inter, system-ui, sans-serif;
    font-size: clamp(2rem, 3.6vw, 2.75rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: #83060e;
    margin: 0;
}

.landing-heading-lab-sub {
    font-family: 'DM Sans', Inter, system-ui, sans-serif;
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: 0.01em;
    color: #59413e;
    margin: 0.625rem 0 0;
    max-width: 38rem;
}
