/* ==========================================================================
   CEYMALL FASHION UI
   Modern UK Menswear Marketplace
   --------------------------------------------------------------------------
   Loaded AFTER assets/css/main.css

   Goals:
   - Preserve legacy Nest functionality
   - Isolate modern UI using cey-* classes
   - Premium / editorial / menswear-first visual language
   - Desktop + tablet + mobile responsive
   ========================================================================== */


/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */

:root {
    --cey-ink: #111111;
    --cey-ink-soft: #272727;
    --cey-muted: #6f6f6b;
    --cey-muted-light: #989894;

    --cey-paper: #ffffff;
    --cey-paper-warm: #f7f7f4;
    --cey-paper-soft: #f1f1ee;

    --cey-line: #deded9;
    --cey-line-light: #ecece8;
    --cey-line-dark: #b9b9b3;

    /*
     * Existing Ceymall teal/green is retained as a restrained
     * brand accent rather than the main site background.
     */
    --cey-brand: #168b80;
    --cey-brand-dark: #0c6f67;
    --cey-brand-soft: #e8f3f1;

    --cey-sale: #8a2634;
    --cey-success: #276c48;

    --cey-font-sans:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif;

    --cey-font-editorial:
        "Newsreader",
        Georgia,
        "Times New Roman",
        serif;

    --cey-shell: 1480px;

    --cey-gutter-desktop: 38px;
    --cey-gutter-tablet: 24px;
    --cey-gutter-mobile: 16px;

    --cey-header-z: 1000;
    --cey-overlay-z: 4000;
    --cey-drawer-z: 5000;

    --cey-transition-fast: 160ms ease;
    --cey-transition: 240ms ease;
    --cey-transition-slow: 420ms cubic-bezier(.22, 1, .36, 1);
}


/* ==========================================================================
   02. GLOBAL RESET / MODERN TYPOGRAPHY
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cey-paper);
    color: var(--cey-ink);
    font-family: var(--cey-font-sans);
    font-size: 14px;
    line-height: 1.55;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}


/*
 * Override the old Quicksand/Lato grocery typography.
 * This also makes untouched legacy pages visually closer to
 * the new Ceymall direction without destroying their layout.
 */
h1,
h2,
h3,
h4,
h5,
h6,
.font-heading,
.display-1,
.display-2,
.heading-sm-1 {
    color: var(--cey-ink);
    font-family: var(--cey-font-sans);
    font-weight: 500;
    letter-spacing: -0.025em;
}

p {
    color: var(--cey-muted);
    font-family: var(--cey-font-sans);
}

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

a:hover {
    color: inherit;
}

button,
input,
select,
textarea {
    font-family: var(--cey-font-sans);
}

img {
    max-width: 100%;
    height: auto;
}


/* Prevent old theme transitions from making new controls feel sluggish */
.cey-header *,
.cey-search-overlay *,
.cey-mobile-drawer *,
.cey-footer * {
    box-sizing: border-box;
}


/* ==========================================================================
   03. ACCESSIBILITY / UTILITIES
   ========================================================================== */

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.cey-skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 999999;

    padding: 12px 18px;

    background: var(--cey-ink);
    color: var(--cey-paper);

    font-size: 13px;
    font-weight: 600;

    transform: translateY(-160%);
    transition: transform var(--cey-transition-fast);
}

.cey-skip-link:focus {
    color: var(--cey-paper);
    transform: translateY(0);
}

.cey-shell {
    width: 100%;
    max-width: var(--cey-shell);

    margin-right: auto;
    margin-left: auto;

    padding-right: var(--cey-gutter-desktop);
    padding-left: var(--cey-gutter-desktop);
}


/* Disable horizontal jumps when overlays are open */
body.cey-overlay-open,
body.cey-drawer-open {
    overflow: hidden !important;
}


/* ==========================================================================
   04. ANNOUNCEMENT BAR
   ========================================================================== */

.cey-announcement {
    position: relative;
    z-index: calc(var(--cey-header-z) + 2);

    min-height: 34px;

    background: var(--cey-ink);
    color: var(--cey-paper);

    border: 0;
}

.cey-announcement__inner {
    min-height: 34px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;
}

.cey-announcement__message {
    min-width: 0;

    font-size: 11px;
    line-height: 1.2;

    font-weight: 500;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.cey-announcement__message a,
.cey-announcement__message span {
    color: var(--cey-paper);
}

.cey-announcement__message a {
    position: relative;
}

.cey-announcement__message a::after {
    position: absolute;

    right: 0;
    bottom: -3px;
    left: 0;

    height: 1px;

    background: rgba(255, 255, 255, .65);

    content: "";

    transform: scaleX(0);
    transform-origin: left;

    transition: transform var(--cey-transition);
}

.cey-announcement__message a:hover::after {
    transform: scaleX(1);
}

.cey-announcement__utilities {
    flex: 0 0 auto;

    display: flex;
    align-items: center;

    gap: 18px;

    font-size: 11px;
    letter-spacing: .035em;
}

.cey-announcement__link {
    color: rgba(255, 255, 255, .82);
}

.cey-announcement__link:hover {
    color: #fff;
}

.cey-currency-form {
    display: flex;
    align-items: center;

    margin: 0;
}

.cey-currency-select {
    width: auto;
    min-width: 80px;
    height: auto;

    padding: 0 18px 0 0;

    border: 0;
    border-radius: 0;

    background-color: transparent;

    color: rgba(255, 255, 255, .88);

    font-size: 11px;
    font-weight: 500;

    cursor: pointer;

    appearance: auto;
    -webkit-appearance: auto;
}

.cey-currency-select option {
    background: var(--cey-paper);
    color: var(--cey-ink);
}


/* ==========================================================================
   05. MAIN HEADER
   ========================================================================== */

.cey-header {
    position: relative;
    z-index: var(--cey-header-z);

    width: 100%;

    background: rgba(255, 255, 255, .98);

    color: var(--cey-ink);

    border-bottom: 1px solid var(--cey-line-light);
}

.cey-header__main {
    position: relative;

    background: var(--cey-paper);

    transition:
        box-shadow var(--cey-transition),
        background-color var(--cey-transition);
}

.cey-header__main-inner {
    position: relative;

    height: 82px;

    display: grid;

    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    column-gap: 30px;
}


/* ==========================================================================
   06. LOGO
   ========================================================================== */

.cey-logo {
    grid-column: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    line-height: 1;
}

.cey-logo a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    line-height: 1;
}

.cey-logo img {
    display: block;

    width: auto;
    max-width: 175px;
    max-height: 48px;

    object-fit: contain;
}

.cey-logo__text {
    color: var(--cey-ink);

    font-family: var(--cey-font-sans);
    font-size: 24px;

    font-weight: 600;
    letter-spacing: .13em;
}


/* ==========================================================================
   07. DESKTOP HEADER ACTIONS
   ========================================================================== */

.cey-header-actions {
    grid-column: 3;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 25px;
}

.cey-header-action {
    position: relative;

    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 0;

    border: 0;
    border-radius: 0;

    background: transparent !important;

    color: var(--cey-ink);

    font-size: 12px;
    font-weight: 500;
    line-height: 1;

    letter-spacing: .02em;

    cursor: pointer;

    transition:
        color var(--cey-transition-fast),
        opacity var(--cey-transition-fast);
}

button.cey-header-action {
    min-width: 0;
    height: auto;
}

.cey-header-action:hover {
    color: var(--cey-brand);
}

.cey-header-action svg {
    display: block;

    flex: 0 0 auto;

    width: 21px;
    height: 21px;
}

.cey-header-action__label {
    display: inline-flex;
    align-items: center;

    white-space: nowrap;
}

.cey-bag-label-count {
    margin-left: 2px;
}


/* ==========================================================================
   08. BAG COUNT
   ========================================================================== */

.cey-bag-icon-wrap {
    position: relative;

    display: inline-flex;
}

.cey-bag-count {
    position: absolute;

    top: -8px;
    right: -10px;

    min-width: 17px;
    height: 17px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 4px;

    border: 2px solid var(--cey-paper);
    border-radius: 999px;

    background: var(--cey-ink);
    color: var(--cey-paper);

    font-size: 9px;
    line-height: 1;
    font-weight: 600;
}


/* ==========================================================================
   09. ACCOUNT DROPDOWN
   ========================================================================== */

.cey-account-menu,
.cey-bag-menu {
    position: relative;
}

.cey-account-dropdown {
    position: absolute;

    top: calc(100% + 18px);
    right: -20px;

    width: 210px;

    padding: 12px 0;

    background: var(--cey-paper);

    border: 1px solid var(--cey-line-light);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, .08);

    opacity: 0;
    visibility: hidden;

    transform: translateY(8px);

    pointer-events: none;

    transition:
        opacity var(--cey-transition),
        visibility var(--cey-transition),
        transform var(--cey-transition);

    z-index: 40;
}

.cey-account-menu:hover .cey-account-dropdown,
.cey-account-menu:focus-within .cey-account-dropdown {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);

    pointer-events: auto;
}

.cey-account-dropdown::before {
    position: absolute;

    top: -19px;
    right: 0;
    left: 0;

    height: 20px;

    content: "";
}

.cey-account-dropdown a {
    display: block;

    padding: 10px 20px;

    color: var(--cey-ink-soft);

    font-size: 12px;
    line-height: 1.3;

    transition:
        color var(--cey-transition-fast),
        background-color var(--cey-transition-fast);
}

.cey-account-dropdown a:hover {
    background: var(--cey-paper-warm);
    color: var(--cey-ink);
}

.cey-dropdown-divider {
    height: 1px;

    margin: 8px 20px;

    background: var(--cey-line-light);
}


/* ==========================================================================
   10. MINI BAG
   ========================================================================== */

.cey-mini-bag {
    position: absolute;

    top: calc(100% + 18px);
    right: 0;

    width: 380px;
    max-height: min(620px, calc(100vh - 130px));

    display: flex;
    flex-direction: column;

    background: var(--cey-paper);

    border: 1px solid var(--cey-line-light);

    box-shadow:
        0 20px 55px rgba(0, 0, 0, .10);

    opacity: 0;
    visibility: hidden;

    transform: translateY(8px);

    pointer-events: none;

    transition:
        opacity var(--cey-transition),
        visibility var(--cey-transition),
        transform var(--cey-transition);

    z-index: 50;
}

.cey-bag-menu:hover .cey-mini-bag,
.cey-bag-menu:focus-within .cey-mini-bag {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);

    pointer-events: auto;
}

.cey-mini-bag::before {
    position: absolute;

    top: -19px;
    right: 0;
    left: 0;

    height: 20px;

    content: "";
}

.cey-mini-bag__header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 20px 22px;

    border-bottom: 1px solid var(--cey-line-light);

    color: var(--cey-ink);

    font-size: 12px;
    font-weight: 600;

    letter-spacing: .025em;
}

.cey-mini-bag__items {
    min-height: 0;
    overflow-y: auto;

    padding: 0 22px;
}

.cey-mini-bag-item {
    position: relative;

    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) 22px;

    gap: 15px;

    padding: 18px 0;

    border-bottom: 1px solid var(--cey-line-light);
}

.cey-mini-bag-item__image {
    display: block;

    width: 82px;
    height: 104px;

    overflow: hidden;

    background: var(--cey-paper-warm);
}

.cey-mini-bag-item__image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;
}

.cey-mini-bag-item__content {
    min-width: 0;

    padding-top: 2px;
}

.cey-mini-bag-item__title {
    display: block;

    margin-bottom: 9px;

    color: var(--cey-ink);

    font-size: 12px;
    line-height: 1.45;

    font-weight: 500;
}

.cey-mini-bag-item__title:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cey-mini-bag-item__meta {
    margin: 0 0 6px;

    color: var(--cey-muted);

    font-size: 11px;
    line-height: 1.4;
}

.cey-mini-bag-item__price {
    margin: 0;

    color: var(--cey-ink);

    font-size: 12px;
    line-height: 1.4;

    font-weight: 500;
}

.cey-mini-bag-item__remove {
    width: 22px;
    height: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--cey-muted);

    font-size: 21px;
    font-weight: 300;
    line-height: 1;

    transition: color var(--cey-transition-fast);
}

.cey-mini-bag-item__remove:hover {
    color: var(--cey-ink);
}

.cey-mini-bag__footer {
    padding: 20px 22px 22px;

    background: var(--cey-paper);

    border-top: 0;
}

.cey-mini-bag__total {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 18px;

    color: var(--cey-ink);

    font-size: 13px;
}

.cey-mini-bag__total strong {
    font-weight: 600;
}


/* ==========================================================================
   11. BUTTONS
   ========================================================================== */

.cey-button {
    min-height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 12px 26px;

    border: 1px solid var(--cey-ink);
    border-radius: 0;

    font-size: 11px;
    font-weight: 600;
    line-height: 1;

    letter-spacing: .09em;
    text-transform: uppercase;

    transition:
        background-color var(--cey-transition),
        color var(--cey-transition),
        border-color var(--cey-transition);
}

.cey-button--dark {
    background: var(--cey-ink);
    color: var(--cey-paper);
}

.cey-button--dark:hover {
    background: var(--cey-brand);
    border-color: var(--cey-brand);

    color: var(--cey-paper);
}

.cey-button--light {
    background: var(--cey-paper);
    color: var(--cey-ink);
}

.cey-button--light:hover {
    background: var(--cey-ink);
    color: var(--cey-paper);
}

.cey-button--outline {
    background: transparent;
    color: var(--cey-ink);
}

.cey-button--outline:hover {
    background: var(--cey-ink);
    color: var(--cey-paper);
}

.cey-button--full {
    width: 100%;
}


/* ==========================================================================
   12. DESKTOP NAVIGATION
   ========================================================================== */

.cey-nav-wrap {
    position: relative;

    width: 100%;

    background: var(--cey-paper);

    border-top: 1px solid var(--cey-line-light);
    border-bottom: 0;

    transition:
        box-shadow var(--cey-transition),
        transform var(--cey-transition);
}

.cey-nav {
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.cey-nav__list {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: clamp(24px, 3.5vw, 58px);

    margin: 0;
    padding: 0;

    list-style: none;
}

.cey-nav__item {
    position: static;

    height: 48px;

    display: flex;
    align-items: center;
}

.cey-nav__link {
    position: relative;

    height: 48px;

    display: inline-flex;
    align-items: center;

    color: var(--cey-ink);

    font-size: 11px;
    font-weight: 550;

    line-height: 1;

    letter-spacing: .08em;
    text-transform: uppercase;

    white-space: nowrap;
}

.cey-nav__link::after {
    position: absolute;

    right: 0;
    bottom: 8px;
    left: 0;

    height: 1px;

    background: var(--cey-ink);

    content: "";

    transform: scaleX(0);
    transform-origin: center;

    transition: transform var(--cey-transition);
}

.cey-nav__item:hover > .cey-nav__link::after,
.cey-nav__link:focus-visible::after {
    transform: scaleX(1);
}

.cey-nav__link--sale {
    color: var(--cey-sale);
}

.cey-nav__link--sale::after {
    background: var(--cey-sale);
}


/* ==========================================================================
   13. MEGA MENU
   ========================================================================== */

.cey-mega-menu {
    position: absolute;

    top: 100%;
    right: 0;
    left: 0;

    z-index: 1500;

    min-height: 330px;

    background: var(--cey-paper);

    border-top: 1px solid var(--cey-line-light);
    border-bottom: 1px solid var(--cey-line-light);

    box-shadow:
        0 20px 36px rgba(0, 0, 0, .055);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-5px);

    pointer-events: none;

    transition:
        opacity var(--cey-transition),
        visibility var(--cey-transition),
        transform var(--cey-transition);
}

.cey-nav__item--mega:hover .cey-mega-menu,
.cey-nav__item--mega:focus-within .cey-mega-menu {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);

    pointer-events: auto;
}

.cey-mega-menu__inner {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(260px, 390px);

    gap: 70px;

    padding-top: 38px;
    padding-bottom: 40px;
}

.cey-mega-menu__content {
    min-width: 0;
}

.cey-mega-menu__eyebrow {
    margin: 0 0 21px;

    color: var(--cey-muted);

    font-size: 10px;
    line-height: 1;

    font-weight: 600;

    letter-spacing: .12em;
    text-transform: uppercase;
}

.cey-mega-menu__links {
    max-width: 740px;

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    column-gap: 34px;
    row-gap: 4px;
}

.cey-mega-menu__link {
    display: block;

    padding: 6px 0;

    color: var(--cey-ink-soft);

    font-size: 13px;
    line-height: 1.35;

    font-weight: 450;

    transition:
        color var(--cey-transition-fast),
        transform var(--cey-transition-fast);
}

.cey-mega-menu__link:hover {
    color: var(--cey-brand);

    transform: translateX(3px);
}

.cey-mega-menu__feature {
    min-width: 0;
}

.cey-mega-menu__image {
    width: 100%;
    height: 220px;

    display: block;

    overflow: hidden;

    background: var(--cey-paper-warm);
}

.cey-mega-menu__image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

.cey-mega-menu__image:hover img {
    transform: scale(1.025);
}

.cey-text-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-top: 14px;

    color: var(--cey-ink);

    font-size: 11px;
    line-height: 1;

    font-weight: 600;

    letter-spacing: .06em;
    text-transform: uppercase;
}

.cey-text-link span {
    transition: transform var(--cey-transition-fast);
}

.cey-text-link:hover span {
    transform: translateX(4px);
}


/* ==========================================================================
   14. STICKY HEADER
   ========================================================================== */

/*
 * We deliberately use a body class controlled by ceymall-fashion.js,
 * rather than the old `.sticky-bar.stick` Nest implementation.
 */

.cey-header.cey-header--scrolled {
    position: sticky;

    top: 0;

    z-index: var(--cey-header-z);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .055);
}

.cey-header.cey-header--scrolled .cey-header__main-inner {
    height: 67px;
}

.cey-header.cey-header--scrolled .cey-logo img {
    max-height: 39px;
}

.cey-header__main-inner,
.cey-logo img {
    transition:
        height var(--cey-transition),
        max-height var(--cey-transition);
}


/* ==========================================================================
   15. MOBILE MENU TRIGGER
   ========================================================================== */

.cey-mobile-trigger {
    grid-column: 1;

    justify-self: start;

    width: 28px;
    height: 28px;

    display: none;

    position: relative;

    padding: 0;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;

    cursor: pointer;
}

.cey-mobile-trigger span {
    position: absolute;

    left: 2px;

    width: 22px;
    height: 1.4px;

    background: var(--cey-ink);

    transition: transform var(--cey-transition);
}

.cey-mobile-trigger span:nth-child(1) {
    top: 7px;
}

.cey-mobile-trigger span:nth-child(2) {
    top: 13px;
}

.cey-mobile-trigger span:nth-child(3) {
    top: 19px;
}


/* ==========================================================================
   16. SEARCH OVERLAY
   ========================================================================== */

.cey-search-overlay {
    position: fixed;

    inset: 0;

    z-index: var(--cey-overlay-z);

    display: flex;

    background: rgba(255, 255, 255, .99);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        opacity var(--cey-transition-slow),
        visibility var(--cey-transition-slow);
}

.cey-search-overlay.cey-search-overlay--open {
    opacity: 1;
    visibility: visible;

    pointer-events: auto;
}

.cey-search-overlay__inner {
    position: relative;

    width: 100%;
    min-height: 100%;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    padding:
        clamp(120px, 18vh, 210px)
        32px
        70px;
}

.cey-search-overlay__content {
    width: min(900px, 100%);

    opacity: 0;

    transform: translateY(20px);

    transition:
        opacity .35s ease .08s,
        transform .45s cubic-bezier(.22, 1, .36, 1) .08s;
}

.cey-search-overlay--open .cey-search-overlay__content {
    opacity: 1;

    transform: translateY(0);
}

.cey-search-overlay__eyebrow {
    margin: 0 0 25px;

    color: var(--cey-muted);

    font-size: 11px;
    line-height: 1;

    font-weight: 600;

    letter-spacing: .12em;
    text-transform: uppercase;
}

.cey-search-form {
    position: relative;

    width: 100%;

    display: flex;
    align-items: center;

    border-bottom: 1px solid var(--cey-ink);
}

.cey-search-form input {
    width: 100%;
    height: auto;

    padding: 8px 60px 21px 0;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;

    color: var(--cey-ink);

    font-family: var(--cey-font-editorial);
    font-size: clamp(30px, 4vw, 56px);

    font-weight: 400;
    line-height: 1.1;

    letter-spacing: -.025em;

    box-shadow: none !important;
}

.cey-search-form input::placeholder {
    color: #a7a7a2;

    opacity: 1;
}

.cey-search-form input:focus {
    border: 0 !important;
}

.cey-search-form button {
    position: absolute;

    top: 50%;
    right: 0;

    width: 50px;
    height: 50px;

    padding: 0 !important;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-56%);

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    color: var(--cey-ink);

    cursor: pointer;
}

.cey-search-form button:hover {
    background: transparent !important;
    color: var(--cey-brand);
}

.cey-search-suggestions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 12px 25px;

    margin-top: 27px;
}

.cey-search-suggestions__label {
    color: var(--cey-muted-light);

    font-size: 10px;
    font-weight: 600;

    letter-spacing: .1em;
    text-transform: uppercase;
}

.cey-search-suggestions a {
    position: relative;

    color: var(--cey-ink-soft);

    font-size: 12px;
    font-weight: 500;
}

.cey-search-suggestions a::after {
    position: absolute;

    right: 0;
    bottom: -3px;
    left: 0;

    height: 1px;

    background: currentColor;

    content: "";

    transform: scaleX(0);
    transform-origin: left;

    transition: transform var(--cey-transition-fast);
}

.cey-search-suggestions a:hover::after {
    transform: scaleX(1);
}

.cey-search-close {
    position: absolute;

    top: 34px;
    right: 38px;

    width: 36px;
    height: 36px;

    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;

    cursor: pointer;
}

.cey-search-close span {
    position: absolute;

    top: 17px;
    left: 7px;

    width: 22px;
    height: 1px;

    background: var(--cey-ink);
}

.cey-search-close span:first-child {
    transform: rotate(45deg);
}

.cey-search-close span:last-child {
    transform: rotate(-45deg);
}


/* ==========================================================================
   17. MOBILE OVERLAY
   ========================================================================== */

.cey-mobile-overlay {
    position: fixed;

    inset: 0;

    z-index: calc(var(--cey-drawer-z) - 1);

    background: rgba(0, 0, 0, .45);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        opacity var(--cey-transition),
        visibility var(--cey-transition);
}

.cey-mobile-overlay.cey-mobile-overlay--visible {
    opacity: 1;
    visibility: visible;

    pointer-events: auto;
}


/* ==========================================================================
   18. MOBILE DRAWER
   ========================================================================== */

.cey-mobile-drawer {
    position: fixed;

    top: 0;
    bottom: 0;
    left: 0;

    z-index: var(--cey-drawer-z);

    width: min(420px, 92vw);

    display: flex;
    flex-direction: column;

    background: var(--cey-paper);

    color: var(--cey-ink);

    transform: translateX(-102%);

    visibility: hidden;

    transition:
        transform .42s cubic-bezier(.22, 1, .36, 1),
        visibility .42s;
}

.cey-mobile-drawer.cey-mobile-drawer--open {
    transform: translateX(0);

    visibility: visible;
}

.cey-mobile-drawer__header {
    flex: 0 0 auto;

    min-height: 68px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 14px 20px;

    border-bottom: 1px solid var(--cey-line-light);
}

.cey-mobile-drawer__logo {
    display: flex;
    align-items: center;
}

.cey-mobile-drawer__logo img {
    width: auto;
    max-width: 135px;
    max-height: 37px;

    display: block;

    object-fit: contain;
}

.cey-mobile-drawer__logo span {
    color: var(--cey-ink);

    font-size: 20px;
    font-weight: 600;
    letter-spacing: .12em;
}

.cey-mobile-close {
    position: relative;

    width: 32px;
    height: 32px;

    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;

    cursor: pointer;
}

.cey-mobile-close span {
    position: absolute;

    top: 15px;
    left: 5px;

    width: 22px;
    height: 1px;

    background: var(--cey-ink);
}

.cey-mobile-close span:first-child {
    transform: rotate(45deg);
}

.cey-mobile-close span:last-child {
    transform: rotate(-45deg);
}

.cey-mobile-drawer__body {
    min-height: 0;

    flex: 1;

    overflow-y: auto;

    padding: 20px;
}


/* ==========================================================================
   19. MOBILE SEARCH
   ========================================================================== */

.cey-mobile-search-button {
    width: 100%;
    height: 47px;

    display: flex;
    align-items: center;

    gap: 10px;

    margin: 0 0 19px;
    padding: 0 14px !important;

    border: 1px solid var(--cey-line) !important;
    border-radius: 0 !important;

    background: var(--cey-paper) !important;
    color: var(--cey-ink) !important;

    font-size: 12px !important;
    font-weight: 500 !important;

    text-align: left;

    cursor: pointer;
}

.cey-mobile-search-button:hover {
    background: var(--cey-paper-warm) !important;
}


/* ==========================================================================
   20. MOBILE NAV
   ========================================================================== */

.cey-mobile-nav {
    border-top: 1px solid var(--cey-line-light);
}

.cey-mobile-nav > ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.cey-mobile-nav > ul > li {
    border-bottom: 1px solid var(--cey-line-light);
}

.cey-mobile-nav > ul > li > a,
.cey-mobile-nav__department-heading > a {
    min-height: 54px;

    display: flex;
    align-items: center;

    color: var(--cey-ink);

    font-size: 12px;
    line-height: 1.25;

    font-weight: 600;

    letter-spacing: .06em;
    text-transform: uppercase;
}

.cey-mobile-nav__department-heading {
    display: grid;

    grid-template-columns: minmax(0, 1fr) 42px;
    align-items: center;
}

.cey-mobile-submenu-toggle {
    position: relative;

    width: 42px;
    height: 42px;

    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;

    cursor: pointer;
}

.cey-mobile-submenu-toggle span {
    position: absolute;

    top: 20px;
    left: 13px;

    width: 16px;
    height: 1px;

    background: var(--cey-ink);

    transition: transform var(--cey-transition-fast);
}

.cey-mobile-submenu-toggle span:last-child {
    transform: rotate(90deg);
}

.cey-mobile-submenu-toggle[aria-expanded="true"] span:last-child {
    transform: rotate(0);
}

.cey-mobile-submenu {
    display: none;

    padding: 4px 0 17px 15px;
}

.cey-mobile-submenu a {
    display: block;

    padding: 8px 0;

    color: var(--cey-muted);

    font-size: 12px;
    line-height: 1.4;

    font-weight: 450;
}

.cey-mobile-submenu a:hover {
    color: var(--cey-ink);
}

.cey-mobile-submenu__all {
    margin-top: 5px;

    color: var(--cey-ink) !important;

    font-weight: 600 !important;

    text-decoration: underline;
    text-underline-offset: 4px;
}

.cey-mobile-nav__sale {
    color: var(--cey-sale) !important;
}


/* ==========================================================================
   21. MOBILE ACCOUNT / UTILITIES
   ========================================================================== */

.cey-mobile-account {
    display: flex;
    flex-direction: column;

    gap: 11px;

    margin-top: 30px;
    padding: 24px 0;

    border-top: 1px solid var(--cey-line);
    border-bottom: 1px solid var(--cey-line-light);
}

.cey-mobile-account a {
    color: var(--cey-ink-soft);

    font-size: 12px;
    line-height: 1.4;

    font-weight: 500;
}

.cey-mobile-utilities {
    display: flex;
    flex-direction: column;

    gap: 20px;

    padding: 22px 0 14px;
}

.cey-mobile-utilities > a {
    color: var(--cey-muted);

    font-size: 12px;
}

.cey-mobile-utilities form {
    display: grid;

    grid-template-columns: auto minmax(0, 1fr);

    align-items: center;

    gap: 14px;
}

.cey-mobile-utilities label {
    margin: 0;

    color: var(--cey-muted);

    font-size: 11px;
}

.cey-mobile-utilities select {
    justify-self: end;

    width: auto;
    height: 32px;

    padding: 0;

    border: 0;
    border-radius: 0;

    color: var(--cey-ink);

    font-size: 11px;

    cursor: pointer;
}


/* ==========================================================================
   22. MAIN CONTENT
   ========================================================================== */

#main-content {
    min-height: 45vh;

    background: var(--cey-paper);
}


/* ==========================================================================
   23. NEWSLETTER
   ========================================================================== */

.cey-newsletter {
    padding: 70px 0;

    background: var(--cey-ink);
    color: var(--cey-paper);
}

.cey-newsletter__inner {
    display: grid;

    grid-template-columns:
        minmax(0, .9fr)
        minmax(420px, .75fr);

    align-items: end;

    gap: clamp(50px, 8vw, 130px);
}

.cey-newsletter__content {
    max-width: 600px;
}

.cey-newsletter__eyebrow {
    margin: 0 0 16px;

    color: rgba(255, 255, 255, .58);

    font-size: 10px;
    line-height: 1;

    font-weight: 600;

    letter-spacing: .12em;
    text-transform: uppercase;
}

.cey-newsletter__content h2 {
    margin: 0 0 13px;

    color: var(--cey-paper);

    font-family: var(--cey-font-editorial);
    font-size: clamp(38px, 4vw, 56px);

    font-weight: 400;
    line-height: 1;

    letter-spacing: -.03em;
}

.cey-newsletter__content > p:not(.cey-newsletter__eyebrow) {
    max-width: 520px;

    margin: 0;

    color: rgba(255, 255, 255, .68);

    font-size: 13px;
    line-height: 1.7;
}

.cey-newsletter-form {
    width: 100%;

    display: grid;

    grid-template-columns: minmax(0, 1fr) auto;

    align-items: stretch;

    border-bottom: 1px solid rgba(255, 255, 255, .6);
}

.cey-newsletter-form input {
    width: 100%;
    height: 52px;

    padding: 0 10px 0 0;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    color: var(--cey-paper);

    font-size: 13px;

    box-shadow: none !important;
}

.cey-newsletter-form input:focus {
    border: 0 !important;
}

.cey-newsletter-form input::placeholder {
    color: rgba(255, 255, 255, .52);

    opacity: 1;
}

.cey-newsletter-form button {
    height: 52px;

    padding: 0 3px 0 25px !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    color: var(--cey-paper) !important;

    font-size: 10px !important;
    line-height: 1 !important;

    font-weight: 600 !important;

    letter-spacing: .13em;
    text-transform: uppercase;

    cursor: pointer;
}

.cey-newsletter-form button:hover {
    background: transparent !important;
    color: rgba(255, 255, 255, .65) !important;
}


/* ==========================================================================
   24. TRUST STRIP
   ========================================================================== */

.cey-trust-strip {
    padding: 31px 0;

    background: var(--cey-paper-warm);

    border-bottom: 1px solid var(--cey-line-light);
}

.cey-trust-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 20px;
}

.cey-trust-item {
    display: flex;
    align-items: center;

    gap: 15px;

    min-width: 0;
}

.cey-trust-item svg {
    flex: 0 0 auto;

    width: 28px;
    height: 28px;

    color: var(--cey-ink);
}

.cey-trust-item div {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 2px;
}

.cey-trust-item strong {
    color: var(--cey-ink);

    font-size: 11px;
    line-height: 1.35;

    font-weight: 600;

    letter-spacing: .015em;
}

.cey-trust-item span {
    color: var(--cey-muted);

    font-size: 10px;
    line-height: 1.45;
}


/* ==========================================================================
   25. FOOTER MAIN
   ========================================================================== */

.cey-footer {
    position: relative;

    background: var(--cey-paper);

    color: var(--cey-ink);
}

.cey-footer-main {
    padding: 70px 0 65px;

    background: var(--cey-paper);
}

.cey-footer-grid {
    display: grid;

    grid-template-columns:
        minmax(260px, 1.6fr)
        repeat(4, minmax(135px, .75fr));

    column-gap: clamp(35px, 5vw, 80px);
    row-gap: 45px;
}

.cey-footer-brand {
    max-width: 340px;
}

.cey-footer-logo {
    display: inline-flex;

    margin-bottom: 22px;
}

.cey-footer-logo img {
    width: auto;
    max-width: 155px;
    max-height: 45px;

    display: block;

    object-fit: contain;
}

.cey-footer-logo span {
    color: var(--cey-ink);

    font-size: 22px;
    font-weight: 600;

    letter-spacing: .12em;
}

.cey-footer-brand > p {
    max-width: 300px;

    margin: 0 0 20px;

    color: var(--cey-muted);

    font-size: 12px;
    line-height: 1.7;
}

.cey-footer-contact {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.cey-footer-contact a {
    width: fit-content;

    color: var(--cey-ink-soft);

    font-size: 11px;
}

.cey-footer-contact a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cey-footer-column h3 {
    margin: 0 0 22px;

    color: var(--cey-ink);

    font-size: 10px;
    line-height: 1;

    font-weight: 650;

    letter-spacing: .105em;
    text-transform: uppercase;
}

.cey-footer-column ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.cey-footer-column li + li {
    margin-top: 10px;
}

.cey-footer-column a {
    position: relative;

    color: var(--cey-muted);

    font-size: 11px;
    line-height: 1.45;

    transition: color var(--cey-transition-fast);
}

.cey-footer-column a:hover {
    color: var(--cey-ink);
}


/* ==========================================================================
   26. FOOTER BOTTOM
   ========================================================================== */

.cey-footer-bottom {
    border-top: 1px solid var(--cey-line-light);

    background: var(--cey-paper);
}

.cey-footer-bottom__inner {
    min-height: 68px;

    display: grid;

    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    gap: 30px;
}

.cey-footer-bottom__legal {
    justify-self: start;

    color: var(--cey-muted);

    font-size: 10px;
}

.cey-footer-bottom__social {
    justify-self: center;

    display: flex;
    align-items: center;

    gap: 20px;
}

.cey-footer-bottom__social a {
    color: var(--cey-muted);

    font-size: 10px;
    line-height: 1;

    transition: color var(--cey-transition-fast);
}

.cey-footer-bottom__social a:hover {
    color: var(--cey-ink);
}

.cey-footer-bottom__locale {
    justify-self: end;

    display: flex;
    align-items: center;

    gap: 8px;

    color: var(--cey-muted);

    font-size: 10px;
}


/* ==========================================================================
   27. ALERTS
   ========================================================================== */

#alert-container {
    position: fixed;

    top: 105px;
    right: 22px;

    z-index: 99999;

    width: min(420px, calc(100vw - 30px));
}

#alert-container .alert {
    min-height: 52px !important;

    display: flex;
    align-items: center;

    padding: 15px 45px 15px 46px;

    border: 1px solid var(--cey-line-light);
    border-radius: 0;

    background: var(--cey-paper);

    color: var(--cey-ink);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, .10);

    font-family: var(--cey-font-sans);
    font-size: 12px;
    line-height: 1.45;
}

#alert-container .alert.alert-success {
    background: var(--cey-paper);
    color: var(--cey-success);

    border-left: 3px solid var(--cey-success);
}

#alert-container .alert.alert-danger {
    border-left: 3px solid var(--cey-sale);
}

#alert-container .alert .message-icon {
    top: 50%;
    left: 16px;

    color: currentColor;

    transform: translateY(-50%);
}

#alert-container .btn-close {
    top: 50%;
    right: 14px;

    transform: translateY(-50%);
}


/* ==========================================================================
   28. PRELOADER
   ========================================================================== */

#preloader-active .preloader {
    background: var(--cey-paper);
}

#preloader-active .preloader img {
    max-width: 62px;
}


/* ==========================================================================
   29. LEGACY SCROLL-TO-TOP
   ========================================================================== */

#scrollUp {
    right: 20px !important;
    bottom: 20px !important;

    width: 42px !important;
    height: 42px !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--cey-line) !important;
    border-radius: 0 !important;

    background: rgba(255, 255, 255, .95) !important;
    color: var(--cey-ink) !important;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .06) !important;

    font-size: 16px !important;
    line-height: 1 !important;
}

#scrollUp:hover {
    background: var(--cey-ink) !important;
    color: var(--cey-paper) !important;
}


/* ==========================================================================
   30. GTRANSLATE
   ========================================================================== */

/*
 * Preserve functionality while toning down the legacy widget.
 * The widget itself injects additional markup/styles at runtime.
 */

.gtranslate_wrapper {
    font-family: var(--cey-font-sans) !important;
    font-size: 11px !important;
}


/* ==========================================================================
   31. LEGACY THEME TONING
   --------------------------------------------------------------------------
   These are intentionally light-touch global overrides.
   They make pages that have not yet been rebuilt feel less grocery-like
   without changing their HTML architecture.
   ========================================================================== */

.text-brand {
    color: var(--cey-brand) !important;
}

.bg-brand {
    background-color: var(--cey-brand) !important;
}

.border-brand {
    border-color: var(--cey-brand) !important;
}


/* Old main buttons */
.btn,
.button {
    font-family: var(--cey-font-sans);

    border-radius: 0;

    letter-spacing: .02em;
}


/*
 * Do not globally turn every button black.
 * Only neutralise the excessive Nest roundness.
 */
button.submit,
button[type="submit"] {
    border-radius: 0;
}


/* Old inputs */
input,
textarea,
.form-control {
    border-radius: 0;
}


/* Old product cards - subtle transition while pages are migrated */
.product-cart-wrap {
    border-radius: 0;
}

.product-cart-wrap .product-img-action-wrap .product-img {
    border-radius: 0;
}

.product-cart-wrap .product-img-action-wrap .product-img img {
    border-radius: 0;
}


/* Remove heavy grocery hover treatment without killing functionality */
.product-cart-wrap:hover {
    box-shadow:
        0 5px 20px rgba(0, 0, 0, .045);

    border-color: var(--cey-line);
}


/* Old vendor cards */
.vendor-wrap {
    border-radius: 0;
}

.vendor-wrap:hover {
    border-color: var(--cey-line);

    box-shadow:
        0 5px 20px rgba(0, 0, 0, .045);
}


/* ==========================================================================
   32. LARGE DESKTOP
   ========================================================================== */

@media (min-width: 1600px) {

    .cey-header__main-inner {
        height: 86px;
    }

    .cey-logo img {
        max-width: 188px;
    }

    .cey-nav {
        height: 50px;
    }

    .cey-nav__item,
    .cey-nav__link {
        height: 50px;
    }

    .cey-footer-main {
        padding-top: 78px;
        padding-bottom: 72px;
    }
}


/* ==========================================================================
   33. DESKTOP / SMALL LAPTOP
   ========================================================================== */

@media (max-width: 1199.98px) {

    .cey-shell {
        padding-right: var(--cey-gutter-tablet);
        padding-left: var(--cey-gutter-tablet);
    }

    .cey-header-actions {
        gap: 18px;
    }

    .cey-nav__list {
        gap: 27px;
    }

    .cey-mega-menu__inner {
        gap: 42px;
    }

    .cey-mega-menu__links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cey-newsletter__inner {
        gap: 70px;
    }

    .cey-footer-grid {
        grid-template-columns:
            minmax(230px, 1.3fr)
            repeat(4, minmax(115px, .75fr));

        column-gap: 35px;
    }
}


/* ==========================================================================
   34. TABLET / MOBILE NAV BREAKPOINT
   ========================================================================== */

@media (max-width: 991.98px) {

    .cey-shell {
        padding-right: var(--cey-gutter-tablet);
        padding-left: var(--cey-gutter-tablet);
    }


    /* Announcement */
    .cey-announcement {
        min-height: 31px;
    }

    .cey-announcement__inner {
        min-height: 31px;
    }

    .cey-announcement__message {
        width: 100%;

        text-align: center;

        font-size: 9px;

        letter-spacing: .07em;
    }

    .cey-announcement__utilities {
        display: none;
    }


    /* Header */
    .cey-header__main-inner {
        height: 64px;

        grid-template-columns: 1fr auto 1fr;

        padding-right: var(--cey-gutter-tablet);
        padding-left: var(--cey-gutter-tablet);
    }

    .cey-mobile-trigger {
        display: block;
    }

    .cey-logo {
        grid-column: 2;
    }

    .cey-logo img {
        max-width: 138px;
        max-height: 37px;
    }

    .cey-header-actions {
        grid-column: 3;

        gap: 14px;
    }

    .cey-header-action__label {
        display: none;
    }

    .cey-header-action svg {
        width: 21px;
        height: 21px;
    }

    .cey-account-dropdown,
    .cey-mini-bag {
        display: none;
    }

    .cey-bag-count {
        top: -7px;
        right: -8px;
    }


    /* Desktop nav off */
    .cey-nav-wrap {
        display: none;
    }


    /* Sticky */
    .cey-header.cey-header--scrolled .cey-header__main-inner {
        height: 58px;
    }


    /* Newsletter */
    .cey-newsletter {
        padding: 58px 0;
    }

    .cey-newsletter__inner {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .cey-newsletter__content {
        max-width: 620px;
    }

    .cey-newsletter-form {
        max-width: 620px;
    }


    /* Trust */
    .cey-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        row-gap: 27px;
    }


    /* Footer */
    .cey-footer-grid {
        grid-template-columns:
            minmax(250px, 1.5fr)
            repeat(2, minmax(150px, 1fr));

        column-gap: 50px;
    }

    .cey-footer-brand {
        grid-row: span 2;
    }

    .cey-footer-bottom__inner {
        grid-template-columns: 1fr auto;

        padding-top: 18px;
        padding-bottom: 18px;

        row-gap: 13px;
    }

    .cey-footer-bottom__legal {
        grid-column: 1;
        grid-row: 1;

        justify-self: start;
    }

    .cey-footer-bottom__locale {
        grid-column: 2;
        grid-row: 1;

        justify-self: end;
    }

    .cey-footer-bottom__social {
        grid-column: 1 / -1;
        grid-row: 2;

        justify-self: start;
    }


    /* Search */
    .cey-search-overlay__inner {
        padding-top: 125px;
    }

    .cey-search-form input {
        font-size: clamp(28px, 6vw, 44px);
    }
}


/* ==========================================================================
   35. MOBILE
   ========================================================================== */

@media (max-width: 767.98px) {

    .cey-shell {
        padding-right: var(--cey-gutter-mobile);
        padding-left: var(--cey-gutter-mobile);
    }


    /* Header */
    .cey-header__main-inner {
        height: 61px;

        padding-right: var(--cey-gutter-mobile);
        padding-left: var(--cey-gutter-mobile);
    }

    .cey-logo img {
        max-width: 122px;
        max-height: 33px;
    }

    .cey-logo__text {
        font-size: 19px;
    }

    .cey-header-actions {
        gap: 11px;
    }

    .cey-account-menu {
        display: none;
    }

    .cey-header-action svg {
        width: 20px;
        height: 20px;
    }

    .cey-mobile-trigger {
        width: 27px;
    }


    /* Search overlay */
    .cey-search-overlay__inner {
        padding:
            110px
            var(--cey-gutter-mobile)
            40px;
    }

    .cey-search-close {
        top: 20px;
        right: 17px;
    }

    .cey-search-overlay__eyebrow {
        margin-bottom: 19px;
    }

    .cey-search-form input {
        padding-right: 47px;
        padding-bottom: 16px;

        font-size: clamp(27px, 9vw, 38px);

        line-height: 1.12;
    }

    .cey-search-form button {
        width: 40px;
    }

    .cey-search-form button svg {
        width: 23px;
        height: 23px;
    }

    .cey-search-suggestions {
        align-items: flex-start;

        gap: 13px 18px;

        margin-top: 22px;
    }

    .cey-search-suggestions__label {
        width: 100%;
    }


    /* Newsletter */
    .cey-newsletter {
        padding: 50px 0;
    }

    .cey-newsletter__inner {
        gap: 28px;
    }

    .cey-newsletter__content h2 {
        font-size: 38px;
    }

    .cey-newsletter__content > p:not(.cey-newsletter__eyebrow) {
        font-size: 12px;
    }


    /* Trust */
    .cey-trust-strip {
        padding: 26px 0;
    }

    .cey-trust-grid {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .cey-trust-item {
        padding: 15px 0;
    }

    .cey-trust-item + .cey-trust-item {
        border-top: 1px solid var(--cey-line);
    }


    /* Footer */
    .cey-footer-main {
        padding: 49px 0 40px;
    }

    .cey-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        column-gap: 28px;
        row-gap: 39px;
    }

    .cey-footer-brand {
        grid-column: 1 / -1;
        grid-row: auto;

        max-width: 100%;

        padding-bottom: 4px;
    }

    .cey-footer-column h3 {
        margin-bottom: 18px;
    }

    .cey-footer-column li + li {
        margin-top: 9px;
    }

    .cey-footer-bottom__inner {
        min-height: unset;

        grid-template-columns: 1fr;

        gap: 13px;

        padding-top: 21px;
        padding-bottom: 23px;
    }

    .cey-footer-bottom__legal,
    .cey-footer-bottom__social,
    .cey-footer-bottom__locale {
        grid-column: 1;
        grid-row: auto;

        justify-self: start;
    }

    .cey-footer-bottom__social {
        flex-wrap: wrap;

        gap: 10px 18px;
    }


    /* Alerts */
    #alert-container {
        top: 82px;
        right: 15px;
        left: 15px;

        width: auto;
    }


    /* Scroll up */
    #scrollUp {
        right: 14px !important;
        bottom: 14px !important;

        width: 38px !important;
        height: 38px !important;
    }
}


/* ==========================================================================
   36. SMALL MOBILE
   ========================================================================== */

@media (max-width: 479.98px) {

    .cey-announcement__message {
        overflow: hidden;

        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .cey-header-actions {
        gap: 8px;
    }

    .cey-logo img {
        max-width: 108px;
    }

    .cey-mobile-drawer {
        width: 93vw;
    }

    .cey-mobile-drawer__body {
        padding-right: 17px;
        padding-left: 17px;
    }

    .cey-newsletter-form {
        grid-template-columns: minmax(0, 1fr) 60px;
    }

    .cey-newsletter-form button {
        padding-left: 12px !important;
    }

    .cey-footer-grid {
        column-gap: 22px;
    }
}


/* ==========================================================================
   37. REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;
    }
}


/* ==========================================================================
   38. HIGH CONTRAST / KEYBOARD FOCUS
   ========================================================================== */

.cey-header a:focus-visible,
.cey-header button:focus-visible,
.cey-footer a:focus-visible,
.cey-footer button:focus-visible,
.cey-search-overlay a:focus-visible,
.cey-search-overlay button:focus-visible,
.cey-mobile-drawer a:focus-visible,
.cey-mobile-drawer button:focus-visible {
    outline: 2px solid var(--cey-brand);
    outline-offset: 4px;
}


/* ==========================================================================
   END OF CEYMALL FASHION GLOBAL DESIGN SYSTEM
   ========================================================================== */

/* ==========================================================================
   CEYMALL FASHION HOMEPAGE
   --------------------------------------------------------------------------
   Add this block AFTER the existing global Ceymall Fashion UI styles.

   Template:
   home/templates/home/index-fashion.html
   ========================================================================== */


/* ==========================================================================
   01. HOMEPAGE ROOT
   ========================================================================== */

.cey-home {
    width: 100%;
    overflow: hidden;

    background: var(--cey-paper);
    color: var(--cey-ink);
}

.cey-home-section {
    position: relative;

    width: 100%;

    padding-top: clamp(72px, 7vw, 115px);
    padding-bottom: clamp(72px, 7vw, 115px);

    background: var(--cey-paper);
}

.cey-home-section + .cey-home-section {
    border-top: 1px solid var(--cey-line-light);
}


/* ==========================================================================
   02. SHARED HOMEPAGE TYPOGRAPHY
   ========================================================================== */

.cey-home-kicker {
    margin: 0 0 14px;

    color: var(--cey-muted);

    font-family: var(--cey-font-sans);
    font-size: 10px;
    font-weight: 600;
    line-height: 1;

    letter-spacing: .14em;
    text-transform: uppercase;
}

.cey-home-kicker--light {
    color: rgba(255, 255, 255, .74);
}

.cey-home-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: clamp(34px, 4vw, 54px);
}

.cey-home-section-header > div {
    min-width: 0;
}

.cey-home-section-header h2 {
    margin: 0;

    color: var(--cey-ink);

    font-family: var(--cey-font-editorial);
    font-size: clamp(38px, 4.1vw, 60px);
    font-weight: 400;
    line-height: .98;

    letter-spacing: -.035em;
}


/* ==========================================================================
   03. SHARED HOMEPAGE LINKS
   ========================================================================== */

.cey-home-view-all {
    position: relative;

    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;

    gap: 9px;

    padding-bottom: 5px;

    color: var(--cey-ink);

    font-size: 10px;
    font-weight: 600;
    line-height: 1;

    letter-spacing: .09em;
    text-transform: uppercase;
}

.cey-home-view-all::after {
    position: absolute;

    right: 0;
    bottom: 0;
    left: 0;

    height: 1px;

    background: var(--cey-ink);

    content: "";

    transform: scaleX(1);
    transform-origin: left;

    transition: transform var(--cey-transition);
}

.cey-home-view-all:hover::after {
    transform: scaleX(.35);
}

.cey-home-view-all > span {
    transition: transform var(--cey-transition-fast);
}

.cey-home-view-all:hover > span {
    transform: translateX(4px);
}


.cey-home-text-link {
    position: relative;

    display: inline-flex;
    align-items: center;

    gap: 9px;

    width: fit-content;

    padding-bottom: 5px;

    color: var(--cey-ink);

    font-size: 10px;
    font-weight: 600;
    line-height: 1;

    letter-spacing: .09em;
    text-transform: uppercase;
}

.cey-home-text-link::after {
    position: absolute;

    right: 0;
    bottom: 0;
    left: 0;

    height: 1px;

    background: currentColor;

    content: "";

    transform: scaleX(1);
    transform-origin: left;

    transition: transform var(--cey-transition);
}

.cey-home-text-link:hover::after {
    transform: scaleX(.3);
}

.cey-home-text-link > span {
    transition: transform var(--cey-transition-fast);
}

.cey-home-text-link:hover > span {
    transform: translateX(4px);
}

.cey-home-text-link--light {
    color: var(--cey-paper);
}


/* ==========================================================================
   04. HOMEPAGE BUTTONS
   ========================================================================== */

.cey-home-button {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 28px;

    border: 1px solid transparent;
    border-radius: 0;

    font-family: var(--cey-font-sans);
    font-size: 10px;
    font-weight: 600;
    line-height: 1;

    letter-spacing: .11em;
    text-transform: uppercase;

    transition:
        background-color var(--cey-transition),
        border-color var(--cey-transition),
        color var(--cey-transition);
}

.cey-home-button--dark {
    border-color: var(--cey-ink);

    background: var(--cey-ink);
    color: var(--cey-paper);
}

.cey-home-button--dark:hover {
    border-color: var(--cey-brand);

    background: var(--cey-brand);
    color: var(--cey-paper);
}

.cey-home-button--light {
    border-color: var(--cey-paper);

    background: var(--cey-paper);
    color: var(--cey-ink);
}

.cey-home-button--light:hover {
    border-color: var(--cey-ink);

    background: var(--cey-ink);
    color: var(--cey-paper);
}

.cey-home-button--outline {
    border-color: var(--cey-ink);

    background: transparent;
    color: var(--cey-ink);
}

.cey-home-button--outline:hover {
    background: var(--cey-ink);
    color: var(--cey-paper);
}


/* ==========================================================================
   05. HERO CAMPAIGN
   ========================================================================== */

.cey-home-hero {
    position: relative;

    width: 100%;
    min-height: clamp(630px, 78vh, 920px);

    overflow: hidden;

    background: var(--cey-paper-soft);
}

.cey-home-hero__media {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;
}

.cey-home-hero__image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center 35%;

    transform: scale(1.001);
}

.cey-home-hero__shade {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, .58) 0%,
            rgba(0, 0, 0, .34) 34%,
            rgba(0, 0, 0, .05) 68%,
            rgba(0, 0, 0, 0) 100%
        );
}

.cey-home-hero__content {
    position: relative;

    z-index: 2;

    min-height: clamp(630px, 78vh, 920px);

    display: flex;
    align-items: flex-end;

    padding-top: clamp(80px, 10vh, 130px);
    padding-bottom: clamp(58px, 8vh, 95px);
}

.cey-home-hero__copy {
    width: min(650px, 62vw);
}

.cey-home-hero__copy h1 {
    margin: 0;

    color: var(--cey-paper);

    font-family: var(--cey-font-editorial);
    font-size: clamp(58px, 7.5vw, 112px);
    font-weight: 400;
    line-height: .88;

    letter-spacing: -.048em;
}

.cey-home-hero__intro {
    width: min(490px, 100%);

    margin: 24px 0 0;

    color: rgba(255, 255, 255, .82);

    font-size: 13px;
    line-height: 1.75;
}

.cey-home-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 28px;

    margin-top: 33px;
}


/* ==========================================================================
   06. HERO FALLBACK
   ========================================================================== */

.cey-home-hero__fallback {
    position: relative;

    min-height: clamp(590px, 72vh, 820px);

    background:
        linear-gradient(
            135deg,
            #efefea 0%,
            #dcdcd5 100%
        );
}

.cey-home-hero__fallback .cey-home-hero__content {
    min-height: clamp(590px, 72vh, 820px);
}

.cey-home-hero__fallback .cey-home-hero__copy h1 {
    color: var(--cey-ink);
}

.cey-home-hero__fallback .cey-home-hero__intro {
    color: var(--cey-muted);
}


/* ==========================================================================
   07. CATEGORY EDIT
   ========================================================================== */

.cey-home-categories {
    background: var(--cey-paper);
}

.cey-home-category-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(340px, 29vw);

    gap: 12px;
}

.cey-home-category-card {
    position: relative;

    min-width: 0;
    min-height: 0;

    overflow: hidden;

    background: var(--cey-paper-soft);
}

.cey-home-category-card--large {
    grid-column: span 2;
}

.cey-home-category-card__link {
    position: relative;

    width: 100%;
    height: 100%;

    display: block;

    overflow: hidden;
}

.cey-home-category-card__media {
    position: absolute;

    inset: 0;

    overflow: hidden;

    background: var(--cey-paper-soft);
}

.cey-home-category-card__media::after {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0) 45%,
            rgba(0, 0, 0, .52) 100%
        );

    content: "";
}

.cey-home-category-card__media img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transform: scale(1.002);

    transition:
        transform .8s cubic-bezier(.22, 1, .36, 1);
}

.cey-home-category-card:hover
.cey-home-category-card__media img {
    transform: scale(1.035);
}

.cey-home-category-card__fallback {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            #deded8 0%,
            #efefeb 100%
        );
}

.cey-home-category-card__content {
    position: absolute;

    right: 27px;
    bottom: 25px;
    left: 27px;

    z-index: 2;

    color: var(--cey-paper);
}

.cey-home-category-card__content h3 {
    margin: 0 0 9px;

    color: var(--cey-paper);

    font-family: var(--cey-font-editorial);
    font-size: clamp(27px, 2.3vw, 39px);
    font-weight: 400;
    line-height: 1;

    letter-spacing: -.025em;
}

.cey-home-category-card__content > span {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: rgba(255, 255, 255, .9);

    font-size: 9px;
    font-weight: 600;

    letter-spacing: .1em;
    text-transform: uppercase;
}

.cey-home-category-card__content > span span {
    transition: transform var(--cey-transition-fast);
}

.cey-home-category-card:hover
.cey-home-category-card__content > span span {
    transform: translateX(4px);
}


/* ==========================================================================
   08. FASHION PRODUCT GRID
   ========================================================================== */

.cey-home-products {
    background: var(--cey-paper);
}

.cey-home-products--soft {
    background: var(--cey-paper-warm);
}

.cey-fashion-product-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    column-gap: 14px;
    row-gap: clamp(42px, 5vw, 68px);
}

.cey-fashion-product-card {
    position: relative;

    min-width: 0;

    margin: 0;
    padding: 0;

    border: 0;

    background: transparent;
}


/* ==========================================================================
   09. PRODUCT MEDIA
   ========================================================================== */

.cey-fashion-product-card__media {
    position: relative;

    width: 100%;

    overflow: hidden;

    background: #f3f3f0;
}

.cey-fashion-product-card__image-link {
    position: relative;

    width: 100%;
    aspect-ratio: 4 / 5;

    display: block;

    overflow: hidden;
}

.cey-fashion-product-card__image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition:
        opacity .38s ease,
        transform .7s cubic-bezier(.22, 1, .36, 1);
}

.cey-fashion-product-card__image--primary {
    z-index: 1;

    opacity: 1;
}

.cey-fashion-product-card__image--secondary {
    z-index: 2;

    opacity: 0;
}

.cey-fashion-product-card:hover
.cey-fashion-product-card__image--primary {
    transform: scale(1.012);
}

.cey-fashion-product-card:hover
.cey-fashion-product-card__image--secondary {
    opacity: 1;

    transform: scale(1.012);
}


/* ==========================================================================
   10. PRODUCT BADGES
   ========================================================================== */

.cey-fashion-product-card__badge {
    position: absolute;

    top: 13px;
    left: 13px;

    z-index: 10;

    padding: 6px 8px;

    background: rgba(255, 255, 255, .94);
    color: var(--cey-ink);

    font-size: 8px;
    font-weight: 650;
    line-height: 1;

    letter-spacing: .11em;
    text-transform: uppercase;
}

.cey-fashion-product-card__badge--sale {
    background: var(--cey-sale);
    color: var(--cey-paper);
}


/* ==========================================================================
   11. PRODUCT CONTENT
   ========================================================================== */

.cey-fashion-product-card__content {
    padding-top: 15px;
}

.cey-fashion-product-card__seller {
    display: inline-block;

    margin-bottom: 5px;

    color: var(--cey-muted);

    font-size: 9px;
    font-weight: 600;
    line-height: 1.35;

    letter-spacing: .075em;
    text-transform: uppercase;
}

.cey-fashion-product-card__seller:hover {
    color: var(--cey-brand);
}

.cey-fashion-product-card__title {
    margin: 0;

    color: var(--cey-ink);

    font-family: var(--cey-font-sans);
    font-size: 12px;
    font-weight: 450;
    line-height: 1.5;

    letter-spacing: -.006em;
}

.cey-fashion-product-card__title a {
    color: inherit;
}

.cey-fashion-product-card__title a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.cey-fashion-product-card__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 7px;

    color: var(--cey-ink);

    font-size: 11px;
    line-height: 1.4;
}

.cey-fashion-product-card__current-price {
    color: var(--cey-ink);

    font-weight: 500;
}

.cey-fashion-product-card__current-price--sale {
    color: var(--cey-sale);
}

.cey-fashion-product-card__old-price {
    color: var(--cey-muted-light);

    font-size: 10px;

    text-decoration: line-through;
}

.cey-fashion-product-card__category {
    margin: 5px 0 0;

    color: var(--cey-muted-light);

    font-size: 9px;
    line-height: 1.4;
}


/* ==========================================================================
   12. EDITORIAL CAMPAIGN
   ========================================================================== */

.cey-home-editorial {
    width: 100%;

    background: var(--cey-paper-soft);
}

.cey-home-editorial__grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(400px, .85fr);

    min-height: clamp(600px, 64vw, 850px);
}

.cey-home-editorial__media {
    position: relative;

    width: 100%;
    min-height: 600px;

    display: block;
    overflow: hidden;

    background: #dcdcd6;
}

.cey-home-editorial__image {
    position: absolute !important;

    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;

    display: block !important;

    object-fit: cover !important;
    object-position: center center !important;

    opacity: 1 !important;
    visibility: visible !important;

    z-index: 2;
}

.cey-home-editorial__media:hover img {
    transform: scale(1.025);
}

.cey-home-editorial__content {
    display: flex;
    align-items: center;

    padding:
        clamp(65px, 7vw, 120px)
        clamp(45px, 6vw, 100px);

    background: #e9e9e4;
}

.cey-home-editorial__content-inner {
    max-width: 510px;
}

.cey-home-editorial__content h2 {
    margin: 0;

    color: var(--cey-ink);

    font-family: var(--cey-font-editorial);
    font-size: clamp(48px, 5vw, 78px);
    font-weight: 400;
    line-height: .95;

    letter-spacing: -.04em;
}

.cey-home-editorial__content p:not(.cey-home-kicker) {
    max-width: 450px;

    margin: 23px 0 30px;

    color: var(--cey-muted);

    font-size: 13px;
    line-height: 1.8;
}


/* ==========================================================================
   13. FEATURED STORES
   ========================================================================== */

.cey-home-stores {
    background: var(--cey-paper);
}

.cey-home-store-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 14px;
}

.cey-home-store-card {
    min-width: 0;

    padding-bottom: 7px;
}

.cey-home-store-card__media {
    width: 100%;
    aspect-ratio: 16 / 9;

    display: block;

    overflow: hidden;

    background: var(--cey-paper-soft);
}

.cey-home-store-card__media img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .85s cubic-bezier(.22, 1, .36, 1);
}

.cey-home-store-card:hover
.cey-home-store-card__media img {
    transform: scale(1.03);
}

.cey-home-store-card__content {
    padding-top: 19px;
}

.cey-home-store-card__label {
    margin: 0 0 7px;

    color: var(--cey-muted-light);

    font-size: 9px;
    font-weight: 600;

    letter-spacing: .11em;
    text-transform: uppercase;
}

.cey-home-store-card__content h3 {
    margin: 0 0 14px;

    color: var(--cey-ink);

    font-family: var(--cey-font-editorial);
    font-size: clamp(27px, 2.6vw, 40px);
    font-weight: 400;
    line-height: 1;

    letter-spacing: -.025em;
}


/* ==========================================================================
   14. FULL-WIDTH SEASONAL CAMPAIGN
   ========================================================================== */

.cey-home-full-campaign {
    position: relative;
    
    width: 100%;
    min-height: clamp(600px, 74vh, 860px);

    overflow: hidden;

    background: var(--cey-ink);
}

.cey-home-full-campaign__media {
    position: absolute;

    inset: 0;
}

.cey-home-full-campaign__media img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    /* Keep the models' heads visible */
    object-position: center top;

    transform: scale(1.001);
}

.cey-home-full-campaign__shade {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, .62) 0%,
            rgba(0, 0, 0, .35) 38%,
            rgba(0, 0, 0, .07) 72%,
            rgba(0, 0, 0, 0) 100%
        );
}

.cey-home-full-campaign__content {
    position: relative;

    z-index: 2;

    min-height: clamp(600px, 74vh, 860px);

    display: flex;
    align-items: center;
}

.cey-home-full-campaign__copy {
    width: min(610px, 57vw);
}

.cey-home-full-campaign__copy h2 {
    margin: 0;

    color: var(--cey-paper);

    font-family: var(--cey-font-editorial);
    font-size: clamp(54px, 6vw, 92px);
    font-weight: 400;
    line-height: .92;

    letter-spacing: -.045em;
}

.cey-home-full-campaign__copy > p:not(.cey-home-kicker) {
    max-width: 450px;

    margin: 22px 0 31px;

    color: rgba(255, 255, 255, .78);

    font-size: 13px;
    line-height: 1.75;
}


/* ==========================================================================
   15. SALE SECTION
   ========================================================================== */

.cey-home-sale {
    background: var(--cey-paper);
}

.cey-home-sale__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: clamp(35px, 4vw, 54px);
}

.cey-home-sale__heading h2 {
    margin: 0;

    color: var(--cey-ink);

    font-family: var(--cey-font-editorial);
    font-size: clamp(40px, 4.5vw, 64px);
    font-weight: 400;
    line-height: .98;

    letter-spacing: -.035em;
}

.cey-fashion-product-grid--sale:empty {
    display: none;
}


/* ==========================================================================
   16. JOURNAL / EDITORIAL ENTRY
   ========================================================================== */

.cey-home-journal {
    padding:
        clamp(75px, 8vw, 125px)
        0;

    background: var(--cey-ink);
    color: var(--cey-paper);
}

.cey-home-journal__inner {
    display: grid;

    grid-template-columns:
        minmax(0, .8fr)
        minmax(400px, 1.2fr);

    align-items: center;

    gap: clamp(60px, 10vw, 170px);
}

.cey-home-journal__copy {
    max-width: 550px;
}

.cey-home-journal__copy .cey-home-kicker {
    color: rgba(255, 255, 255, .55);
}

.cey-home-journal__copy h2 {
    margin: 0;

    color: var(--cey-paper);

    font-family: var(--cey-font-editorial);
    font-size: clamp(48px, 5.7vw, 86px);
    font-weight: 400;
    line-height: .92;

    letter-spacing: -.045em;
}

.cey-home-journal__copy > p:not(.cey-home-kicker) {
    max-width: 440px;

    margin: 23px 0 28px;

    color: rgba(255, 255, 255, .66);

    font-size: 13px;
    line-height: 1.8;
}

.cey-home-journal__copy .cey-home-text-link {
    color: var(--cey-paper);
}


/* Decorative typographic editorial panel */
.cey-home-journal__graphic {
    position: relative;

    aspect-ratio: 5 / 3;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, .18);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, .025),
            rgba(255, 255, 255, .08)
        );
}

.cey-home-journal__graphic::before,
.cey-home-journal__graphic::after {
    position: absolute;

    width: 1px;
    height: 140%;

    background: rgba(255, 255, 255, .08);

    content: "";

    transform: rotate(35deg);
}

.cey-home-journal__graphic::before {
    left: 30%;
}

.cey-home-journal__graphic::after {
    right: 30%;
}

.cey-home-journal__graphic span {
    position: relative;

    z-index: 2;

    color: rgba(255, 255, 255, .72);

    font-size: clamp(12px, 1.2vw, 17px);
    font-weight: 500;

    letter-spacing: .35em;
}

.cey-home-journal__graphic strong {
    position: relative;

    z-index: 2;

    margin-top: 7px;

    color: var(--cey-paper);

    font-family: var(--cey-font-editorial);
    font-size: clamp(70px, 10vw, 150px);
    font-weight: 400;
    line-height: .8;

    letter-spacing: -.06em;
}


/* ==========================================================================
   17. EMPTY STATES
   ========================================================================== */

.cey-home-empty {
    grid-column: 1 / -1;

    min-height: 190px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    border: 1px solid var(--cey-line-light);

    background: var(--cey-paper-warm);

    text-align: center;
}

.cey-home-empty p {
    max-width: 500px;

    margin: 0;

    color: var(--cey-muted);

    font-size: 12px;
    line-height: 1.7;
}


/* ==========================================================================
   18. IMAGE QUALITY / RENDERING
   ========================================================================== */

.cey-home-hero img,
.cey-home-category-card img,
.cey-fashion-product-card img,
.cey-home-editorial img,
.cey-home-store-card img,
.cey-home-full-campaign img {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.cey-home-journal__graphic--image {
    position: relative;
    overflow: hidden;
    border: 0;
    background: #1a1a1a;
}

.cey-home-journal__graphic--image::before,
.cey-home-journal__graphic--image::after {
    display: none;
}

.cey-home-journal__graphic--image img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;
    object-position: center;
}
/* ==========================================================================
   19. LARGE DESKTOP
   ========================================================================== */

@media (min-width: 1600px) {

    .cey-fashion-product-grid {
        column-gap: 18px;
    }

    .cey-home-category-grid {
        gap: 15px;
    }

    .cey-home-store-grid {
        gap: 18px;
    }

    .cey-home-category-card__content {
        right: 32px;
        bottom: 30px;
        left: 32px;
    }
}


/* ==========================================================================
   20. LAPTOP
   ========================================================================== */

@media (max-width: 1199.98px) {

    .cey-home-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-auto-rows: minmax(300px, 32vw);
    }

    .cey-fashion-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));

        column-gap: 12px;
    }

    .cey-home-editorial__grid {
        grid-template-columns:
            minmax(0, 1.15fr)
            minmax(360px, .85fr);
    }

    .cey-home-editorial__content {
        padding-right: 55px;
        padding-left: 55px;
    }

    .cey-home-journal__inner {
        gap: 70px;
    }
}


/* ==========================================================================
   21. TABLET
   ========================================================================== */

@media (max-width: 991.98px) {

    .cey-home-section {
        padding-top: 75px;
        padding-bottom: 75px;
    }


    /* Hero */
    .cey-home-hero,
    .cey-home-hero__content {
        min-height: 720px;
    }

    .cey-home-hero__copy {
        width: min(610px, 78vw);
    }

    .cey-home-hero__shade {
        background:
            linear-gradient(
                90deg,
                rgba(0, 0, 0, .56) 0%,
                rgba(0, 0, 0, .24) 62%,
                rgba(0, 0, 0, .04) 100%
            );
    }


    /* Categories */
    .cey-home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        grid-auto-rows: 410px;
    }

    .cey-home-category-card--large {
        grid-column: span 1;
    }


    /* Products */
    .cey-fashion-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));

        row-gap: 48px;
    }


    /* Editorial */
    .cey-home-editorial__grid {
        grid-template-columns: 1fr;

        min-height: 0;
    }

    .cey-home-editorial__media {
        min-height: 680px;
    }

    .cey-home-editorial__content {
        min-height: 500px;

        padding: 70px var(--cey-gutter-tablet);
    }


    /* Stores */
    .cey-home-store-grid {
        grid-template-columns: 1fr 1fr;
    }


    /* Full campaign */
    .cey-home-full-campaign,
    .cey-home-full-campaign__content {
        min-height: 680px;
    }

    .cey-home-full-campaign__copy {
        width: min(570px, 75vw);
    }


    /* Journal */
    .cey-home-journal__inner {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .cey-home-journal__graphic {
        width: 100%;
        max-width: 760px;
    }
}


/* ==========================================================================
   22. MOBILE
   ========================================================================== */

@media (max-width: 767.98px) {

    .cey-home-section {
        padding-top: 58px;
        padding-bottom: 62px;
    }


    /* Section headings */
    .cey-home-section-header,
    .cey-home-sale__heading {
        align-items: flex-start;
        flex-direction: column;

        gap: 18px;

        margin-bottom: 31px;
    }

    .cey-home-section-header h2,
    .cey-home-sale__heading h2 {
        font-size: 39px;
    }


    /* Hero */
    .cey-home-hero,
    .cey-home-hero__content {
        min-height: calc(100svh - 92px);
    }

    .cey-home-hero {
        min-height: 620px;
    }

    .cey-home-hero__content {
        min-height: 620px;

        align-items: flex-end;

        padding-top: 90px;
        padding-bottom: 48px;
    }

    .cey-home-hero__image {
        object-position: center center;
    }

    .cey-home-hero__shade {
        background:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, .06) 18%,
                rgba(0, 0, 0, .24) 52%,
                rgba(0, 0, 0, .76) 100%
            );
    }

    .cey-home-hero__copy {
        width: 100%;
    }

    .cey-home-hero__copy h1 {
        max-width: 93%;

        font-size: clamp(49px, 15vw, 68px);
        line-height: .91;
    }

    .cey-home-hero__intro {
        max-width: 90%;

        margin-top: 18px;

        font-size: 12px;
        line-height: 1.7;
    }

    .cey-home-hero__actions {
        align-items: flex-start;
        flex-direction: column;

        gap: 19px;

        margin-top: 27px;
    }

    .cey-home-button {
        min-height: 48px;

        padding-right: 22px;
        padding-left: 22px;
    }


    /* Category cards */
    .cey-home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        grid-auto-rows: minmax(260px, 64vw);

        gap: 8px;
    }

    .cey-home-category-card__content {
        right: 16px;
        bottom: 16px;
        left: 16px;
    }

    .cey-home-category-card__content h3 {
        margin-bottom: 7px;

        font-size: clamp(22px, 6vw, 30px);
    }

    .cey-home-category-card__content > span {
        font-size: 8px;
    }


    /* Product grid */
    .cey-fashion-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        column-gap: 8px;
        row-gap: 37px;
    }

    .cey-fashion-product-card__content {
        padding-top: 12px;
    }

    .cey-fashion-product-card__seller {
        margin-bottom: 4px;

        font-size: 8px;
    }

    .cey-fashion-product-card__title {
        font-size: 11px;
        line-height: 1.45;
    }

    .cey-fashion-product-card__price {
        gap: 5px;

        margin-top: 5px;

        font-size: 10px;
    }

    .cey-fashion-product-card__old-price {
        font-size: 9px;
    }

    .cey-fashion-product-card__badge {
        top: 8px;
        left: 8px;

        padding: 5px 6px;

        font-size: 7px;
    }


    /* Editorial */
    .cey-home-editorial__media {
        min-height: 520px;
    }

    .cey-home-editorial__content {
        min-height: 0;

        padding:
            55px
            var(--cey-gutter-mobile)
            60px;
    }

    .cey-home-editorial__content h2 {
        font-size: 48px;
    }

    .cey-home-editorial__content p:not(.cey-home-kicker) {
        margin-top: 18px;

        font-size: 12px;
    }


    /* Stores */
    .cey-home-store-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .cey-home-store-card__media {
        aspect-ratio: 4 / 3;
    }

    .cey-home-store-card__content h3 {
        font-size: 32px;
    }


    /* Full campaign */
    .cey-home-full-campaign,
    .cey-home-full-campaign__content {
        min-height: 630px;
    }

    .cey-home-full-campaign__shade {
        background:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, .06) 20%,
                rgba(0, 0, 0, .27) 52%,
                rgba(0, 0, 0, .76) 100%
            );
    }

    .cey-home-full-campaign__content {
        align-items: flex-end;

        padding-bottom: 50px;
    }

    .cey-home-full-campaign__copy {
        width: 100%;
    }

    .cey-home-full-campaign__copy h2 {
        max-width: 92%;

        font-size: 53px;
    }

    .cey-home-full-campaign__copy > p:not(.cey-home-kicker) {
        max-width: 88%;

        font-size: 12px;
    }


    /* Journal */
    .cey-home-journal {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .cey-home-journal__inner {
        gap: 45px;
    }

    .cey-home-journal__copy h2 {
        font-size: 51px;
    }

    .cey-home-journal__copy > p:not(.cey-home-kicker) {
        font-size: 12px;
    }

    .cey-home-journal__graphic {
        aspect-ratio: 4 / 3;
    }

    .cey-home-journal__graphic strong {
        font-size: clamp(68px, 25vw, 105px);
    }
}


/* ==========================================================================
   23. SMALL MOBILE
   ========================================================================== */

@media (max-width: 479.98px) {

    .cey-home-category-grid {
        grid-auto-rows: 255px;
    }

    .cey-home-category-card__content h3 {
        font-size: 22px;
    }

    .cey-home-category-card__content > span {
        display: none;
    }

    .cey-home-hero__copy h1 {
        max-width: 100%;
    }

    .cey-fashion-product-card__seller {
        max-width: 100%;

        overflow: hidden;

        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .cey-fashion-product-card__title {
        display: -webkit-box;

        overflow: hidden;

        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}


/* ==========================================================================
   24. HOVER ONLY DEVICES
   ========================================================================== */

@media (hover: none) {

    /*
     * Don't depend on image hover on touch devices.
     * Primary image always remains visible.
     */
    .cey-fashion-product-card__image--secondary {
        display: none;
    }

    .cey-fashion-product-card:hover
    .cey-fashion-product-card__image--primary {
        transform: none;
    }

    .cey-home-category-card:hover
    .cey-home-category-card__media img,
    .cey-home-store-card:hover
    .cey-home-store-card__media img,
    .cey-home-editorial__media:hover img {
        transform: none;
    }
}


/* ==========================================================================
   25. REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

    .cey-home-hero__image,
    .cey-home-category-card__media img,
    .cey-fashion-product-card__image,
    .cey-home-editorial__media img,
    .cey-home-store-card__media img {
        transform: none !important;

        transition: none !important;
    }
}


/* ==========================================================================
   END CEYMALL FASHION HOMEPAGE
   ========================================================================== */

/* ==========================================================
   DLB PRELOADER
========================================================== */

#preloader-active.dlb-preloader {
    position: fixed !important;

    inset: 0 !important;

    width: 100vw !important;
    height: 100vh !important;

    z-index: 9999999 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;

    opacity: 1;

    visibility: visible;

    overflow: hidden;
}


.dlb-preloader__inner {
    width: min(260px, calc(100vw - 60px));

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}


.dlb-preloader__monogram {
    margin: 0;

    font-family:
        "Newsreader",
        Georgia,
        "Times New Roman",
        serif;

    font-size: 58px;
    line-height: 0.9;

    font-weight: 400;

    letter-spacing: -0.075em;

    color: #111111;

    animation:
        dlbLoaderLogo
        1.3s
        ease-in-out
        infinite alternate;
}


.dlb-preloader__brand {
    margin-top: 16px;

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size: 8px;
    line-height: 1;

    font-weight: 600;

    letter-spacing: 0.32em;

    text-transform: uppercase;

    color: #555555;
}


.dlb-preloader__progress {
    position: relative;

    width: 180px;
    height: 1px;

    margin-top: 30px;

    overflow: hidden;

    background: #e5e5e1;
}


.dlb-preloader__progress span {
    position: absolute;

    top: 0;
    left: -55%;

    width: 55%;
    height: 100%;

    background: #111111;

    animation:
        dlbLoaderProgress
        1.15s
        cubic-bezier(.65, 0, .35, 1)
        infinite;
}


.dlb-preloader__status {
    margin-top: 12px;

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size: 7px;

    font-weight: 600;

    letter-spacing: 0.23em;

    text-transform: uppercase;

    color: #aaaaaa;
}

#preloader-active.dlb-preloader {
    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
}


#preloader-active.dlb-preloader.dlb-preloader--hidden {
    opacity: 0;
    visibility: hidden;

    pointer-events: none;
}


@keyframes dlbLoaderLogo {

    from {
        opacity: 0.52;
        transform: translateY(2px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes dlbLoaderProgress {

    0% {
        left: -55%;
    }

    100% {
        left: 105%;
    }

}


/* Reduced-motion accessibility */
@media (prefers-reduced-motion: reduce) {

    .dlb-preloader__monogram,
    .dlb-preloader__progress span {
        animation: none !important;
    }

}