/* =========================================================
   UBHAYA FASHIONS
   GLOBAL
   ========================================================= */

:root {
    font-family: Arial, sans-serif;
    color: #24191d;
    background: #faf8f6;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Full-bleed sections use 100vw; clip the scrollbar-width overhang. */
    overflow-x: clip;
}

body {
    margin: 0;
    background: #faf8f6;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   ANNOUNCEMENT BAR
   ========================================================= */

.announcement-bar {
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #571326;

    color: #ffffff;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;
}


/* =========================================================
   HEADER
   ========================================================= */

.header {
    /* Layout chrome is owned by header-reference.css; keep sticky stacking only. */
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
}


/* =========================================================
   HAMBURGER
   ========================================================= */

.menu-button {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: none;

    background: transparent;

    font-size: 25px;

    cursor: pointer;

    color: #3a1b27;

    padding: 0;
}

.menu-button:hover {
    opacity: 0.65;
}


/* =========================================================
   LOGO
   ========================================================= */

.brand {
    display: flex;
    align-items: center;
}

.brand img {
    display: block;
    object-fit: contain;
}


/* =========================================================
   DESKTOP NAV
   ========================================================= */

.header nav {
    display: flex;

    align-items: center;

    gap: 25px;

    margin-left: auto;
}

.header nav a {
    font-size: 13px;

    color: #4a3a3e;

    transition: color 0.2s ease;
}

.header nav a:hover {
    color: #7a1938;
}


/* =========================================================
   HOME HERO
   FULL WIDTH
   ========================================================= */

.home-hero {
    position: relative;

    width: 100vw;

    margin-left: calc(50% - 50vw);

    aspect-ratio: 16 / 6;
    height: auto;

    min-height: 0;

    overflow: hidden;

    background: #f8f5ef;
}


/* =========================================================
   HERO IMAGE
   ========================================================= */

.home-hero-image {
    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center 32%;

    margin: 0;

    padding: 0;
}


/* =========================================================
   HERO OVERLAY
   ========================================================= */

.home-hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(20, 10, 13, 0.86) 0%,
            rgba(20, 10, 13, 0.58) 28%,
            rgba(20, 10, 13, 0.15) 65%,
            rgba(20, 10, 13, 0.35) 100%
        );

    pointer-events: none;
}


/* =========================================================
   HERO CONTENT
   BOTTOM LEFT
   ========================================================= */

.home-hero-content {
    position: absolute;

    left: 8%;

    bottom: 45px;

    top: auto;

    transform: none;

    max-width: 550px;

    color: #ffffff;

    z-index: 2;
}


/* =========================================================
   HERO LOCATION
   ========================================================= */

.hero-location {
    margin: 0 0 25px;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: #ffffff;
}


/* =========================================================
   HERO TITLE
   ========================================================= */

.home-hero-content h1 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(60px, 6vw, 100px);

    line-height: 0.92;

    font-weight: 400;

    letter-spacing: -3px;
}

.home-hero-content h1 em {
    font-weight: 400;

    font-style: italic;
}


/* =========================================================
   HERO DESCRIPTION
   ========================================================= */

.hero-description {
    margin: 28px 0 30px;

    font-size: 16px;

    line-height: 1.6;

    color: #f5eeee;
}


/* =========================================================
   HERO SHOP BUTTON
   ========================================================= */

.hero-shop-button {
    display: inline-flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    min-width: 195px;

    padding: 15px 22px;

    background: #68142e;

    color: #ffffff;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.8px;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.hero-shop-button span {
    font-size: 20px;

    line-height: 1;
}

.hero-shop-button:hover {
    background: #851c3c;

    color: #ffffff;

    transform: translateY(-2px);
}


/* =========================================================
   HERO SLIDE INFO
   ========================================================= */

.hero-slide-info {
    position: absolute;

    right: 7%;

    bottom: 35px;

    z-index: 3;

    color: #ffffff;
}

.hero-slide-info strong {
    font-size: 13px;

    font-weight: 700;
}

.hero-slide-info span {
    font-size: 13px;

    margin-left: 2px;
}

.hero-slide-info p {
    margin: 8px 0 0;

    font-size: 12px;

    color: #e7dfe1;
}


/* =========================================================
   SHOP BY CATEGORY
   ========================================================= */

.category-section {
    max-width: 1200px;

    margin: 0 auto;

    padding: 75px 25px 70px;

    background: #faf8f6;
}


/* =========================================================
   CATEGORY HEADER
   ========================================================= */

.category-header {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    margin-bottom: 32px;
}

.category-eyebrow {
    margin: 0 0 8px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2.5px;

    text-transform: uppercase;

    color: #777;
}

.category-header h2 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 40px;

    font-weight: 400;

    color: #24191d;
}


/* =========================================================
   CATEGORY VIEW ALL
   ========================================================= */

.category-view-all {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: #24191d;

    text-decoration: none;

    font-size: 12px;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    border-bottom: 1px solid #24191d;

    padding-bottom: 5px;

    transition: opacity 0.2s ease;
}

.category-view-all:hover {
    opacity: 0.65;
}

.category-view-all span {
    font-size: 18px;

    line-height: 1;
}


/* =========================================================
   CATEGORY GRID
   ========================================================= */

.category-section .category-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.category-section .category-grid .category-tile {
    flex: 1 1 0;
    min-width: 220px;
    height: 390px;
}

@media (min-width: 1200px) {
    .category-section .category-grid {
        overflow-x: auto;
    }

    .category-section .category-grid .category-tile {
        min-width: 0;
    }
}

.all-categories-page {
    width: min(1380px, calc(100% - 64px));
    margin: 0 auto;
    padding: 64px 0 80px;
}

.all-categories-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}

.all-categories-header h1 {
    margin: 0;
    color: #302522;
    font: 400 clamp(38px, 5vw, 56px) Georgia, "Times New Roman", serif;
}

.all-categories-header > p:last-child,
.all-categories-empty {
    color: #80645f;
    font-size: 14px;
}

.all-categories-home-link {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid #68142e;
    color: #68142e;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.all-categories-home-link:hover {
    background: #68142e;
    color: #fff;
}

.all-categories-empty {
    padding: 36px 20px;
    background: #f8eae7;
    text-align: center;
}

@media (max-width: 700px) {
    .all-categories-page {
        width: calc(100% - 36px);
        padding: 42px 0 56px;
    }

    .all-categories-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }
}


/* =========================================================
   CATEGORY TILE
   ========================================================= */

.category-tile {
    position: relative;

    display: block;

    height: 390px;

    overflow: hidden;

    background: #ddd;

    text-decoration: none;

    color: #ffffff;
}


/* =========================================================
   CATEGORY IMAGE
   ========================================================= */

.category-tile img {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    transition: transform 0.5s ease;
}

.category-tile:hover img {
    transform: scale(1.05);
}


/* =========================================================
   CATEGORY GRADIENT
   ========================================================= */

.category-tile::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.02) 30%,
            rgba(0, 0, 0, 0.15) 50%,
            rgba(0, 0, 0, 0.75) 100%
        );

    pointer-events: none;
}


/* =========================================================
   CATEGORY CONTENT
   ========================================================= */

.category-tile-content {
    position: absolute;

    left: 22px;

    right: 22px;

    bottom: 24px;

    z-index: 2;

    color: #ffffff;
}

.category-tile-content h3 {
    margin: 0 0 7px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 27px;

    font-weight: 400;

    line-height: 1.1;
}

.category-tile-content > span {
    display: inline-flex;

    align-items: center;

    font-size: 11px;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.category-arrow {
    display: inline-block;

    margin-left: 6px;

    font-size: 16px;

    line-height: 1;

    transition: transform 0.3s ease;
}

.category-tile:hover .category-arrow {
    transform: translateX(5px);
}

/* Dedicated layout for the full category directory. */
.all-categories-page {
    width: min(1260px, calc(100% - 48px));
    margin: 0 auto;
    padding: clamp(42px, 6vw, 76px) 0 84px;
}

.all-categories-page .all-categories-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin: 0 0 34px;
}

.all-categories-page .category-eyebrow {
    margin: 0 0 12px;
    color: #8b5962;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
}

.all-categories-page .all-categories-header h1 {
    margin: 0;
    color: #302522;
    font: 400 clamp(40px, 5vw, 58px)/1.05 Georgia, "Times New Roman", serif;
}

.all-categories-page .all-categories-intro {
    margin: 12px 0 0;
    color: #80645f;
    font-size: 14px;
}

.all-categories-page .all-categories-home-link {
    min-height: 46px;
    padding: 0 18px;
    border-color: #d9c8c3;
    color: #68142e;
    font-size: 12px;
    font-weight: 600;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.all-categories-page .all-categories-home-link:hover {
    border-color: #68142e;
    background: #68142e;
    color: #fff;
}

.all-categories-page .category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
    overflow: visible;
    padding: 0;
}

.all-categories-page .category-tile {
    height: auto;
    min-width: 0;
    aspect-ratio: .84;
    isolation: isolate;
    background: #eee4df;
    box-shadow: 0 8px 24px rgba(48, 37, 34, .08);
}

.all-categories-page .category-tile img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .55s ease, opacity .25s ease;
}

.all-categories-page .category-tile::after {
    z-index: 1;
    background: linear-gradient(to top, rgba(20, 12, 13, .78), rgba(20, 12, 13, .14) 37%, transparent 67%);
    transition: background .25s ease;
}

.all-categories-page .category-tile:hover img {
    transform: scale(1.035);
}

.all-categories-page .category-tile:hover::after {
    background: linear-gradient(to top, rgba(20, 12, 13, .86), rgba(20, 12, 13, .2) 42%, transparent 70%);
}

.all-categories-page .category-tile-content {
    right: 24px;
    bottom: 24px;
    left: 24px;
    z-index: 3;
}

.all-categories-page .category-tile-content h3 {
    margin-bottom: 9px;
    font-size: clamp(25px, 2.2vw, 32px);
}

.all-categories-page .category-tile-content > span {
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.8px;
}

.all-categories-page .category-tile-fallback {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: radial-gradient(ellipse at 50% 42%, #fbf6f2 0%, #eee2db 100%);
    color: #8b5962;
    opacity: 0;
    transition: opacity .2s ease;
}

.all-categories-page .category-fallback-mark {
    font-size: 35px;
    line-height: 1;
}

.all-categories-page .category-fallback-name {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
}

.all-categories-page .category-tile.is-image-unavailable .category-tile-fallback {
    opacity: 1;
}

.all-categories-page .category-tile.is-image-unavailable::after {
    background: linear-gradient(to top, rgba(48, 37, 34, .76), rgba(48, 37, 34, .02) 65%);
}

.all-categories-page .all-categories-empty {
    padding: 40px 24px;
    background: #f8f2ef;
    color: #80645f;
    text-align: center;
}

@media (max-width: 900px) {
    .all-categories-page .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .all-categories-page .category-tile { aspect-ratio: .9; }
}

@media (max-width: 640px) {
    .all-categories-page { width: calc(100% - 36px); padding: 40px 0 58px; }
    .all-categories-page .all-categories-header { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 24px; }
    .all-categories-page .all-categories-home-link { min-height: 42px; }
    .all-categories-page .category-grid { gap: 14px; }
    .all-categories-page .category-tile { aspect-ratio: .82; }
    .all-categories-page .category-tile-content { right: 15px; bottom: 16px; left: 15px; }
    .all-categories-page .category-tile-content h3 { font-size: clamp(19px, 5vw, 25px); }
}

@media (max-width: 420px) {
    .all-categories-page .category-grid { grid-template-columns: 1fr; }
    .all-categories-page .category-tile { aspect-ratio: 1.08; }
}


/* =========================================================
   FEATURED SECTION
   ========================================================= */

.featured-section {
    max-width: 1200px;

    margin: 0 auto;

    padding: 70px 25px;
}


/* =========================================================
   SECTION HEADING
   ========================================================= */

.section-heading {
    margin-bottom: 35px;
}

.section-heading p {
    margin: 0 0 8px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;

    color: #7b1938;
}

.section-heading h2 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 40px;

    font-weight: 400;
}


/* =========================================================
   PRODUCT GRID
   ========================================================= */

.grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}


/* =========================================================
   PRODUCT CARD
   ========================================================= */

.card {
    background: #ffffff;

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.1);
}


/* =========================================================
   PRODUCT IMAGE
   ========================================================= */

.card img {
    width: 100%;

    height: 430px;

    object-fit: cover;

    display: block;

    transition: transform 0.5s ease;
}

.card:hover img {
    transform: scale(1.03);
}


/* =========================================================
   PRODUCT BODY
   ========================================================= */

.card-body {
    padding: 18px 5px;
}

.card-body small {
    color: #888;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.card-body h3 {
    margin: 8px 0;

    font-size: 17px;

    font-weight: 500;
}

.card-body strong {
    font-size: 15px;
}


/* =========================================================
   NO PRODUCTS
   ========================================================= */

.no-products {
    grid-column: 1 / -1;

    text-align: center;

    padding: 40px;

    color: #777;
}


/* =========================================================
   MAIN CONTAINER
   ========================================================= */

.container {
    width: 100%;

    max-width: 1400px;

    margin: 0 auto;

    padding: 0;
}



/* =========================================================
   DESKTOP STORE POLISH
   ========================================================= */

@media (min-width: 901px) {
    .announcement-bar i {
        opacity: .5;
        font-style: normal;
    }

    /* Header chrome (layout, search, maroon nav, hamburger) is owned by header-reference.css. */
    .brand {
        position: static;
        flex: 0 0 auto;
        transform: none;
    }

    /* Nav + search chrome: see header-reference.css */

    .home-hero-content {
        left: 7%;
        bottom: 8%;
        max-width: 620px;
    }

    .home-hero-content h1 {
        max-width: 650px;
        margin: 0;
        font-size: clamp(48px, 5.2vw, 84px);
        line-height: .94;
        letter-spacing: -2.5px;
    }

    .home-hero-content h1 em {
        color: #f5ddd7;
    }

    .hero-location {
        margin-bottom: 18px;
        font-size: 10px;
        letter-spacing: 2.4px;
    }

    .hero-description {
        max-width: 440px;
        margin: 22px 0 26px;
        font-size: 15px;
    }

    .hero-shop-button {
        min-width: 215px;
        justify-content: center;
        box-shadow: 0 8px 24px rgba(38, 9, 18, .18);
    }

    .featured-products {
        padding-top: 72px;
        padding-bottom: 68px;
    }

    .featured-header {
        max-width: 1500px;
        margin-right: auto;
        margin-left: auto;
        padding: 0 1%;
    }

    .featured-products .new-arrivals-grid {
        max-width: 1500px !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    .featured-products .product-card {
        background: #fff;
        padding-bottom: 18px;
        box-shadow: 0 5px 22px rgba(55, 30, 34, .06);
        transition: transform .25s ease, box-shadow .25s ease;
    }

    .featured-products .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 14px 34px rgba(55, 30, 34, .12);
    }

    .featured-products .product-image-wrapper {
        overflow: hidden;
    }

    .featured-products .product-image-wrapper > a {
        transition: transform .45s ease;
    }

    .featured-products .product-card:hover .product-image-wrapper > a {
        transform: scale(1.012);
    }

    .featured-products .product-name,
    .featured-products .product-category,
    .featured-products .product-price,
    .featured-products .size-options,
    .featured-products .add-to-bag {
        margin-right: 18px;
        margin-left: 18px;
    }

    .featured-products .product-category {
        margin-top: 17px;
    }

    .featured-products .product-name {
        margin-top: 7px;
    }

    .featured-products .add-to-bag {
        width: calc(100% - 36px);
        justify-content: center;
        margin-top: 14px;
    }
}

/* Header chrome at all breakpoints is owned by header-reference.css. */


/* =========================================================
   HOME HERO SLIDER + BENEFITS STRIP
   ========================================================= */

.home-hero {
    position: relative;
}

.home-hero-slides,
.home-hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-hero-slide {
    display: none;
}

.home-hero-slide.is-active {
    display: block;
}

@media (max-width: 600px) {
    .home-hero { aspect-ratio: 16 / 9; }
}

.home-hero-slide .home-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
}

.home-hero-slide .home-hero-overlay {
    position: absolute;
    inset: 0;
}

.home-hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    color: #68142e;
    font: 28px/1 Arial,sans-serif;
    box-shadow: 0 3px 12px rgba(0,0,0,.18);
    transform: translateY(-50%);
    cursor: pointer;
}

.home-hero-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.06);
}

.home-hero-arrow-prev { left: 18px; }
.home-hero-arrow-next { right: 18px; }

.home-hero-dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    z-index: 6;
    display: flex;
    gap: 7px;
    transform: translateX(-50%);
}

.home-hero-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.55);
    cursor: pointer;
}

.home-hero-dots button.is-active {
    width: 22px;
    border-radius: 5px;
    background: #fff;
}

.home-benefits {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(1280px, calc(100% - 64px));
    margin: -18px auto 0;
    border: 1px solid #e8dfdb;
    border-radius: 2px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(48, 37, 34, .08);
}

.home-benefit {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 12px 24px;
    border-right: 1px solid #eee6e3;
}

.home-benefit:last-child {
    border-right: 0;
}

.home-benefit-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    border: 1px solid #d99aaa;
    border-radius: 10px;
    background: #fffafb;
    color: #9b2348;
    font-size: 19px;
}

.home-benefit strong,
.home-benefit small {
    display: block;
}

.home-benefit strong {
    color: #302522;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1px;
}

.home-benefit small {
    margin-top: 4px;
    color: #7d6d69;
    font-size: 10px;
}

@media (max-width: 700px) {
    .home-hero-arrow {
        width: 32px;
        height: 32px;
        font-size: 23px;
    }

    .home-hero-arrow-prev { left: 9px; }
    .home-hero-arrow-next { right: 9px; }

    .home-hero-dots {
        bottom: 8px;
    }

    .home-benefits {
        grid-template-columns: 1fr;
        width: calc(100% - 24px);
        margin: -12px auto 0;
    }

    .home-benefit {
        min-height: 64px;
        justify-content: flex-start;
        padding: 10px 16px;
        border-right: 0;
        border-bottom: 1px solid #eee6e3;
    }

    .home-benefit:last-child {
        border-bottom: 0;
    }

    .home-benefit-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        font-size: 16px;
    }
}
