/* ----------------------------------------------------
   DESIGN SYSTEM & BRAND TOKENS
   Nagi Trendy Premium Custom Leather Goods Theme
---------------------------------------------------- */

:root {
    /* Color Palette */
    --color-primary: #C2593F;        /* Terracotta Clay */
    --color-primary-hover: #A5442C;
    --color-secondary: #D4AF37;      /* Amber Brass Gold */
    --color-secondary-dark: #B28E25;
    
    --color-bg-base: #FAF7F2;        /* Warm Sand / Light Cream */
    --color-bg-surface: #FFFFFF;
    --color-bg-dark: #1D1412;        /* Deep Leather Charcoal */
    --color-bg-dark-surface: #2C1E1B;
    
    --color-text-main: #3E302D;      /* Earthy Brownish Charcoal */
    --color-text-muted: #7E6C68;
    --color-text-light: #FAF7F2;
    
    --color-border: #E8E2D7;
    --color-glass-bg: rgba(255, 255, 255, 0.8);
    --color-glass-border: rgba(255, 255, 255, 0.5);
    
    /* Layout & Shadows */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 4px 6px -1px rgba(62, 48, 45, 0.05);
    --shadow-md: 0 12px 24px -4px rgba(62, 48, 45, 0.08);
    --shadow-lg: 0 24px 48px -12px rgba(62, 48, 45, 0.12);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    
    /* Transition */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----------------------------------------------------
   BASE STYLES & RESET
---------------------------------------------------- */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--color-bg-base);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-text-main);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    background: none;
    outline: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 24px;
    padding-left: 24px;
}

.text-center { text-align: center; }
.text-uppercase { text-transform: uppercase; }
.mt-4 { margin-top: 1.5rem; }
.text-primary { color: var(--color-primary) !important; }

/* ----------------------------------------------------
   UI BUTTONS & UTILITIES
---------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--color-primary);
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text-main);
    border: 2px solid var(--color-text-main);
}

.btn-outline:hover {
    background-color: var(--color-text-main);
    color: var(--color-bg-base);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(194, 89, 63, 0.1);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* Section Common */
section {
    padding: 96px 0;
}

.section-header {
    margin-bottom: 64px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ----------------------------------------------------
   NOTIFICATION BAR
---------------------------------------------------- */

.notification-bar {
    background-color: var(--color-bg-dark-surface);
    color: var(--color-text-light);
    padding: 10px 24px;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    z-index: 1001;
    position: relative;
}

/* ----------------------------------------------------
   HEADER NAVIGATION
---------------------------------------------------- */

.header {
    background-color: var(--color-glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background-color: var(--color-primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
}

.logo-text .accent {
    color: var(--color-primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 600;
    color: var(--color-text-main);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.8125rem;
    cursor: pointer;
    background-color: var(--color-bg-surface);
    transition: var(--transition-fast);
}

.lang-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ----------------------------------------------------
   HERO SECTION
---------------------------------------------------- */

.hero {
    background-color: #F6F1EA;
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(194, 89, 63, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 64px;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-title .accent-italic {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 600;
    color: var(--color-primary);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-promos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.promo-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.promo-icon {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.hero-card-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(194, 89, 63, 0.15) 0%, transparent 60%);
    filter: blur(20px);
    pointer-events: none;
    z-index: -1;
}

.hero-image-wrapper {
    width: 380px;
    height: 480px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid #FFFFFF;
    transform: rotate(2deg);
    transition: var(--transition-slow);
}

.hero-image-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-badge {
    position: absolute;
    background-color: var(--color-bg-dark-surface);
    color: var(--color-text-light);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-md);
    animation: floating 4s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-1 {
    bottom: 40px;
    left: -20px;
    animation-delay: 0.5s;
}

.badge-2 {
    top: 40px;
    right: -20px;
    background-color: var(--color-primary);
}

.badge-number {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    font-family: 'Outfit', sans-serif;
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* ----------------------------------------------------
   HIGHLIGHTS SECTION
---------------------------------------------------- */

.highlights {
    background-color: var(--color-bg-surface);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.highlight-card {
    background-color: var(--color-bg-base);
    padding: 48px 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: var(--transition-normal);
}

.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.highlight-icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: rgba(194, 89, 63, 0.08);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.highlight-icon {
    width: 32px;
    height: 32px;
}

.highlight-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.highlight-desc {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

/* ----------------------------------------------------
   CUSTOMIZER SECTION (MAIN APP)
---------------------------------------------------- */

.customizer-section {
    background-color: var(--color-bg-base);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.customizer-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

/* Left Panel Sticky Wrapper */
.customizer-preview-container {
    position: sticky;
    top: 120px;
}

.preview-sticky-wrapper {
    background-color: var(--color-bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    padding: 40px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.live-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-muted);
    background-color: var(--color-bg-base);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
}

/* PASSPORT COVER 2D GRAPHIC MOCKUP */
.passport-mockup {
    width: 280px;
    height: 409px;
    border-radius: 12px 24px 24px 12px; /* Realistic cover fold curve */
    box-shadow: 0 25px 50px -12px rgba(44, 30, 27, 0.4),
                inset 10px 0 20px -5px rgba(0, 0, 0, 0.2); /* spine depth */
    position: relative;
    overflow: hidden;
    margin: 24px 0;
    cursor: default;
    transition: background-color var(--transition-slow);
}

/* Spine line */
.passport-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 14px;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.2) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 3;
}

/* Hide artificial spine depth on real photos */
.passport-mockup.has-real-photo::before {
    display: none;
}

/* Ensure the full cropped photograph displays 1:1 without any zoom or cut-off, preserving natural corners */
.passport-mockup.has-real-photo {
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-radius: 0 !important; /* Remove automatic digital rounding to preserve physical photographed corners */
    overflow: visible !important; /* Allow natural edges of the photo to display fully */
    box-shadow: none !important; /* Remove artificial shadow to keep original photo lighting pristine */
}

/* Stitched border */
.passport-mockup::after {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 8px;
    right: 8px;
    border-radius: 6px 16px 16px 6px;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    pointer-events: none;
    z-index: 2;
}

/* Hide procedural stitched border & textures when real-life photo is loaded */
.passport-mockup.has-real-photo::after {
    display: none;
}
.passport-mockup.has-real-photo .passport-texture {
    display: none;
}

/* Realistic textured Saffiano leather overlay */
.passport-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.24; /* Elevated opacity for saffiano texture to look gorgeous and tactile */
    background: 
        linear-gradient(135deg, rgba(255,255,255,0.18) 25%, transparent 25%) -3px 0,
        linear-gradient(225deg, rgba(255,255,255,0.18) 25%, transparent 25%) -3px 0,
        linear-gradient(45deg, rgba(255,255,255,0.18) 25%, transparent 25%),
        linear-gradient(315deg, rgba(255,255,255,0.18) 25%, transparent 25%),
        linear-gradient(135deg, rgba(0,0,0,0.14) 25%, transparent 25%) -3px 0,
        linear-gradient(225deg, rgba(0,0,0,0.14) 25%, transparent 25%) -3px 0,
        linear-gradient(45deg, rgba(0,0,0,0.14) 25%, transparent 25%),
        linear-gradient(315deg, rgba(0,0,0,0.14) 25%, transparent 25%);
    background-size: 3.5px 3.5px;
    background-position: 0 0, 0 0, 0 0, 0 0, 1.75px 1.75px, 1.75px 1.75px, 1.75px 1.75px, 1.75px 1.75px;
    pointer-events: none;
    z-index: 1;
}

/* PASSPORT TEXT EMBOSSING */
.passport-gold-stamp {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(212, 175, 55, 0.85); /* gold foil */
    text-shadow: 0.5px 0.5px 0px rgba(255,255,255,0.2), -0.5px -0.5px 0px rgba(0,0,0,0.5); /* embossed depth */
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    pointer-events: none;
    z-index: 2;
    opacity: 0.9;
}

.stamp-icon {
    font-size: 2.25rem;
    margin-bottom: 6px;
}

.stamp-title {
    font-size: 0.9375rem;
    letter-spacing: 6px;
    font-weight: 800;
}

/* BUTTON CLASP STRAP */
.passport-clasp-strap {
    position: absolute;
    top: 180px;
    right: 0px;
    width: 48px;
    height: 28px;
    background-color: inherit;
    border-radius: 0 8px 8px 0;
    box-shadow: 2px 3px 5px rgba(0,0,0,0.25);
    z-index: 5;
    display: none; /* Controlled via JS */
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
    border-top: 1px dashed rgba(255, 255, 255, 0.3);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
    border-right: 1px dashed rgba(255, 255, 255, 0.3);
}

.passport-clasp-button {
    width: 14px;
    height: 14px;
    background: radial-gradient(circle, #D4AF37 0%, #B28E25 70%, #6E5611 100%);
    border-radius: 50%;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

/* BRASS METALLIC NAME PLATE */
.name-tag-preview {
    position: absolute;
    box-sizing: border-box;
    height: 29px; /* Fixed 10mm height relative to 140mm passport mockup (409px CSS height) */
    z-index: 6;
    display: inline-flex;
    align-items: stretch; /* Stretch child name-tag-leather-body to full height */
    justify-content: center;
    min-width: 60px; /* Safe minimum width to prevent collapse */
    transition: all var(--transition-normal);
    filter: drop-shadow(1px 2px 2px rgba(0,0,0,0.22)); /* Shadow for the clipped body */
}

/* Leather Body with octagonal vát góc clip-path */
.name-tag-leather-body {
    position: relative;
    height: 100%;
    width: auto;
    clip-path: polygon(5px 0, calc(100% - 5px) 0, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 0 calc(100% - 5px), 0 5px);
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.15) 0%, rgba(0, 0, 0, 0.1) 100%); /* Depth */
    border: 1px solid rgba(0, 0, 0, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 28px; /* Safe padding for rivets on both ends */
    box-sizing: border-box;
    white-space: nowrap;
}

/* Metallic silver dynamic gradient */
.name-tag-leather-body[style*="background-color: rgb(192, 192, 192)"],
.name-tag-leather-body[style*="background-color: #c0c0c0"] {
    background-image: linear-gradient(135deg, #e6e6e6 0%, #ffffff 25%, #c0c0c0 50%, #8c8c8c 80%, #cccccc 100%) !important;
}

/* Octagonal stitching dashed outline inside the leather body */
.name-tag-stitching {
    position: absolute;
    top: 2.5px;
    left: 2.5px;
    right: 2.5px;
    bottom: 2.5px;
    border: 1px dashed rgba(60, 36, 12, 0.25);
    clip-path: polygon(4px 0, calc(100% - 4px) 0, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 0 calc(100% - 4px), 0 4px);
    pointer-events: none;
}

/* Debossed and Laser engraved tags have no stitching outline */
.name-tag-preview.style-laser .name-tag-stitching,
.name-tag-preview.style-dap .name-tag-stitching {
    display: none;
}

/* Polished Dome Rivets */
.name-tag-rivet {
    position: absolute;
    width: 17px; /* 6mm rivet diameter relative to 140mm height */
    height: 17px;
    background: radial-gradient(circle at 35% 35%, #FFFFFF 0%, #d4af37 40%, #aa8010 85%, #604805 100%); /* High-fidelity dome rivet */
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    z-index: 7;
}

.name-tag-rivet.left { left: 6px; }
.name-tag-rivet.right { right: 6px; }

/* Debossed style font-size matches 7mm height */
.name-tag-preview.style-dap .tag-text {
    font-size: 20px; /* 7mm text height relative to 140mm cover height */
}

/* Laser engraved tags default to Cambria font, italic, height matches 6mm */
.name-tag-preview.style-laser .tag-text {
    font-family: 'Cambria', Georgia, serif;
    font-style: italic;
    font-weight: bold;
    font-size: 17px; /* 6mm text height relative to 140mm cover height */
}

.tag-text {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; /* Elegant Serif font matching physical leather stamps */
    font-weight: 700;
    font-size: 20px; /* Default debossed height of 7mm */
    letter-spacing: 0.5px;
    color: #1a0f05; /* Burnt dark brown/black laser engraved color, exactly like reference image! */
    text-shadow: 0.5px 0.5px 0.5px rgba(255,255,255,0.25);
    line-height: 1;
    padding: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* CHARMS ANCHORS */
.charms-container-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none; /* Allow drag actions or clicks to bypass */
}

/* Single Charm Graphic Mockup on Passport */
.charm-mockup-item {
    position: absolute;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(3px 4px 3px rgba(0,0,0,0.35)); /* Realistic metal shadow */
    cursor: grab;
    z-index: 12;
    pointer-events: auto; /* Re-enable pointer events for specific charms */
    transition: transform var(--transition-fast);
}

.charm-mockup-item.category-classic {
    width: 67px;
    height: 67px;
}

.charm-mockup-item.category-con-giap,
.charm-mockup-item.category-cung-hoang-dao {
    width: 56px;
    height: 56px;
}

.charm-mockup-item.category-cartoon {
    width: 82px;
    height: 82px;
}

.charm-mockup-item:active {
    cursor: grabbing;
    transform: scale(1.1);
}

.charm-svg-element,
.charm-image-element {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.charm-svg-element {
    fill: #D4AF37; /* Metallic Gold Brass by default */
}

/* Preview Actions Bar */
.preview-actions-bar {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.preview-actions-bar .btn {
    padding: 8px 16px;
    font-size: 0.8125rem;
    box-shadow: none;
}

/* Price Bubble */
.price-bubble {
    width: 100%;
    background-color: var(--color-bg-dark-surface);
    color: var(--color-text-light);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-top: 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.price-label {
    font-size: 0.6875rem;
    letter-spacing: 1px;
    font-weight: 700;
    opacity: 0.7;
    margin-bottom: 4px;
}

.price-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--color-secondary);
}

.price-promo-info {
    font-size: 0.75rem;
    opacity: 0.8;
    color: #8FD8A0; /* Light pastel green */
    margin-top: 2px;
}

/* ----------------------------------------------------
   DESIGN CONTROL PANEL (RIGHT COLUMN)
---------------------------------------------------- */

.customizer-controls {
    background-color: var(--color-bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

/* Design Step Tabs styling */
.design-tabs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    background-color: var(--color-bg-base);
    padding: 6px;
    border-radius: var(--radius-md);
    margin-bottom: 32px;
    border: 1px solid var(--color-border);
}

.tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 4px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.tab-btn:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.tab-btn.active {
    background-color: var(--color-bg-surface);
    box-shadow: var(--shadow-sm);
}

.tab-num {
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--color-text-muted);
    background-color: rgba(62, 48, 45, 0.05);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    transition: var(--transition-fast);
}

.tab-btn.active .tab-num {
    background-color: var(--color-primary);
    color: #FFFFFF;
}

.tab-name {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.2px;
}

/* Tab Content Visibility */
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease-in-out forwards;
}

.tab-content.active {
    display: block;
}

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

.control-title {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.tab-tip {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

/* STEP 1: PRODUCT LINES LIST */
.product-lines-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.line-card {
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px;
    cursor: pointer;
    position: relative;
    transition: var(--transition-normal);
    background-color: var(--color-bg-surface);
}

.line-card:hover {
    border-color: var(--color-primary);
    transform: translateX(4px);
}

.line-card.selected {
    border-color: var(--color-primary);
    background-color: rgba(194, 89, 63, 0.03);
    box-shadow: var(--shadow-sm);
}

.line-card .line-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    margin-bottom: 0;
    font-size: 0.625rem;
    padding: 3px 10px;
}

.line-name {
    font-size: 1.125rem;
    margin-bottom: 6px;
}

.line-desc {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    max-width: 90%;
}

.line-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-border);
    padding-top: 10px;
}

.line-colors-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.line-colors-label .colors-num {
    font-weight: 700;
    color: var(--color-text-main);
}

.line-price {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--color-primary);
    font-size: 1.125rem;
}

/* STEP 2: COLOR SELECTOR */
.color-palette-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 8px;
}

.color-option-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.color-option-wrapper:hover {
    transform: scale(1.08);
}

.color-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    box-shadow: 0 0 0 1px var(--color-border);
    position: relative;
    transition: var(--transition-fast);
}

.color-option-wrapper.selected .color-circle {
    box-shadow: 0 0 0 2px var(--color-primary);
}

.color-circle::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-image: radial-gradient(rgba(0,0,0,0.2) 1px, transparent 1px);
    background-size: 4px 4px;
    opacity: 0.15;
}

.color-option-name {
    font-size: 0.6875rem;
    font-weight: 600;
    text-align: center;
    margin-top: 6px;
    color: var(--color-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* STEP 3: NAME ENGRAVING */
.engraving-form-group {
    margin-bottom: 24px;
}

.input-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.input-with-counter {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-weight: 600;
    background-color: var(--color-bg-base);
    transition: var(--transition-fast);
}

.form-input:focus {
    border-color: var(--color-primary);
    background-color: var(--color-bg-surface);
}

.char-counter {
    position: absolute;
    right: 18px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-text-muted);
}

.input-hint {
    font-size: 0.75rem;
    color: var(--color-primary);
    margin-top: 6px;
    font-weight: 500;
}

.tag-style-options {
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
    margin-top: 24px;
}

.sub-control-title {
    font-size: 0.9375rem;
    margin-bottom: 12px;
}

.tag-color-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.placement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.placement-grid .btn {
    padding: 10px 4px;
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
    box-shadow: none;
}

.placement-grid .btn.active {
    background-color: var(--color-text-main);
    color: #FFFFFF;
    border-color: var(--color-text-main);
}

/* STEP 4: CHARM SELECTOR GRID */
.charms-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.selected-charms-badge {
    font-size: 0.8125rem;
    font-weight: 700;
    background-color: var(--color-bg-dark-surface);
    color: var(--color-secondary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.charm-categories {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 16px;
    scrollbar-width: thin;
}

.btn-category {
    padding: 8px 16px;
    font-size: 0.75rem;
    white-space: nowrap;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    box-shadow: none;
    cursor: pointer;
    background-color: var(--color-bg-surface);
}

.btn-category.active {
    background-color: var(--color-primary);
    color: #FFFFFF;
    border-color: var(--color-primary);
}

.charm-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.charm-search-wrapper .search-icon {
    position: absolute;
    left: 18px;
    width: 18px;
    height: 18px;
    color: var(--color-text-muted);
}

.charm-search-wrapper .form-input {
    padding-left: 48px;
}

.charms-selector-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 6px;
}

.charm-selector-item {
    background-color: var(--color-bg-base);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}

.charm-selector-item:hover {
    border-color: var(--color-primary);
    transform: scale(1.04);
}

.charm-selector-item.selected {
    border-color: var(--color-primary);
    background-color: rgba(194, 89, 63, 0.05);
}

.charm-icon-box {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.charm-icon-box svg,
.charm-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.charm-icon-box svg {
    fill: #D4AF37; /* Brass charm color */
}

.charm-icon-box img {
    filter: drop-shadow(1px 2px 2px rgba(0,0,0,0.15));
}

.charm-name {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-top: 4px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.charm-badge-checked {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 14px;
    height: 14px;
    background-color: var(--color-primary);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    font-weight: 800;
}

.customizer-actions-footer {
    margin-top: 32px;
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
}

/* ----------------------------------------------------
   CHECKOUT SECTION
---------------------------------------------------- */

.checkout-section {
    background-color: var(--color-bg-surface);
}

.checkout-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.checkout-summary-panel {
    background-color: var(--color-bg-base);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.panel-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    border-bottom: 1.5px solid var(--color-border);
    padding-bottom: 10px;
}

.summary-mini-preview-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

/* Compact passport for billing card */
.mini-passport {
    width: 140px;
    height: 205px;
    border-radius: 6px 12px 12px 6px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}

.detail-label {
    color: var(--color-text-muted);
    font-weight: 500;
}

.detail-val {
    font-weight: 700;
    text-align: right;
    max-width: 60%;
}

.summary-divider {
    border: none;
    border-top: 1px dashed var(--color-border);
    margin: 20px 0;
}

.pricing-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}

.price-row.total-row {
    font-size: 1.125rem;
    font-weight: 800;
    border-top: 1.5px solid var(--color-border);
    padding-top: 12px;
    margin-top: 8px;
    color: var(--color-primary);
}

.gift-box-option {
    margin-top: 24px;
    padding: 16px;
    background-color: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 32px;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: var(--color-bg-base);
    border: 2px solid var(--color-border);
    border-radius: 4px;
    transition: var(--transition-fast);
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--color-primary);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.checkmark::after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark::after {
    display: block;
}

.checkbox-container .checkmark::after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    display: flex;
    flex-direction: column;
}

.checkbox-sublabel {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

/* Right Delivery Info Panel */
.checkout-form-panel {
    background-color: var(--color-bg-surface);
    padding: 8px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

/* Payment Grid styling */
.payment-methods-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.payment-method-card {
    display: flex;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 16px;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.payment-method-card input[type="radio"] {
    position: absolute;
    top: 20px;
    left: 20px;
    accent-color: var(--color-primary);
    width: 18px;
    height: 18px;
}

.payment-card-content {
    display: grid;
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto;
    column-gap: 16px;
    padding-left: 28px;
}

.payment-icon {
    grid-row: span 2;
    align-self: center;
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.payment-name {
    font-weight: 700;
    font-size: 0.9375rem;
}

.payment-desc {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.payment-method-card:hover {
    border-color: var(--color-primary);
}

.payment-method-card input[type="radio"]:checked ~ .payment-card-content {
    /* highlight color */
}

.payment-method-card:has(input[type="radio"]:checked) {
    border-color: var(--color-primary);
    background-color: rgba(194, 89, 63, 0.02);
}

.checkout-footer-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 36px;
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
}

/* ----------------------------------------------------
   VIETQR BANK TRANSFER MODAL
---------------------------------------------------- */

.payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 30, 27, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1050;
    display: none; /* Controlled via JS */
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.payment-modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--color-bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    max-width: 480px;
    width: 100%;
    padding: 36px;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: modalSlide 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--color-bg-base);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    background-color: var(--color-primary);
    color: #FFFFFF;
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.qr-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

/* Beautiful dynamic simulated VietQR Card */
.vietqr-card {
    background-color: #FFFFFF;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid #E2E8F0;
    padding: 20px;
    width: 100%;
    max-width: 340px;
}

.vietqr-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid #F1F5F9;
    padding-bottom: 10px;
    margin-bottom: 16px;
}

.vietqr-logo {
    font-weight: 800;
    font-size: 1.125rem;
    color: #005CA9;
}

.vietqr-logo .accent-qr {
    color: #ED1C24;
}

.napas-logo {
    font-weight: 700;
    font-style: italic;
    font-size: 0.8125rem;
    color: #0F75BC;
}

.qr-code-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px auto;
    border: 1px solid #E2E8F0;
    padding: 8px;
    border-radius: var(--radius-sm);
    background-color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vietqr-bank-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.8125rem;
}

.bank-row {
    display: flex;
    justify-content: space-between;
}

.bank-label {
    color: #64748B;
}

.bank-val {
    font-weight: 700;
    color: #1E293B;
}

.bank-val.copyable {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.bank-val.copyable:hover {
    color: var(--color-primary);
}

.copy-icon {
    width: 12px;
    height: 12px;
}

.bank-row.highlighted {
    background-color: #F8FAFC;
    padding: 6px 8px;
    border-radius: 4px;
    border: 1px solid #E2E8F0;
}

.modal-footer {
    border-top: 1.5px solid var(--color-border);
    padding-top: 20px;
    margin-top: 12px;
}

.payment-loader-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.loader-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-text {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ----------------------------------------------------
   SUCCESS SCREEN
---------------------------------------------------- */

.success-screen {
    padding: 120px 0;
    background-color: var(--color-bg-surface);
}

.success-icon-container {
    width: 80px;
    height: 80px;
    background-color: rgba(143, 216, 160, 0.15);
    color: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px auto;
}

.success-main-icon {
    width: 48px;
    height: 48px;
}

.success-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.success-desc {
    color: var(--color-text-muted);
    font-size: 1.125rem;
    max-width: 650px;
    margin: 0 auto 40px auto;
}

.order-receipt-summary {
    max-width: 500px;
    margin: 0 auto 40px auto;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background-color: var(--color-bg-base);
    overflow: hidden;
    text-align: left;
}

.receipt-header {
    background-color: var(--color-bg-dark-surface);
    color: var(--color-text-light);
    padding: 12px 20px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.receipt-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.875rem;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ----------------------------------------------------
   OTHER PRODUCTS CATALOG GRID
---------------------------------------------------- */

.catalog {
    background-color: var(--color-bg-surface);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.catalog-card {
    background-color: var(--color-bg-base);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: var(--transition-normal);
}

.catalog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.catalog-img-wrapper {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.catalog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.catalog-card:hover .catalog-img {
    transform: scale(1.05);
}

.catalog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 30, 27, 0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: var(--transition-normal);
}

.catalog-card:hover .catalog-overlay {
    opacity: 1;
}

.catalog-info {
    padding: 24px;
}

.catalog-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.catalog-name {
    font-size: 1.25rem;
    margin: 4px 0 10px 0;
}

.catalog-desc {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.catalog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-border);
    padding-top: 16px;
}

.catalog-price {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--color-text-main);
}

.catalog-status {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--color-secondary-dark);
    border-radius: var(--radius-sm);
}

/* ----------------------------------------------------
   CUSTOMER REVIEWS GRID
---------------------------------------------------- */

.reviews {
    background-color: #F8F5EF;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.review-card {
    background-color: var(--color-bg-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-rating {
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 0.875rem;
    color: var(--color-text-main);
    font-style: italic;
    margin-bottom: 24px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 0.875rem;
    font-weight: 700;
}

.author-meta {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* ----------------------------------------------------
   FOOTER SECTION
---------------------------------------------------- */

.footer {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: #FFFFFF;
    margin-bottom: 20px;
}

.brand-desc {
    font-size: 0.8125rem;
    opacity: 0.7;
    margin-bottom: 24px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--color-bg-dark-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

.social-icon:hover {
    background-color: var(--color-primary);
    color: #FFFFFF;
}

.footer-title {
    color: #FFFFFF;
    font-size: 1.0625rem;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.8125rem;
}

.footer-list a {
    opacity: 0.7;
}

.footer-list a:hover {
    opacity: 1;
    color: var(--color-primary);
    padding-left: 4px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 0.8125rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    opacity: 0.8;
}

.contact-icon {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    font-size: 0.75rem;
    opacity: 0.5;
}

/* ----------------------------------------------------
   RESPONSIVE DESIGN (MOBILE & TABLET)
---------------------------------------------------- */

@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-promos {
        justify-content: center;
    }
    
    .customizer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .customizer-preview-container {
        position: relative;
        top: 0;
    }
    
    .checkout-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .highlights-grid,
    .catalog-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 64px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav {
        display: none; /* Hide standard nav on mobile */
    }
    
    .highlights-grid,
    .catalog-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .placement-grid {
        grid-template-columns: 1fr;
    }
    
    .preview-sticky-wrapper {
        padding: 24px 16px;
    }
    
    .passport-mockup {
        width: 240px;
        height: 320px;
    }
    
    .passport-gold-stamp {
        top: 60px;
    }
    
    .passport-clasp-strap {
        top: 150px;
    }
    
    .customizer-controls {
        padding: 24px 16px;
    }
    
    .design-tabs {
        margin-bottom: 24px;
    }
}

/* ----------------------------------------------------
   ADDITIONAL CUSTOMIZER INTERACTION STYLES
---------------------------------------------------- */

/* Hover to show charm delete button - Now permanently visible with hover scale */
.charm-mockup-delete {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background-color: #E05A47;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    opacity: 0; /* Hidden by default */
    pointer-events: none; /* Disable pointer interaction by default */
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 30;
    line-height: 1;
}

.charm-mockup-item:hover .charm-mockup-delete {
    opacity: 0.85;
    pointer-events: auto; /* Enable interaction when parent is hovered */
}

.charm-mockup-delete:hover {
    background-color: var(--color-primary-hover);
    opacity: 1 !important;
    transform: scale(1.15);
}

.charm-mockup-rotate {
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background-color: var(--color-secondary); /* Amber Gold rotate button */
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    opacity: 0; /* Hidden by default */
    pointer-events: none; /* Disable pointer interaction by default */
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 30;
    line-height: 1;
}

.charm-mockup-item:hover .charm-mockup-rotate {
    opacity: 0.85;
    pointer-events: auto; /* Enable interaction when parent is hovered */
}

.charm-mockup-rotate:hover {
    background-color: var(--color-secondary-dark);
    opacity: 1 !important;
    transform: scale(1.15);
}

/* Selected charms quick list styles */
.selected-charms-list-wrapper {
    margin: 12px 0 16px 0;
    padding: 10px 12px;
    background-color: rgba(194, 89, 63, 0.05); /* Soft Terracotta background */
    border: 1px dashed rgba(194, 89, 63, 0.2);
    border-radius: 8px;
    text-align: left;
}

.selected-charms-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px dashed rgba(194, 89, 63, 0.1);
    padding-bottom: 6px;
}

.selected-charms-title-text {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-bg-dark);
}

.btn-clear-all-charms {
    background: none;
    border: none;
    color: #E05A47;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-clear-all-charms:hover {
    background-color: rgba(224, 90, 71, 0.08);
    color: var(--color-primary-hover);
}

.selected-charms-flex-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.selected-charm-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #FFFFFF;
    border: 1px solid var(--color-border);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-bg-dark);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: var(--transition-fast);
}

.selected-charm-tag:hover {
    border-color: var(--color-primary);
    background-color: rgba(194, 89, 63, 0.02);
}

.remove-tag-btn {
    font-size: 14px;
    font-weight: 700;
    color: #999;
    cursor: pointer;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.remove-tag-btn:hover {
    color: #E05A47;
    background-color: rgba(224, 90, 71, 0.1);
}

.rotate-tag-btn {
    font-size: 11px;
    font-weight: 700;
    color: #999;
    cursor: pointer;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transition: var(--transition-fast);
    margin-left: 2px;
}

.rotate-tag-btn:hover {
    color: var(--color-secondary-dark);
    background-color: rgba(178, 142, 37, 0.15);
}

/* Plain leather clasp variant style */
.passport-clasp-strap.plain-leather-clasp {
    border-radius: 0 12px 12px 0;
    box-shadow: 1px 3px 5px rgba(0,0,0,0.2);
}

.passport-clasp-strap.plain-leather-clasp .passport-clasp-button {
    background: none;
    box-shadow: none;
    border: 1px dashed rgba(255,255,255,0.4);
    width: 10px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.15);
}

/* Glitter shimmer effect texture overlay */
.passport-mockup.glitter-shimmer-effect::before {
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%, rgba(0,0,0,0.15) 100%);
}

.passport-mockup.glitter-shimmer-effect .passport-texture {
    opacity: 0.4;
    background-image: radial-gradient(rgba(255,255,255,0.85) 1px, transparent 1px);
    background-size: 3px 3px;
}

/* ----------------------------------------------------
   CENTER LASER ENGRAVING & STAMP OPTIONS
---------------------------------------------------- */

/* Laser Burnt Center Engraving on Passport Cover */
.passport-center-engraving {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 125px;
    height: 125px;
    z-index: 3;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.72; /* Tactile depth overlay */
    mix-blend-mode: multiply; /* Realistic dark leather carbonization blend */
    transition: all var(--transition-normal);
}

.passport-center-engraving svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #181512; /* Deep carbon laser burn color */
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0.5px 0.5px 0px rgba(255,255,255,0.15));
}

/* Stamp Selection Grid inside controls */
.stamp-selector-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.stamp-option-card {
    position: relative;
    background-color: var(--color-bg-base);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 12px 6px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-fast);
    text-align: center;
}

.stamp-badge-checked {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 14px;
    height: 14px;
    background-color: var(--color-secondary);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    font-weight: 800;
    z-index: 10;
}

.stamp-option-card:hover {
    border-color: var(--color-primary-hover);
    background-color: rgba(230, 219, 211, 0.2);
    transform: translateY(-2px);
}

.stamp-option-card.selected {
    border-color: var(--color-primary);
    background-color: rgba(230, 219, 211, 0.4);
    box-shadow: 0 0 0 2px rgba(194, 89, 63, 0.15);
}

.stamp-icon-preview {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stamp-icon-preview svg {
    width: 100%;
    height: 100%;
    stroke: var(--color-text-dark);
    stroke-width: 1.5;
    fill: none;
}

.stamp-option-card.selected .stamp-icon-preview svg {
    stroke: var(--color-primary);
}

.stamp-option-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

/* Simplified styles for clean html2canvas screenshots without gradient crashes */
.passport-mockup.html2canvas-capturing .passport-texture {
    display: none !important;
}
.passport-mockup.html2canvas-capturing .name-tag-leather-body {
    background-image: none !important;
}
.passport-mockup.html2canvas-capturing .name-tag-rivet {
    background: #b28e25 !important;
}
.passport-mockup.html2canvas-capturing .passport-clasp-button {
    background: #B28E25 !important; /* solid gold button color */
}
.passport-mockup.html2canvas-capturing::before {
    background: rgba(0, 0, 0, 0.15) !important; /* simple semi-transparent black overlay for spine */
}

/* ====================================================
   DRAGGABLE LASER ENGRAVING STAMP STYLES
   ==================================================== */
.laser-stamps-container-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 15; /* Sits behind charms and name tags */
}

.laser-stamp-mockup-item {
    position: absolute;
    width: 60px;
    height: 60px;
    pointer-events: auto;
    cursor: grab;
    user-select: none;
    z-index: 15;
    transition: border 0.15s ease;
    border: 1px dashed transparent;
}

.laser-stamp-mockup-item:active {
    cursor: grabbing;
}

.laser-stamp-mockup-item:hover {
    border: 1px dashed rgba(61, 34, 20, 0.4);
    border-radius: 4px;
}

.laser-stamp-svg-element {
    width: 100%;
    height: 100%;
    display: block;
    mix-blend-mode: multiply; /* Carbonized burn depth overlay */
    opacity: 0.72;
    filter: drop-shadow(0.5px 0.5px 0px rgba(255,255,255,0.12));
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Force burnt carbonization color on all internal path elements */
.laser-stamp-svg-element * {
    stroke: #3D2214 !important;
    fill: none;
}
.laser-stamp-svg-element circle[fill="#1C1814"],
.laser-stamp-svg-element polygon[fill="#1C1814"],
.laser-stamp-svg-element text[fill="#1C1814"] {
    fill: #3D2214 !important;
}

/* Draggable Laser Stamp Controls */
.laser-stamp-mockup-delete {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 18px;
    height: 18px;
    background-color: #E05A47; /* Terracotta Red delete button */
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    opacity: 0.85;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    z-index: 35;
    line-height: 1;
    transition: var(--transition-fast);
}

.laser-stamp-mockup-delete:hover {
    background-color: var(--color-primary-hover);
    opacity: 1;
    transform: scale(1.15);
}

.laser-stamp-mockup-rotate {
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 18px;
    height: 18px;
    background-color: var(--color-secondary); /* Gold rotate button */
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    opacity: 0.85;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    z-index: 35;
    line-height: 1;
    transition: var(--transition-fast);
}

.laser-stamp-mockup-rotate:hover {
    background-color: var(--color-secondary-dark);
    opacity: 1;
    transform: scale(1.15);
}

/* Selected Laser Stamps Quick List (Gold Themed) */
.selected-stamps-list-wrapper {
    margin: 12px 0 16px 0;
    padding: 10px 12px;
    background-color: rgba(178, 142, 37, 0.05); /* Soft Gold background */
    border: 1px dashed rgba(178, 142, 37, 0.2);
    border-radius: 8px;
    text-align: left;
}

.selected-stamps-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px dashed rgba(178, 142, 37, 0.15);
    padding-bottom: 6px;
}

.selected-stamps-title-text {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-bg-dark);
}

.btn-clear-all-stamps {
    background: none;
    border: none;
    color: var(--color-secondary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-clear-all-stamps:hover {
    background-color: rgba(178, 142, 37, 0.08);
    color: var(--color-secondary-dark);
}

.selected-stamps-flex-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.selected-stamp-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-bg-dark);
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    animation: tagPop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.rotate-stamp-tag-btn {
    font-size: 11px;
    font-weight: 700;
    color: #999;
    cursor: pointer;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transition: var(--transition-fast);
    margin-left: 2px;
}

.rotate-stamp-tag-btn:hover {
    color: var(--color-secondary-dark);
    background-color: rgba(178, 142, 37, 0.15);
}

.remove-stamp-tag-btn {
    font-size: 14px;
    font-weight: 700;
    color: #999;
    cursor: pointer;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.remove-stamp-tag-btn:hover {
    color: #E05A47;
    background-color: rgba(224, 90, 71, 0.1);
}

/* RULER AND DIMENSIONS STYLE */
.mockup-ruler-wrapper {
    position: relative;
    display: inline-block;
    margin: 24px auto;
    padding: 0 0 36px 36px; /* Space for height (left) and width (bottom) rulers */
}

/* Override .passport-mockup direct margin when inside wrapper */
.mockup-ruler-wrapper .passport-mockup {
    margin: 0 !important;
}

/* Height ruler (Vertical) on the left */
.ruler-vertical {
    position: absolute;
    left: 4px;
    top: 0;
    width: 20px;
    height: 409px; /* Matches passport mockup height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-primary, #b28e25);
    font-size: 0.725rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

.ruler-vertical::before,
.ruler-vertical::after {
    content: '';
    width: 8px;
    height: 1px;
    background-color: var(--color-primary, #b28e25);
    opacity: 0.8;
}

.ruler-vertical .ruler-line {
    width: 1px;
    flex-grow: 1;
    background-color: rgba(178, 142, 37, 0.3);
    margin: 4px 0;
}

.ruler-vertical .ruler-text {
    transform: rotate(-90deg);
    white-space: nowrap;
    margin: 14px 0;
    color: var(--color-primary, #b28e25);
    font-weight: 700;
    background: var(--color-bg-surface, #FFF);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(178, 142, 37, 0.25);
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.05));
    letter-spacing: 0.5px;
    z-index: 5;
}

/* Width ruler (Horizontal) at the bottom */
.ruler-horizontal {
    position: absolute;
    left: 36px; /* Offset past height ruler */
    bottom: 6px;
    width: 280px; /* Matches passport mockup width */
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary, #b28e25);
    font-size: 0.725rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

.ruler-horizontal::before,
.ruler-horizontal::after {
    content: '';
    width: 1px;
    height: 8px;
    background-color: var(--color-primary, #b28e25);
    opacity: 0.8;
}

.ruler-horizontal .ruler-line {
    height: 1px;
    flex-grow: 1;
    background-color: rgba(178, 142, 37, 0.3);
    margin: 0 4px;
}

.ruler-horizontal .ruler-text {
    margin: 0 14px;
    color: var(--color-primary, #b28e25);
    font-weight: 700;
    background: var(--color-bg-surface, #FFF);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(178, 142, 37, 0.25);
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.05));
    letter-spacing: 0.5px;
    z-index: 5;
}

/* DRAGGABLE MULTIPLE NAME TAG STYLES */
.name-tags-container-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 20; /* Layered between stamps (15) and charms (25) */
}

.name-tag-mockup-item {
    position: absolute;
    pointer-events: auto;
    cursor: grab;
    user-select: none;
    transition: transform 0.15s ease;
    z-index: 20;
}

.name-tag-mockup-item:active {
    cursor: grabbing;
}

.name-tag-mockup-item::after {
    content: '';
    position: absolute;
    top: -6px;
    bottom: -6px;
    left: -6px;
    right: -6px;
    border: 1px dashed transparent;
    border-radius: 8px;
    pointer-events: none;
    transition: border-color 0.15s ease;
    z-index: 5;
}

.name-tag-mockup-item:hover::after {
    border-color: rgba(178, 142, 37, 0.6);
}

.name-tag-mockup-delete {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    background-color: #E05A47; /* Terracotta Red delete button */
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    pointer-events: none; /* Disable pointer interaction by default */
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    z-index: 35;
    line-height: 1;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.name-tag-mockup-item:hover .name-tag-mockup-delete {
    opacity: 0.85;
    pointer-events: auto; /* Enable interaction when parent is hovered */
}

.name-tag-mockup-delete:hover {
    background-color: var(--color-primary-hover, #A07F1A);
    opacity: 1 !important;
    transform: scale(1.15);
}

.name-tag-mockup-rotate {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    background-color: var(--color-secondary, #b28e25); /* Gold rotate button */
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    pointer-events: none; /* Disable pointer interaction by default */
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    z-index: 35;
    line-height: 1;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.name-tag-mockup-item:hover .name-tag-mockup-rotate {
    opacity: 0.85;
    pointer-events: auto; /* Enable interaction when parent is hovered */
}

.name-tag-mockup-rotate:hover {
    background-color: var(--color-secondary-dark, #8B6615);
    opacity: 1 !important;
    transform: scale(1.15);
}

/* PLAIN WALLET TOGGLE OPTION */
.plain-wallet-option {
    margin-top: 24px;
    padding: 16px 20px;
    background-color: var(--color-bg-base);
    border: 2.5px dashed var(--color-border);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.plain-wallet-option:hover {
    border-color: var(--color-primary);
    background-color: rgba(178, 142, 37, 0.02);
}

.plain-wallet-option.active {
    border-color: var(--color-primary);
    background-color: rgba(178, 142, 37, 0.05);
}

/* PREMIUM CUSTOM CONFIRM MODAL */
.custom-confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-confirm-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.custom-confirm-content {
    background-color: var(--color-bg-surface, #FFF);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg, 12px);
    padding: 32px 24px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-confirm-overlay.active .custom-confirm-content {
    transform: translateY(0);
}

.custom-confirm-icon {
    width: 56px;
    height: 56px;
    background-color: rgba(178, 142, 37, 0.1);
    color: var(--color-primary, #b28e25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
}

.lucide-custom-confirm-icon {
    width: 28px;
    height: 28px;
}

.custom-confirm-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-dark, #1F2937);
    margin-bottom: 8px;
    font-family: 'Outfit', sans-serif;
}

.custom-confirm-message {
    font-size: 0.925rem;
    color: var(--color-text-muted, #4B5563);
    margin-bottom: 24px;
    line-height: 1.5;
}

.custom-confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.custom-confirm-actions .btn {
    flex: 1;
    max-width: 150px;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Symmetrical Flip button for Wing Charms (43 to 46) */
.charm-mockup-flip {
    position: absolute;
    bottom: -8px;
    left: -8px;
    width: 20px;
    height: 20px;
    background-color: #3b82f6; /* Beautiful brand blue for symmetry action */
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    opacity: 0; /* Hidden by default */
    pointer-events: none; /* Disable pointer interaction by default */
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 30;
    line-height: 1;
}

.charm-mockup-item:hover .charm-mockup-flip {
    opacity: 0.85;
    pointer-events: auto; /* Enable interaction when parent is hovered */
}

.charm-mockup-flip:hover {
    background-color: #2563eb;
    opacity: 1 !important;
    transform: scale(1.15);
}

/* Kiểu khắc tên Toggle Buttons */
.engraving-style-toggle {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 6px;
}

.engraving-style-toggle .btn {
    padding: 10px 4px;
    font-size: 0.725rem;
    border-radius: var(--radius-sm);
    box-shadow: none;
    white-space: normal;
    height: auto;
    line-height: 1.2;
}

.engraving-style-toggle .btn.active {
    background-color: var(--color-text-main);
    color: #FFFFFF;
    border-color: var(--color-text-main);
}

/* Selected Tag Card Custom Styling */
#selectedTagsFlexTags {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.selected-tag-card {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    text-align: left;
}

.selected-tag-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(178, 142, 37, 0.3);
}

.tag-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px dashed var(--color-border);
    padding-bottom: 8px;
}

.tag-card-title {
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.tag-card-actions {
    display: flex;
    gap: 6px;
}

.card-action-btn {
    background: none;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.card-action-btn:hover {
    color: var(--color-text-dark);
    border-color: var(--color-text-dark);
    background: var(--color-bg-base);
}

.card-action-btn.delete-card-btn:hover {
    color: #FFFFFF;
    background-color: #E05A47;
    border-color: #E05A47;
}

.tag-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tag-card-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tag-card-row label {
    font-size: 0.775rem;
    font-weight: 600;
    color: var(--color-text-muted);
    width: 65px;
    flex-shrink: 0;
    margin-bottom: 0;
}

.tag-card-text-input {
    flex-grow: 1;
    padding: 4px 8px;
    font-size: 0.8rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xs);
    outline: none;
    transition: border-color var(--transition-fast);
}

.tag-card-text-input:focus {
    border-color: var(--color-primary);
}

.tag-card-swatches-grid {
    display: flex;
    gap: 6px;
    align-items: center;
}

.tag-color-swatch-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
    border: 1.5px solid transparent;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.tag-color-swatch-circle:hover {
    transform: scale(1.15);
}

.tag-color-swatch-circle.active {
    border-color: #000000;
    transform: scale(1.1);
}
