* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

h1, h2, h3, h4, .section-title, .product-title, .logo-text, .chinar-text {
    font-family: 'Outfit', sans-serif !important;
    letter-spacing: -0.02em;
}

:root {
    --bg-main: #FAFAFC; /* Warm Pearl Ivory Background */
    --bg-card: #FFFFFF;
    --border-cute: #EAE5F2;

    --pink-primary: #FF3B6B; /* Vibrant Rose-Coral */
    --pink-hover: #E02855;
    --purple-accent: #6C5CE7; /* Electric Indigo */
    --yellow-glow: #F59E0B; /* Warm Gold */

    --text-main: #1A0826; /* Deep Midnight Text */
    --text-muted: #6B5E78;

    --shadow-soft: 0 10px 30px rgba(26, 8, 38, 0.06);
    --shadow-glow: 0 15px 35px rgba(255, 59, 107, 0.25);

    --footer-bg: #1A0826; /* Rich Midnight Dark Footer */
    --footer-text: #FFFFFF;
    --footer-accent: #FF3B6B;
}

body.cute-theme {
    background-color: var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Glossy Luxury Keyframes */
@keyframes floatAnim {
    0% { transform: translateY(0px) rotate(0deg) scale(1); }
    50% { transform: translateY(-12px) rotate(6deg) scale(1.08); }
    100% { transform: translateY(0px) rotate(-4deg) scale(1); }
}

@keyframes logoPulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(255, 59, 107, 0.3)); }
    50% { transform: scale(1.04) rotate(1.5deg); filter: drop-shadow(0 0 15px rgba(255, 59, 107, 0.6)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(255, 59, 107, 0.3)); }
}

@keyframes shimmerGlow {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Floating Background Decor */
.bg-decor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.float-item {
    position: absolute;
    font-size: 26px;
    opacity: 0.6;
    animation: floatAnim 6s ease-in-out infinite alternate;
}

.pos1 { top: 10%; left: 5%; animation-duration: 5s; }
.pos2 { top: 20%; right: 8%; animation-duration: 7s; }
.pos3 { top: 50%; left: 3%; animation-duration: 6s; }
.pos4 { top: 70%; right: 5%; animation-duration: 8s; }
.pos5 { top: 85%; left: 8%; animation-duration: 5.5s; }
.pos6 { top: 35%; right: 12%; animation-duration: 6.5s; }

@keyframes floatAnim {
    0% { transform: translateY(0px) rotate(0deg) scale(1); }
    50% { transform: translateY(-20px) rotate(10deg) scale(1.1); }
    100% { transform: translateY(0px) rotate(-10deg) scale(1); }
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, #D96F75, #A99AE0, #D96F75);
    background-size: 200% 200%;
    animation: gradientMove 4s ease infinite;
    color: #FFF;
    font-weight: 600;
    text-align: center;
    padding: 10px 15px;
    font-size: 14px;
    letter-spacing: 0.5px;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--border-cute);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 14px 0;
    box-shadow: 0 4px 20px rgba(217, 111, 117, 0.08);
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.logo {
    display: flex;
    flex-direction: column;
}

.pop-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pop-bubble {
    background: linear-gradient(135deg, #D96F75, #BE5965);
    color: #FFF;
    font-weight: 800;
    font-size: 20px;
    padding: 2px 10px;
    border-radius: 12px;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(217, 111, 117, 0.4);
    animation: bouncePop 2.5s infinite ease-in-out;
}

.chinar-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 1px;
}

.sparkle-flower {
    font-size: 20px;
    animation: rotateSparkle 4s infinite linear;
}

@keyframes rotateSparkle {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.15); }
    100% { transform: rotate(360deg) scale(1); }
}

.logo-sub {
    font-size: 10px;
    font-weight: 700;
    color: var(--purple-accent);
    letter-spacing: 2px;
}

/* Search Bar */
.search-box {
    display: flex;
    align-items: center;
    background: #FFF8F2;
    border: 2px solid var(--border-cute);
    border-radius: 30px;
    padding: 8px 18px;
    width: 380px;
    transition: all 0.3s;
}

.search-box:focus-within {
    border-color: var(--pink-primary);
    box-shadow: var(--shadow-glow);
}

.search-icon {
    color: var(--pink-primary);
    margin-right: 10px;
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    color: var(--text-main);
    width: 100%;
    font-size: 15px;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-btn {
    background: #FFF9F1;
    color: var(--pink-primary);
    border: 2px solid var(--border-cute);
    padding: 9px 18px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.nav-btn:hover {
    background: var(--pink-primary);
    color: #FFF;
    border-color: var(--pink-primary);
    transform: translateY(-2px);
}

.cart-btn {
    background: linear-gradient(135deg, #D96F75, #A99AE0);
    color: #FFF;
    border: none;
    padding: 10px 22px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    box-shadow: var(--shadow-glow);
}

.cart-btn:hover {
    transform: scale(1.05);
}

.cart-count {
    background: var(--yellow-glow);
    color: #000;
    font-weight: 700;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 50%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #F4E2DB 0%, #F3E8FF 100%);
    border-bottom: 2px solid var(--border-cute);
    padding: 70px 20px;
    text-align: center;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    position: relative;
    box-shadow: var(--shadow-soft);
}

.hero-badge {
    background: #FFF;
    color: var(--pink-primary);
    border: 2px solid var(--pink-primary);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 15px;
    animation: bouncePop 3s infinite ease-in-out;
}

.hero h1 {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}

.hero p {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 28px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-primary-cute {
    background: linear-gradient(135deg, #D96F75, #BE5965);
    color: #FFF;
    border: none;
    padding: 14px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: var(--shadow-glow);
}

.btn-primary-cute:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 25px rgba(217, 111, 117, 0.5);
}

.btn-secondary-cute {
    background: #FFF;
    color: var(--purple-accent);
    border: 2px solid var(--purple-accent);
    padding: 14px 26px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary-cute:hover {
    background: var(--purple-accent);
    color: #FFF;
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
    margin-top: 15px;
}

/* Category Filter Bar */
.categories-wrapper {
    margin-top: 35px;
}

.category-header h3 {
    font-size: 18px;
    color: var(--pink-primary);
    margin-bottom: 14px;
    font-weight: 600;
}

.categories-bar {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.cat-chip {
    background: #FFF;
    border: 2px solid var(--border-cute);
    color: var(--text-main);
    padding: 10px 22px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.25s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.cat-chip.active, .cat-chip:hover {
    background: var(--pink-primary);
    color: #FFF;
    border-color: var(--pink-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Products Section */
.products-section {
    padding: 40px 0 80px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.section-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-main);
}

.product-count-badge {
    background: #FFF;
    color: var(--purple-accent);
    border: 2px solid var(--purple-accent);
    padding: 5px 14px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 700;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 26px;
}

/* Product Card (Super Light, Soft, Elegant Cute Style) */
.product-card {
    background: #FFF;
    border: 2px solid var(--border-cute);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--pink-primary);
    box-shadow: var(--shadow-glow);
}

.product-img-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    background: #FFF0F5;
    border-bottom: 2px solid var(--border-cute);
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img {
    transform: scale(1.08) rotate(1deg);
}

.tag-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--pink-primary);
    color: #FFF;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(255, 92, 141, 0.3);
    z-index: 5;
    letter-spacing: 0.5px;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.product-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-bottom {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 2px dashed #F4E2DB;
}

.price-accent {
    font-size: 22px;
    font-weight: 700;
    color: var(--pink-primary);
}

.btn-add-cart {
    background: linear-gradient(135deg, #D96F75, #BE5965);
    color: #FFF;
    border: none;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(217, 111, 117, 0.3);
}

.btn-add-cart:hover {
    transform: scale(1.08);
}


/* ==================== DEDICATED STANDALONE FULL-PAGE SINGLE PRODUCT VIEW ==================== */
.page-padding {
    padding: 40px 20px 80px;
}

.back-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.btn-back {
    background: #FFF;
    color: var(--pink-primary);
    border: 2px solid var(--pink-primary);
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: var(--shadow-soft);
}

.btn-back:hover {
    background: var(--pink-primary);
    color: #FFF;
    transform: translateX(-4px);
}

.breadcrumb-text {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

.page-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 32px;
    background: #FFF;
    border: 3px solid var(--border-cute);
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(217, 111, 117, 0.15);
}

.page-media-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wood-plaque-shape-gallery {
    padding: 15px;
    border: 1px solid #d5e9e4;
    border-radius: 18px;
    background: linear-gradient(145deg, #fbfffd, #fff8f5);
    box-shadow: 0 8px 22px rgba(35, 104, 95, .07);
}

.wood-plaque-shape-gallery[hidden] { display: none; }

.wood-plaque-shape-gallery-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 11px;
    color: #24434a;
    font-size: 14px;
}

.wood-plaque-shape-gallery-heading span {
    color: #278f86;
    font-size: 12px;
    font-weight: 700;
}

.wood-plaque-shape-options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
}

.wood-plaque-shape-option {
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 7px 5px 8px;
    border: 1px solid #dce9e6;
    border-radius: 13px;
    background: #fff;
    color: #425d61;
    font: 700 12px 'Quicksand', sans-serif;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.wood-plaque-shape-option img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 9px;
    background: #f6e8d7;
}

.wood-plaque-shape-option:hover { transform: translateY(-2px); }

.wood-plaque-shape-option.active {
    border-color: #37a99b;
    color: #167c73;
    box-shadow: 0 0 0 2px rgba(55, 169, 155, .15), 0 5px 14px rgba(40, 133, 123, .12);
}

.main-image-frame {
    position: relative;
    background: #FFF9F1;
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid var(--border-cute);
    min-height: 380px;
}

.main-image-frame img#pageDetailImg {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

/* Preserve the LED frame artwork ratio so A3/A4 customer photos line up with the printed windows. */
.main-image-frame.dual-size-frame-preview {
    min-height: 0;
    aspect-ratio: 800 / 533;
}

.main-image-frame.dual-size-frame-preview img#pageDetailImg {
    height: 100%;
    object-fit: fill;
}

/* Use the full source artwork so the product-specific print coordinates stay aligned. */
.main-image-frame.product-artwork-preview {
    min-height: 0;
    aspect-ratio: 1 / 1;
}

.main-image-frame.product-artwork-preview img#pageDetailImg {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.main-image-frame.phone-case-preview {
    width: min(100%, 400px);
    margin-inline: auto;
    aspect-ratio: 2 / 3;
    min-height: 0;
    max-height: 600px;
    background: #FFFAF4;
}

.main-image-frame.phone-case-preview img#pageDetailImg {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.phone-case-product-img {
    object-fit: contain !important;
    background: linear-gradient(145deg, #FFFAF4, #fbe6ef);
}

.main-image-frame.phone-case-preview.phone-live-animated {
    animation: phone-case-float 4s ease-in-out infinite;
    box-shadow: 0 18px 42px rgba(202, 86, 136, .24), 0 0 0 3px rgba(217, 111, 117, .08);
}

@keyframes phone-case-float {
    0%, 100% { transform: perspective(1100px) translateY(0) rotateY(-1.5deg); }
    50% { transform: perspective(1100px) translateY(-6px) rotateY(1.5deg); }
}

.phone-case-preview-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    justify-content: center;
    margin-top: -2px;
}

.phone-case-preview-switcher[hidden] { display: none; }

.phone-case-preview-switcher button {
    border: 1px solid #ffc2d5;
    border-radius: 999px;
    padding: 9px 15px;
    background: #fff;
    color: #73405a;
    font: 700 13px 'Quicksand', sans-serif;
    cursor: pointer;
    transition: .2s ease;
}

.phone-case-preview-switcher button.active,
.phone-case-preview-switcher button:hover {
    border-color: #ff5388;
    color: #d92f6c;
    background: #fff0f6;
    box-shadow: 0 6px 16px rgba(217, 111, 117, .14);
}

.phone-camera-module {
    display: none;
    position: absolute;
    z-index: 12;
    /* Sit over the camera cutout already present in blank-case-back.png.
       The old small offset made a second floating camera appear above it. */
    left: 21%;
    top: 10%;
    width: 31%;
    height: 22%;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 24%;
    background: linear-gradient(145deg, #f8eef2, #d8cbd2 72%);
    box-shadow: 0 3px 8px rgba(64,24,48,.2), inset 0 1px 2px rgba(255,255,255,.8);
    animation: camera-in .35s ease-out both;
}

.phone-case-detail .phone-camera-module { display: block; }

.phone-camera-lens {
    position: absolute;
    width: 21%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px solid #747986;
    background: radial-gradient(circle at 36% 32%, #6e879a 0 9%, #19222d 25%, #05070a 67%);
    box-shadow: inset 0 0 0 2px #0d0e12, 0 0 2px #a6a6ab;
}

.phone-camera-module[data-style="apple"] .lens-1 { top: 13%; left: 18%; }
.phone-camera-module[data-style="apple"] .lens-2 { top: 41%; right: 17%; }
.phone-camera-module[data-style="apple"] .lens-3 { bottom: 13%; left: 18%; }
.phone-camera-module[data-style="apple"] .lens-4 { display: none; }
.phone-camera-module[data-style="samsung"] .lens-1 { top: 10%; left: 18%; }
.phone-camera-module[data-style="samsung"] .lens-2 { top: 39%; left: 18%; }
.phone-camera-module[data-style="samsung"] .lens-3 { bottom: 10%; left: 18%; }
.phone-camera-module[data-style="samsung"] .lens-4 { top: 39%; right: 17%; }
.phone-camera-module[data-style="pixel"] {
    border-radius: 18%;
}
.phone-camera-module[data-style="pixel"] .phone-camera-lens { width: 19%; top: 20%; }
.phone-camera-module[data-style="pixel"] .lens-1 { left: 12%; }
.phone-camera-module[data-style="pixel"] .lens-2 { left: 40%; }
.phone-camera-module[data-style="pixel"] .lens-3 { left: 68%; }
.phone-camera-module[data-style="pixel"] .lens-4 { display: none; }
.phone-camera-module[data-style="android"] .lens-1 { top: 10%; left: 18%; }
.phone-camera-module[data-style="android"] .lens-2 { top: 39%; left: 18%; }
.phone-camera-module[data-style="android"] .lens-3 { bottom: 10%; left: 18%; }
.phone-camera-module[data-style="android"] .lens-4 { top: 39%; right: 17%; }

.phone-camera-flash {
    position: absolute;
    right: 18%; top: 14%;
    width: 9%; aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.4);
    background: radial-gradient(circle, #fff9cb 0 30%, #d2cda7 34%, #8a8a83 70%);
}

.phone-model-preview-tag {
    position: absolute;
    z-index: 14;
    left: 50%; bottom: 4%;
    max-width: 78%;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 999px;
    overflow: hidden;
    background: rgba(47, 32, 46, .64);
    color: #fff;
    font: 700 clamp(8px, 1.25vw, 13px) 'Quicksand', sans-serif;
    text-overflow: ellipsis;
    white-space: nowrap;
    transform: translateX(-50%);
    animation: model-tag-in .35s ease-out both;
}

.phone-model-preview-tag.has-model { background: rgba(207, 46, 104, .82); }
.phone-case-detail .phone-model-preview-tag { display: block; }
.phone-model-preview-tag { display: none; }

.phone-case-detail .position-studio-box { display: none; }

#productDetailPage.ep-metal-sticker-detail .position-studio-box,
#productDetailPage.ep-metal-sticker-detail .mockup-hint,
#productDetailPage.ep-metal-sticker-detail #pageDetailOriginalPrice,
#productDetailPage.ep-metal-sticker-detail #pageDetailDiscount {
    display: none;
}

#productDetailPage.ep-metal-sticker-detail #pageDetailDesc {
    white-space: pre-line;
}

.ep-sticker-price-summary {
    padding: 12px 14px;
    border: 1px solid #ffc1d5;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff4f8, #fff);
    color: #673e5a;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.55;
}

.ep-sticker-adhesive-option label {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border: 1px solid #f5d2df;
    border-radius: 12px;
    background: #FFFAF4;
}

.ep-sticker-adhesive-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--pink-primary);
}

.phone-case-detail .mockup-text-overlay {
    z-index: 13;
    min-width: 0;
    max-width: 42%;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    backdrop-filter: blur(3px);
}

#productDetailPage.phone-case-detail .mockup-overlay-container img#mockupPhotoOverlay {
    border-radius: 8px;
    z-index: 11;
    object-position: center 32%;
    transition: left .2s ease, top .2s ease, width .25s ease, height .25s ease, opacity .25s ease;
    animation: artwork-on-case .45s ease-out both;
}

.phone-model-search,
.custom-phone-model {
    width: 100%;
    min-height: 42px;
    border: 1px solid #F2D8D0;
    border-radius: 12px;
    padding: 10px 12px;
    background: #fff;
    color: #352638;
    font: 600 14px 'Quicksand', sans-serif;
}

.phone-model-search:focus,
.custom-phone-model:focus {
    outline: 2px solid rgba(217,111,117,.28);
    border-color: #ff5388;
}

.custom-phone-model[hidden] { display: none; }

@keyframes camera-in { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: scale(1); } }
@keyframes model-tag-in { from { opacity: 0; transform: translate(-50%, 6px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes artwork-on-case { from { opacity: .15; transform: translate(-50%, -50%) scale(.96); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

@media (prefers-reduced-motion: reduce) {
    .phone-camera-module, .phone-model-preview-tag,
    #productDetailPage.phone-case-detail .mockup-overlay-container img#mockupPhotoOverlay {
        animation: none;
        transition: none;
    }
}
/* LIVE MOCKUP OVERLAY CONTAINER (Overlay directly over main product image!) */
.mockup-overlay-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.mockup-clip-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

.mockup-overlay-container img#mockupPhotoOverlay {
    position: absolute;
    object-fit: cover;
    border: 2px solid #FFF;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transform: translate(-50%, -50%);
    transition: left 0.1s ease-out, top 0.1s ease-out;
}

/* Preserve the original plaque artwork and align customer overlays to its printed panel. */
#productDetailPage.spotify-plaque-detail .position-studio-box,
#productDetailPage.spotify-plaque-detail .mockup-hint {
    display: none;
}

#productDetailPage.uv-dtf-sticker-detail .position-studio-box,
#productDetailPage.uv-dtf-sticker-detail .mockup-hint,
#productDetailPage.uv-dtf-sticker-detail #pageDetailOriginalPrice,
#productDetailPage.uv-dtf-sticker-detail #pageDetailDiscount {
    display: none;
}

#productDetailPage.keychain-detail .position-studio-box {
    display: none;
}

#productDetailPage.keychain-detail .mockup-hint {
    margin-top: 12px;
    border-color: rgba(217, 111, 117, .35);
    background: linear-gradient(135deg, #FFFAF4, #fff0f6);
}

#productDetailPage.keychain-detail .mockup-text-overlay {
    white-space: nowrap;
    min-width: 0;
    max-width: 40%;
    line-height: 1;
    font-weight: 800;
    backdrop-filter: none;
    transform-origin: center;
}

#productDetailPage.uv-dtf-sticker-detail .uv-dtf-size-row .studio-choice-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 64px;
    font-size: 15px;
}

#productDetailPage.uv-dtf-sticker-detail .uv-dtf-size-row .studio-choice-btn span {
    font-size: 13px;
    font-weight: 800;
}

.uv-dtf-finish-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--border-cute);
    border-radius: 14px;
    background: linear-gradient(135deg, #fff 0%, #fff0f6 100%);
    color: #754364;
    font-size: 12px;
    line-height: 1.55;
}

.uv-dtf-finish-note > i {
    padding-top: 2px;
    color: var(--pink-primary);
}

#productDetailPage.spotify-plaque-detail .mockup-overlay-container img#mockupPhotoOverlay {
    border: 0;
    border-radius: 2px;
    box-shadow: none;
}

.spotify-plaque-name-preview,
.spotify-plaque-song-preview,
.spotify-plaque-artist-preview {
    position: absolute;
    z-index: 12;
    left: 50%;
    width: 32%;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.spotify-plaque-name-preview {
    top: 52.2%;
    color: #352638;
    font: 800 clamp(10px, 1.2vw, 14px)/1.1 'Quicksand', sans-serif;
}

.spotify-plaque-song-preview {
    top: 59.8%;
    color: #382d35;
    font: 700 clamp(8px, 1.05vw, 12px)/1.15 'Quicksand', sans-serif;
    text-align: left;
    background: rgba(255,255,255,.9);
}

.spotify-plaque-artist-preview {
    top: 63.5%;
    color: #756972;
    font: 500 clamp(7px, .9vw, 10px)/1.15 'Quicksand', sans-serif;
    text-align: left;
    background: rgba(255,255,255,.9);
}

.spotify-plaque-qr-mask {
    position: absolute;
    z-index: 11;
    left: 65%;
    top: 75.3%;
    width: 27%;
    height: 8%;
    background: rgba(250, 248, 245, .88);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.spotify-plaque-qr-preview {
    position: absolute;
    z-index: 12;
    left: 65%;
    top: 75.3%;
    width: 12%;
    height: 12%;
    padding: 1px;
    background: #fff;
    border: 1px solid rgba(46, 31, 41, .25);
    border-radius: 3px;
    object-fit: contain;
    transform: translate(-50%, -50%);
}

#productDetailPage:not(.spotify-plaque-detail) .spotify-plaque-name-preview,
#productDetailPage:not(.spotify-plaque-detail) .spotify-plaque-song-preview,
#productDetailPage:not(.spotify-plaque-detail) .spotify-plaque-artist-preview,
#productDetailPage:not(.spotify-plaque-detail) .spotify-plaque-qr-mask,
#productDetailPage:not(.spotify-plaque-detail) .spotify-plaque-qr-preview {
    display: none !important;
}

.spotify-studio-note {
    display: block;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.5;
}

.frame-size-photo-overlay {
    position: absolute;
    display: none;
    z-index: 11;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

.frame-a3-photo-overlay {
    left: 20%;
    top: 11.45%;
    width: 31.4%;
    height: 67.35%;
}

.frame-a4-photo-overlay {
    left: 62.1%;
    top: 30%;
    width: 22.1%;
    height: 48.4%;
}
.mockup-text-overlay {
    position: absolute;
    top: 75%;
    left: 50%;
    width: 60%;
    max-width: 94%;
    min-width: 20%;
    font-size: clamp(9px, 2vw, 20px);
    font-weight: 800;
    color: #FFF;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8), 0 0 10px #D96F75;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
    transform: translate(-50%, -50%);
    transition: left 0.1s ease-out, top 0.1s ease-out;
    background: rgba(0,0,0,0.4);
    padding: 3px 8px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.mockup-hint {
    font-size: 13px;
    color: var(--pink-primary);
    font-weight: 700;
    background: #FFF9F1;
    border: 2px dashed var(--border-cute);
    padding: 12px;
    border-radius: 16px;
    text-align: center;
}

.studio-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.rating-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
}

.studio-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.studio-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--pink-primary);
}

.original-price {
    font-size: 18px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.discount-badge {
    background: var(--pink-primary);
    color: #FFF;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 12px;
}

.stock-badge {
    font-size: 13px;
    font-weight: 700;
    color: #10B981;
    background: #E8F5E9;
    padding: 5px 12px;
    border-radius: 15px;
}

.studio-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 25px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
}

.studio-desc-under-photo {
    margin: 0;
    padding: 16px 18px;
    border: 1px solid #F6D5E0;
    border-left: 4px solid var(--pink-primary);
    border-radius: 16px;
    background: linear-gradient(135deg, #FFF8FB, #FFF);
    box-shadow: 0 8px 20px rgba(75, 35, 65, 0.05);
}

/* Customization Studio Panel */
.studio-customization-panel {
    background: linear-gradient(145deg, #FFF8F2, #FFF9FC);
    border: 1px solid #F5CEDC;
    border-radius: 22px;
    padding: 22px;
    margin-bottom: 25px;
    box-shadow: 0 10px 26px rgba(80, 31, 66, 0.06);
}

.studio-panel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--pink-primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px dashed var(--border-cute);
}

.studio-field {
    margin-bottom: 20px;
}

.studio-field label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 9px;
    display: block;
}

.studio-help-text {
    display: block;
    margin-top: 7px;
    color: #7E7888;
    font-size: 12px;
    line-height: 1.5;
}

.studio-intro {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 20px;
    color: #754364;
    background: #FFF;
    border: 1px solid #F4D8E3;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 700;
}

.studio-intro i {
    color: var(--pink-primary);
    font-size: 16px;
}

.studio-input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #E9CBD8;
    border-radius: 13px;
    outline: none;
    color: var(--text-main);
    background: #FFF;
    font: 600 14px 'Quicksand', sans-serif;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.studio-input:focus {
    border-color: var(--pink-primary);
    box-shadow: 0 0 0 4px rgba(217, 111, 117, .12);
}

.studio-option-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 700;
}

.studio-option-heading i {
    color: var(--pink-primary);
}

.studio-option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
    gap: 8px;
}

.studio-option-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #EAD2DC;
    border-radius: 12px;
    background: #FFF;
    color: #5D4557;
    font: 700 12px 'Quicksand', sans-serif;
    text-align: left;
    cursor: pointer;
    transition: .18s ease;
}

.studio-option-card i {
    flex: 0 0 auto;
    color: var(--pink-primary);
    opacity: 0;
    transform: scale(.8);
    transition: .18s ease;
}

.studio-option-card:hover {
    border-color: var(--pink-primary);
    transform: translateY(-1px);
}

.studio-option-card.active {
    border-color: var(--pink-primary);
    color: #A82359;
    background: #FFF8F2;
    box-shadow: 0 4px 12px rgba(217, 111, 117, .1);
}

.studio-option-card.active i {
    opacity: 1;
    transform: scale(1);
}

.studio-choice-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.studio-choice-btn {
    flex: 1 1 74px;
    min-height: 48px;
    padding: 8px 6px;
    background: #FFF;
    border: 2px solid var(--border-cute);
    border-radius: 14px;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s ease;
}

.studio-choice-btn:hover,
.studio-choice-btn.active {
    border-color: var(--pink-primary);
    background: #F4E2DB;
    color: var(--pink-hover);
    box-shadow: 0 3px 10px rgba(217, 111, 117, 0.14);
}

.studio-choice-btn[aria-pressed="true"] {
    outline: 2px solid rgba(217, 111, 117, 0.18);
}

.font-choice-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.font-choice-sample {
    font-size: 19px;
    line-height: 1.1;
}

.font-choice-label {
    font-family: 'Quicksand', sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.size-choice-btn {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}

.size-choice-btn[data-size="small"] { font-size: 12px; }
.size-choice-btn[data-size="medium"] { font-size: 15px; }
.size-choice-btn[data-size="large"] { font-size: 18px; }

/* Position Sliders & Preset Box */
.position-studio-box {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 2px dashed var(--border-cute);
}

.position-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--pink-primary);
    margin-bottom: 12px;
    display: block;
}

.pos-preset-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.pos-chip {
    background: #FFF;
    border: 2px solid var(--border-cute);
    color: var(--text-main);
    padding: 6px 14px;
    border-radius: 18px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.pos-chip.active, .pos-chip:hover {
    background: var(--pink-primary);
    color: #FFF;
    border-color: var(--pink-primary);
}

.slider-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

.slider-row input[type="range"] {
    flex-grow: 1;
    accent-color: var(--pink-primary);
    cursor: pointer;
}

.upload-dropzone {
    border: 2px dashed var(--pink-primary);
    background: #FFF;
    padding: 18px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
}

.upload-dropzone:hover {
    background: #F4E2DB;
}

.upload-dropzone input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-dropzone p {
    font-size: 14px;
    font-weight: 700;
    color: var(--pink-primary);
    overflow-wrap: anywhere;
    line-height: 1.5;
}

.upload-dropzone p.upload-file-selected {
    color: #16864a;
}

.calendar-studio-field {
    margin-bottom: 14px;
}

.calendar-photo-plan-select {
    width: 100%;
}

.calendar-preview-month-picker {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
}

.calendar-preview-month-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    min-width: 0;
    padding: 7px 8px;
    border: 1px solid var(--border-cute);
    border-radius: 10px;
    background: #fff;
    color: #72536f;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.calendar-preview-month-button.active {
    color: #fff;
    border-color: var(--pink-primary);
    background: linear-gradient(110deg, var(--pink-primary), #b563d8);
}

.calendar-month-photo-dot {
    color: #b69aad;
    font-size: 12px;
}

.calendar-preview-month-button.active .calendar-month-photo-dot {
    color: #fff;
}

.calendar-preview-month-button.has-calendar-photo:not(.active) .calendar-month-photo-dot {
    color: #15834a;
}

.calendar-photo-progress {
    margin-top: 8px;
    color: #ad536d;
    font-size: 12px;
    font-weight: 800;
}

.calendar-photo-progress.complete {
    color: #16864a;
}

.calendar-photo-slot-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.calendar-photo-slot-grid[hidden] {
    display: none !important;
}

.calendar-photo-slot {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 106px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    overflow: hidden;
    padding: 7px 5px;
    border: 1px dashed #ff72a5;
    border-radius: 12px;
    background: #fff;
    color: #704c69;
    text-align: center;
    cursor: pointer;
}

.calendar-photo-slot:has(.calendar-photo-slot-thumb:not([hidden])) {
    border-style: solid;
    background: #fff6f9;
}

.calendar-photo-file-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.calendar-photo-slot-preview {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: #fff0f5;
}

.calendar-photo-slot-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.calendar-photo-slot-plus {
    color: var(--pink-primary);
    font-size: 23px;
    font-weight: 700;
}

.calendar-photo-slot-month {
    font-size: 10px;
    font-weight: 800;
    line-height: 1.1;
}

.calendar-photo-slot-filename {
    max-width: 100%;
    overflow: hidden;
    color: #a26f92;
    font-size: 9px;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.calendar-month-dates-overlay {
    position: absolute;
    z-index: 12;
    left: 50%;
    top: 76.5%;
    display: grid;
    width: 53.3333%;
    height: 17.8333%;
    grid-template-rows: 1.15fr .8fr 4.2fr;
    overflow: hidden;
    padding: 1.2% 1.5% 1%;
    transform: translate(-50%, -50%);
    border: 1px solid #eadde4;
    border-radius: 7px;
    background: #fff;
    color: #5f465d;
    text-align: center;
    pointer-events: none;
}

.calendar-date-heading {
    display: grid;
    place-items: center;
    color: #a64f82;
    font-family: "Fredoka", sans-serif;
    font-size: clamp(8px, .9vw, 12px);
    line-height: 1;
    text-transform: uppercase;
}

.calendar-weekday-grid,
.calendar-day-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: center;
}

.calendar-weekday-grid {
    color: #a95e89;
    font-size: clamp(5px, .52vw, 7px);
    font-weight: 800;
    line-height: 1;
}

.calendar-day-grid {
    min-height: 0;
    font-size: clamp(5px, .55vw, 8px);
    line-height: 1;
}

.calendar-date-cell {
    display: grid;
    height: 100%;
    place-items: center;
    color: #534651;
    font-weight: 700;
}

.calendar-date-cell.empty {
    color: transparent;
}

@media (max-width: 520px) {
    .calendar-preview-month-picker {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .calendar-photo-slot-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.studio-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.studio-quantity {
    display: flex;
    align-items: center;
    background: #FFF9F1;
    border: 2px solid var(--border-cute);
    border-radius: 30px;
    padding: 6px 16px;
    gap: 15px;
}

.studio-quantity button {
    background: transparent;
    border: none;
    font-size: 22px;
    font-weight: 800;
    color: var(--pink-primary);
    cursor: pointer;
}

.studio-quantity span {
    font-size: 18px;
    font-weight: 700;
}

.btn-studio-cart {
    flex-grow: 1;
    font-size: 16px;
    padding: 16px;
}

.btn-studio-buy {
    font-size: 16px;
    padding: 15px;
    background: #FFF;
    color: var(--purple-accent);
    border: 2px solid var(--purple-accent);
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
}

.btn-studio-buy:hover {
    background: var(--purple-accent);
    color: #FFF;
}

.trust-highlights {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px dashed #F4E2DB;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
}

.trust-item i {
    color: var(--pink-primary);
    margin-right: 4px;
}

/* Modals & Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 27, 45, 0.65);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
}

/* Policy Card */
.policy-card {
    width: 650px;
    max-width: 92%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.policy-body {
    overflow-y: auto;
    padding-right: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
}

.policy-body h4 {
    font-size: 16px;
    color: var(--pink-primary);
    margin: 14px 0 6px;
}

.policy-body p, .policy-body ul {
    margin-bottom: 12px;
}

.policy-body ul {
    padding-left: 20px;
}

/* Cart Slide Drawer */
.cute-drawer {
    position: absolute;
    right: 0;
    top: 0;
    width: 420px;
    max-width: 100%;
    height: 100%;
    background: #FFF;
    border-left: 3px solid var(--border-cute);
    display: flex;
    flex-direction: column;
}

.cart-header {
    padding: 22px;
    background: #FFF9F1;
    border-bottom: 2px solid var(--border-cute);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    background: transparent;
    border: none;
    color: var(--pink-primary);
    font-size: 28px;
    cursor: pointer;
}

.cart-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 2px dashed #F4E2DB;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 14px;
    background: #FFF9F1;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 15px;
    font-weight: 700;
}

.cart-item-price {
    font-size: 14px;
    color: var(--pink-primary);
    font-weight: 700;
    margin-top: 4px;
}

.cart-item-custom-info {
    font-size: 11px;
    color: var(--purple-accent);
    font-weight: 600;
    margin-top: 3px;
}

.cart-footer {
    padding: 22px;
    border-top: 2px solid var(--border-cute);
    background: #FFF9F1;
}

.subtotal-row {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
}

.btn-checkout-cute {
    width: 100%;
    background: linear-gradient(135deg, #D96F75, #A99AE0);
    color: #FFF;
    border: none;
    padding: 14px;
    border-radius: 25px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
}

/* Modal Card */
.cute-card {
    background: #FFF;
    border: 3px solid var(--border-cute);
    border-radius: 28px;
    width: 480px;
    max-width: 90%;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(217, 111, 117, 0.25);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--pink-primary);
    margin-bottom: 6px;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px;
    background: #FFF9F1;
    border: 2px solid var(--border-cute);
    border-radius: 16px;
    outline: none;
    color: var(--text-main);
    font-size: 15px;
    transition: all 0.2s;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--pink-primary);
    box-shadow: var(--shadow-glow);
}

.track-input-group {
    display: flex;
    gap: 10px;
}

.track-result {
    margin-top: 20px;
    padding: 16px;
    background: #FFF9F1;
    border: 2px solid var(--border-cute);
    border-radius: 18px;
}

.account-card {
    width: min(460px, 100%);
    max-height: min(680px, 90vh);
    overflow-y: auto;
}

.account-help-text {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
    margin: 8px 0 14px;
}

.account-login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.account-divider {
    align-items: center;
    color: var(--text-muted);
    display: flex;
    font-size: 12px;
    gap: 10px;
    margin: 18px 0;
}

.account-divider::before,
.account-divider::after {
    background: var(--border-cute);
    content: "";
    flex: 1;
    height: 1px;
}

.account-error {
    color: #B42318;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 12px;
}

.account-signout-button {
    margin: 8px 0 16px;
}

.account-orders-heading {
    color: var(--text-main);
    margin: 8px 0;
}

.account-order-card {
    background: #FFF;
    border: 1px solid var(--border-cute);
    border-radius: 14px;
    margin: 10px 0;
    padding: 13px;
}

.account-order-card p {
    color: var(--text-muted);
    font-size: 13px;
    margin: 8px 0;
    overflow-wrap: anywhere;
}

.order-status-heading {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
}

.order-status-badge {
    border-radius: 12px;
    color: #FFF;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
}

/* UPI Payment Box */
.upi-payment-box {
    background: #FFF9F1;
    border: 2px dashed var(--pink-primary);
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 18px;
    text-align: center;
}

.upi-header {
    font-size: 13px;
    font-weight: 700;
    color: var(--pink-primary);
    margin-bottom: 12px;
}

.upi-qr-wrapper img {
    width: 160px;
    height: 160px;
    border-radius: 12px;
    border: 2px solid var(--border-cute);
    box-shadow: var(--shadow-soft);
}

.upi-id-badge {
    background: #FFF;
    border: 1px solid var(--border-cute);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    color: var(--text-main);
    display: inline-block;
    margin-top: 8px;
}

.checkout-summary {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    margin: 20px 0;
}

/* Success Card */
.success-card {
    text-align: center;
}

.celebrate-emoji {
    font-size: 55px;
    animation: bouncePop 1.5s infinite ease-in-out;
}

.order-id-badge {
    background: #FFF9F1;
    color: var(--pink-primary);
    border: 2px solid var(--pink-primary);
    padding: 8px 18px;
    border-radius: 20px;
    display: inline-block;
    margin: 15px 0;
    font-weight: 700;
}

.success-note {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 22px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
}

/* Floating WhatsApp */
.whatsapp-float-cute {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #FFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    z-index: 900;
    text-decoration: none;
    transition: all 0.3s;
    animation: floatAnim 4s ease-in-out infinite;
}

.whatsapp-float-cute:hover {
    transform: scale(1.15) rotate(10deg);
}

/* Cute Spinner */
.loader {
    text-align: center;
    padding: 60px 0;
}

.cute-spinner {
    width: 45px;
    height: 45px;
    border: 4px solid var(--border-cute);
    border-top: 4px solid var(--pink-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 14px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.empty-state {
    text-align: center;
    padding: 60px 0;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 50px;
    margin-bottom: 14px;
    color: var(--pink-primary);
}

/* PopSquad Style Cute Footer */
.footer-popsquad {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 0;
    margin-top: 80px;
    border-top: 3px solid var(--pink-primary);
    box-shadow: 0 -10px 30px rgba(217, 111, 117, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--pink-primary);
    margin-bottom: 16px;
}

.brand-desc {
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.5;
    color: var(--text-muted);
}

.social-box {
    margin-top: 20px;
}

.social-box span {
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
    color: var(--pink-primary);
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #FFF;
    color: var(--pink-primary);
    border: 2px solid var(--border-cute);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(217, 111, 117, 0.15);
    transition: all 0.25s;
}

.social-icon:hover {
    background: var(--pink-primary);
    color: #FFF;
    border-color: var(--pink-primary);
    transform: translateY(-3px) scale(1.1);
}

/* Bulk Inquiry Form */
.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.inquiry-form input, .inquiry-form textarea {
    width: 100%;
    padding: 11px 14px;
    background: #FFF;
    border: 2px solid var(--border-cute);
    border-radius: 12px;
    font-size: 13px;
    outline: none;
    color: var(--text-main);
    transition: all 0.2s;
}

.inquiry-form input:focus, .inquiry-form textarea:focus {
    border-color: var(--pink-primary);
    box-shadow: var(--shadow-glow);
}

.inquiry-form input::placeholder, .inquiry-form textarea::placeholder {
    color: #A382A3;
}

.btn-inquiry {
    background: linear-gradient(135deg, #D96F75, #BE5965);
    color: #FFF;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(217, 111, 117, 0.3);
}

.btn-inquiry:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217, 111, 117, 0.4);
}

/* Contact Details */
.contact-col p {
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.6;
    color: var(--text-main);
}

.links-col ul {
    list-style: none;
}

.links-col ul li {
    margin-bottom: 10px;
}

.links-col ul li a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 14px;
    transition: all 0.2s;
}

.links-col ul li a:hover {
    color: var(--pink-primary);
    font-weight: 700;
    padding-left: 4px;
}

/* Bottom Bar */
.footer-bottom-bar {
    background-color: #373346;
    color: #E9CED0;
    padding: 18px 0;
    font-size: 13px;
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.payment-badges {
    display: flex;
    gap: 8px;
}

.pay-badge {
    background: #FFF;
    color: #000;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
}

.pay-badge.visa { color: #1A1F71; }
.pay-badge.mc { color: #EB001B; }
.pay-badge.upi { color: #008A00; }
.pay-badge.paytm { color: #002E6E; }

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        align-items: stretch;
    }
    .search-box {
        width: 100%;
    }
    .page-detail-grid {
        grid-template-columns: 1fr;
    }
    .bottom-flex {
        flex-direction: column;
        text-align: center;
    }
}

/* Checkout behaves like its own scrollable step so the close and order buttons
   stay reachable on short screens without asking customers to zoom out. */
#checkoutOverlay {
    overflow-y: auto;
    padding: clamp(8px, 2vh, 20px);
    overscroll-behavior: contain;
}

#checkoutOverlay .checkout-card {
    width: min(480px, 100%);
    max-width: min(90vw, 480px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: clamp(16px, 2.4vh, 26px);
}

#checkoutOverlay .modal-header {
    flex: 0 0 auto;
    margin-bottom: 12px;
}

#checkoutOverlay #checkoutForm {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 3px 4px 0;
    scrollbar-width: thin;
}

#checkoutPage #checkoutForm,
.checkout-form-page#checkoutForm {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
    overflow: visible !important;
    overscroll-behavior: auto !important;
    padding: 0 !important;
}

#checkoutForm .form-group {
    margin-bottom: 12px;
}

#checkoutForm .form-group label {
    margin-bottom: 5px;
    font-size: 13px;
}

#checkoutForm .form-group input,
#checkoutForm .form-group textarea,
#checkoutForm .form-group select {
    padding: 10px 12px;
}

#checkoutForm .upi-payment-box {
    padding: 12px;
    margin-bottom: 12px;
}

#checkoutForm .upi-qr-wrapper img {
    width: 132px;
    height: 132px;
}

#checkoutForm .checkout-footer {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding: 12px 0 2px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #FFF 18px);
}

#checkoutForm .checkout-summary {
    margin: 0;
    padding: 8px 0 2px;
    font-size: 16px;
}

#checkoutForm #placeOrderBtn {
    flex: 0 0 auto;
    min-height: 48px;
    margin: 0;
}

@media (max-width: 600px) {
    #checkoutOverlay {
        align-items: stretch;
        padding: 0;
    }

    #checkoutOverlay .checkout-card {
        width: 100%;
        max-width: none;
        max-height: none;
        height: 100vh;
        height: 100dvh;
        border-width: 0;
        border-radius: 0;
        padding: max(12px, env(safe-area-inset-top)) 16px max(10px, env(safe-area-inset-bottom));
    }

    #checkoutOverlay .modal-header {
        gap: 12px;
        min-height: 50px;
        margin-bottom: 10px;
        padding: 4px 0 10px;
        border-bottom: 1px solid var(--border-cute);
    }

    #checkoutOverlay .modal-header h3 {
        margin: 0;
        font-size: 18px;
        line-height: 1.25;
    }

    #checkoutOverlay .close-btn {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #FFF9F1;
        font-size: 28px;
        line-height: 1;
    }

    #checkoutForm {
        width: 100%;
        padding: 0 2px 6px 0;
    }

    #checkoutForm .form-group input,
    #checkoutForm .form-group textarea,
    #checkoutForm .form-group select {
        font-size: 16px;
    }

    #checkoutForm .checkout-footer {
        padding-top: 10px;
    }
}

@media (max-height: 680px) and (min-width: 601px) {
    #checkoutOverlay .checkout-card {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    #checkoutOverlay .modal-header {
        margin-bottom: 8px;
    }

    #checkoutForm .form-group {
        margin-bottom: 8px;
    }

    #checkoutForm .upi-qr-wrapper img {
        width: 112px;
        height: 112px;
    }
}

/* Checkout pincode lookup and delivery estimate */
#checkoutForm .checkout-field-help {
    display: block;
    margin: 6px 2px 0;
    color: #806681;
    font-size: 11px;
    line-height: 1.45;
}

#checkoutForm .checkout-inline-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

#checkoutForm .checkout-inline-fields .form-group {
    min-width: 0;
}

/* Full-page checkout: clear delivery flow, cart review, and trusted payment choices. */
html.checkout-scroll-active {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: auto !important;
    touch-action: auto !important;
    -webkit-overflow-scrolling: touch;
}

body.checkout-page-active {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: #f7f5fa;
    touch-action: auto !important;
}

body.checkout-page-active > *:not(#checkoutPage) {
    display: none !important;
}

#checkoutPage[hidden] {
    display: none !important;
}

#checkoutPage.active {
    display: block !important;
}

#checkoutPage,
.checkout-page {
    position: relative !important;
    height: auto !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    touch-action: auto !important;
    color: #292039;
    background:
        radial-gradient(circle at 6% 0%, rgba(217, 111, 117, .12), transparent 26rem),
        linear-gradient(180deg, #fff 0, #faf8fc 18rem, #f7f5fa 100%);
    scrollbar-width: thin;
}

.checkout-topbar {
    position: sticky;
    top: 0;
    z-index: 5;
    border-bottom: 1px solid #eee8f1;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(16px);
}

.checkout-topbar-inner {
    width: min(1180px, calc(100% - 40px));
    min-height: 74px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
}

.checkout-back-button,
.checkout-edit-cart {
    border: 0;
    background: transparent;
    color: #755f7b;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.checkout-back-button {
    justify-self: start;
    padding: 10px 0;
}

.checkout-back-button:hover,
.checkout-edit-cart:hover { color: var(--pink-primary); }

.checkout-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #2d1b2d;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .2px;
}

.checkout-brand-mark {
    display: grid;
    width: 37px;
    height: 37px;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, #ff5388, #c45cf0);
    box-shadow: 0 5px 14px rgba(217, 111, 117, .2);
}

.checkout-brand small {
    display: block;
    margin-top: 1px;
    color: #9a849f;
    font-size: 9px;
    letter-spacing: 1.5px;
}

.checkout-encryption {
    justify-self: end;
    color: #5e8b73;
    font-size: 12px;
    font-weight: 700;
}

.checkout-encryption i { margin-right: 5px; }

.checkout-page-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 38px 0 64px;
}

.checkout-page-heading { max-width: 720px; margin: 0 auto 26px; text-align: center; }
.checkout-kicker {
    color: var(--pink-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
}
.checkout-page-heading h1 { margin: 8px 0 5px; font-size: clamp(28px, 4vw, 38px); line-height: 1.1; }
.checkout-page-heading > p { color: #82748b; font-size: 15px; }

.checkout-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(12px, 4vw, 48px);
    margin: 23px 0 0;
    padding: 0;
    list-style: none;
}

.checkout-steps li { display: flex; align-items: center; gap: 8px; color: #a298aa; font-size: 12px; }
.checkout-steps li span {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border: 1px solid #ddd5e1;
    border-radius: 50%;
    background: #fff;
    font-size: 11px;
    font-weight: 800;
}
.checkout-steps li.is-current { color: #30243a; }
.checkout-steps li.is-current span { border-color: var(--pink-primary); color: #fff; background: var(--pink-primary); }

.checkout-form-page { display: block; width: 100%; overflow: visible; padding: 0; }
.checkout-page-grid { display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(320px, .82fr); align-items: start; gap: 22px; }
.checkout-main-column { display: grid; gap: 18px; min-width: 0; }
.checkout-section-card {
    min-width: 0;
    padding: clamp(19px, 2.7vw, 28px);
    border: 1px solid #eee8f1;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(60, 37, 70, .055);
}

.checkout-section-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 21px; }
.checkout-section-icon {
    display: grid;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 15px;
    color: var(--pink-primary);
    background: #fff0f5;
    font-size: 17px;
}
.checkout-section-heading h2, .checkout-order-heading h2 { margin: 0 0 3px; font-size: 18px; }
.checkout-section-heading p { margin: 0; color: #8a7d91; font-size: 12px; }
.checkout-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
#checkoutForm .form-group { min-width: 0; margin-bottom: 16px; }
#checkoutForm .form-group label { display: block; margin: 0 0 7px; color: #493d50; font-size: 12px; font-weight: 700; }
#checkoutForm .form-group input,
#checkoutForm .form-group textarea,
#checkoutForm .form-group select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #e7dfe9;
    border-radius: 13px;
    outline: none;
    color: #30243a;
    background: #fff;
    font: 600 14px 'Quicksand', sans-serif;
    transition: border-color .18s ease, box-shadow .18s ease;
}
#checkoutForm .form-group textarea { min-height: 92px; resize: vertical; }
#checkoutForm .form-group input:focus,
#checkoutForm .form-group textarea:focus,
#checkoutForm .form-group select:focus { border-color: var(--pink-primary); box-shadow: 0 0 0 4px rgba(217, 111, 117, .1); }
#checkoutForm .checkout-location-grid { grid-template-columns: minmax(190px, .82fr) minmax(0, 1.18fr); align-items: start; gap: 12px; }
#checkoutForm .checkout-inline-fields { gap: 10px; }
#checkoutForm .checkout-field-help { margin-top: 7px; font-size: 11px; }
#checkoutForm .checkout-pincode-group { margin-bottom: 16px; }

.delivery-estimate-card { margin: 0 0 14px; border-radius: 16px; box-shadow: none; }
.delivery-estimate-card[data-state="success"] { background: #f2fcf7; border-color: #b9ead2; }
.checkout-preparation-note,
.checkout-payment-assurance {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 13px;
    color: #756980;
    background: #faf7fc;
    font-size: 11px;
    line-height: 1.5;
}
.checkout-preparation-note i, .checkout-payment-assurance i { flex: 0 0 auto; margin-top: 2px; color: #aa6bd4; }
.checkout-preparation-note b { color: #4c3b52; }
.checkout-payment-card .form-group { margin-bottom: 12px !important; }
.checkout-payment-assurance { margin-bottom: 14px; color: #58816a; background: #f1faf5; }
.checkout-payment-assurance i { color: #42a574; }
#checkoutForm .upi-payment-box { margin: 12px 0 0; border-radius: 16px; }
#checkoutForm .upi-qr-wrapper img { width: 144px; height: 144px; }

.checkout-order-sidebar { position: sticky; top: 92px; display: grid; gap: 14px; min-width: 0; }
.checkout-order-card { padding: 22px; }
.checkout-order-heading { display: flex; justify-content: space-between; align-items: start; gap: 8px; margin-bottom: 14px; }
.checkout-order-heading .checkout-kicker { display: block; margin-bottom: 4px; font-size: 9px; }
.checkout-order-count { padding: 6px 9px; border-radius: 20px; color: #815d88; background: #f8f1fa; font-size: 10px; font-weight: 700; }
.checkout-items-summary { display: grid; max-height: 330px; gap: 12px; overflow-y: auto; padding: 1px 3px 12px 1px; }
.checkout-summary-item { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: start; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #f0ebf2; }
.checkout-summary-item > img { width: 54px; height: 58px; border-radius: 11px; object-fit: cover; background: #f5eff7; }
.checkout-summary-item-copy { display: grid; gap: 3px; min-width: 0; }
.checkout-summary-item-copy strong { overflow: hidden; color: #33263b; font-size: 12px; line-height: 1.35; text-overflow: ellipsis; }
.checkout-summary-item-copy span, .checkout-summary-item-copy small { color: #83758b; font-size: 10px; line-height: 1.35; overflow-wrap: anywhere; }
.checkout-summary-item-price { color: #392840; font-size: 11px; white-space: nowrap; }
.checkout-summary-lines { display: grid; gap: 9px; padding: 12px 0; border-bottom: 1px solid #eee8f1; }
.checkout-summary-lines > div, .checkout-total-row { display: flex; justify-content: space-between; gap: 12px; color: #786c80; font-size: 12px; }
.checkout-free-shipping { max-width: 145px; color: #8e7897; font-size: 10px; text-align: right; }
.checkout-total-row { align-items: center; padding: 15px 0; color: #34253e; font-size: 14px; font-weight: 800; }
.checkout-total-row strong { font-size: 23px; }
#checkoutForm #placeOrderBtn { display: flex; justify-content: center; align-items: center; gap: 9px; min-height: 54px; margin: 0; border-radius: 15px; font-size: 15px; box-shadow: 0 8px 18px rgba(217, 111, 117, .22); }
.checkout-review-caption { display: flex; align-items: flex-start; gap: 7px; margin: 12px 0 0; color: #7e7185; font-size: 10px; line-height: 1.45; }
.checkout-review-caption i { color: #36a978; }
.checkout-edit-cart { width: 100%; margin-top: 13px; padding: 12px 0 0; border-top: 1px solid #f0ebf2; font-size: 11px; }
.checkout-trust-card { display: grid; gap: 13px; padding: 17px 19px; border: 1px solid #eee8f1; border-radius: 18px; background: #fff; }
.checkout-trust-card > div { display: flex; gap: 11px; align-items: flex-start; }
.checkout-trust-card > div > i { width: 19px; margin-top: 2px; color: #b266d6; text-align: center; }
.checkout-trust-card span { display: grid; gap: 2px; }
.checkout-trust-card b { color: #413348; font-size: 11px; }
.checkout-trust-card small { color: #887a90; font-size: 10px; line-height: 1.4; }
.checkout-privacy-note { margin: 0 4px; color: #95899b; font-size: 10px; line-height: 1.45; }
.checkout-privacy-note i { margin-right: 4px; }

@media (max-width: 800px) {
    .checkout-page-grid { grid-template-columns: 1fr; }
    .checkout-order-sidebar { position: static; grid-row: auto; }
    .checkout-items-summary { max-height: 260px; }
    .checkout-order-card { padding: 18px; }
    .checkout-page-shell { padding-top: 25px; }
}

@media (max-width: 560px) {
    .checkout-topbar-inner, .checkout-page-shell { width: min(100% - 24px, 1180px); }
    .checkout-topbar-inner { min-height: 62px; grid-template-columns: 1fr auto; gap: 8px; }
    .checkout-brand { display: none; }
    .checkout-encryption { grid-column: 2; grid-row: 1; }
    .checkout-back-button { font-size: 12px; }
    .checkout-page-heading { margin-bottom: 18px; }
    .checkout-page-heading h1 { font-size: 28px; }
    .checkout-page-heading > p { font-size: 12px; }
    .checkout-steps { gap: 12px; margin-top: 17px; }
    .checkout-steps li { gap: 5px; font-size: 10px; }
    .checkout-steps li span { width: 23px; height: 23px; }
    .checkout-page-grid { gap: 13px; }
    .checkout-main-column { gap: 13px; }
    .checkout-section-card { padding: 17px 15px; border-radius: 18px; }
    .checkout-section-heading { gap: 10px; margin-bottom: 17px; }
    .checkout-section-icon { flex-basis: 38px; width: 38px; height: 38px; border-radius: 13px; }
    .checkout-section-heading h2, .checkout-order-heading h2 { font-size: 16px; }
    .checkout-section-heading p { font-size: 10px; }
    .checkout-contact-grid { grid-template-columns: 1fr; gap: 0; }
    #checkoutForm .checkout-location-grid { grid-template-columns: 1fr; gap: 0; }
    #checkoutForm .checkout-inline-fields { grid-template-columns: 1fr 1fr; }
    #checkoutForm .form-group { margin-bottom: 13px; }
    #checkoutForm .form-group input, #checkoutForm .form-group textarea, #checkoutForm .form-group select { min-height: 47px; font-size: 16px; }
    .checkout-order-sidebar { gap: 11px; }
    .checkout-order-card { padding: 16px; }
    .checkout-total-row strong { font-size: 21px; }
    #checkoutForm #placeOrderBtn { min-height: 52px; }
    .checkout-trust-card { padding: 14px; }
    .checkout-page-shell { padding-bottom: max(28px, env(safe-area-inset-bottom)); }
}

.delivery-estimate-card {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 0 0 12px;
    padding: 12px 14px;
    border: 1px solid #F2D8D0;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff5f9 0%, #fff 100%);
    box-shadow: 0 5px 14px rgba(217, 111, 117, 0.07);
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.delivery-estimate-icon {
    display: grid;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 12px;
    background: #ffe4ee;
    font-size: 18px;
}

.delivery-estimate-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
    color: #5b425c;
    font-size: 12px;
    line-height: 1.45;
}

.delivery-estimate-copy strong {
    color: #321c32;
    font-size: 13px;
}

.delivery-estimate-card[data-state="checking"] {
    border-color: #e2c3ff;
    background: linear-gradient(135deg, #faf5ff 0%, #fff 100%);
}

.delivery-estimate-card[data-state="serviceable"] {
    border-color: #bfead6;
    background: linear-gradient(135deg, #f1fff8 0%, #fff 100%);
}

.delivery-estimate-card[data-state="unavailable"] {
    border-color: #ffd4b8;
    background: linear-gradient(135deg, #FFFAF3 0%, #fff 100%);
}

.delivery-estimate-card[data-state="error"] {
    border-color: #ffc9c9;
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
}

@media (max-width: 360px) {
    #checkoutForm .checkout-inline-fields {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* POPCHINAR work gallery in the homepage hero */
.hero.portfolio-hero {
    padding: 24px clamp(16px, 3vw, 42px) 30px;
    text-align: left;
}

.portfolio-heading {
    max-width: 1240px;
    margin: 0 auto 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.portfolio-title-group { min-width: 0; }

.portfolio-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 5px;
    padding: 5px 12px;
    color: #ff5388;
    background: rgba(255,255,255,.86);
    border: 1px solid #ffc0cb;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
}

.portfolio-title-group h1 {
    margin: 0 0 4px;
    color: #321d31;
    font-size: clamp(23px, 2.6vw, 33px);
    line-height: 1.12;
}

.portfolio-title-group p {
    max-width: 660px;
    margin: 0;
    color: #7E7888;
    font-family: 'Quicksand', sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.portfolio-shop-btn {
    flex: 0 0 auto;
    padding: 11px 18px;
    font-size: 13px;
}

.portfolio-gallery {
    width: min(100%, 1240px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.portfolio-card {
    min-width: 0;
    overflow: hidden;
    padding: 8px;
    background: rgba(255,255,255,.96);
    border: 2px solid #fff;
    border-radius: 19px;
    box-shadow: 0 7px 20px rgba(165, 93, 142, .15), 0 0 0 1px rgba(217,111,117,.18);
    transition: transform .2s ease, box-shadow .2s ease;
}

.portfolio-card:nth-child(odd) { transform: rotate(-.45deg); }
.portfolio-card:nth-child(even) { transform: rotate(.45deg); }
.portfolio-card:hover {
    transform: translateY(-3px) rotate(0);
    box-shadow: 0 12px 25px rgba(165, 93, 142, .2), 0 0 0 1px rgba(217,111,117,.32);
}

.portfolio-media-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1.42 / 1;
    overflow: hidden;
    background: linear-gradient(135deg, #ffe5ef, #f2e7ff);
    border: 1px solid #F2D8D0;
    border-radius: 13px;
}

.portfolio-media {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-media-tag {
    position: absolute;
    z-index: 1;
    top: 8px;
    left: 8px;
    padding: 4px 9px;
    color: #fff;
    background: linear-gradient(110deg, #ff4f88, #ba54e8);
    border: 1px solid rgba(255,255,255,.85);
    border-radius: 999px;
    box-shadow: 0 3px 9px rgba(73, 28, 76, .2);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .05em;
}

.portfolio-card-copy { padding: 8px 4px 2px; }
.portfolio-card-copy h2 {
    overflow: hidden;
    margin: 0;
    color: #382338;
    font-size: 13px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.portfolio-card-copy p {
    display: -webkit-box;
    overflow: hidden;
    margin: 4px 0 0;
    color: #906d91;
    font-size: 11px;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.portfolio-empty {
    grid-column: 1 / -1;
    display: flex;
    min-height: 118px;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px;
    color: #73506e;
    background: rgba(255,255,255,.76);
    border: 2px dashed #ff9ec0;
    border-radius: 21px;
    text-align: left;
}
.portfolio-empty-icon {
    display: grid;
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    place-items: center;
    background: #fff0f6;
    border: 1px solid #F2D8D0;
    border-radius: 18px;
    font-size: 27px;
}
.portfolio-empty strong, .portfolio-empty span:not(.portfolio-empty-icon) { display: block; }
.portfolio-empty strong { color: #4b2d4a; font-size: 15px; }
.portfolio-empty div span { margin-top: 4px; font-size: 12px; }

@media (max-width: 768px) {
    .hero.portfolio-hero { padding: 20px 14px 24px; }
    .portfolio-heading { align-items: center; flex-direction: column; gap: 10px; margin-bottom: 14px; text-align: center; }
    .portfolio-title-group p { font-size: 12px; }
    .portfolio-shop-btn { padding: 9px 15px; }
    .portfolio-gallery {
        grid-template-columns: none;
        grid-auto-columns: minmax(72vw, 1fr);
        grid-auto-flow: column;
        overflow-x: auto;
        gap: 12px;
        padding: 5px 5px 12px;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
    }
    .portfolio-card { scroll-snap-align: start; }
    .portfolio-media-frame { aspect-ratio: 1.35 / 1; }
}

@media (prefers-reduced-motion: reduce) {
    .portfolio-card { transition: none; }
    .main-image-frame.phone-case-preview.phone-live-animated { animation: none; }
}
/* UV DTF product designs, application guide and care */
#productDetailPage.uv-dtf-sticker-detail .page-media-box {
    gap: 12px;
}
#productDetailPage.uv-dtf-sticker-detail .main-image-frame.product-artwork-preview {
    max-height: 590px;
    background: linear-gradient(145deg, #FFF8F2, #f5edff);
}
#productDetailPage.uv-dtf-sticker-detail .main-image-frame.product-artwork-preview img#pageDetailImg {
    object-fit: contain;
}
#productDetailPage.ep-metal-sticker-detail .main-image-frame.product-artwork-preview {
    max-height: 590px;
    background: #fff;
}
#productDetailPage.ep-metal-sticker-detail .main-image-frame.product-artwork-preview img#pageDetailImg {
    object-fit: contain;
}
#uvDtfDesignSamples[hidden],
#uvDtfUsageGuide[hidden] {
    display: none !important;
}
.uvdtf-sample-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}
.uvdtf-sample-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
    overflow: hidden;
    color: #573b56;
    background: rgba(255,255,255,.9);
    border: 2px solid #f5d8e5;
    border-radius: 15px;
    font: inherit;
    cursor: pointer;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.uvdtf-sample-card:hover {
    transform: translateY(-2px);
}
.uvdtf-sample-card.active {
    border-color: #ff5388;
    box-shadow: 0 0 0 2px rgba(217,111,117,.13), 0 5px 14px rgba(142,68,112,.12);
}
.uvdtf-sample-card:focus-visible {
    outline: 3px solid #a855f7;
    outline-offset: 2px;
}
.uvdtf-sample-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #FFF8F2;
    border-radius: 10px;
}
.uvdtf-sample-card span {
    overflow: hidden;
    padding: 0 2px 2px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.uvdtf-usage-guide {
    display: grid;
    gap: 12px;
    padding: 16px;
    color: #674b67;
    background: linear-gradient(145deg, #FFFAF4, #fff);
    border: 1px solid #f4cfdf;
    border-radius: 18px;
    box-shadow: 0 7px 20px rgba(75,35,65,.05);
}
.uvdtf-guide-heading > span {
    color: #ff5388;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.uvdtf-guide-heading h2 {
    margin: 4px 0;
    color: #382338;
    font-size: 18px;
}
.uvdtf-guide-heading p {
    margin: 0;
    color: #846984;
    font-size: 12px;
    line-height: 1.5;
}
.uvdtf-use-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.uvdtf-use-grid > div {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    align-items: center;
    column-gap: 7px;
    padding: 8px;
    background: #fff;
    border: 1px solid #f4d9e5;
    border-radius: 12px;
}
.uvdtf-use-grid > div > span {
    grid-row: span 2;
    font-size: 20px;
}
.uvdtf-use-grid strong {
    color: #54384f;
    font-size: 11px;
}
.uvdtf-use-grid small {
    color: #8b7089;
    font-size: 9px;
    line-height: 1.25;
}
.uvdtf-apply-card {
    padding: 11px 12px;
    background: #fff;
    border: 1px dashed #EBC5C7;
    border-radius: 13px;
}
.uvdtf-apply-card h3 {
    margin: 0 0 7px;
    color: #ff5388;
    font-size: 13px;
}
.uvdtf-apply-card ol {
    display: grid;
    gap: 6px;
    margin: 0;
    padding-left: 19px;
    font-size: 11px;
    line-height: 1.45;
}
.uvdtf-care-note {
    margin: 0;
    padding: 9px 10px;
    color: #775566;
    background: #fff0f5;
    border-radius: 10px;
    font-size: 10px;
    line-height: 1.5;
}
@media (max-width: 600px) {
    .uvdtf-sample-gallery { gap: 7px; }
    .uvdtf-sample-card { padding: 4px; border-radius: 12px; }
    .uvdtf-sample-card span { font-size: 9px; }
    .uvdtf-usage-guide { padding: 12px; }
}

/* ===== Cloud Garden storefront redesign ===== */
:root {
    --bg-main: #F3F9F8;
    --bg-card: #FFFFFF;
    --border-cute: #DCEBE7;
    --pink-primary: #53A895;
    --pink-hover: #348A79;
    --purple-accent: #8A7CC2;
    --yellow-glow: #F1C96C;
    --text-main: #24373B;
    --text-muted: #6A8083;
    --shadow-soft: 0 14px 38px rgba(54, 95, 91, .09);
    --shadow-glow: 0 12px 30px rgba(83, 168, 149, .22);
    --footer-bg: linear-gradient(135deg, #E6F4EF, #EEF1FC);
    --footer-text: #24373B;
    --footer-accent: #348A79;
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body.cute-theme {
    background: radial-gradient(ellipse at 5% 20%, rgba(206, 238, 228, .44), transparent 32%),
                radial-gradient(ellipse at 92% 42%, rgba(225, 222, 247, .34), transparent 29%),
                var(--bg-main);
    color: var(--text-main);
}
.bg-decor { display: none; }
.announcement-bar {
    color: #345C55;
    background: linear-gradient(90deg, #DDF3EB, #E9E9FA, #E5F4EE);
    background-size: 180% 180%;
    padding: 9px 14px;
    font-size: 12px;
    letter-spacing: .035em;
    animation: cloud-sheen 14s ease-in-out infinite alternate;
}
.navbar {
    background: rgba(249, 253, 252, .9);
    border-bottom: 1px solid rgba(204, 224, 219, .85);
    padding: 12px 0;
    box-shadow: 0 8px 28px rgba(52, 93, 88, .055);
}
.nav-container { max-width: 1400px; gap: 22px; }
.pop-bubble {
    background: linear-gradient(145deg, #67BCA8, #4A9A91);
    box-shadow: 0 7px 18px rgba(69, 145, 131, .24);
    animation: logo-bob 4.5s ease-in-out infinite;
}
.chinar-text { color: #233A3C; }
.logo-sub { color: #7184B5; }
.sparkle-flower { animation: gentle-turn 12s linear infinite; }
.search-box {
    flex: 1 1 340px;
    max-width: 420px;
    background: #F4FAF9;
    border: 1px solid #D6E8E3;
    border-radius: 16px;
    padding: 11px 16px;
}
.search-box:focus-within { box-shadow: 0 0 0 4px rgba(83, 168, 149, .12); }
.nav-btn, .cart-btn { border-radius: 14px; }
.nav-btn { background: #F7FBFA; border: 1px solid #DCEBE7; color: #478D80; }
.nav-btn:hover { background: #E7F5F0; color: #347E72; border-color: #B7DCD2; }
.cart-btn {
    background: linear-gradient(135deg, #58A998, #718CC1);
    box-shadow: 0 9px 22px rgba(74, 144, 133, .2);
}
.cart-count { background: #F3D77F; }

.cloud-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(380px, .97fr);
    align-items: center;
    gap: clamp(30px, 5vw, 74px);
    width: min(1400px, calc(100% - 48px));
    min-height: 490px;
    margin: 28px auto 0;
    padding: clamp(34px, 5vw, 70px) clamp(28px, 6vw, 84px);
    overflow: hidden;
    border: 1px solid rgba(207, 230, 222, .9);
    border-radius: 34px;
    background: linear-gradient(118deg, #E6F5EF 0%, #EEF7FA 52%, #F2EFFB 100%);
    box-shadow: 0 24px 65px rgba(53, 96, 91, .10);
}
.cloud-hero::before, .cloud-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}
.cloud-hero::before {
    width: 420px; height: 420px; right: -115px; top: -205px;
    background: rgba(255, 255, 255, .43);
}
.cloud-hero::after {
    width: 270px; height: 270px; left: 37%; bottom: -220px;
    background: rgba(255, 255, 255, .32);
}
.cloud-hero-copy { position: relative; z-index: 2; max-width: 610px; }
.cloud-eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    margin-bottom: 20px; padding: 8px 13px;
    color: #4C8277; background: rgba(255,255,255,.7);
    border: 1px solid #CFE6DE; border-radius: 999px;
    font-size: 11px; font-weight: 800; letter-spacing: .13em;
}
.cloud-eyebrow-dot {
    width: 8px; height: 8px; border-radius: 50%; background: #66B9A1;
    box-shadow: 0 0 0 5px rgba(102,185,161,.15);
}
.cloud-hero h1 {
    margin: 0 0 16px; color: #24383C;
    font-size: clamp(42px, 5.2vw, 68px); line-height: .99;
    letter-spacing: -.055em; font-weight: 800;
}
.cloud-hero h1 span {
    color: #548E87;
    background: linear-gradient(95deg, #4B9B8C, #7986B5 80%);
    background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.cloud-hero-copy > p {
    max-width: 510px; margin: 0 0 27px;
    color: #637A7C; font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.7; font-weight: 500;
}
.cloud-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cloud-cta-primary, .cloud-cta-secondary {
    display: inline-flex; align-items: center; justify-content: center; gap: 11px;
    min-height: 50px; padding: 0 20px; border-radius: 15px;
    text-decoration: none; font-size: 14px; font-weight: 800;
    transition: transform .24s ease, box-shadow .24s ease, background .24s ease;
}
.cloud-cta-primary {
    color: #fff; background: linear-gradient(135deg, #59AA98, #6A8DB6);
    box-shadow: 0 12px 24px rgba(76, 147, 135, .22);
}
.cloud-cta-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(76,147,135,.3); }
.cloud-cta-secondary { color: #557B76; background: rgba(255,255,255,.65); border: 1px solid #CFE3DC; }
.cloud-cta-secondary:hover { transform: translateY(-3px); background: #fff; }
.cloud-proofline { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 30px; }
.cloud-proofline span { display: inline-flex; align-items: center; gap: 7px; color: #647B7A; font-size: 11px; font-weight: 700; }
.cloud-proofline i { color: #63A895; font-size: 12px; }

.cloud-hero-art { position: relative; min-height: 380px; display: grid; place-items: center; }
.cloud-art-halo {
    position: absolute; width: min(84%, 390px); aspect-ratio: 1;
    border-radius: 42% 58% 61% 39% / 43% 41% 59% 57%;
    background: linear-gradient(145deg, rgba(255,255,255,.76), rgba(212,238,229,.75));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.78), 0 25px 50px rgba(73, 119, 111, .09);
    animation: halo-breathe 10s ease-in-out infinite alternate;
}
.cloud-art-main {
    position: relative; width: min(70%, 310px); aspect-ratio: .82;
    margin: 0 40px 0 0; padding: 9px 9px 52px;
    overflow: hidden; border: 1px solid rgba(255,255,255,.92); border-radius: 24px;
    background: #fff; box-shadow: 0 22px 55px rgba(46, 75, 68, .2);
    transform: rotate(-4deg); animation: art-drift 7s ease-in-out infinite;
}
.cloud-art-main img { width: 100%; height: 100%; object-fit: cover; border-radius: 17px; }
.cloud-art-main figcaption { position: absolute; left: 22px; bottom: 13px; display: grid; gap: 2px; }
.cloud-art-main figcaption span { color: #6D9A8E; font-size: 8px; font-weight: 900; letter-spacing: .15em; }
.cloud-art-main figcaption strong { color: #344749; font-size: 13px; }
.cloud-art-float {
    position: absolute; z-index: 2; right: 0; bottom: 3px;
    display: flex; align-items: center; gap: 10px;
    width: min(59%, 250px); padding: 8px; margin: 0;
    border: 1px solid rgba(255,255,255,.92); border-radius: 18px;
    background: rgba(255,255,255,.91); box-shadow: 0 15px 38px rgba(48, 72, 77, .16);
    animation: float-card 6s ease-in-out infinite;
}
.cloud-art-float img { width: 70px; height: 66px; flex: 0 0 auto; object-fit: cover; border-radius: 12px; }
.cloud-art-float figcaption { display: grid; gap: 4px; }
.cloud-art-float strong { color: #33474B; font-size: 11px; }
.cloud-art-float span { color: #7A8E90; font-size: 9px; }
.cloud-art-sticker {
    position: absolute; z-index: 3; top: 17px; right: 8%;
    display: grid; place-content: center; width: 86px; height: 86px;
    color: #fff; background: linear-gradient(145deg, #A697D0, #8199BF);
    border: 5px solid rgba(255,255,255,.76); border-radius: 50%;
    text-align: center; transform: rotate(9deg); box-shadow: 0 12px 26px rgba(100, 104, 153, .2);
    animation: sticker-wiggle 5s ease-in-out infinite;
}
.cloud-art-sticker span { font-size: 15px; line-height: 1; }
.cloud-art-sticker strong { font-size: 10px; line-height: 1.15; }
.cloud-art-spark { position: absolute; color: #D9B862; animation: spark-turn 8s linear infinite; }
.cloud-spark-one { left: 7%; top: 19%; font-size: 26px; }
.cloud-spark-two { right: 5%; bottom: 29%; color: #79BCAA; font-size: 22px; animation-direction: reverse; }

.categories-wrapper { max-width: 1400px; margin-top: 54px; }
.category-header h3 { color: #536F72; font-size: 14px; letter-spacing: .01em; }
.categories-bar { gap: 10px; padding: 4px 2px 12px; scrollbar-width: thin; scrollbar-color: #C8DDD7 transparent; }
.cat-chip {
    padding: 11px 17px; border: 1px solid #DCEAE6; border-radius: 13px;
    color: #536A6D; background: rgba(255,255,255,.82);
    font-size: 12px; box-shadow: 0 5px 14px rgba(46, 88, 81, .05);
}
.cat-chip.active, .cat-chip:hover {
    color: #fff; background: linear-gradient(135deg, #5AAE9A, #7797BF);
    border-color: transparent; box-shadow: 0 10px 20px rgba(81, 154, 139, .2);
}
.products-section { max-width: 1400px; padding-top: 32px; }
.section-header { align-items: flex-end; margin-bottom: 23px; }
.section-title { font-size: clamp(25px, 3vw, 34px); letter-spacing: -.04em; }
.product-count-badge { color: #6884B4; background: #F2F3FC; border: 1px solid #E0E0F2; border-radius: 12px; font-size: 11px; }
.products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.product-card {
    position: relative; border: 1px solid #E2ECE9; border-radius: 22px;
    background: #fff; box-shadow: 0 10px 27px rgba(37, 79, 72, .07);
    transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s ease, border-color .28s ease;
    animation: card-arrive .55s both;
}
.product-card:nth-child(2) { animation-delay: 45ms; }
.product-card:nth-child(3) { animation-delay: 90ms; }
.product-card:nth-child(4) { animation-delay: 135ms; }
.product-card:nth-child(5) { animation-delay: 180ms; }
.product-card:nth-child(6) { animation-delay: 225ms; }
.product-card:hover { transform: translateY(-7px); border-color: #BBDDD2; box-shadow: 0 18px 38px rgba(50, 103, 94, .15); }
.product-img-wrapper { height: 235px; border: 0; background: linear-gradient(145deg, #EAF6F2, #F0EFFB); }
.product-img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-img { transform: scale(1.045); }
.tag-badge { top: 13px; left: 13px; background: rgba(73, 151, 135, .93); border-radius: 9px; box-shadow: none; font-size: 9px; letter-spacing: .08em; }
.product-info { padding: 17px 18px 19px; }
.product-title { font-size: 15px; line-height: 1.35; }
.product-desc { font-size: 12px; line-height: 1.65; }
.product-bottom { border-color: #EDF2F0; }
.price-accent { color: #478F80; font-size: 20px; }
.btn-add-cart { background: #E7F4F0; color: #367E71; border: 1px solid #CDE5DD; border-radius: 11px; box-shadow: none; }
.btn-add-cart:hover { color: #fff; background: #4E9D8C; transform: translateY(-2px); }

.footer-popsquad { border-top-color: #D6E9E3; }
.footer-col h4, .footer-col a:hover { color: #4F9C8C; }
.footer-bottom-bar { background: #EAF3F1; color: #5A7072; }
.modal-card, .cute-card { border-color: #DCEBE7; box-shadow: 0 25px 75px rgba(38, 66, 69, .2); }
.close-btn { color: #6D8D86; }

@keyframes cloud-sheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes logo-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes gentle-turn { to { transform: rotate(360deg); } }
@keyframes halo-breathe { from { transform: rotate(-5deg) scale(.97); } to { transform: rotate(5deg) scale(1.03); } }
@keyframes art-drift { 0%,100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-7px); } }
@keyframes float-card { 0%,100% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-9px) rotate(0deg); } }
@keyframes sticker-wiggle { 0%,100% { transform: rotate(9deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-5px); } }
@keyframes spark-turn { to { transform: rotate(360deg) scale(1.12); } }
@keyframes card-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 980px) {
    .cloud-hero { grid-template-columns: minmax(0,1fr) minmax(310px,.85fr); gap: 20px; padding: 42px 32px; }
    .cloud-hero-art { min-height: 340px; }
    .cloud-proofline { gap: 10px 14px; }
    .nav-container { flex-wrap: wrap; }
    .search-box { order: 3; flex-basis: 100%; max-width: none; }
}
@media (max-width: 700px) {
    .cloud-hero { grid-template-columns: 1fr; width: calc(100% - 24px); min-height: 0; gap: 6px; margin-top: 12px; padding: 31px 22px 20px; border-radius: 25px; }
    .cloud-hero-copy { max-width: none; }
    .cloud-eyebrow { margin-bottom: 15px; font-size: 9px; }
    .cloud-hero h1 { font-size: clamp(32px, 9vw, 48px); }
    .cloud-hero-copy > p { max-width: 440px; font-size: 14px; margin-bottom: 19px; }
    .cloud-hero-actions { gap: 9px; }
    .cloud-cta-primary, .cloud-cta-secondary { min-height: 45px; padding: 0 13px; font-size: 11px; border-radius: 12px; }
    .cloud-proofline { margin-top: 19px; gap: 8px 13px; }
    .cloud-proofline span { font-size: 9px; }
    .cloud-hero-art { min-height: 270px; margin-top: 8px; }
    .cloud-art-halo { width: 76%; }
    .cloud-art-main { width: min(67%, 260px); margin-right: 24px; padding-bottom: 43px; border-radius: 18px; }
    .cloud-art-main figcaption { left: 16px; bottom: 10px; }
    .cloud-art-main figcaption strong { font-size: 11px; }
    .cloud-art-float { width: min(61%, 220px); right: -1px; bottom: -1px; gap: 7px; border-radius: 14px; }
    .cloud-art-float img { width: 55px; height: 53px; }
    .cloud-art-float strong { font-size: 9px; }
    .cloud-art-float span { font-size: 8px; }
    .cloud-art-sticker { width: 68px; height: 68px; top: 4px; right: 5%; border-width: 4px; }
    .cloud-art-sticker strong { font-size: 8px; }
    .categories-wrapper { margin-top: 32px; padding-inline: 16px; }
    .category-header h3 { font-size: 12px; }
    .cat-chip { padding: 9px 12px; font-size: 10px; }
    .products-section { padding: 26px 16px 55px; }
    .section-header { align-items: center; gap: 9px; }
    .section-title { font-size: 22px; }
    .product-count-badge { padding: 5px 9px; font-size: 9px; white-space: nowrap; }
    .products-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; }
    .product-card { border-radius: 16px; }
    .product-img-wrapper { height: auto; aspect-ratio: 1 / .88; }
    .product-info { padding: 12px 11px 13px; }
    .product-title { font-size: 12px; }
    .product-desc { font-size: 10px; line-height: 1.5; margin-bottom: 10px; }
    .price-accent { font-size: 15px; }
    .btn-add-cart { padding: 8px 9px; font-size: 10px; }
    .tag-badge { top: 8px; left: 8px; padding: 4px 7px; font-size: 7px; }
    .announcement-bar { font-size: 10px; padding: 7px 10px; }
    .navbar { padding: 9px 0; }
    .nav-container { padding-inline: 14px; gap: 9px; }
    .pop-bubble { font-size: 16px; padding: 2px 8px; }
    .chinar-text { font-size: 18px; }
    .logo-sub { font-size: 8px; letter-spacing: 1.3px; }
    .nav-actions { gap: 6px; }
    .nav-btn { padding: 8px 10px; font-size: 10px; }
    .cart-btn { padding: 8px 11px; font-size: 11px; }
    .search-box { padding: 9px 12px; }
    .search-box input { font-size: 12px; }
}
@media (max-width: 380px) {
    .products-grid { grid-template-columns: 1fr; }
    .product-img-wrapper { aspect-ratio: 1.35 / 1; }
    .nav-btn span { display: none; }
    .cloud-proofline span { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Website inbox and visitor live chat */
.inquiry-status { min-height: 1.3em; margin: 8px 0 0; color: #397b67; font-size: 12px; line-height: 1.5; }
.inquiry-form button:disabled { opacity: .7; cursor: wait; }
.support-chat-root { position: fixed; z-index: 1200; right: 25px; bottom: 100px; font-family: inherit; }
.support-chat-launcher { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 19px; border: 0; border-radius: 999px; background: linear-gradient(135deg, #a8e5d2, #c9d9ff); color: #284d54; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 12px 34px rgba(77, 128, 140, .25); transition: transform .2s ease, box-shadow .2s ease; }
.support-chat-launcher:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(77, 128, 140, .3); }
.support-chat-launcher-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.7); font-size: 17px; }
.support-chat-launcher-dot { width: 8px; height: 8px; border-radius: 50%; background: #64bb8a; box-shadow: 0 0 0 4px rgba(100,187,138,.16); }
.support-chat-panel { position: absolute; right: 0; bottom: 68px; display: flex; flex-direction: column; width: min(365px, calc(100vw - 32px)); height: min(540px, calc(100dvh - 110px)); overflow: hidden; border: 1px solid #deeee8; border-radius: 24px; background: #fffefa; box-shadow: 0 22px 70px rgba(62, 99, 99, .22); opacity: 0; pointer-events: none; transform: translateY(14px) scale(.98); transform-origin: bottom right; transition: opacity .2s ease, transform .2s ease; }
.support-chat-panel.is-open { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.support-chat-header { display: flex; align-items: center; gap: 11px; padding: 17px 17px 15px; color: #284d54; background: linear-gradient(120deg, #e1f7ee, #e8edff); }
.support-chat-avatar { display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid white; border-radius: 15px; background: #fff; color: #599d89; font-size: 21px; font-weight: 900; box-shadow: 0 4px 12px #76b8a42b; }
.support-chat-heading { display: grid; gap: 3px; flex: 1; }
.support-chat-heading strong { font-size: 14px; }
.support-chat-heading span { color: #66877d; font-size: 11px; }
.support-chat-heading i { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: #56b681; }
.support-chat-close { width: 34px; height: 34px; border: 0; border-radius: 50%; color: #547b72; background: rgba(255,255,255,.75); font-size: 23px; cursor: pointer; }
.support-chat-welcome { display: grid; gap: 5px; padding: 15px 18px 12px; color: #4f6c66; font-size: 12px; }
.support-chat-welcome strong { color: #365f56; font-size: 14px; }
.support-chat-messages { display: flex; flex: 1; flex-direction: column; gap: 9px; overflow-y: auto; padding: 12px 15px; background: radial-gradient(circle at 95% 5%, #edf1ff 0, transparent 32%), #fbfdfa; }
.support-chat-empty { margin: auto; max-width: 235px; color: #80938c; text-align: center; font-size: 12px; line-height: 1.5; }
.support-chat-message { display: grid; gap: 4px; width: fit-content; max-width: 84%; padding: 10px 12px 7px; border-radius: 16px 16px 16px 5px; color: #46645d; background: #eaf5ef; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-wrap; }
.support-chat-message.from-visitor { align-self: flex-end; border-radius: 16px 16px 5px 16px; color: #3c536b; background: #e9edff; }
.support-chat-message small { justify-self: end; color: #82958f; font-size: 9px; }
.support-chat-form { padding: 11px 13px max(12px, env(safe-area-inset-bottom)); border-top: 1px solid #e7eee9; background: #fffefa; }
.support-chat-identity { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 8px; }
.support-chat-identity[hidden] { display: none; }
.support-chat-identity input { min-width: 0; height: 36px; padding: 0 10px; border: 1px solid #e1ebe5; border-radius: 11px; outline: 0; background: #fff; color: #354d49; font: inherit; font-size: 11px; }
.support-chat-compose { display: flex; align-items: end; gap: 8px; padding: 6px 7px 6px 12px; border: 1px solid #e2eae6; border-radius: 18px; background: #fff; }
.support-chat-compose textarea { flex: 1; max-height: 94px; min-height: 30px; resize: vertical; border: 0; outline: 0; background: transparent; color: #344e48; font: inherit; font-size: 13px; line-height: 1.4; }
.support-chat-compose button { flex: 0 0 34px; width: 34px; height: 34px; border: 0; border-radius: 12px; color: #fff; background: #72bda1; font-size: 17px; cursor: pointer; }
.support-chat-compose button:disabled { opacity: .55; cursor: wait; }
.support-chat-status { min-height: 14px; margin: 5px 3px 0; color: #748982; font-size: 10px; }
@media (max-width: 520px) {
    .support-chat-root { right: 25px; bottom: 100px; }
    .support-chat-launcher { min-height: 50px; padding: 0 15px; }
    .support-chat-panel { right: -3px; bottom: 62px; height: min(560px, calc(100dvh - 90px)); }
}
@media (prefers-reduced-motion: reduce) {
    .support-chat-launcher, .support-chat-panel { transition: none; }
}
