/* REN Bridal Studio - Native Header Stylesheet */
:root {
    --ren-header-bg: #ffffff;
    --ren-header-text: #000000;
    --ren-arrow-color: #000000;
    --ren-sticky-bg: #ffffff;
    --ren-sticky-text: #000000;
    --ren-sticky-arrow: #000000;
    --ren-header-height-desktop: 110px;
    --ren-header-height-mobile: 70px;
    --ren-mobile-breakpoint: 1024px;
}

/* Base Header Container */
.ren-site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    inset-inline: 0;
    width: 100%;
    z-index: 9999;
    background-color: var(--ren-header-bg);
    color: var(--ren-header-text);
    transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.admin-bar .ren-site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .ren-site-header {
        top: 46px;
    }
}

/* Header Spacer to prevent CLS and hero overlap */
.ren-header-spacer {
    display: block;
    width: 100%;
    height: var(--ren-header-height-desktop, 110px);
}

@media (max-width: 1024px) {
    .ren-header-spacer {
        height: var(--ren-header-height-mobile, 70px);
    }
}

.ren-header__container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 1300px) {
    .ren-header__container {
        margin-left: calc((100vw - 1300px) / 2);
        margin-right: auto;
    }
}

/* Top Row: 3-Area CSS Grid with minmax(0, 1fr) auto minmax(0, 1fr) */
.ren-header__top-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas: "left center right";
    align-items: center;
    height: 70px;
    position: relative;
    width: 100%;
}

.ren-header__left {
    grid-area: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.ren-header__center {
    grid-area: center;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    text-align: center;
}

.ren-header__right {
    grid-area: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Language Switcher */
.ren-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    font-family: "SVN Gilroy", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ren-lang-switch a,
.ren-lang-switch a.glink,
.ren-lang-switch .ren-lang-link {
    color: var(--ren-header-text) !important;
    text-decoration: none !important;
    transition: opacity 0.2s ease;
}

.ren-lang-switch a:hover,
.ren-lang-switch a.glink:hover {
    opacity: 0.7;
}

.ren-lang-sep {
    color: var(--ren-header-text) !important;
    opacity: 0.5;
}

/* Logo */
.ren-logo__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 0;
}

.ren-logo__img {
    height: auto;
    max-height: 52px;
    width: auto;
    max-width: 180px;
    display: block;
    object-fit: contain;
}

/* Actions: Wishlist, Cart, Search */
.ren-header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ren-action-btn {
    background: none;
    border: none;
    padding: 6px;
    margin: 0;
    cursor: pointer;
    color: var(--ren-header-text) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: opacity 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.ren-action-btn:hover {
    opacity: 0.75;
    transform: translateY(-1px);
}

.ren-action-btn svg {
    display: block;
    color: var(--ren-header-text) !important;
}

.ren-action-btn svg path {
    fill: currentColor;
}

.ren-action-btn--cart svg {
    fill: none;
    stroke: currentColor;
}

.ren-cart-count {
    position: absolute;
    top: 0;
    right: -2px;
    background: #000000;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Navigation Row */
.ren-header__nav-row {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 8px;
    position: static;
}

/* Native Main Navigation (Centered below logo) */
.ren-main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: static;
}

.ren-main-nav__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
    position: static;
}

.ren-main-nav__item {
    position: static;
}

.ren-main-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ren-header-text);
    font-family: "SVN Gilroy", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
}

.ren-main-nav__link:hover {
    opacity: 0.75;
}

.ren-mega-arrow {
    color: var(--ren-arrow-color);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.ren-main-nav__item--has-mega:hover .ren-mega-arrow,
.ren-main-nav__item--has-mega.is-open .ren-mega-arrow {
    transform: rotate(180deg);
}

/* Mega Menu Dropdown Panel (Full Width across viewport) */
.ren-mega-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #ffffff;
    color: #111111;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 999;
}

.ren-main-nav__item--has-mega:hover .ren-mega-panel,
.ren-main-nav__item--has-mega.is-open .ren-mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.ren-mega-panel__container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 36px 24px;
    box-sizing: border-box;
}

/* Mega Panel Layout: 2-Column (Services, Portfolio, Stories) */
.ren-mega-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
}

.ren-mega-col--nav .ren-mega-heading {
    font-family: "SVN Gilroy", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 18px 0;
    color: #111111;
}

.ren-mega-col--nav .ren-mega-heading a {
    color: #111111;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.ren-mega-col--nav .ren-mega-heading a:hover {
    opacity: 0.7;
}

.ren-mega-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ren-mega-links a {
    color: #555555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.ren-mega-links a:hover {
    color: #000000;
    font-weight: 600;
    transform: translateX(2px);
}

.ren-mega-links--grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
}

/* Gallery 3-Image Grid */
.ren-mega-col--gallery .ren-mega-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.ren-mega-gallery-item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 3px;
    background: #f6f6f6;
}

.ren-mega-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.ren-mega-gallery-item:hover .ren-mega-gallery-img {
    transform: scale(1.04);
}

/* Mega Panel: Váy Cưới (Dresses) 6-Card Shapes & Collections */
.ren-mega-layout--dresses {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ren-mega-dresses__shapes-section .ren-mega-section-header {
    margin-bottom: 20px;
}

.ren-mega-dresses__shapes-section .ren-mega-heading {
    font-family: "SVN Gilroy", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
}

.ren-mega-dresses__shapes-section .ren-mega-heading a {
    color: #111111;
    text-decoration: none;
}

.ren-mega-shapes-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    align-items: start;
}

.ren-shape-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #222222;
    text-align: center;
}

.ren-shape-card__media {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 3px;
    background: #f8f8f8;
    margin-bottom: 10px;
}

.ren-shape-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.ren-shape-card:hover .ren-shape-card__img {
    transform: scale(1.05);
}

.ren-shape-card__title {
    font-family: "SVN Gilroy", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #111111;
    transition: color 0.2s ease;
}

.ren-shape-card:hover .ren-shape-card__title {
    color: #000000;
    text-decoration: underline;
}

.ren-mega-dresses__bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid #ebebeb;
}

.ren-mega-collections {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    font-weight: 600;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ren-mega-collections__label {
    color: #888888;
    font-weight: 700;
}

.ren-mega-collections__list {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ren-mega-collections__list a {
    color: #222222;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ren-mega-collections__list a:hover {
    color: #000000;
    font-weight: 700;
}

.ren-mega-ren-collection__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: "SVN Gilroy", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #000000;
    text-decoration: none;
    border-bottom: 1.5px solid #000000;
    padding-bottom: 2px;
    transition: opacity 0.2s ease;
}

.ren-mega-ren-collection__link:hover {
    opacity: 0.7;
}

/* Scrolled / Sticky Header State */
.ren-site-header.is-scrolled {
    background-color: var(--ren-sticky-bg) !important;
    color: var(--ren-sticky-text) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.ren-site-header.is-scrolled .ren-main-nav__link {
    color: var(--ren-sticky-text) !important;
}

.ren-site-header.is-scrolled .ren-mega-arrow {
    color: var(--ren-sticky-arrow) !important;
}

/* Homepage Initial Transparent Header State */
body.home .ren-site-header:not(.is-scrolled) {
    background-color: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.15);
    --ren-header-text: #ffffff;
    --ren-arrow-color: #ffffff;
}

body.home .ren-site-header:not(.is-scrolled) .ren-logo--dark {
    display: none !important;
}

body.home .ren-site-header:not(.is-scrolled) .ren-logo--light {
    display: block !important;
}

/* When Mega Menu is open on Homepage Transparent Header */
body.home .ren-site-header.has-mega-open,
body.home .ren-site-header:has(.ren-main-nav__item--has-mega:hover) {
    background-color: var(--ren-sticky-bg, #ffffff) !important;
    color: var(--ren-sticky-text, #000000) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body.home .ren-site-header.has-mega-open .ren-logo--light,
body.home .ren-site-header:has(.ren-main-nav__item--has-mega:hover) .ren-logo--light {
    display: none !important;
}

body.home .ren-site-header.has-mega-open .ren-logo--dark,
body.home .ren-site-header:has(.ren-main-nav__item--has-mega:hover) .ren-logo--dark {
    display: block !important;
}

body.home .ren-site-header.has-mega-open .ren-main-nav__link,
body.home .ren-site-header:has(.ren-main-nav__item--has-mega:hover) .ren-main-nav__link,
body.home .ren-site-header.has-mega-open .ren-action-btn,
body.home .ren-site-header:has(.ren-main-nav__item--has-mega:hover) .ren-action-btn,
body.home .ren-site-header.has-mega-open .ren-lang-switch a,
body.home .ren-site-header:has(.ren-main-nav__item--has-mega:hover) .ren-lang-switch a,
body.home .ren-site-header.has-mega-open .ren-lang-sep,
body.home .ren-site-header:has(.ren-main-nav__item--has-mega:hover) .ren-lang-sep {
    color: #000000 !important;
}

body.home .ren-site-header.has-mega-open .ren-mega-arrow,
body.home .ren-site-header:has(.ren-main-nav__item--has-mega:hover) .ren-mega-arrow {
    color: #000000 !important;
}

/* Mobile Header */
.ren-header__mobile {
    display: none;
}

.ren-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--ren-header-height-mobile);
    padding: 0 16px;
}

.ren-hamburger {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
}

.ren-hamburger__line {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--ren-header-text);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.ren-mobile-logo .ren-logo__img {
    max-height: 40px;
    max-width: 140px;
}

.ren-mobile-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Off-canvas Drawer */
.ren-mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    visibility: hidden;
    transition: visibility 0.3s ease;
}

.ren-mobile-drawer.is-active {
    visibility: visible;
}

.ren-mobile-drawer__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ren-mobile-drawer.is-active .ren-mobile-drawer__overlay {
    opacity: 1;
}

.ren-mobile-drawer__panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 82%;
    max-width: 360px;
    height: 100%;
    background: #ffffff;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 24px 24px 0 24px;
    box-sizing: border-box;
}

.ren-mobile-drawer.is-active .ren-mobile-drawer__panel {
    transform: translateX(0);
}

.ren-mobile-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex: 0 0 auto;
}

.ren-mobile-drawer__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: #000000;
}

.ren-mobile-drawer__lang {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eeeeee;
    flex: 0 0 auto;
}

.ren-mobile-drawer__nav {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.ren-mobile-drawer__nav .ren-mobile-nav,
.ren-slinky-nav {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.ren-chevron-icon,
.ren-back-icon {
    pointer-events: none;
}

/* Slinky Mobile Navigation (Multi-level Drill-down) */
.ren-slinky-viewport {
    position: relative;
    flex: 1 1 auto;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.ren-slinky-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translate3d(100%, 0, 0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.28s ease;
    padding-bottom: 24px;
    box-sizing: border-box;
}

.ren-slinky-panel[hidden] {
    display: none;
}

.ren-slinky-panel.is-active {
    position: absolute;
    transform: translate3d(0, 0, 0);
    opacity: 1;
    pointer-events: auto;
}

.ren-slinky-panel.is-previous {
    position: absolute;
    transform: translate3d(-30%, 0, 0);
    opacity: 0;
    pointer-events: none;
}

/* Panel Header & Back Button */
.ren-slinky-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid #eeeeee;
    min-height: 44px;
    box-sizing: border-box;
}

.ren-slinky-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 6px 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #666666;
    transition: color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    min-height: 44px;
}

.ren-slinky-btn-back:hover,
.ren-slinky-btn-back:focus-visible {
    color: #000000;
}

.ren-slinky-panel__title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888888;
}

/* Slinky List Items */
.ren-slinky-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ren-slinky-item {
    border-bottom: 1px solid #f0f0f0;
}

.ren-slinky-item__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
}

.ren-slinky-item__link {
    font-family: "SVN Gilroy", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #222222;
    text-decoration: none;
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.ren-slinky-item__link:hover,
.ren-slinky-item__link:focus-visible {
    color: #000000;
}

.ren-slinky-item__trigger {
    background: none;
    border: none;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #777777;
    transition: color 0.2s ease, transform 0.2s ease;
}

.ren-slinky-item__trigger:hover,
.ren-slinky-item__trigger:focus-visible {
    color: #000000;
}

/* Sub-panel links styling */
.ren-slinky-panel:not([data-panel-id="root"]) .ren-slinky-item__link {
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.02em;
    color: #333333;
}

.ren-slinky-panel:not([data-panel-id="root"]) .ren-slinky-item--branch .ren-slinky-item__link {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    color: #111111;
}

.ren-slinky-item__link--highlight {
    font-weight: 600 !important;
    color: #000000 !important;
}

/* Fixed Conversion Footer */
.ren-mobile-drawer__footer {
    flex: 0 0 auto;
    position: sticky;
    bottom: 0;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 16px 0 calc(16px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.ren-btn--cta {
    display: block;
    text-align: center;
    background: #000000;
    color: #ffffff !important;
    text-decoration: none;
    padding: 12px 20px;
    font-weight: 600;
    letter-spacing: 0.05em;
    font-size: 14px;
    margin-bottom: 12px;
}

.ren-mobile-drawer__hotline {
    font-size: 14px;
    color: #666666;
    text-align: center;
    margin: 0;
}

.ren-mobile-drawer__hotline a {
    color: #000000;
    font-weight: 600;
    text-decoration: none;
}

/* Prefers-reduced-motion: Instant / Crossfade */
@media (prefers-reduced-motion: reduce) {
    .ren-slinky-panel {
        transition: opacity 0.15s ease !important;
        transform: none !important;
    }
}

/* Progressive Fallback (No-JS) */
.no-js .ren-slinky-viewport {
    overflow: visible !important;
    height: auto !important;
}

.no-js .ren-slinky-panel {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    display: block !important;
    margin-bottom: 20px;
    border-bottom: 1px dashed #e0e0e0;
    height: auto !important;
}

.no-js .ren-slinky-btn-back,
.no-js .ren-slinky-item__trigger {
    display: none !important;
}

/* Accessible Search Modal */
.ren-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    transition: visibility 0.25s ease;
}

.ren-search-modal.is-active {
    visibility: visible;
}

.ren-search-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.ren-search-modal.is-active .ren-search-modal__overlay {
    opacity: 1;
}

.ren-search-modal__container {
    position: relative;
    z-index: 2;
    background: #ffffff;
    padding: 36px 32px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.95);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ren-search-modal.is-active .ren-search-modal__container {
    transform: scale(1);
}

.ren-search-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333333;
}

.ren-search-form {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #000000;
    padding-bottom: 6px;
}

.ren-search-form__input {
    flex: 1;
    border: none !important;
    outline: none !important;
    font-size: 18px;
    padding: 8px 0;
    background: transparent;
}

.ren-search-form__submit {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #000000;
}

/* Accessibility Focus States */
.ren-site-header a:focus-visible,
.ren-site-header button:focus-visible,
.ren-mobile-drawer a:focus-visible,
.ren-mobile-drawer button:focus-visible,
.ren-search-modal input:focus-visible,
.ren-search-modal button:focus-visible {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .ren-header__desktop {
        display: none !important;
    }
    .ren-header__mobile {
        display: block !important;
    }
}

/* Prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .ren-site-header,
    .ren-site-header *,
    .ren-mobile-drawer__panel,
    .ren-mobile-drawer__overlay,
    .ren-search-modal__container,
    .ren-search-modal__overlay {
        transition: none !important;
        animation: none !important;
    }
}

/* Native mega menu open state: ARIA mirrors JS state and survives pointer movement. */
.ren-main-nav__item--has-mega.is-open > .ren-mega-panel,
.ren-mega-panel[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Explicit native state wins over base hidden rule and plugin cascade. */
.ren-main-nav__item--has-mega.is-open > .ren-mega-panel {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

/* Native mega-menu semantics: page link and panel toggle are separate controls. */
.ren-main-nav__link-group { display: inline-flex; align-items: center; gap: 6px; }
.ren-main-nav__toggle { display: inline-flex; align-items: center; justify-content: center; appearance: none; border: 0; background: transparent; color: currentColor; padding: 8px 4px; cursor: pointer; }
.ren-main-nav__toggle .ren-mega-arrow { display: block; transition: transform .2s ease; }
.ren-main-nav__item--has-mega.is-open .ren-main-nav__toggle .ren-mega-arrow { transform: rotate(180deg); }

/* Homepage starts as a real overlay: hero begins at viewport top, no white spacer band. */
body.home .ren-header-spacer { height: 0 !important; }
body.home .ren-site-header.is-scrolled + .ren-header-spacer { height: var(--ren-header-height-desktop, 110px) !important; }
@media (max-width: 1024px) {
    body.home .ren-site-header.is-scrolled + .ren-header-spacer { height: var(--ren-header-height-mobile, 70px) !important; }
}

/* Exact logo state: overlay home has only the light brand mark; sticky and other routes only dark. */
.ren-logo__img--light { display: none !important; }
.ren-logo__img--dark { display: block !important; }
body.home .ren-site-header:not(.is-scrolled) .ren-logo__img--dark { display: none !important; }
body.home .ren-site-header:not(.is-scrolled) .ren-logo__img--light { display: block !important; }

/* Desktop edge controls: preserve a clear central logo and menu axis. */
@media (min-width: 1025px) {
    .ren-header__top-row { padding-inline: 0; }
    .ren-header__left { position: absolute; inset-inline-start: clamp(24px, 3.5vw, 72px); }
    .ren-header__right { position: absolute; inset-inline-end: clamp(24px, 3.5vw, 72px); }
}

/* Cart is a stroked bag. Never inherit the broad filled SVG treatment. */
.ren-action-btn--cart svg { fill: none !important; stroke: currentColor !important; }
.ren-action-btn--cart svg path,
.ren-action-btn--cart svg line { fill: none !important; stroke: currentColor !important; }
.ren-action-btn--cart svg path[fill] { fill: none !important; }

/* Utility controls anchor to the full native header, not the 1300px menu content box. */
@media (min-width: 1025px) {
    .ren-site-header .ren-header__left {
        position: absolute;
        inset-inline-start: clamp(24px, 3.5vw, 72px);
        inset-block-start: 50%;
        transform: translateY(-50%);
        z-index: 2;
    }
    .ren-site-header .ren-header__right {
        position: absolute;
        inset-inline-end: clamp(24px, 3.5vw, 72px);
        inset-block-start: 50%;
        transform: translateY(-50%);
        z-index: 2;
    }
}

/* The native shell owns full viewport geometry; no legacy 1300px layout box. */
@media (min-width: 1025px) {
    .ren-site-header .ren-header__container {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .ren-site-header .ren-header__top-row {
        width: 100% !important;
        padding-inline: clamp(24px, 3.5vw, 72px) !important;
        box-sizing: border-box;
    }
    .ren-site-header .ren-header__nav-row {
        width: 100% !important;
        padding-inline: clamp(24px, 3.5vw, 72px) !important;
        box-sizing: border-box;
    }
}

/* Native shell typography token. Body Elementor typography remains owner of page content. */
:root { --ren-shell-font: "SVN Gilroy", Arial, Helvetica, sans-serif; }
.ren-site-header,
.ren-site-header button,
.ren-site-header a,
.ren-site-header input,
#ren-site-footer,
#ren-site-footer button,
#ren-site-footer a {
    font-family: var(--ren-shell-font) !important;
}

/* Mobile homepage overlay: keep every control readable while hero media is loading. */
@media (max-width: 1024px) {
    body.home .ren-site-header:not(.is-scrolled) {
        background: rgba(0, 0, 0, .38) !important;
        border-color: transparent;
    }
    body.home .ren-site-header:not(.is-scrolled) .ren-mobile-logo .ren-logo__img--dark { display: none !important; }
    body.home .ren-site-header:not(.is-scrolled) .ren-mobile-logo .ren-logo__img--light { display: block !important; }
    body.home .ren-site-header:not(.is-scrolled) .ren-hamburger__line { background-color: #fff !important; }
    body.home .ren-site-header:not(.is-scrolled) .ren-mobile-actions,
    body.home .ren-site-header:not(.is-scrolled) .ren-mobile-actions a,
    body.home .ren-site-header:not(.is-scrolled) .ren-mobile-actions button,
    body.home .ren-site-header:not(.is-scrolled) .ren-mobile-actions svg { color: #fff !important; }
    body.home .ren-site-header.is-scrolled .ren-mobile-logo .ren-logo__img--light { display: none !important; }
    body.home .ren-site-header.is-scrolled .ren-mobile-logo .ren-logo__img--dark { display: block !important; }
    body.home .ren-site-header.is-scrolled .ren-hamburger__line { background-color: #000 !important; }
}
