/*
Theme Name: SANVELLA Child Theme - Core
Description: Header, Footer, Global utilities
*/
/* ========================================
   WordPress 缁狅紕鎮婂銉ュ徔閺?- 闂呮劘妫?
   ======================================== */

/* 闂呮劘妫岄崜宥囶伂閻ㄥ嫮顓搁悶鍡椾紣閸忛攱鐖?*/
#wpadminbar {
    display: none !important;
}

/* 鐠嬪啯鏆ｆい鐢告桨妞ゅ爼鍎撮梻纾嬬獩閿涘牏些闂勩倕浼愰崗閿嬬埉閸楃姷鏁ら惃鍕敄闂傝揪绱?/
html {
    margin-top: 0 !important;
}

body.admin-bar {
    margin-top: 0 !important;
}

/* 鐎涙ぞ缍嬬€电厧鍙?*/
@font-face {
    font-family: 'Bodoni Moda';
    src: url('../fonts/bodoni-moda-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'Jost';
    src: url('../fonts/jost-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

/* 閸忋劌鐪崣姗€鍣?*/
:root {
    color-scheme: light;
    --font-body: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    --font-display: 'Bodoni Moda', Georgia, 'Times New Roman', 'Songti SC', serif;
    --body-font: var(--font-body);
    --heading-font: var(--font-display);
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --layout-max-width: 1300px;
    --layout-gutter: 40px;
    --layout-gutter-mobile: 20px;
    --type-display: 64px;
    --type-page-title: 52px;
    --type-product-title: 44px;
    --type-section-title: 40px;
    --type-subsection-title: 32px;
    --type-component-title: 20px;
    --type-body-large: 17px;
    --type-body: 16px;
    --type-body-small: 14px;
    --type-card-title: 15px;
    --type-meta: 13px;
    --type-label: 12px;
    --leading-display: 1.02;
    --leading-heading: 1.1;
    --leading-body: 1.65;
    --leading-body-relaxed: 1.7;
    --leading-compact: 1.4;
    --measure-copy: 65ch;
    --color-ink: #171a1e;
    --color-muted: #626b75;
    --color-line: #dce2e8;
    --color-surface: #f5f7f9;
    --color-canvas: #fbfcfd;
    --color-paper: #fdfdfc;
    --color-accent: #315f7d;
    --color-accent-soft: #d8e7f5;
    --color-sale: #b42318;
    --text-color: var(--color-ink);
    --white: var(--color-paper);
    --black: var(--color-ink);
    --footer-bg: var(--color-surface);
    --control-height: 48px;
    --control-radius: 0;
}

/* 閸忋劌鐪柌宥囩枂 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    color: var(--text-color);
    line-height: 1.65;
    background: var(--color-canvas);
    -webkit-font-smoothing: antialiased;
}

.sanvella-icon,
.sanvella-star-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    vertical-align: middle;
    color: currentColor;
}

.page-width {
    width: 100%;
    max-width: var(--layout-max-width);
    margin: 0 auto;
    padding: 0 var(--layout-gutter);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.text-center {
    text-align: center;
}

/* 闂呮劘妫孉stra姒涙顓籋eader */
#masthead,
.ast-site-header,
.ast-header-break-point #masthead {
    display: none !important;
}

/* 绾喕绻氶幋鎴滄粦閻ㄥ嫯鍤滅€规矮绠焗eader閺勫墽銇?*/
header.site-header {
    display: block !important;
}

.site-content {
    padding: 0 !important;
    margin: 0 !important;
}

/**
 * =============================================================================
 * SANVELLA Header - 缁墽鈥樻径宥呭煑鐎规缍夌紒鎾寸€?
 * =============================================================================
 */

/* ============================================
   1. 妞ゅ爼鍎撮柅姘辩叀閺?(Top Notice Bar)
   娴ｆ粎鏁? 閺勫墽銇氭穱鍐敘娣団剝浼?
   娴ｅ秶鐤? 閺堚偓妞ゅ爼鍎?
   ============================================ */
.top-notice-bar {
    background-color: #000;
    text-align: center;
    padding: 10px 0;
    position: relative;
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.top-notice-bar.hidden {
    display: none;
}

.top-notice-bar a {
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.top-notice-bar .announcement-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 5px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.top-notice-bar .announcement-close:hover {
    opacity: 1;
}

.top-notice-bar .announcement-close svg {
    width: 16px;
    height: 16px;
    display: block;
}

@media (max-width: 768px) {
    .top-notice-bar .announcement-close {
        right: 10px;
        width: 24px;
        height: 24px;
    }
    
    .top-notice-bar .announcement-close svg {
        width: 14px;
        height: 14px;
    }
}

/* ============================================
   2. 娑撶眿eader鐎圭懓娅?(Main Header)
   娴ｆ粎鏁? 閸栧懓锛欓弫缈犻嚋鐎佃壈鍩呴弽?
   娴ｅ秶鐤? position: relative (閸忔娊鏁?)
   鐢啫鐪? 娑撳秳濞囬悽鈺漛solute閿涘矂浼╅崗宥夊櫢閸?
   ============================================ */
.site-header {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    z-index: 100;
    padding: 15px 0 !important;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

/* ============================================
   4. Header Layout
   娴ｆ粎鏁? Grid鐢啫鐪€圭懓娅?
   娴ｅ秶鐤? 瀹割毑ogo-娑擃厼顕遍懜?閸欏啿浼愰崗?
   鐢啫鐪? display: grid
   ============================================ */
.header-layout {
    display: grid;
    grid-template-columns: minmax(156px, max-content) minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(18px, 2vw, 32px);
}

/* ============================================
   5. Logo閸栧搫鐓?(Header Item - Logo)
   娴ｆ粎鏁? 閺勫墽銇氶崫浣哄Logo
   娴ｅ秶鐤? 閺堚偓瀹革缚鏅?
   鐎硅棄瀹? 閸ュ搫鐣?60px
   ============================================ */
.header-item--logo {
    min-width: 0;
}

.site-header__logo {
    margin: 0 !important;
    line-height: 1 !important;
}

.site-header__logo-link {
    display: inline-flex;
    align-items: center;
}

.site-header__logo img {
    max-width: 176px;
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   6. 鐎佃壈鍩呴懣婊冨礋閸栧搫鐓?(Header Item - Navigation)
   娴ｆ粎鏁? 閺勫墽銇氭稉鏄忓綅閸?
   娴ｅ秶鐤? 鐏炲懍鑵?
   鐎硅棄瀹? flex: 1 閸楃姵宓侀崜鈺€缍戠粚娲？
   ============================================ */
.header-item--navigation {
    display: flex;
    justify-content: center;
    min-width: 0;
}

.site-navigation {
    display: block;
    width: 100%;
}

.site-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    gap: clamp(12px, 1.35vw, 26px);
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

.site-nav li {
    margin: 0;
    padding: 0;
}

.site-nav a {
    color: #000;
    text-decoration: none;
    font-size: clamp(11px, 0.76vw, 12px);
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
    padding: 6px 0;
    line-height: 1;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.site-nav a:hover {
    opacity: 0.7;
}

/* ============================================
   7. 閸欏厖鏅跺銉ュ徔閸栧搫鐓?(Header Item - Icons)
   娴ｆ粎鏁? 鐠愌冪閵嗕胶娅ヨぐ鏇樷偓浣藉枠閻椻晞婧?
   娴ｅ秶鐤? 閺堚偓閸欏厖鏅?
   鐎硅棄瀹? 閸ュ搫鐣剧€硅棄瀹?
   ============================================ */
.header-item--icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
}

.site-header__icons {
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-header__currency {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-right: 14px;
    color: #000;
}

.site-header__currency::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -4px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    pointer-events: none;
}

.currency-selector {
    display: inline-block;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    color: inherit;
    font-family: var(--body-font);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0;
    margin: 0;
    outline: none !important;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.currency-selector:focus {
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.currency-selector option {
    background: #000;
    color: #fff;
    padding: 10px;
}

.currency-dropdown__trigger,
.currency-dropdown__menu {
    display: none;
}

.site-header__currency.is-enhanced {
    padding-right: 0;
}

.site-header__currency.is-enhanced::after {
    display: none;
}

.site-header__currency.is-enhanced .currency-selector {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0 !important;
    opacity: 0;
    pointer-events: none;
}

.site-header__currency.is-enhanced .currency-dropdown__trigger {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 22px;
    padding: 0 16px 0 0;
    margin: 0;
    border: none;
    background: transparent;
    color: inherit;
    font-family: var(--body-font);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    transition: opacity 0.2s ease;
}

.currency-dropdown__trigger:hover {
    opacity: 0.72;
}

.currency-dropdown__trigger::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -4px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease, margin-top 0.2s ease;
    pointer-events: none;
}

.site-header__currency.is-open .currency-dropdown__trigger::after {
    transform: rotate(225deg);
    margin-top: -1px;
}

.currency-dropdown__trigger:focus-visible,
.currency-dropdown__option:focus-visible {
    outline: 2px solid rgba(17, 17, 17, 0.16);
    outline-offset: 3px;
}

.currency-dropdown__menu {
    position: absolute;
    top: calc(100% + 14px);
    right: -14px;
    min-width: 172px;
    padding: 6px 0;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(17, 17, 17, 0.1);
    backdrop-filter: blur(18px);
    overflow: hidden;
    z-index: 160;
}

.currency-dropdown__menu--mobile {
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    min-width: 100%;
    padding: 4px 0;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 14px 30px rgba(17, 17, 17, 0.08);
}

.currency-dropdown__menu[hidden] {
    display: none !important;
}

.site-header__currency.is-open .currency-dropdown__menu {
    display: block;
}

.mobile-menu-currency__field.is-open .currency-dropdown__menu {
    display: block;
}

.currency-dropdown__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.currency-dropdown__item {
    margin: 0;
    padding: 0;
}

.currency-dropdown__item + .currency-dropdown__item {
    border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.currency-dropdown__option {
    position: relative;
    width: 100%;
    min-height: 40px;
    padding: 11px 18px 11px 36px;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #111;
    font-family: var(--body-font);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.currency-dropdown__option:hover,
.currency-dropdown__option:focus-visible {
    background: rgba(17, 17, 17, 0.03);
}

.currency-dropdown__option.is-selected {
    background: rgba(17, 17, 17, 0.04);
    font-weight: 600;
}

.currency-dropdown__option.is-selected::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 999px;
    background: #111;
}

.site-header__icon-link {
    color: #000;
    text-decoration: none;
    font-size: 0;
    transition: opacity 0.2s;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
}

.site-header__icon-link:hover {
    opacity: 0.7;
}

.site-header__icon {
    width: 20px;
    height: 20px;
    display: block;
    stroke-width: 1.7;
}

/* 鐠愵厾澧挎潪锔芥殶闁插繐绐樼粩?*/
.site-header__icon-link .cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #e74c3c;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    padding: 3px 5px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.site-header__icon-link .cart-count:not([style*="display: none"]) {
    display: block !important;
}

/* ============================================
   8. 缁夎濮╃粩顖濆綅閸楁洘瀵滈柦?
   娴ｆ粎鏁? 缁夎濮╃粩顖涙▔缁€楦垮綅閸楁洘瀵滈柦?
   娴ｅ秶鐤? 閸欏厖鏅堕敍灞炬禌娴狅絾顢戦棃銏ｅ綅閸?
   ============================================ */
.mobile-menu-toggle {
    display: none;  /* 濡楀矂娼扮粩顖炴閽?*/
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #000;
}

/* ============================================
   9. 缁夎濮╃粩顖濆綅閸楁洖鑴婇崙鍝勭湴
   娴ｆ粎鏁? 缁夎濮╃粩顖濆綅閸?
   娴ｅ秶鐤? 閸ュ搫鐣鹃崗銊ョ潌
   ============================================ */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 9999;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.42);
}

.mobile-menu-panel {
    position: relative;
    display: block;
    width: min(288px, 88vw);
    max-width: 88vw;
    height: 100%;
    padding: 0 16px 16px;
    background: #fff;
    border-left: 0;
    box-shadow: none;
    color: #000;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-overlay.active .mobile-menu-panel {
    transform: translateX(0);
    transition-duration: 0.8s;
}

.mobile-menu-close {
    position: relative;
    right: -16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 56px;
    padding: 0 12px;
    background: transparent;
    border: none;
    color: #000;
    cursor: pointer;
    line-height: 1;
}

.mobile-menu-close:active,
.mobile-nav__item a:active,
.mobile-nav__item .mobile-nav__faux-link:active,
.mobile-nav__toggle button:active {
    background-color: #f2f2f2;
    color: #000;
}

.mobile-menu-close .icon {
    width: 20px;
    height: 20px;
}

.drawer__fixed-header {
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    height: 56px;
    overflow: visible;
}

.drawer__header {
    display: table;
    width: 100%;
    height: 56px;
    padding: 8px 0;
    margin-bottom: 0;
    border-bottom: 1px solid #e8e8e1;
}

.drawer__title,
.drawer__close {
    display: table-cell;
    vertical-align: middle;
}

.drawer__title {
    width: 100%;
}

.drawer__close {
    width: 1%;
    text-align: center;
}

.drawer__inner {
    position: absolute;
    top: 56px;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 16px 16px 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.mobile-menu-panel__eyebrow {
    display: block;
    color: #000;
    font-family: var(--body-font);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.2em;
    line-height: 1.4;
    text-transform: uppercase;
}

.mobile-menu-currency__field {
    position: relative;
    background: transparent;
    border: 1px solid #e8e8e1;
    border-radius: 0;
    padding: 0 14px;
    margin: 0 16px 16px;
}

.mobile-menu-currency__field::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-right: 1.5px solid #111;
    border-bottom: 1.5px solid #111;
    transform: rotate(45deg);
    pointer-events: none;
}

.mobile-menu-currency__field.is-enhanced::after {
    display: none;
}

.mobile-currency-selector {
    width: 100%;
    border: none;
    background: transparent;
    color: #000;
    font-family: var(--body-font);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 12px 24px 12px 0;
    outline: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.mobile-menu-currency__field.is-enhanced .mobile-currency-selector {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.mobile-menu-currency__field.is-enhanced {
    padding: 0;
}

.mobile-menu-currency__field.is-enhanced .currency-dropdown__trigger--mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    padding: 11px 12px;
    border: none;
    background: transparent;
    color: #000;
    font-family: var(--body-font);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
}

.mobile-menu-currency__field.is-enhanced .currency-dropdown__trigger--mobile:hover {
    opacity: 1;
}

.mobile-menu-currency__field.is-enhanced .currency-dropdown__trigger--mobile::after {
    position: static;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    color: #111;
    flex-shrink: 0;
}

.mobile-menu-currency__field.is-open .currency-dropdown__trigger--mobile::after {
    margin-top: 2px;
}

.currency-dropdown__option--mobile {
    min-height: 42px;
    padding: 12px 18px 12px 34px;
    font-size: 13px;
    letter-spacing: 0.16em;
}

.mobile-currency-selector option {
    color: #111;
}

.mobile-menu-nav {
    margin-top: 0;
}

.mobile-menu {
    list-style: none;
    margin: -16px -16px 0;
    padding: 0;
}

.mobile-nav li {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 0;
}

.mobile-nav__item {
    position: relative;
    display: block;
    background: #fff;
}

.mobile-nav > .mobile-nav__item::after {
    content: "";
    position: absolute;
    right: 16px;
    bottom: 0;
    left: 16px;
    border-bottom: 1px solid #e8e8e1;
}

.mobile-nav > .mobile-nav__item:last-child::after,
.mobile-nav > .mobile-nav__spacer::after {
    display: none;
}

.mobile-menu-panel .mobile-nav__item a,
.mobile-menu-panel .mobile-nav__item .mobile-nav__faux-link,
.mobile-menu-panel .mobile-nav__toggle button {
    color: #000;
    text-decoration: none;
    font-family: var(--body-font);
}

.mobile-menu-panel .mobile-nav__item a,
.mobile-menu-panel .mobile-nav__item .mobile-nav__faux-link {
    display: block;
    min-height: 50px;
    padding: 15px 16px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.3;
}

.mobile-nav__has-sublist {
    position: relative;
    display: table;
    width: 100%;
}

.mobile-nav__has-sublist .mobile-nav__link {
    display: table-cell;
    width: 100%;
    vertical-align: middle;
}

.mobile-nav__toggle {
    display: table-cell;
    width: 1%;
    vertical-align: middle;
}

.mobile-menu-panel .mobile-nav__toggle button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 50px;
    padding: 15px 16px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.collapsible-trigger__icon {
    display: inline-flex;
    transition: transform 0.2s ease;
}

.collapsible-trigger[aria-expanded="true"] .collapsible-trigger__icon {
    transform: rotate(180deg);
}

.mobile-nav__toggle .icon {
    width: 12px;
    height: 12px;
}

.mobile-nav__sublist {
    margin: 0;
    padding: 0;
}

.mobile-nav__sublist .mobile-nav__item {
    background: #fff;
}

.mobile-nav__sublist .mobile-nav__item::after {
    display: none;
}

.mobile-nav__sublist > .mobile-nav__item:last-child {
    padding-bottom: 12px;
}

.mobile-menu-panel .mobile-nav__sublist .mobile-nav__link,
.mobile-menu-panel .mobile-nav__sublist .mobile-nav__faux-link {
    min-height: 42px;
    padding: 10px 20px 10px 32px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.45;
    text-transform: none;
}

.mobile-nav__child-item {
    display: flex;
}

.mobile-nav__child-item .mobile-nav__link {
    width: 100%;
}

.mobile-menu-panel .mobile-nav__item--account a {
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mobile-nav__item--currency {
    padding-bottom: 6px;
}

.mobile-menu-panel .mobile-nav__item--currency .mobile-nav__faux-link {
    min-height: auto;
    padding: 15px 16px 8px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.08em;
}

.mobile-nav__spacer {
    height: 0;
    padding: 5px;
}

.mobile-nav__social {
    display: flex;
    gap: 15px;
    align-items: center;
    margin: 10px 0 20px;
    padding: 0;
    list-style: none;
}

.mobile-nav__social li {
    display: inline-block;
    margin: 0;
}

.mobile-nav__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #444;
    text-decoration: none;
}

.mobile-nav__social .icon {
    width: 22px;
    height: 22px;
}

/* ============================================
   10. 閸濆秴绨插蹇氼啎鐠?- 缁夎濮╃粩?
   ============================================ */
@media (max-width: 1024px) {
    .header-layout {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
    }

    .header-item--navigation {
        display: none;  /* 闂呮劘妫屽宀勬桨閼挎粌宕?*/
    }
    
    .mobile-menu-toggle {
        display: flex;  /* 閺勫墽銇氱粔璇插З閼挎粌宕熼幐澶愭尦 */
    }

    .site-header__currency--desktop,
    .site-header__icon-link--account {
        display: none;
    }

    .header-item--icons {
        gap: 4px;
    }

    .site-header__icons {
        gap: 4px;
    }

    .site-header__icon-link,
    .mobile-menu-toggle {
        width: 42px;
        height: 42px;
        padding: 0;
        align-items: center;
        justify-content: center;
    }

    .site-header__icon {
        width: 19px;
        height: 19px;
    }

    .mobile-menu-toggle {
        gap: 4px;
    }

    .mobile-menu-toggle span {
        width: 24px;
    }
}

@media (max-width: 768px) {
    .header-item--logo {
        min-width: 0;
    }
    
    .site-header__logo img {
        max-width: 128px;
    }
    
    .site-header {
        padding: 14px 0;
    }
    
    .mobile-menu-panel {
        width: min(288px, 88vw);
        padding: 0 16px 16px;
    }
}

@media (max-width: 480px) {
    .site-header__logo img {
        max-width: 120px;
    }

    .mobile-menu-panel {
        width: min(288px, 88vw);
        padding: 0 16px 16px;
    }
}

.header-actions select {
    text-transform: uppercase;
}

.header-cart {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

/* ================================================
   妞や絻鍓?- SANVELLA姒涙垹娅ч弸浣虹暆妞嬪孩鐗?
   ================================================ */
.sanvella-footer {
    background: #f3f6f9;
    color: #16191d;
    padding: 48px 0 24px;
    border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.footer-container {
    width: 100%;
    max-width: var(--layout-max-width);
    margin: 0 auto;
    padding: 0 var(--layout-gutter);
}

/* 妞ゅ爼鍎碐rid閸栧搫鐓欓敍姘便仦娴溿倕娴橀弽?+ 鐎佃壈鍩呴柧鐐复閸︺劋绔寸悰?*/
.footer-grid {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.8fr);
    align-items: start;
    gap: clamp(48px, 8vw, 120px);
    margin-bottom: 32px;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand > strong {
    display: block;
    margin-bottom: 12px;
    font-family: var(--heading-font);
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
}

.footer-brand > p {
    margin: 0;
    max-width: 260px;
    color: #59616b;
    font-size: 14px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(17, 17, 17, 0.14);
    border-radius: 50%;
    text-decoration: none;
    transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
    flex-shrink: 0;
    color: #111;
}

.social-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.social-icon:hover {
    border-color: #111;
    background: rgba(17, 17, 17, 0.03);
    transform: translateY(-1px);
}

.footer-menu {
    display: grid;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 4px;
}

.footer-menu li {
    display: block;
}

.footer-menu a {
    color: #4f5761;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    font-family: var(--body-font);
    line-height: 1.5;
    letter-spacing: 0;
    transition: opacity 0.25s ease;
}

.footer-menu a:hover {
    opacity: 0.65;
}

/* 閺€顖欑帛閸ョ偓鐖?- 閸欏啿顕?*/
.footer-payments {
    display: flex;
    justify-content: flex-start;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 12px;
    align-items: center;
}

.payment-icon {
    height: 22px;
    width: auto;
    vertical-align: middle;
    opacity: 0.82;
    transition: opacity 0.25s ease;
}

.payment-icon:hover {
    opacity: 1;
}

/* 閻楀牊娼堟穱鈩冧紖 - 閸欏啿顕?*/
.footer-copyright {
    text-align: right;
    font-size: 12px;
    color: #69717b;
    font-family: var(--body-font);
    padding: 0;
    margin: 0;
    line-height: 1.4;
    letter-spacing: 0;
}

.footer-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(17, 17, 17, 0.1);
}

@media (min-width: 769px) {
    .sanvella-footer .footer-menu a {
        min-width: 0 !important;
        min-height: auto !important;
        padding: 3px 0;
    }
}

/* ================================================
   缁夎濮╃粩顖氭惙鎼存柨绱?
   ================================================ */
@media (max-width: 1024px) {
    .main-navigation {
        display: none;
    }
}

@media (max-width: 768px) {
    .slideshow-wrapper {
        height: 500px;
    }
    
    .mega-title,
    .slideshow__slide .mega-title,
    .hero__text-content .mega-title {
        font-size: 56px !important;
    }
    
    .hero__subtitle {
        font-size: 13px;
        letter-spacing: 0.5px;
    }

    .btn-hero {
        padding: 10px 20px;
        font-size: 13px;
    }

    .slideshow__nav {
        bottom: 20px;
        gap: 8px;
    }

    .slideshow__nav-dot {
        width: 8px;
        height: 8px;
    }

    .slideshow__nav-dot.active {
        width: 24px;
    }

    .h1, h1 {
        font-size: 36px;
    }

    .h2, h2 {
        font-size: 28px;
    }

    .page-width {
        padding-right: var(--layout-gutter-mobile);
        padding-left: var(--layout-gutter-mobile);
    }

    .container {
        padding: 0 20px;
    }

    /* 閸愬懎顔愰崠鍝勭厵閸濆秴绨插?*/
    .section-title-main {
        font-size: 36px;
    }

    .precision-title {
        font-size: 36px;
    }

    .apothecary-title {
        font-size: 28px;
    }

    .herbal-clinic-section,
    .precision-section,
    .apothecary-section {
        padding: 60px 20px;
    }

    .featured-row__subtext,
    .precision-text,
    .apothecary-text {
        font-size: 15px;
        line-height: 1.7;
    }
    
    /* Footer 缁夎濮╃粩顖欑喘閸?*/
    .sanvella-footer {
        padding: 34px 0 24px;
    }
    
    .footer-container {
        padding-right: var(--layout-gutter-mobile);
        padding-left: var(--layout-gutter-mobile);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        margin-bottom: 24px;
        gap: 32px;
    }
    
    .footer-social {
        margin-bottom: 0;
    }
    
    .footer-menu {
        gap: 9px;
    }
    
    .footer-menu a {
        font-size: 11px;
    }
    
    .footer-payments {
        justify-content: flex-start;
        margin: 0;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .payment-icon {
        height: 20px;
    }
    
    .footer-copyright {
        text-align: left;
        font-size: 12px;
    }

    .footer-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding-top: 18px;
    }
    
    .header-container {
        padding: 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .custom-content {
        flex-direction: column;
        align-items: center;
    }
    
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .mega-title,
    .slideshow__slide .mega-title,
    .hero__text-content .mega-title {
        font-size: 40px !important;
    }
    
    .woocommerce ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* 鐎瑰苯鍙忕憰鍡欐磰Astra */
.ast-container {
    max-width: 100% !important;
    padding: 0 !important;
}

/* 闂呮劘妫孉stra閻ㄥ嚪croll to Top閹稿鎸?*/
#ast-scroll-top,
.ast-scroll-to-top-right,
.ast-scroll-top-icon {
    display: none !important;
}

#content,
.site-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 鐟曞棛娲夾stra閻ㄥ垾ntry-content閺嶅嘲绱?*/
.entry-content {
    margin: 0 !important;
    padding: 0 !important;
}

.entry-content > * {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* 绾喕绻氭い鐢告桨閸愬懎顔愰崗銊ヮ啍 */
.ast-page-builder-template .entry-content {
    max-width: 100% !important;
}

   娴溠冩惂鐠囷附鍎忔い?Tabs - 闂冪粯顒涢懛顏勫З濠婃艾濮?
   ========================================================================= */

/* 缁備胶鏁ゆ禍褍鎼фい鐢告桨閻ㄥ嫬閽╁鎴炵泊閸?*/
.single-product {
    scroll-behavior: auto !important;
}

.single-product html,
.single-product body {
    scroll-behavior: auto !important;
}

/* 闂冪粯顒?tabs 閹存劒璐熷姘З閻╊喗鐖?*/
.woocommerce-tabs,
.woocommerce-tabs .wc-tabs,
.woocommerce-tabs .woocommerce-Tabs-panel {
    scroll-margin-top: 99999px !important;
    scroll-padding-top: 99999px !important;
}

/* 姒涙顓婚梾鎰閹碘偓閺堝〖ab panels */
.woocommerce-tabs .woocommerce-Tabs-panel {
    display: none !important;
}

/* 姒涙顓婚崣顏呮▔缁€鐑樺伎鏉?panel - 閸氬本妞傞弨顖涘瘮 id 閸?data-panel-id */
.woocommerce-tabs .woocommerce-Tabs-panel#tab-description,
.woocommerce-tabs .woocommerce-Tabs-panel[data-panel-id="tab-description"] {
    display: block !important;
}

/* 绾喕绻氱粭顑跨娑撶尲ab閺勭棏ctive閻樿埖鈧?*/
.woocommerce-tabs .wc-tabs li:first-child,
.woocommerce-tabs ul.tabs li:first-child {
    border-bottom-color: #fff;
}

.woocommerce-tabs .wc-tabs li:first-child a,
.woocommerce-tabs ul.tabs li:first-child a {
    color: inherit;
}

.site-header__icons {
    gap: 14px;
}

.footer-nav-group {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 64px);
}

.footer-nav-column h2 {
    margin: 0 0 14px;
    color: #16191d;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
}

.footer-menu--secondary {
    gap: 14px 22px;
}

.footer-payment-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #111;
    font-family: var(--body-font);
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.06em;
    opacity: 0.78;
    transition: opacity 0.25s ease;
}

.footer-payment-chip:hover {
    opacity: 1;
}

.footer-payment-chip__icon {
    width: 20px;
    height: 20px;
    display: block;
    flex: 0 0 auto;
}

.footer-payment-chip__label {
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .site-header__icons {
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .footer-nav-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 26px 24px;
    }

    .footer-nav-column:last-child {
        grid-column: 1 / -1;
    }

    .footer-nav-column:last-child .footer-menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
    }

    .footer-brand {
        max-width: none;
    }

    .footer-payment-chip {
        font-size: 11px;
        gap: 6px;
    }

    .footer-payment-chip__icon {
        width: 18px;
        height: 18px;
    }
}
