/* FHYL 商城 — Temu 风格配色 */
:root {
    --temu-orange: #fb7701;
    --temu-orange-hover: #e86a00;
    --temu-orange-light: #fff3e8;
    --temu-red: #ff5722;
    --temu-bg: #f7f7f7;
    --temu-surface: #ffffff;
    --temu-text: #222222;
    --temu-text-muted: #666666;
    --temu-border: #e5e5e5;
    --temu-topbar: #ffffff;
    --temu-footer: #1a1a1a;
}

body.temu-store,
body.fhyl-store {
    background: var(--temu-bg);
    color: var(--temu-text);
}

.temu-promo-bar {
    background: linear-gradient(90deg, #ff5722 0%, var(--temu-orange) 45%, #ff8a2a 100%);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.temu-topbar {
    background: var(--temu-topbar);
    color: var(--temu-text-muted);
    border-bottom: 1px solid var(--temu-border);
}

.temu-topbar a:hover,
.temu-topbar .store-dropdown-btn:hover {
    color: var(--temu-orange);
}

.temu-header {
    background: var(--temu-surface);
    border-bottom: 1px solid var(--temu-border);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.temu-logo {
    color: var(--temu-orange);
    font-weight: 900;
    letter-spacing: -0.03em;
}

.temu-nav-active,
.temu-link:hover {
    color: var(--temu-orange) !important;
}

.temu-search-btn {
    background: var(--temu-orange);
    color: #fff;
    transition: background 0.15s;
}

.temu-search-btn:hover {
    background: var(--temu-orange-hover);
}

.temu-search-input:focus {
    border-color: var(--temu-orange);
    outline: none;
    box-shadow: 0 0 0 2px rgba(251, 119, 1, 0.2);
}

.temu-btn {
    background: var(--temu-orange);
    color: #fff;
    font-weight: 600;
    border-radius: 9999px;
    transition: background 0.15s, transform 0.1s;
}

.temu-btn:hover {
    background: var(--temu-orange-hover);
}

.temu-btn-outline {
    background: #fff;
    color: var(--temu-orange);
    border: 1px solid var(--temu-orange);
    font-weight: 600;
    border-radius: 9999px;
}

.temu-btn-outline:hover {
    background: var(--temu-orange-light);
}

.temu-price {
    color: var(--temu-orange);
}

.temu-card {
    background: var(--temu-surface);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.temu-footer {
    background: var(--temu-footer);
    color: #9ca3af;
}

.temu-footer a:hover {
    color: #fff;
}

/* 顶栏下拉：鼠标悬停展开 */
.store-dropdown {
    position: relative;
}

.store-dropdown-menu {
    display: none;
    pointer-events: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.store-dropdown:hover .store-dropdown-menu,
.store-dropdown.is-open .store-dropdown-menu,
.store-dropdown:focus-within .store-dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.store-dropdown-menu a {
    cursor: pointer;
    user-select: none;
}

.store-dropdown-menu a:hover,
.store-dropdown-menu a.temu-option-active {
    background: var(--temu-orange-light);
    color: var(--temu-orange);
}

/* 兼容旧 Tailwind 类名 */
.text-orange-500,
.text-orange-600 {
    color: var(--temu-orange) !important;
}

.bg-orange-500,
.bg-orange-600 {
    background-color: var(--temu-orange) !important;
}

.hover\:bg-orange-600:hover {
    background-color: var(--temu-orange-hover) !important;
}

.border-orange-500,
.focus\:border-orange-500:focus {
    border-color: var(--temu-orange) !important;
}

.ring-orange-500,
.focus\:ring-orange-500:focus {
    --tw-ring-color: var(--temu-orange) !important;
}

.bg-orange-100 {
    background-color: var(--temu-orange-light) !important;
}

.text-orange-700 {
    color: var(--temu-orange-hover) !important;
}

.home-swiper {
    --swiper-navigation-color: #fff;
    --swiper-pagination-color: #fff;
}

.home-swiper .swiper-slide img {
    min-height: 380px;
}

@media (min-width: 768px) {
    .home-swiper .swiper-slide img {
        min-height: 600px;
    }
}

.trust-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--temu-border);
}

.trust-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(251, 119, 1, 0.12);
}

.category-tile {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    aspect-ratio: 4/5;
}

.category-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.category-tile:hover img {
    transform: scale(1.06);
}

.product-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
}

.product-scroll > a {
    flex: 0 0 200px;
    scroll-snap-align: start;
}

@media (min-width: 768px) {
    .product-scroll > a {
        flex: 0 0 240px;
    }
}

.brand-strip {
    background: linear-gradient(135deg, var(--temu-orange) 0%, #ff5722 100%);
}

/* 注册/登录页 */
.auth-split {
    min-height: calc(100vh - 120px);
}

.auth-split-promo {
    background: linear-gradient(145deg, #ff5722 0%, var(--temu-orange) 50%, #ff9f43 100%);
    color: #fff;
}

.auth-split-form {
    background: var(--temu-bg);
}

@media (max-width: 767px) {
    .auth-split-promo {
        min-height: 140px;
        padding: 2rem 1.5rem;
    }
}

/* 登录页：无顶栏/页脚，固定一屏不滚动 */
html.auth-page-root,
html.auth-page-root body.auth-page-standalone {
    height: 100%;
    overflow: hidden;
}

body.auth-page-standalone {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--temu-bg);
}

.auth-page-shell {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    overflow: hidden;
    max-height: 100dvh;
}

body.auth-page-register .auth-page-shell {
    overflow-y: auto;
    justify-content: flex-start;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.auth-page-shell .auth-page-card {
    width: 100%;
    max-width: 28rem;
    max-height: calc(100dvh - 3rem);
    overflow-y: auto;
}

.auth-page-logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--temu-orange);
    text-decoration: none;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

/* ====== FHYL 首页现代风格 ====== */

/* Hero Banner */
.fhyl-hero {
    position: relative;
}

.fhyl-hero .home-swiper {
    --swiper-navigation-color: #fff;
    --swiper-pagination-color: #fff;
}

.fhyl-hero .swiper-slide img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

@media (max-width: 767px) {
    .fhyl-hero .swiper-slide img {
        aspect-ratio: 16 / 9;
    }
}

.fhyl-hero .swiper-button-next,
.fhyl-hero .swiper-button-prev {
    opacity: 0;
    transition: opacity 0.3s;
}

.fhyl-hero:hover .swiper-button-next,
.fhyl-hero:hover .swiper-button-prev {
    opacity: 1;
}

.fhyl-hero .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: #fff;
    opacity: 0.5;
}

.fhyl-hero .swiper-pagination-bullet-active {
    opacity: 1;
    width: 20px;
    border-radius: 3px;
}

.fhyl-hero-fallback {
    height: 280px;
    background: #f3f4f6;
}

.fhyl-hero--empty .fhyl-hero-fallback {
    height: 200px;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
}

@media (min-width: 768px) {
    .fhyl-hero .swiper-slide img {
        height: 600px;
    }
    .fhyl-hero-fallback {
        height: 480px;
    }
    .fhyl-hero--empty .fhyl-hero-fallback {
        height: 240px;
    }
}

/* Trust Bar */
.fhyl-trust-bar {
    border-bottom: 1px solid var(--temu-border);
    background: #fff;
}

/* Section Layout */
.fhyl-section {
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .fhyl-section {
        padding: 4.5rem 0;
    }
}

.fhyl-section-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.fhyl-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--temu-text);
}

.fhyl-section-sub {
    font-size: 0.875rem;
    color: #999;
    margin-top: 0.4rem;
}

.fhyl-section-link {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    color: #999;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.fhyl-section-link:hover {
    color: var(--temu-text);
}

@media (min-width: 768px) {
    .fhyl-section-title {
        font-size: 1.75rem;
    }
}

/* Scene Buttons (compact button-style, no images) */
.fhyl-scene-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    border: 1px solid var(--temu-border);
    border-radius: 0.75rem;
    background: #fff;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.fhyl-scene-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--temu-orange);
    opacity: 0;
    transition: opacity 0.2s;
    border-radius: 0 0 2px 2px;
}

.fhyl-scene-btn:hover {
    border-color: var(--temu-orange);
    box-shadow: 0 6px 20px rgba(251, 119, 1, 0.15);
    transform: translateY(-3px);
}

.fhyl-scene-btn:hover::before {
    opacity: 1;
}

.fhyl-scene-btn .fhyl-scene-btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff3e8 0%, #ffe4cc 100%);
    color: var(--temu-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: transform 0.2s, background 0.2s;
    order: 2;
    margin-left: auto;
}

.fhyl-scene-btn:hover .fhyl-scene-btn-icon {
    transform: scale(1.08);
    background: linear-gradient(135deg, var(--temu-orange) 0%, #ff8a2a 100%);
    color: #fff;
}

.fhyl-scene-btn .fhyl-scene-btn-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--temu-text);
    line-height: 1.3;
    flex: 1;
    min-width: 0;
}

.fhyl-scene-btn .fhyl-scene-btn-count {
    font-size: 0.6875rem;
    color: #aaa;
    order: 3;
}

/* Horizontal Scroll */
.fhyl-scroll-x {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.fhyl-scroll-x::-webkit-scrollbar {
    display: none;
}

.fhyl-scroll-x > * {
    flex: 0 0 45%;
    scroll-snap-align: start;
}

@media (min-width: 768px) {
    .fhyl-scroll-x > * {
        flex: 0 0 240px;
    }
}

/* Product Card */
.fhyl-product-card {
    display: block;
    background: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.fhyl-product-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.fhyl-product-card .fhyl-product-img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f9f9f9;
}

.fhyl-product-card .fhyl-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fhyl-product-card:hover .fhyl-product-img img {
    transform: scale(1.04);
}

.fhyl-product-card .fhyl-product-info {
    padding: 0.75rem 0.5rem;
}

.fhyl-product-card .fhyl-product-name {
    font-size: 0.8125rem;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.25rem;
}

.fhyl-product-card .fhyl-product-price {
    margin-top: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--temu-orange);
}

/* Ensure hover overlay stays below badge */
.fhyl-product-img > .absolute.inset-0 {
    z-index: 1;
}

.fhyl-product-card .fhyl-product-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 2;
    background: #333;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}

.fhyl-product-card.onsale .fhyl-product-badge {
    background: var(--temu-red);
}

/* Product Card in scroll (narrower) */
.fhyl-scroll-x .fhyl-product-card .fhyl-product-info {
    padding: 0.5rem 0.25rem;
}

/* Brand Story */
.fhyl-brand-story {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    background: #fafafa;
    border-radius: 0.75rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .fhyl-brand-story {
        flex-direction: row;
        gap: 0;
        min-height: 420px;
    }
}

.fhyl-brand-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f0f0f0;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .fhyl-brand-image {
        width: 50%;
        height: auto;
        align-self: stretch;
    }
}

.fhyl-brand-text {
    padding: 2rem 1.5rem;
    flex: 1;
}

@media (min-width: 768px) {
    .fhyl-brand-text {
        padding: 3rem 4rem;
    }
}


/* Review Cards */
.fhyl-review-card {
    background: #fff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    border: 1px solid #f0f0f0;
}

.fhyl-review-card .fhyl-review-stars {
    color: #f59e0b;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.fhyl-review-card .fhyl-review-text {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.fhyl-review-card .fhyl-review-author {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.fhyl-review-card .fhyl-review-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 0.75rem;
}

.fhyl-review-card .fhyl-review-meta {
    font-size: 0.75rem;
    color: #999;
}

/* Button */
.fhyl-btn {
    display: inline-block;
    background: #222;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.7rem 2rem;
    border-radius: 0.25rem;
    transition: background 0.2s;
}

.fhyl-btn:hover {
    background: #000;
}

/* Mega Menu */
.fhyl-mega-menu {
    position: relative;
}

.fhyl-mega-panel {
    min-width: 200px;
    left: 0;
}

/* ====== Site Unavailable Banner ====== */
.site-unavailable-banner {
    background: #fffbeb;
    border-bottom: 1px solid #fde68a;
    color: #92400e;
    font-size: 0.875rem;
    animation: fhylSlideDown 0.3s ease;
}

@keyframes fhylSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Country selector search input */
#countrySearchInput::placeholder {
    color: #bbb;
    font-size: 0.8125rem;
}
#countrySearchInput:focus {
    border-color: #fb7701;
    box-shadow: 0 0 0 2px rgba(251, 119, 1, 0.15);
}

/* ====== Site Unavailable Page ====== */
#siteUnavailableContent {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
}

/* ====== Product Detail Page ====== */

/* Breadcrumb */
.fhyl-breadcrumb a,
.fhyl-breadcrumb span {
    flex-shrink: 0;
}

/* Product Gallery */
.fhyl-product-gallery .product-main-swiper {
    border-radius: 0.75rem;
    overflow: hidden;
}

.fhyl-product-gallery .product-main-swiper .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: #fff;
    opacity: 0.5;
}

.fhyl-product-gallery .product-main-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 18px;
    border-radius: 3px;
}

/* Gallery hover opacity for arrows */
.fhyl-product-gallery:hover #galleryPrev,
.fhyl-product-gallery:hover #galleryNext {
    opacity: 1;
}

/* Thumbnail strip */
.fhyl-product-thumb {
    transition: border-color 0.2s, opacity 0.2s;
    cursor: pointer;
    flex-shrink: 0;
}

.fhyl-product-thumb:hover {
    border-color: #fb7701 !important;
}

.fhyl-product-thumb.active {
    border-color: #fb7701 !important;
    opacity: 1;
}

.fhyl-product-thumb:not(.active) img {
    opacity: 0.55;
}

.fhyl-product-thumb:hover img {
    opacity: 0.85;
}

/* SKU Swatches (Color) */
.fhyl-sku-swatch {
    cursor: pointer;
    position: relative;
}

.fhyl-sku-swatch:hover {
    transform: scale(1.1);
}

.fhyl-sku-swatch.active {
    border-color: #fb7701 !important;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #fb7701;
}

/* SKU Size Buttons */
.fhyl-sku-size {
    cursor: pointer;
    min-width: 3rem;
    text-align: center;
    background: #fff;
    border-color: #e5e5e5;
    color: #333;
}

.fhyl-sku-size:hover:not(:disabled) {
    border-color: #fb7701;
    color: #fb7701;
}

.fhyl-sku-size.active {
    border-color: #fb7701 !important;
    background: #fff3e8;
    color: #fb7701;
    font-weight: 700;
}

/* Quantity Selector */
.fhyl-qty input[type="number"] {
    -moz-appearance: textfield;
}

.fhyl-qty input[type="number"]::-webkit-inner-spin-button,
.fhyl-qty input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Tab Bar */
.fhyl-tab-bar {
    position: relative;
}

.fhyl-tab-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
}

.fhyl-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #fb7701;
    transition: width 0.25s ease;
}

.fhyl-tab-btn.active {
    color: #fb7701;
}

.fhyl-tab-btn.active::after {
    width: 100%;
}

.fhyl-tab-btn:hover:not(.active) {
    color: #666;
}

/* Specs Table */
.fhyl-specs-table {
    border-collapse: collapse;
    border: 1px solid #f0f0f0;
    border-radius: 0.5rem;
    overflow: hidden;
}

.fhyl-specs-table td {
    border-bottom: 1px solid #f0f0f0;
}

.fhyl-specs-table tr:last-child td {
    border-bottom: none;
}

/* Product Detail Content */
.fhyl-product-detail img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    display: block;
    margin: 0;
}

.fhyl-product-detail p {
    margin-bottom: 0.75rem;
}

.fhyl-product-detail p:has(img) {
    margin-bottom: 0;
}

.fhyl-product-detail br + img,
.fhyl-product-detail img + br {
    display: block;
}

/* Sticky Mobile Bottom Bar */
.fhyl-sticky-bar {
    animation: fhylSlideUp 0.3s ease;
}

@keyframes fhylSlideUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}

/* Skeleton Loading */
.fhyl-skeleton {
    background: linear-gradient(90deg, #e5e5e5 25%, #f0f0f0 50%, #e5e5e5 75%);
    background-size: 200% 100%;
    animation: fhylShimmer 1.5s infinite;
}

@keyframes fhylShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Toast */
@keyframes fadeInUp {
    from { opacity: 0; transform: translate(-50%, 10px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .fhyl-product-gallery .product-main-swiper {
        border-radius: 0;
    }

    .fhyl-product-thumb {
        width: 2.75rem;
        height: 2.75rem;
    }

    .fhyl-breadcrumb {
        font-size: 0.6875rem;
    }

    .fhyl-sku-swatch {
        width: 2rem;
        height: 2rem;
        font-size: 8px;
    }
}

@media (min-width: 768px) {
    .fhyl-product-gallery .product-main-swiper .swiper-slide img {
        cursor: pointer;
    }
}

/* ── Cookie Consent — Multi-language simultaneous, single Accept ── */

#cookieConsentPanel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    max-height: 45vh;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.10);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
    display: flex;
    flex-direction: column;
}
#cookieConsentPanel.visible {
    transform: translateY(0);
}

.cc-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px 4px;
    -webkit-overflow-scrolling: touch;
}
.cc-scroll::-webkit-scrollbar { width: 4px; }
.cc-scroll::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

/* ── Multi-column grid ── */
.cc-grid {
    display: grid;
    gap: 0 28px;
}
/* 1 language: single column */
.cc-cols-1 .cc-grid { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
/* 2 languages: 2 equal columns */
.cc-cols-2 .cc-grid { grid-template-columns: 1fr 1fr; }
/* 3 languages: 3 equal columns */
.cc-cols-3 .cc-grid { grid-template-columns: 1fr 1fr 1fr; }

.cc-col {
    min-width: 0;
}

/* Language label badge */
.cc-lang-label {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 600;
    color: #999;
    background: #f5f5f5;
    padding: 2px 10px;
    border-radius: 4px;
    letter-spacing: 0.3px;
    margin-bottom: 12px;
}

/* ── Title ── */
.cc-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px;
    letter-spacing: -0.2px;
}

/* ── Body text ── */
.cc-body { font-size: 12.5px; line-height: 1.6; color: #555; }
.cc-body p { margin: 0 0 8px; }
.cc-body h3 { font-size: 13px; font-weight: 600; color: #333; margin: 14px 0 4px; }

/* ── Cookie table ── */
.cc-table { width: 100%; border-collapse: collapse; margin: 8px 0 10px; font-size: 11.5px; }
.cc-table thead th {
    text-align: left;
    font-size: 10.5px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 0 0 6px;
    border-bottom: 1px solid #eee;
}
.cc-table tbody td {
    padding: 5px 8px 5px 0;
    vertical-align: top;
    color: #666;
    font-size: 11.5px;
    line-height: 1.5;
}
.cc-td-label {
    font-weight: 600;
    color: #444 !important;
    white-space: nowrap;
    width: 1%;
}

.cc-body a { color: var(--temu-orange, #fb7701); text-decoration: underline; text-underline-offset: 2px; }
.cc-body a:hover { color: #e66900; }

/* ── Footer ── */
.cc-footer {
    padding: 8px 24px 14px;
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
    border-top: 1px solid #f0f0f0;
}
.cc-accept-btn {
    padding: 10px 40px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: #1a1a1a;
    color: #fff;
    transition: background 0.15s;
}
.cc-accept-btn:hover {
    background: #333;
}

/* ── Mobile: stack columns ── */
@media (max-width: 768px) {
    #cookieConsentPanel {
        max-height: 50vh;
    }
    .cc-cols-2 .cc-grid,
    .cc-cols-3 .cc-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .cc-col + .cc-col {
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid #eee;
    }
    .cc-scroll {
        padding: 18px 16px 4px;
    }
    .cc-title {
        font-size: 16px;
    }
    .cc-body {
        font-size: 12px;
    }
    .cc-body h3 {
        font-size: 12.5px;
    }
    .cc-footer {
        padding: 8px 16px 14px;
    }
    .cc-accept-btn {
        width: 100%;
        text-align: center;
    }
}
