        @import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Noto+Sans+SC:wght@400;500;700&family=Noto+Serif+SC:wght@500;600&display=swap');

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', "PingFang SC", sans-serif;
        }

        body {
            background: linear-gradient(135deg, #fdfbf7 0%, #e8d5c4 100%);
            min-height: 100vh;
            padding: clamp(14px, 2vw, 24px);
            color: #3c2415;
            text-rendering: optimizeLegibility;
            position: relative;
            overflow-x: hidden;
        }

        body.gallery-modal-open {
            position: fixed;
            left: 0;
            right: 0;
            width: 100%;
            overflow: hidden;
        }

        body::before,
        body::after {
            content: '';
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: -2;
        }

        body::before {
            background:
                radial-gradient(circle at 12% 18%, rgba(255, 247, 236, 0.88) 0%, rgba(255, 247, 236, 0) 34%),
                radial-gradient(circle at 88% 12%, rgba(187, 122, 70, 0.12) 0%, rgba(187, 122, 70, 0) 28%),
                radial-gradient(circle at 50% 100%, rgba(122, 78, 43, 0.12) 0%, rgba(122, 78, 43, 0) 34%);
        }

        body::after {
            z-index: -1;
            opacity: 0.32;
            background:
                linear-gradient(115deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 42%),
                repeating-linear-gradient(135deg, rgba(92, 60, 33, 0.022) 0 2px, transparent 2px 10px);
        }

        header {
            position: relative;
            text-align: center;
            max-width: 1200px;
            margin: 14px auto 12px;
            min-height: 92px;
            padding: 2px 126px 0 104px;
            color: #5c3c21;
            display: grid;
            justify-items: center;
            gap: 8px;
        }

        .site-brand {
            position: absolute;
            top: -2px;
            left: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 84px;
            height: 84px;
            padding: 3px;
            border-radius: 50%;
            background:
                radial-gradient(circle at 30% 28%, rgba(255, 252, 243, 0.96) 0%, rgba(255, 252, 243, 0.3) 24%, rgba(255, 252, 243, 0) 46%),
                linear-gradient(145deg, #f9ebba 0%, #ebcb77 22%, #be8731 48%, #8b5918 74%, #f6dfa0 100%);
            border: 1px solid rgba(145, 92, 20, 0.34);
            box-shadow:
                0 16px 26px rgba(92, 60, 33, 0.18),
                inset 0 1px 1px rgba(255, 250, 232, 0.88),
                inset 0 -5px 10px rgba(120, 70, 14, 0.24),
                0 0 0 1px rgba(255, 232, 170, 0.18);
            overflow: hidden;
        }

        .site-brand::before,
        .site-brand::after {
            content: '';
            position: absolute;
            border-radius: 50%;
            pointer-events: none;
        }

        .site-brand::before {
            inset: 2px;
            border: 1px solid rgba(255, 244, 206, 0.56);
            box-shadow: inset 0 1px 1px rgba(255, 252, 238, 0.38);
        }

        .site-brand::after {
            inset: -8px;
            background: radial-gradient(circle, rgba(243, 197, 88, 0.22) 0%, rgba(243, 197, 88, 0.08) 40%, rgba(243, 197, 88, 0) 72%);
            z-index: -1;
        }

        .site-brand img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
            mix-blend-mode: normal;
            opacity: 0.96;
            border: 1px solid rgba(255, 244, 216, 0.84);
            box-shadow: inset 0 1px 5px rgba(255, 250, 234, 0.28);
            filter: saturate(0.98) contrast(1.03);
        }

        .site-footer {
            max-width: 1200px;
            margin: 42px auto 12px;
            padding: 18px 24px 22px;
            text-align: center;
            border-top: 1px solid rgba(175, 128, 63, 0.22);
            color: #8b5b2f;
        }

        .site-footer-copy {
            font-size: 0.95rem;
            letter-spacing: 0.06em;
            color: #8a5728;
        }

        .site-footer-note {
            margin-top: 6px;
            font-size: 0.84rem;
            color: rgba(114, 73, 37, 0.72);
        }

        header h1 {
            font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
            font-size: clamp(2.3rem, 4.8vw, 4.1rem);
            margin-bottom: 8px;
            line-height: 1.04;
            letter-spacing: 0.04em;
            font-weight: 700;
            background: linear-gradient(180deg, #fff6cf 0%, #f4d889 14%, #d8a943 32%, #b67b1f 52%, #8b5916 73%, #5a3510 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            -webkit-text-stroke: 1.15px rgba(109, 63, 13, 0.34);
            text-shadow: 0 1px 0 rgba(255, 251, 233, 0.98), 0 2px 0 rgba(255, 239, 181, 0.86), 0 3px 0 rgba(228, 184, 79, 0.66), 0 4px 0 rgba(186, 124, 29, 0.5), 0 7px 12px rgba(132, 79, 17, 0.22), 0 16px 28px rgba(78, 43, 10, 0.22);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.16em;
            flex-wrap: wrap;
        }

        .title-word-group {
            display: inline-block;
            will-change: transform;
            animation-timing-function: ease-in-out;
            animation-iteration-count: infinite;
            filter: drop-shadow(0 2px 2px rgba(255, 239, 182, 0.28)) drop-shadow(0 10px 16px rgba(120, 72, 17, 0.14));
        }

        .title-word-group-1 {
            animation-name: titleFloatA;
            animation-duration: 4.7s;
            animation-delay: -0.4s;
        }

        .title-word-group-2 {
            animation-name: titleFloatB;
            animation-duration: 5.5s;
            animation-delay: -1.3s;
        }

        .title-word-group-3 {
            animation-name: titleFloatC;
            animation-duration: 6.2s;
            animation-delay: -2.1s;
        }

        @keyframes titleFloatA {
            0%,
            100% {
                transform: translate3d(0, 0, 0) rotate(-0.3deg);
            }

            30% {
                transform: translate3d(-3px, -7px, 0) rotate(-0.85deg);
            }

            68% {
                transform: translate3d(2px, 5px, 0) rotate(0.5deg);
            }
        }

        @keyframes titleFloatB {
            0%,
            100% {
                transform: translate3d(0, 1px, 0) rotate(0.25deg);
            }

            25% {
                transform: translate3d(3px, 6px, 0) rotate(0.75deg);
            }

            62% {
                transform: translate3d(-2px, -8px, 0) rotate(-0.65deg);
            }
        }

        @keyframes titleFloatC {
            0%,
            100% {
                transform: translate3d(0, -1px, 0) rotate(0.35deg);
            }

            38% {
                transform: translate3d(2px, -6px, 0) rotate(0.7deg);
            }

            72% {
                transform: translate3d(-3px, 7px, 0) rotate(-0.8deg);
            }
        }

        header p {
            display: grid;
            gap: 3px;
            color: #8b5a20;
            font-size: clamp(0.88rem, 1.5vw, 1rem);
            font-weight: 600;
            line-height: 1.35;
            letter-spacing: 0.08em;
            margin: 0 auto;
            text-transform: none;
            text-align: center;
            text-wrap: balance;
            max-width: 60ch;
        }

        .header-tagline-cn {
            display: block;
            color: #8a5821;
            font-size: 0.92em;
            letter-spacing: 0.14em;
        }

        .header-tagline-en {
            display: block;
            color: rgba(120, 78, 43, 0.82);
            font-size: 0.68em;
            letter-spacing: 0.16em;
            text-transform: uppercase;
        }

        .site-mascot {
            position: absolute;
            top: 16px;
            left: 6px;
            display: inline-flex;
            align-items: center;
            gap: 14px;
            z-index: 2;
        }

        .site-mascot-badge {
            position: relative;
            width: 108px;
            height: 108px;
            border-radius: 50%;
            overflow: visible;
            animation: mascotFloat 4.8s ease-in-out infinite;
        }

        .site-mascot-badge::before {
            content: '';
            position: absolute;
            inset: -10px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(239, 193, 145, 0.52) 0%, rgba(239, 193, 145, 0.12) 48%, rgba(239, 193, 145, 0) 72%);
            animation: mascotGlow 3.2s ease-in-out infinite;
            z-index: 0;
        }

        .site-mascot-badge img {
            position: relative;
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            border-radius: 50%;
            border: 3px solid rgba(255, 248, 239, 0.92);
            box-shadow: 0 18px 36px rgba(92, 60, 33, 0.22);
            z-index: 1;
        }

        .site-mascot-copy {
            position: relative;
            display: grid;
            gap: 4px;
            text-align: left;
            padding: 10px 14px;
            border-radius: 16px;
            background: rgba(255, 250, 244, 0.76);
            border: 1px solid rgba(122, 78, 43, 0.1);
            box-shadow: 0 12px 26px rgba(92, 60, 33, 0.1);
            backdrop-filter: blur(10px);
            animation: mascotCopyBreathe 3.2s ease-in-out infinite;
        }

        .site-mascot-label {
            font-size: 0.72rem;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            color: #a06d44;
        }

        .site-mascot-name {
            font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
            font-size: 1.08rem;
            line-height: 1.2;
            color: #4b2f1d;
        }

        .site-mascot-effects {
            position: absolute;
            inset: -20px -18px -16px 4px;
            pointer-events: none;
            z-index: 2;
        }

        .site-mascot-smoke,
        .site-mascot-spark {
            position: absolute;
            border-radius: 999px;
            opacity: 0;
        }

        .site-mascot-smoke {
            width: 26px;
            height: 26px;
            background: radial-gradient(circle, rgba(255, 250, 245, 0.72) 0%, rgba(255, 250, 245, 0.16) 62%, rgba(255, 250, 245, 0) 100%);
            filter: blur(2px);
        }

        .site-mascot-smoke-1 {
            bottom: 18px;
            left: 12px;
            animation: mascotSmokeOne 4.2s ease-in-out infinite;
        }

        .site-mascot-smoke-2 {
            bottom: 36px;
            right: 28px;
            animation: mascotSmokeTwo 4.8s ease-in-out 0.8s infinite;
        }

        .site-mascot-smoke-3 {
            top: 14px;
            right: 8px;
            animation: mascotSmokeThree 5.1s ease-in-out 1.4s infinite;
        }

        .site-mascot-spark {
            width: 6px;
            height: 6px;
            background: radial-gradient(circle, rgba(255, 214, 146, 1) 0%, rgba(255, 214, 146, 0) 75%);
            box-shadow: 0 0 10px rgba(255, 198, 112, 0.5);
        }

        .site-mascot-spark-1 {
            top: 12px;
            left: 10px;
            animation: mascotSpark 2.8s linear 0.3s infinite;
        }

        .site-mascot-spark-2 {
            top: 38px;
            right: 18px;
            animation: mascotSpark 3.1s linear 1.2s infinite;
        }

        .collection-hero {
            max-width: 1200px;
            margin: 0 auto 28px;
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            gap: 20px;
            position: relative;
            z-index: 1;
        }

        .collection-hero-card {
            position: relative;
            overflow: hidden;
            border-radius: 24px;
            border: 1px solid rgba(122, 78, 43, 0.12);
            background: linear-gradient(145deg, rgba(255, 251, 246, 0.96) 0%, rgba(244, 230, 214, 0.9) 100%);
            box-shadow: 0 20px 48px rgba(92, 60, 33, 0.12);
        }

        .collection-hero-card::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 36%);
            pointer-events: none;
        }

        .collection-hero-main {
            padding: 28px 30px;
        }

        .collection-kicker {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 14px;
            color: #9b6b44;
            font-size: 0.8rem;
            letter-spacing: 0.16em;
            text-transform: uppercase;
        }

        .collection-kicker::before {
            content: '';
            width: 34px;
            height: 1px;
            background: rgba(122, 78, 43, 0.36);
        }

        .collection-hero-title {
            font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
            font-size: clamp(1.6rem, 3vw, 2.3rem);
            line-height: 1.18;
            letter-spacing: 0.03em;
            color: #3c2415;
            margin-bottom: 12px;
        }

        .collection-hero-desc {
            max-width: 52ch;
            color: #6c4a2d;
            font-size: 1rem;
            line-height: 1.8;
        }

        .collection-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 20px;
        }

        .collection-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 9px 14px;
            border-radius: 999px;
            background: rgba(255, 249, 242, 0.8);
            border: 1px solid rgba(122, 78, 43, 0.12);
            color: #6d4729;
            font-size: 0.88rem;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
        }

        .collection-summary {
            padding: 22px;
            display: grid;
            gap: 12px;
        }

        .collection-summary-item {
            padding: 14px 16px;
            border-radius: 16px;
            background: rgba(255, 248, 239, 0.72);
            border: 1px solid rgba(122, 78, 43, 0.1);
        }

        .collection-summary-label {
            display: block;
            margin-bottom: 5px;
            color: #9b6b44;
            font-size: 0.76rem;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }

        .collection-summary-value {
            display: block;
            font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
            color: #3c2415;
            font-size: 1rem;
            line-height: 1.45;
        }

        .filter-panel {
            max-width: 1200px;
            margin: 0 auto 20px;
            padding: 18px 20px;
            border-radius: 24px;
            border: 1px solid rgba(122, 78, 43, 0.12);
            background: linear-gradient(145deg, rgba(255, 251, 246, 0.96) 0%, rgba(245, 234, 221, 0.92) 100%);
            box-shadow: 0 18px 42px rgba(92, 60, 33, 0.12);
            display: grid;
            gap: 18px;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .filter-panel::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 34%);
            pointer-events: none;
        }

        .filter-header {
            position: relative;
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 16px;
        }

        .filter-title-wrap {
            display: grid;
            gap: 6px;
        }

        .filter-kicker {
            color: #9b6b44;
            font-size: 0.76rem;
            letter-spacing: 0.16em;
            text-transform: uppercase;
        }

        .filter-title {
            font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
            font-size: clamp(1.25rem, 2.2vw, 1.6rem);
            color: #3c2415;
            line-height: 1.2;
        }

        .filter-subtitle {
            color: #7b5b40;
            font-size: 0.94rem;
            line-height: 1.6;
            max-width: 62ch;
        }

        .brand-logo-filter {
            position: relative;
            display: grid;
            gap: 12px;
        }

        .brand-logo-scroll-indicator {
            display: none;
            gap: 0;
            padding: 2px 4px 0;
        }

        .brand-logo-scroll-indicator.is-visible {
            display: grid;
        }

        .brand-logo-scroll-text {
            display: none;
        }

        .brand-logo-scroll-track {
            width: 100%;
            height: 5px;
            border-radius: 999px;
            background: rgba(122, 78, 43, 0.1);
            overflow: hidden;
        }

        .brand-logo-scroll-fill {
            display: block;
            width: 100%;
            height: 100%;
            border-radius: inherit;
            min-width: 20%;
            background: linear-gradient(90deg, rgba(169, 79, 31, 0.78) 0%, rgba(201, 122, 52, 0.72) 100%);
            box-shadow: 0 2px 6px rgba(169, 79, 31, 0.16);
            transition: width 0.18s ease;
        }

        .brand-logo-filter-head {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: 12px;
            color: #8a5b37;
        }

        .brand-logo-filter-title {
            font-size: 0.78rem;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            color: #9b6b44;
        }

        .brand-logo-filter-note {
            font-size: 0.82rem;
            color: #8f6a4e;
        }

        .brand-logo-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
            gap: 12px;
        }

        .brand-logo-card {
            position: relative;
            display: grid;
            gap: 12px;
            min-height: 116px;
            padding: 12px 10px;
            border-radius: 16px;
            border: 1px solid rgba(122, 78, 43, 0.12);
            background: transparent;
            box-shadow: 0 14px 26px rgba(92, 60, 33, 0.08);
            color: #4b2f1d;
            text-align: center;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
        }

        .brand-logo-visual {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 70px;
        }

        .brand-logo-image-wrap {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 70px;
            max-width: 100%;
            background: transparent;
            isolation: isolate;
        }

        .brand-logo-image {
            display: block;
            max-width: min(148px, 100%);
            max-height: 68px;
            width: auto;
            height: auto;
            object-fit: contain;
            mix-blend-mode: normal;
            opacity: 1;
            filter: none;
        }

        .brand-logo-card::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: inherit;
            background: none;
            pointer-events: none;
        }

        .brand-logo-card:hover {
            transform: translateY(-2px);
            background: linear-gradient(180deg, rgba(255, 242, 223, 1) 0%, rgba(236, 208, 170, 0.96) 100%);
            box-shadow: 0 18px 30px rgba(92, 60, 33, 0.12);
            border-color: rgba(179, 95, 31, 0.42);
        }

        .brand-logo-card.is-active {
            border-color: rgba(179, 95, 31, 0.38);
            background: rgba(236, 214, 189, 0.26);
            box-shadow: 0 18px 34px rgba(179, 95, 31, 0.16);
        }

        .brand-logo-monogram {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 48px;
            width: fit-content;
            padding: 7px 10px;
            border-radius: 999px;
            background: rgba(92, 60, 33, 0.08);
            color: #6d4729;
            font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
            font-size: 1.02rem;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }

        .brand-logo-image-wrap + .brand-logo-monogram {
            display: none;
        }

        .brand-logo-card.is-active .brand-logo-monogram {
            background: rgba(179, 95, 31, 0.12);
            color: #9b4f16;
        }

        .brand-logo-copy {
            display: grid;
            gap: 3px;
            min-width: 0;
            justify-items: center;
        }

        .brand-logo-cn {
            font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
            font-size: 0.88rem;
            line-height: 1.15;
            color: #3c2415;
        }

        .brand-logo-en {
            font-size: 0.68rem;
            line-height: 1.35;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #8a6548;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .brand-logo-stats {
            font-size: 0.64rem;
            line-height: 1.35;
            letter-spacing: 0.04em;
            color: #9a7557;
            white-space: nowrap;
        }

        .filter-result-pill {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 112px;
            padding: 10px 16px;
            border-radius: 999px;
            border: 1px solid rgba(122, 78, 43, 0.12);
            background: rgba(255, 248, 239, 0.88);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
            color: #5c3c21;
            font-weight: 700;
        }

        .filter-controls {
            position: relative;
            display: grid;
            grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.82fr)) auto;
            gap: 12px;
            align-items: end;
        }

        .filter-field {
            display: grid;
            gap: 7px;
        }

        .filter-label {
            font-size: 0.74rem;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: #9b6b44;
        }

        .filter-input,
        .filter-select {
            width: 100%;
            min-height: 46px;
            padding: 0 14px;
            border-radius: 14px;
            border: 1px solid rgba(122, 78, 43, 0.12);
            background: rgba(255, 252, 247, 0.96);
            color: #4b2f1d;
            font-size: 0.96rem;
            box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.55);
            transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
        }

        .filter-input:focus,
        .filter-select:focus {
            outline: none;
            border-color: rgba(179, 95, 31, 0.52);
            box-shadow: 0 0 0 4px rgba(214, 168, 126, 0.16);
            background: #fffdf9;
        }

        .filter-reset {
            min-height: 46px;
            padding: 0 18px;
            border: 1px solid rgba(122, 78, 43, 0.14);
            border-radius: 14px;
            background: linear-gradient(180deg, rgba(255, 248, 241, 0.98) 0%, rgba(241, 228, 213, 0.96) 100%);
            color: #5c3c21;
            font-size: 0.94rem;
            font-weight: 600;
            cursor: pointer;
            box-shadow: 0 10px 20px rgba(92, 60, 33, 0.1);
            transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
        }

        .filter-reset:hover {
            transform: translateY(-1px);
            background: linear-gradient(180deg, rgba(255, 243, 229, 1) 0%, rgba(235, 214, 190, 0.98) 100%);
            box-shadow: 0 14px 24px rgba(92, 60, 33, 0.14);
        }

        .filter-tags {
            position: relative;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .filter-tag {
            display: none;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            border-radius: 999px;
            background: rgba(92, 60, 33, 0.08);
            color: #6d4729;
            font-size: 0.85rem;
            border: 1px solid rgba(122, 78, 43, 0.08);
        }

        .filter-tag.visible {
            display: inline-flex;
        }

        .filter-tag strong {
            color: #3c2415;
            font-weight: 700;
        }

        .cart-toggle {
            position: absolute;
            top: 10px;
            right: 108px;
            transform: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 14px;
            background: linear-gradient(135deg, #f8e7d0 0%, #efd0ab 100%);
            color: #5c3c21;
            border-radius: 999px;
            border: 1px solid rgba(122, 78, 43, 0.18);
            box-shadow: 0 10px 24px rgba(92, 60, 33, 0.16);
            cursor: pointer;
            font-size: 1rem;
            font-weight: 700;
            transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
        }

        .cart-toggle:hover {
            transform: translateY(-2px);
            background: linear-gradient(135deg, #fbe9d5 0%, #e7bf93 100%);
            box-shadow: 0 14px 30px rgba(92, 60, 33, 0.2);
        }

        .cart-toggle-mobile {
            position: fixed;
            left: 14px;
            right: 14px;
            bottom: calc(14px + env(safe-area-inset-bottom));
            display: none;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            padding: 14px 16px 14px 14px;
            background: linear-gradient(135deg, rgba(255, 250, 244, 0.9) 0%, rgba(246, 237, 226, 0.9) 54%, rgba(239, 228, 216, 0.88) 100%);
            color: #4f3320;
            border: 1px solid rgba(133, 95, 63, 0.16);
            border-radius: 24px;
            box-shadow: 0 18px 34px rgba(92, 60, 33, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.72);
            backdrop-filter: blur(18px) saturate(130%);
            z-index: 950;
            cursor: pointer;
            transform: translateY(120px) scale(0.96);
            opacity: 0;
            overflow: hidden;
        }

        .cart-toggle-mobile::before,
        .cart-toggle-mobile::after {
            content: '';
            position: absolute;
            pointer-events: none;
        }

        .cart-toggle-mobile::before {
            inset: 0;
            background:
                radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 34%),
                linear-gradient(115deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 48%);
        }

        .cart-toggle-mobile::after {
            left: 16px;
            right: 16px;
            top: 0;
            height: 1px;
            background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 18%, rgba(255, 255, 255, 0.8) 82%, rgba(255, 255, 255, 0) 100%);
            opacity: 0.72;
        }

        .cart-toggle-mobile.is-visible {
            animation: cartDockIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards, cartDockBreathe 3.2s ease-in-out 0.55s infinite;
        }

        .cart-toggle-mobile.has-items {
            border-color: rgba(153, 107, 72, 0.22);
            box-shadow: 0 20px 38px rgba(92, 60, 33, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.76);
        }

        .cart-toggle-mobile.has-items .cart-toggle-mobile-icon-shell {
            background: transparent;
            border-color: transparent;
            box-shadow: none;
        }

        .cart-toggle-mobile.has-items .cart-toggle-mobile-badge,
        .cart-toggle-mobile.has-items .cart-count {
            border-color: rgba(153, 107, 72, 0.14);
        }

        .cart-count.is-bouncing {
            animation: cartCountPop 0.35s ease;
        }

        .cart-toggle.is-cart-targeted,
        .cart-toggle-mobile.is-cart-targeted,
        .cart-total.is-cart-targeted,
        .cart-count.is-cart-targeted {
            animation: cartTargetPulse 0.58s cubic-bezier(0.22, 1, 0.36, 1);
        }

        .cart-toggle-mobile:active {
            transform: translateY(0) scale(0.985);
        }

        .cart-toggle-mobile-main {
            position: relative;
            z-index: 1;
            display: inline-flex;
            align-items: center;
            gap: 12px;
            min-width: 0;
            flex: 1;
        }

        .cart-toggle-mobile-icon-shell {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: auto;
            height: auto;
            border-radius: 0;
            background: transparent;
            border: none;
            box-shadow: none;
            flex-shrink: 0;
        }

        .cart-toggle-mobile-icon,
        .cart-toggle-mobile .cart-icon {
            width: 20px;
            height: 20px;
            min-width: 20px;
            color: #111111;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.2));
        }

        .cart-toggle-mobile-icon {
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23111111'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54z'/%3E%3C/svg%3E") center / contain no-repeat;
        }

        .cart-toggle-mobile-icon::before,
        .cart-toggle-mobile .cart-icon::before {
            content: none;
        }

        .cart-toggle-mobile-text {
            display: grid;
            gap: 3px;
            min-width: 0;
        }

        .cart-toggle-mobile-kicker {
            font-size: 0.62rem;
            line-height: 1;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: rgba(147, 108, 77, 0.9);
        }

        .cart-toggle-mobile-title {
            font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
            font-size: 1.04rem;
            font-weight: 700;
            line-height: 1.2;
            letter-spacing: 0.03em;
            color: #41291b;
        }

        .cart-toggle-mobile-subtitle {
            font-size: 0.79rem;
            color: rgba(96, 68, 46, 0.72);
            line-height: 1.28;
        }

        .cart-toggle-mobile-meta {
            position: relative;
            z-index: 1;
            display: grid;
            justify-items: end;
            gap: 6px;
            flex-shrink: 0;
        }

        .cart-toggle-mobile-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 50px;
            padding: 5px 10px;
            border-radius: 999px;
            border: 1px solid rgba(133, 95, 63, 0.08);
            background: rgba(255, 255, 255, 0.38);
            color: #9a7353;
            font-size: 0.64rem;
            line-height: 1;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
        }

        .cart-toggle-mobile-action {
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .cart-count {
            min-width: 24px;
            padding: 2px 8px;
            color: #fff;
            background: #d9534f;
            border-radius: 999px;
            text-align: center;
            font-size: 0.85rem;
        }

        .cart-toggle-mobile .cart-count {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 42px;
            height: 34px;
            padding: 0 12px;
            color: #6f4729;
            background: linear-gradient(180deg, rgba(159, 121, 90, 0.1) 0%, rgba(159, 121, 90, 0.16) 100%);
            border: 1px solid rgba(133, 95, 63, 0.1);
            border-radius: 999px;
            text-align: center;
            font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
            font-size: 1rem;
            font-weight: 700;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
        }

        .cart-toggle-mobile-arrow {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 34px;
            height: 34px;
            border-radius: 50%;
            border: 1px solid rgba(133, 95, 63, 0.08);
            background: rgba(255, 255, 255, 0.38);
            color: #7a5133;
            font-size: 1.08rem;
            line-height: 1;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
        }

        .cart-modal {
            position: fixed;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(0, 0, 0, 0.35);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.2s ease;
            z-index: 1000;
        }

        .cart-modal.visible {
            opacity: 1;
            pointer-events: auto;
        }

        .cart-panel {
            width: min(520px, calc(100% - 40px));
            max-height: 80vh;
            background: #fff;
            border-radius: 18px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transform: translateY(28px) scale(0.96);
            opacity: 0;
            transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.26s ease;
        }

        .cart-modal.visible .cart-panel {
            transform: translateY(0) scale(1);
            opacity: 1;
        }

        .cart-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 18px 22px;
            background: #f7ede2;
            border-bottom: 1px solid #ede0d6;
        }

        .cart-header h2 {
            margin: 0;
            font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
            font-size: 1.2rem;
            color: #3c2415;
            letter-spacing: 0.03em;
        }

        .cart-close {
            width: 36px;
            height: 36px;
            border: none;
            border-radius: 50%;
            background: rgba(92, 60, 33, 0.08);
            color: #5c3c21;
            font-size: 1.4rem;
            cursor: pointer;
        }

        .cart-items {
            padding: 20px;
            overflow: auto;
            flex: 1;
            display: grid;
            gap: 16px;
            background: #fff7ef;
        }

        .cart-item {
            display: flex;
            gap: 12px;
            padding: 0 0 14px;
            border-bottom: 1px solid #f0e0d6;
        }

        .cart-item img {
            width: 84px;
            height: 84px;
            object-fit: cover;
            border-radius: 14px;
            box-shadow: 0 10px 20px rgba(92, 60, 33, 0.14);
        }

        .cart-item-info {
            flex: 1;
            display: grid;
            gap: 8px;
        }

        .cart-item-name {
            font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
            font-weight: 700;
            color: #3c2415;
            font-size: 1.02rem;
        }

        .gr-accent {
            color: #c53b2c;
        }

        .cart-item-detail {
            color: #666;
            font-size: 0.95rem;
        }

        .cart-item-meta {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 8px;
        }

        .cart-item-meta-block {
            min-width: 0;
            padding: 8px 10px;
            border-radius: 11px;
            border: 1px solid rgba(122, 78, 43, 0.08);
            background: linear-gradient(180deg, rgba(252, 247, 240, 0.94) 0%, rgba(246, 236, 226, 0.92) 100%);
        }

        .cart-item-meta-label {
            display: block;
            margin-bottom: 3px;
            color: #9b6b44;
            font-size: 0.68rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .cart-item-meta-value {
            display: block;
            font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
            color: #4b2f1d;
            font-size: 0.84rem;
            line-height: 1.35;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .cart-item-controls {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 8px;
        }

        .cart-qty-btn {
            width: 36px;
            height: 36px;
            border: 1px solid #d1d1d1;
            background: #fff;
            color: #222;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.15rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s ease, transform 0.2s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }

        .cart-qty-btn:hover {
            background: #f5f5f5;
            transform: translateY(-1px);
        }

        .cart-qty-input {
            width: 74px;
            min-height: 42px;
            padding: 10px 14px;
            border: 1px solid #ddd;
            border-radius: 999px;
            text-align: center;
            font-size: 1.06rem;
            font-weight: 600;
            background: #faf9f6;
            color: #333;
            box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
            appearance: textfield;
            -moz-appearance: textfield;
        }

        .cart-qty-input::-webkit-outer-spin-button,
        .cart-qty-input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        .cart-apply-btn {
            width: 38px;
            height: 38px;
            border: 1px solid rgba(122, 78, 43, 0.16);
            border-radius: 50%;
            background: linear-gradient(180deg, rgba(255, 251, 245, 0.98) 0%, rgba(245, 232, 218, 0.96) 100%);
            color: #7a4e2b;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 6px 14px rgba(92, 60, 33, 0.12);
            transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
        }

        .cart-apply-btn:hover {
            background: linear-gradient(180deg, rgba(251, 238, 222, 1) 0%, rgba(239, 215, 186, 0.98) 100%);
            color: #5c3c21;
            transform: translateY(-1px);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 10px 18px rgba(92, 60, 33, 0.16);
        }

        .cart-apply-btn:active {
            transform: translateY(0);
            box-shadow: inset 0 2px 4px rgba(92, 60, 33, 0.12), 0 4px 10px rgba(92, 60, 33, 0.1);
        }

        .cart-fly-token {
            position: fixed;
            left: 0;
            top: 0;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 8px 12px 8px 8px;
            border-radius: 999px;
            border: 1px solid rgba(163, 100, 39, 0.2);
            background: linear-gradient(135deg, rgba(255, 250, 243, 0.98) 0%, rgba(245, 225, 198, 0.98) 100%);
            box-shadow: 0 18px 36px rgba(92, 60, 33, 0.22);
            backdrop-filter: blur(10px);
            pointer-events: none;
            z-index: 1105;
            overflow: hidden;
            will-change: transform, opacity;
        }

        .cart-fly-glow {
            position: absolute;
            inset: -12px auto auto -10px;
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(255, 224, 177, 0.72) 0%, rgba(255, 224, 177, 0) 72%);
            pointer-events: none;
        }

        .cart-fly-thumb,
        .cart-fly-icon {
            position: relative;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            flex-shrink: 0;
        }

        .cart-fly-thumb {
            object-fit: cover;
            border: 2px solid rgba(255, 252, 248, 0.86);
            box-shadow: 0 6px 14px rgba(92, 60, 33, 0.16);
        }

        .cart-fly-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(164, 94, 29, 0.12);
            color: #8b531d;
            font-size: 0.98rem;
        }

        .cart-fly-copy {
            position: relative;
            display: grid;
            gap: 2px;
            min-width: 0;
        }

        .cart-fly-label {
            color: #9b6b44;
            font-size: 0.64rem;
            line-height: 1;
            letter-spacing: 0.16em;
            text-transform: uppercase;
        }

        .cart-fly-qty {
            color: #4b2f1d;
            font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
            font-size: 0.94rem;
            font-weight: 700;
            line-height: 1.1;
        }

        .cart-item-status {
            font-size: 0.82rem;
            font-weight: 600;
            color: #8a6749;
        }

        .cart-item-status.is-pending {
            color: #b35f1f;
        }

        .cart-item-remove {
            margin-left: auto;
            padding: 6px 10px;
            border: none;
            background: #d9534f;
            color: #fff;
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.85rem;
        }

        .cart-item-remove:hover {
            background: #c9302c;
        }

        .cart-footer {
            padding: 18px 22px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 16px;
            background: #faf3ed;
            border-top: 1px solid #ede0d6;
        }

        .cart-warning {
            display: none;
            width: 100%;
            padding: 10px 12px;
            border-radius: 10px;
            border: 1px solid #f1c4a7;
            background: #fff1e6;
            color: #a54a16;
            font-size: 0.9rem;
            line-height: 1.45;
        }

        .cart-warning.is-success {
            border-color: #b8d8b7;
            background: #edf8ed;
            color: #2f6b2f;
        }

        .cart-warning.visible {
            display: block;
        }

        .cart-total {
            font-size: 1.12rem;
            font-weight: 700;
            color: #3c2415;
        }

        .cart-clear {
            padding: 8px 16px;
            border: 1px solid #d9534f;
            background: #fff;
            color: #d9534f;
            border-radius: 6px;
            cursor: pointer;
            font-size: 0.9rem;
            font-weight: 600;
        }

        .cart-clear:hover {
            background: #d9534f;
            color: #fff;
        }

        .empty {
            color: #8b5a2b;
            text-align: center;
        }

        .quantity-modal {
            position: fixed;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(0, 0, 0, 0.35);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.2s ease;
            z-index: 1001;
        }

        .quantity-modal.visible {
            opacity: 1;
            pointer-events: auto;
        }

        .quantity-panel {
            width: min(400px, calc(100% - 40px));
            background: #fff;
            border-radius: 18px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transform: translateY(24px) scale(0.96);
            opacity: 0;
            transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease;
        }

        .quantity-modal.visible .quantity-panel {
            transform: translateY(0) scale(1);
            opacity: 1;
        }

        .quantity-header {
            padding: 18px 22px;
            background: #f7ede2;
            border-bottom: 1px solid #ede0d6;
        }

        .quantity-header h3 {
            margin: 0;
            font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
            font-size: 1.1rem;
            color: #3c2415;
            letter-spacing: 0.03em;
        }

        .quantity-body {
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .quantity-item {
            display: flex;
            gap: 12px;
            align-items: center;
        }

        .quantity-item img {
            width: 60px;
            height: 60px;
            object-fit: cover;
            border-radius: 10px;
        }

        .quantity-info {
            flex: 1;
        }

        .quantity-name {
            font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
            font-weight: 600;
            color: #3c2415;
            margin-bottom: 4px;
        }

        .quantity-english-name {
            color: #8a6749;
            font-size: 0.9rem;
            line-height: 1.4;
            margin-bottom: 4px;
        }

        .quantity-price {
            color: #d9534f;
            font-size: 0.95rem;
        }

        .quantity-selector {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
        }

        .quantity-btn {
            width: 42px;
            height: 42px;
            border: 1px solid #ddd;
            border-radius: 50%;
            background: #fff;
            color: #222;
            font-size: 1.3rem;
            font-weight: 700;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s ease, transform 0.2s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }

        @keyframes cartTargetPulse {
            0% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(196, 126, 44, 0);
            }

            38% {
                transform: scale(1.05);
                box-shadow: 0 0 0 12px rgba(196, 126, 44, 0.14);
            }

            100% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(196, 126, 44, 0);
            }
        }

        .quantity-btn:hover {
            background: #f5f5f5;
            transform: translateY(-1px);
        }

        .quantity-input {
            width: 68px;
            padding: 12px 0;
            border: 1px solid #ddd;
            border-radius: 999px;
            text-align: center;
            font-size: 1rem;
            background: #faf9f6;
            color: #333;
            box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
        }

        .quantity-warning {
            color: #d9534f;
            font-size: 0.9rem;
            font-weight: 600;
            text-align: center;
            padding: 8px;
            background: #ffeaea;
            border: 1px solid #f5c6cb;
            border-radius: 6px;
            margin-top: 8px;
        }

        .quantity-footer {
            padding: 18px 22px;
            display: flex;
            justify-content: flex-end;
            gap: 12px;
            background: #faf3ed;
            border-top: 1px solid #ede0d6;
        }

        .quantity-cancel {
            padding: 10px 20px;
            border: 1px solid #ddd;
            background: #fff;
            color: #666;
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.9rem;
        }

        .quantity-confirm {
            padding: 10px 20px;
            border: none;
            background: linear-gradient(135deg, #7a4e2b 0%, #5c3c21 100%);
            color: white;
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.9rem;
            box-shadow: 0 10px 22px rgba(92, 60, 33, 0.2);
            transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
        }

        .quantity-confirm:hover {
            filter: brightness(1.05);
            transform: translateY(-1px);
            box-shadow: 0 14px 28px rgba(92, 60, 33, 0.24);
        }

        .note {
            color: #8b5a2b;
            font-size: 0.95rem;
            margin-top: 8px;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
            gap: 18px;
            align-items: stretch;
            position: relative;
            z-index: 1;
        }

        .cigar-card.is-filtered-out {
            display: none;
        }

        .filter-empty {
            max-width: 1200px;
            margin: 22px auto 0;
            padding: 18px 20px;
            border-radius: 18px;
            border: 1px dashed rgba(122, 78, 43, 0.24);
            background: rgba(255, 248, 239, 0.82);
            color: #7b5b40;
            text-align: center;
            display: none;
        }

        .filter-empty.visible {
            display: block;
        }

        .cigar-card {
            position: relative;
            display: flex;
            flex-direction: column;
            background: linear-gradient(180deg, rgba(244, 236, 226, 1) 0%, rgba(239, 229, 217, 1) 100%);
            border-radius: 16px;
            overflow: hidden;
            border: 1px solid rgba(122, 78, 43, 0.08);
            box-shadow: 0 8px 20px rgba(92, 60, 33, 0.1);
            transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease, background 0.32s ease;
            -webkit-tap-highlight-color: transparent;
            min-height: 0;
            height: 100%;
        }

        .cigar-card.is-pending-reveal {
            opacity: 0;
            transform: translateY(28px) scale(0.985);
        }

        .cigar-card.is-revealed {
            animation: cardFadeIn 0.62s cubic-bezier(0.22, 1, 0.36, 1) both;
        }

        .cigar-card::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(145deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 34%, rgba(122, 78, 43, 0.08) 100%);
            opacity: 0;
            transition: opacity 0.32s ease;
            pointer-events: none;
            z-index: 1;
        }

        .cigar-card::after {
            content: '';
            position: absolute;
            top: -35%;
            left: -30%;
            width: 55%;
            height: 170%;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 248, 239, 0.26) 50%, rgba(255, 255, 255, 0) 100%);
            transform: rotate(18deg) translateX(-120%);
            transition: transform 0.65s ease;
            pointer-events: none;
            z-index: 2;
        }

        .cigar-card:hover {
            transform: translateY(-7px);
            background: linear-gradient(180deg, rgba(248, 239, 228, 1) 0%, rgba(242, 231, 217, 1) 100%);
            border-color: rgba(122, 78, 43, 0.18);
            box-shadow: 0 20px 36px rgba(92, 60, 33, 0.16);
        }

        .cigar-card:hover::before {
            opacity: 1;
        }

        .cigar-card:hover::after {
            transform: rotate(18deg) translateX(260%);
        }

        .cigar-img {
            position: relative;
            flex-shrink: 0;
            width: 100%;
            aspect-ratio: 16 / 10;
            padding: 14px 14px 10px;
            background: linear-gradient(180deg, rgba(244, 236, 226, 1) 0%, rgba(239, 229, 217, 1) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #8b5a2b;
            font-size: 3rem;
            overflow: hidden;
            cursor: zoom-in;
        }

        .cigar-img::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(60, 36, 21, 0) 12%, rgba(60, 36, 21, 0.03) 64%, rgba(60, 36, 21, 0.08) 100%);
            pointer-events: none;
            transition: opacity 0.32s ease;
        }

        .cigar-img img {
            width: 100%;
            height: 100%;
            max-width: 82%;
            max-height: 80%;
            object-fit: contain;
            object-position: center;
            display: block;
            transform: scale(1);
            filter: drop-shadow(0 12px 18px rgba(92, 60, 33, 0.08));
            transition: transform 0.55s ease;
        }

        .cigar-gallery {
            isolation: isolate;
        }

        .gallery-images {
            position: relative;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        .gallery-image {
            position: absolute;
            inset: 14px 14px 10px;
            width: calc(100% - 28px);
            height: calc(100% - 24px);
            object-fit: contain;
            object-position: center;
            opacity: 0;
            pointer-events: none;
            filter: drop-shadow(0 12px 18px rgba(92, 60, 33, 0.08));
            transition: opacity 0.32s ease, transform 0.55s ease;
        }

        .gallery-image.is-active {
            opacity: 1;
            pointer-events: auto;
        }

        .gallery-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            z-index: 3;
            width: 34px;
            height: 34px;
            border: none;
            border-radius: 999px;
            background: rgba(50, 29, 17, 0.66);
            color: #fff9f2;
            font-size: 1.12rem;
            line-height: 1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            backdrop-filter: blur(8px);
            box-shadow: 0 10px 24px rgba(28, 15, 7, 0.24);
            transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
            touch-action: manipulation;
        }

        .gallery-nav:hover {
            background: rgba(50, 29, 17, 0.82);
            transform: translateY(-50%) scale(1.04);
        }

        .gallery-nav.prev {
            left: 10px;
        }

        .gallery-nav.next {
            right: 10px;
        }

        .gallery-dots {
            position: absolute;
            left: 50%;
            bottom: 10px;
            transform: translateX(-50%);
            z-index: 3;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 6px 9px;
            border-radius: 999px;
            background: rgba(50, 29, 17, 0.42);
            backdrop-filter: blur(10px);
        }

        .gallery-dot {
            width: 8px;
            height: 8px;
            border: none;
            border-radius: 50%;
            background: rgba(255, 250, 245, 0.52);
            cursor: pointer;
            transition: transform 0.2s ease, background 0.2s ease;
            touch-action: manipulation;
        }

        .gallery-dot.is-active {
            background: #fff8ef;
            transform: scale(1.18);
        }

        .gallery-modal {
            position: fixed;
            inset: 0;
            z-index: 1002;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 28px;
            background: rgba(16, 10, 6, 0.84);
            backdrop-filter: blur(14px);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.24s ease;
        }

        .gallery-modal.visible {
            opacity: 1;
            pointer-events: auto;
        }

        .gallery-modal-panel {
            position: relative;
            width: min(1120px, 100%);
            max-height: calc(100vh - 56px);
            display: grid;
            grid-template-rows: minmax(0, 1fr) auto;
            gap: 18px;
            padding: 22px;
            border-radius: 24px;
            border: 1px solid rgba(255, 244, 230, 0.12);
            background: linear-gradient(180deg, rgba(49, 31, 19, 0.94) 0%, rgba(28, 18, 11, 0.96) 100%);
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
            transform: translateY(22px) scale(0.98);
            transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
        }

        .gallery-modal.visible .gallery-modal-panel {
            transform: translateY(0) scale(1);
        }

        .gallery-modal-close {
            position: absolute;
            top: 16px;
            right: 16px;
            z-index: 3;
            width: 42px;
            height: 42px;
            border: none;
            border-radius: 50%;
            background: rgba(255, 248, 239, 0.14);
            color: #fff8ef;
            font-size: 1.5rem;
            cursor: pointer;
        }

        .gallery-modal-stage {
            position: relative;
            min-height: 0;
            border-radius: 20px;
            overflow: hidden;
            background: linear-gradient(180deg, rgba(255, 247, 238, 0.06) 0%, rgba(255, 247, 238, 0.02) 100%);
            border: 1px solid rgba(255, 244, 230, 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .gallery-modal-stage img {
            width: 100%;
            max-width: 100%;
            max-height: calc(100vh - 250px);
            object-fit: contain;
            display: block;
        }

        .gallery-modal-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            border: none;
            border-radius: 50%;
            background: rgba(255, 248, 239, 0.16);
            color: #fff8ef;
            font-size: 1.6rem;
            cursor: pointer;
            backdrop-filter: blur(8px);
        }

        .gallery-modal-nav.prev {
            left: 18px;
        }

        .gallery-modal-nav.next {
            right: 18px;
        }

        .gallery-modal-footer {
            display: grid;
            gap: 14px;
        }

        .gallery-modal-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            color: #fff8ef;
        }

        .gallery-modal-title {
            font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
            font-size: 1.2rem;
        }

        .gallery-modal-counter {
            color: rgba(255, 248, 239, 0.78);
            font-size: 0.94rem;
            letter-spacing: 0.06em;
        }

        .gallery-modal-thumbs {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
            gap: 10px;
        }

        .gallery-modal-thumbs[hidden] {
            display: none;
        }

        .gallery-modal-thumb {
            border: 2px solid transparent;
            border-radius: 14px;
            padding: 0;
            overflow: hidden;
            background: rgba(255, 248, 239, 0.08);
            cursor: pointer;
            aspect-ratio: 1 / 1;
            max-width: 108px;
        }

        .gallery-modal-thumb img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
        }

        .gallery-modal-thumb.is-active {
            border-color: rgba(255, 231, 199, 0.84);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        @media (max-width: 720px) {
            .filter-panel {
                padding: 18px;
            }

            .brand-logo-scroll-indicator {
                display: grid;
                padding: 0 2px;
            }

            .brand-logo-filter-head {
                flex-direction: column;
                align-items: flex-start;
            }

            .brand-logo-list {
                display: flex;
                overflow-x: auto;
                padding-bottom: 4px;
                margin-bottom: -4px;
                scroll-snap-type: x proximity;
            }

            .brand-logo-card {
                min-width: 140px;
                flex: 0 0 140px;
                scroll-snap-align: start;
            }

            .filter-header {
                flex-direction: column;
            }

            .filter-result-pill {
                min-width: 0;
            }

            .filter-controls {
                grid-template-columns: 1fr;
            }

            .filter-reset {
                width: 100%;
            }

            .gallery-nav {
                width: 34px;
                height: 34px;
            }

            .gallery-modal {
                padding: 12px;
            }

            .gallery-modal-panel {
                padding: 14px;
                max-height: calc(100vh - 24px);
                gap: 12px;
            }

            .gallery-modal-stage img {
                max-height: calc(100vh - 220px);
            }

            .gallery-modal-thumbs {
                grid-template-columns: repeat(auto-fit, minmax(60px, 84px));
                justify-content: flex-start;
            }

            .gallery-modal-meta {
                align-items: flex-start;
                flex-direction: column;
            }

            .gallery-modal-nav {
                width: 42px;
                height: 42px;
            }

            .gallery-modal-nav.prev {
                left: 10px;
            }

            .gallery-modal-nav.next {
                right: 10px;
            }
        }

        .cigar-info {
            position: relative;
            z-index: 3;
            flex: 1;
            padding: 16px;
            background: linear-gradient(180deg, rgba(244, 236, 226, 1) 0%, rgba(239, 229, 217, 1) 100%);
            border-top: 1px solid rgba(122, 78, 43, 0.06);
            display: flex;
            flex-direction: column;
            gap: 6px;
            min-height: 0;
        }

        .cigar-name {
            font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
            font-size: 1.15rem;
            font-weight: 600;
            color: #3c2415;
            margin-bottom: 4px;
            letter-spacing: 0.01em;
            line-height: 1.3;
            min-height: calc(1.3em * 2);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .cigar-spec {
            color: #666;
            font-size: 0.84rem;
            margin-bottom: 6px;
            line-height: 1.45;
            letter-spacing: 0.01em;
        }

        .cigar-meta {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 6px;
            margin: 0 0 10px;
        }

        .cigar-meta-item {
            min-width: 0;
            padding: 8px 9px 7px;
            background: linear-gradient(180deg, rgba(252, 247, 240, 0.96) 0%, rgba(244, 232, 220, 0.9) 100%);
            border: 1px solid rgba(122, 78, 43, 0.08);
            border-radius: 12px;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
            transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
        }

        .cigar-meta-label {
            display: block;
            margin-bottom: 4px;
            font-size: 0.72rem;
            line-height: 1.1;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #9b6b44;
        }

        .cigar-meta-value {
            display: block;
            font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
            font-size: 0.82rem;
            line-height: 1.25;
            color: #4b2f1d;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        @media (hover: hover) and (pointer: fine) {
            .cigar-meta-item.is-spec {
                cursor: help;
            }

            .cigar-meta-item.is-spec:hover {
                border-color: rgba(122, 78, 43, 0.2);
                background: linear-gradient(180deg, rgba(255, 250, 244, 0.98) 0%, rgba(246, 236, 226, 0.96) 100%);
                box-shadow: 0 10px 22px rgba(92, 60, 33, 0.12);
            }

            .cigar-meta-item.is-spec:hover .cigar-meta-value {
                white-space: normal;
                overflow: visible;
                text-overflow: clip;
            }
        }

        .cigar-price {
            color: #d9534f;
            font-size: 1rem;
            font-weight: 500;
            letter-spacing: 0.02em;
            margin-bottom: 8px;
        }

        .cigar-desc {
            color: #666;
            font-size: 0.88rem;
            line-height: 1.42;
            margin-bottom: 10px;
            flex: 1;
            letter-spacing: 0.01em;
        }

        .add-to-cart {
            display: flex !important;
            align-items: center;
            justify-content: center;
            width: 100%;
            min-height: 46px;
            margin-top: auto;
            padding: 11px 14px;
            border: 2px solid rgba(255, 244, 230, 0.95);
            outline: 2px solid rgba(122, 78, 43, 0.18);
            outline-offset: 0;
            background: linear-gradient(135deg, #9f4726 0%, #7a2f18 100%) !important;
            color: #fffdf8 !important;
            box-shadow: 0 16px 30px rgba(122, 47, 24, 0.28);
            visibility: visible !important;
            opacity: 1 !important;
            z-index: 6;
        }

        .add-to-cart .btn-label {
            color: #fffdf8 !important;
            font-weight: 700;
            font-size: 0.9rem;
            letter-spacing: 0.06em;
        }

        .add-to-cart .cart-icon {
            color: #fffdf8 !important;
        }

        .add-to-cart:hover {
            background: linear-gradient(135deg, #b3532d 0%, #8a341a 100%) !important;
            box-shadow: 0 18px 34px rgba(122, 47, 24, 0.34);
        }

        .add-to-cart[disabled] {
            cursor: not-allowed;
            background: linear-gradient(135deg, #b7a08e 0%, #8f7866 100%) !important;
            box-shadow: none;
            outline-color: rgba(122, 78, 43, 0.12);
        }

        .add-to-cart[disabled]:hover {
            background: linear-gradient(135deg, #b7a08e 0%, #8f7866 100%) !important;
            box-shadow: none;
        }

        .cigar-card:hover .cigar-img img {
            transform: scale(1.02);
        }

        .cigar-card:hover .cigar-img::after {
            opacity: 0.88;
        }

        @keyframes cartDockIn {
            from {
                opacity: 0;
                transform: translateY(120px) scale(0.96);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        @keyframes cartDockBreathe {
            0%,
            100% {
                box-shadow: 0 18px 34px rgba(92, 60, 33, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.72);
            }
            50% {
                box-shadow: 0 22px 40px rgba(92, 60, 33, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.76);
            }
        }

        @keyframes cartCountPop {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.12);
            }
            100% {
                transform: scale(1);
            }
        }

        @keyframes cardFadeIn {
            0% {
                opacity: 0;
                transform: translateY(28px) scale(0.985);
            }
            100% {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        @keyframes mascotGlow {
            0%,
            100% {
                opacity: 0.58;
                transform: scale(0.96);
            }
            50% {
                opacity: 1;
                transform: scale(1.08);
            }
        }

        @keyframes mascotFloat {
            0%,
            100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-6px);
            }
        }

        @keyframes mascotCopyBreathe {
            0%,
            100% {
                transform: translateY(0);
                box-shadow: 0 12px 26px rgba(92, 60, 33, 0.1);
            }
            50% {
                transform: translateY(-2px);
                box-shadow: 0 16px 32px rgba(92, 60, 33, 0.14);
            }
        }

        @keyframes mascotSmokeOne {
            0% {
                opacity: 0;
                transform: translate(0, 0) scale(0.5);
            }
            20% {
                opacity: 0.5;
            }
            100% {
                opacity: 0;
                transform: translate(-16px, -34px) scale(1.5);
            }
        }

        @keyframes mascotSmokeTwo {
            0% {
                opacity: 0;
                transform: translate(0, 0) scale(0.45);
            }
            24% {
                opacity: 0.46;
            }
            100% {
                opacity: 0;
                transform: translate(8px, -40px) scale(1.6);
            }
        }

        @keyframes mascotSmokeThree {
            0% {
                opacity: 0;
                transform: translate(0, 0) scale(0.4);
            }
            30% {
                opacity: 0.4;
            }
            100% {
                opacity: 0;
                transform: translate(16px, -32px) scale(1.45);
            }
        }

        @keyframes mascotSpark {
            0% {
                opacity: 0;
                transform: translate(0, 0) scale(0.6);
            }
            18% {
                opacity: 0.95;
            }
            100% {
                opacity: 0;
                transform: translate(12px, -18px) scale(1.2);
            }
        }

        .btn-detail {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            width: 100%;
            padding: 14px 24px;
            min-height: 50px;
            margin-top: 6px;
            background: linear-gradient(135deg, #7a4e2b 0%, #5c3c21 100%);
            color: #fff;
            text-decoration: none;
            border-radius: 14px;
            font-size: 0.95rem;
            font-weight: 600;
            border: none;
            box-shadow: 0 14px 34px rgba(92, 60, 33, 0.22);
            transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
            position: relative;
            overflow: hidden;
            visibility: visible;
            opacity: 1;
            touch-action: manipulation;
        }

        .btn-detail::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
            transition: left 0.45s ease;
        }

        .btn-detail:hover::before {
            left: 100%;
        }

        .btn-detail:hover {
            background: linear-gradient(135deg, #8a5a34 0%, #6a4427 100%);
            transform: translateY(-2px);
            box-shadow: 0 18px 40px rgba(92, 60, 33, 0.28);
        }

        .btn-detail:active {
            transform: translateY(0);
            box-shadow: 0 10px 24px rgba(92, 60, 33, 0.2);
        }

        @media (hover: none) and (pointer: coarse) {
            .cigar-card {
                border-radius: 18px;
                box-shadow: 0 10px 24px rgba(92, 60, 33, 0.12);
            }

            .cigar-info {
                padding: 22px 20px 20px;
                gap: 10px;
            }

            .gallery-nav {
                width: 46px;
                height: 46px;
            }

            .gallery-dots {
                gap: 10px;
                padding: 10px 14px;
            }

            .gallery-dot {
                width: 12px;
                height: 12px;
                box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
            }

            .btn-detail,
            .add-to-cart {
                min-height: 58px;
                padding: 16px 22px;
                border-radius: 16px;
            }

            .btn-label {
                font-size: 0.98rem;
            }

            .btn-detail:active,
            .add-to-cart:active,
            .gallery-nav:active,
            .brand-logo-card:active,
            .cart-toggle-mobile:active,
            .cart-toggle:active,
            .cart-qty-btn:active,
            .quantity-btn:active,
            .cart-clear:active,
            .cart-item-remove:active,
            .gallery-modal-nav:active,
            .gallery-modal-thumb:active {
                transform: scale(0.97);
                filter: brightness(1.08);
            }

            .add-to-cart:active {
                box-shadow: 0 8px 18px rgba(122, 47, 24, 0.26);
            }

            .btn-detail:active {
                box-shadow: 0 8px 20px rgba(92, 60, 33, 0.2);
            }

            .brand-logo-card:active {
                background: linear-gradient(180deg, rgba(255, 242, 223, 1) 0%, rgba(236, 208, 170, 0.96) 100%);
                border-color: rgba(179, 95, 31, 0.42);
            }
        }

        .cart-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 18px;
            height: 18px;
            min-width: 18px;
            color: rgba(255, 255, 255, 0.95);
            position: relative;
            z-index: 1;
            font-size: 0;
            line-height: 0;
        }

        .cart-icon::before {
            content: '';
            display: block;
            width: 18px;
            height: 18px;
            background-color: currentColor;
            -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54z'/%3E%3C/svg%3E") center / contain no-repeat;
        }

        .btn-label {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            position: relative;
            z-index: 1;
            font-size: 0.9rem;
            letter-spacing: 0.04em;
            line-height: 1;
            color: rgba(255, 255, 255, 0.96);
        }

        @media (max-width: 900px) {
            header {
                min-height: auto;
                padding-left: 0;
                padding-right: 0;
                margin: 16px auto 18px;
            }

            .site-brand {
                top: 0;
                left: 0;
                width: 70px;
                height: 70px;
                padding: 3px;
            }

            .site-mascot {
                position: static;
                justify-content: center;
                margin: 0 auto 18px;
            }

            .cart-toggle {
                position: static;
                transform: none;
                margin: 16px auto 0;
            }

            .cart-toggle:hover {
                transform: translateY(-2px);
            }

            .container {
                gap: 20px;
            }

            .collection-hero {
                grid-template-columns: 1fr;
            }

            .cart-footer {
                flex-direction: column;
                align-items: stretch;
            }

            .cart-clear {
                width: 100%;
            }
        }

        /* 响应式：手机端适配 */
        @media (max-width: 768px) {
            body {
                padding: max(8px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
            }

            header {
                margin: 4px auto 12px;
                padding-left: 74px;
                padding-right: 74px;
                min-height: 70px;
            }

            .site-brand {
                width: 62px;
                height: 62px;
                top: 0;
                left: 0;
            }

            .cart-toggle {
                position: absolute;
                top: 2px;
                right: 0;
                margin: 0;
                padding: 8px 10px;
                gap: 6px;
                min-width: 0;
                z-index: 3;
                box-shadow: 0 8px 18px rgba(92, 60, 33, 0.14);
            }

            .cart-toggle:hover {
                transform: translateY(-1px);
            }

            .site-mascot {
                gap: 10px;
                align-items: center;
            }

            .site-mascot-badge {
                width: 88px;
                height: 88px;
            }

            .site-mascot-copy {
                padding: 8px 12px;
            }

            .site-mascot-name {
                font-size: 0.98rem;
            }

            .container {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 10px;
            }

            .collection-hero {
                gap: 14px;
                margin-bottom: 22px;
            }

            .collection-hero-main,
            .collection-summary {
                padding: 18px;
            }

            .collection-hero-title {
                font-size: 1.55rem;
            }

            .collection-hero-desc {
                font-size: 0.95rem;
                line-height: 1.7;
            }

            .cart-toggle-mobile {
                display: flex;
            }

            .cigar-card {
                border-radius: 12px;
            }

            .cigar-card:hover {
                transform: translateY(-4px);
            }

            .cigar-info {
                padding: 12px 11px 11px;
                gap: 5px;
            }

            .cigar-meta {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 5px;
            }

            .cigar-meta-item {
                padding: 7px 7px 6px;
                border-radius: 9px;
            }

            header h1 {
                font-size: 2.1rem;
            }

            header p {
                font-size: 0.78rem;
                max-width: 32ch;
                margin: 0 auto;
                letter-spacing: 0.06em;
                gap: 4px;
            }

            .cart-toggle .cart-count {
                min-width: 22px;
                padding: 2px 7px;
                font-size: 0.8rem;
            }

            .header-tagline-cn {
                letter-spacing: 0.1em;
            }

            .header-tagline-en {
                font-size: 0.64em;
                letter-spacing: 0.12em;
            }

            .cigar-name {
                font-size: 0.98rem;
                line-height: 1.28;
                min-height: calc(1.35em * 2);
            }

            .cigar-meta-value {
                font-size: 0.74rem;
            }

            .cigar-spec {
                font-size: 0.74rem;
                line-height: 1.35;
                margin-bottom: 4px;
            }

            .cigar-price {
                font-size: 0.88rem;
                margin-bottom: 6px;
            }

            .cigar-desc {
                font-size: 0.76rem;
                line-height: 1.38;
                margin-bottom: 8px;
            }

            .btn-detail {
                width: 100%;
                border-radius: 11px;
                min-height: 40px;
                padding: 10px 10px;
            }

            .add-to-cart .btn-label {
                font-size: 0.76rem;
                letter-spacing: 0.04em;
            }

            .cart-icon {
                width: 15px;
                height: 15px;
                min-width: 15px;
            }

            .cart-icon::before {
                width: 15px;
                height: 15px;
            }

            .gallery-nav {
                width: 44px;
                height: 44px;
            }

            .gallery-dot {
                width: 10px;
                height: 10px;
            }

            .cart-panel,
            .quantity-panel {
                width: min(100%, calc(100% - 20px));
                max-height: min(88vh, 720px);
                border-radius: 16px;
            }

            .cart-header,
            .cart-items,
            .cart-footer,
            .quantity-header,
            .quantity-body,
            .quantity-footer {
                padding-left: 16px;
                padding-right: 16px;
            }

            .cart-item {
                gap: 10px;
            }

            .cart-item-meta {
                grid-template-columns: 1fr;
                gap: 6px;
            }

            .cart-item img {
                width: 72px;
                height: 72px;
            }

            .cart-item-controls {
                flex-wrap: wrap;
                gap: 8px;
            }

            .cart-item-remove {
                margin-left: 0;
            }

            .quantity-item {
                align-items: flex-start;
            }

            .quantity-item img {
                width: 56px;
                height: 56px;
            }

            .quantity-selector {
                gap: 10px;
                padding: 4px 0;
            }

            .quantity-input {
                width: 60px;
                padding: 10px 0;
            }

            .quantity-footer {
                justify-content: stretch;
            }

            .quantity-cancel,
            .quantity-confirm {
                flex: 1;
            }

            body {
                padding-bottom: calc(110px + env(safe-area-inset-bottom));
            }
        }

        @media (max-width: 980px) and (orientation: landscape) {
            body {
                padding: 12px 18px 28px;
            }

            header {
                max-width: 1320px;
                margin: 18px auto 20px;
            }

            header p {
                max-width: 72ch;
                margin: 0 auto;
            }

            .filter-panel,
            .container,
            .site-footer {
                max-width: 1320px;
            }

            .filter-panel {
                padding: 18px 20px;
            }

            .container {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 20px;
            }

            .cigar-card {
                border-radius: 18px;
            }

            .cigar-info {
                padding: 18px 18px 20px;
            }

            .gallery-modal {
                padding: 18px;
            }

            .gallery-modal-panel {
                width: min(1240px, 100%);
            }
        }

        @media (max-width: 480px) {
            header {
                margin-top: 2px;
                padding-left: 66px;
                padding-right: 62px;
            }

            .container {
                gap: 8px;
            }

            .site-brand {
                width: 56px;
                height: 56px;
                padding: 3px;
                left: 0;
            }

            .cart-toggle {
                top: 0;
                right: 0;
                padding: 7px 9px;
                gap: 5px;
            }

            .site-mascot {
                flex-direction: column;
                gap: 8px;
            }

            .site-mascot-copy {
                text-align: center;
            }

            header h1 {
                font-size: 1.85rem;
            }

            header p {
                font-size: 0.92rem;
            }

            .cart-toggle {
                padding: 7px 9px;
            }

            .cart-toggle-mobile {
                left: 10px;
                right: 10px;
                bottom: calc(10px + env(safe-area-inset-bottom));
                gap: 12px;
                padding: 12px 13px 12px 12px;
                border-radius: 20px;
            }

            .cart-toggle-mobile-icon-shell {
                width: 46px;
                height: 46px;
                border-radius: 16px;
            }

            .cart-toggle-mobile-title {
                font-size: 0.98rem;
            }

            .cart-toggle-mobile-subtitle {
                font-size: 0.76rem;
            }

            .cart-toggle-mobile-kicker {
                font-size: 0.58rem;
                letter-spacing: 0.18em;
            }

            .cart-toggle-mobile-badge {
                min-width: 46px;
                padding: 4px 9px;
            }

            .cart-toggle-mobile .cart-count,
            .cart-toggle-mobile-arrow {
                height: 32px;
            }

            .cigar-name {
                font-size: 1.15rem;
            }

            .cigar-spec,
            .cigar-desc,
            .cigar-price {
                font-size: 0.92rem;
            }

            .cart-qty-btn,
            .quantity-btn {
                width: 40px;
                height: 40px;
            }

            .cigar-meta {
                grid-template-columns: 1fr;
            }

            .cart-item-meta {
                grid-template-columns: 1fr;
            }

            .cigar-meta-item {
                padding: 10px 12px;
            }

            .collection-badges {
                gap: 8px;
            }

            .collection-badge {
                width: 100%;
                justify-content: center;
            }

            .cigar-meta-value {
                white-space: normal;
            }

            .cart-item-meta-value {
                white-space: normal;
            }
        }
