/* ==========================================
   OxyTrigger.com - Frost/Light Theme Override
   Boutique Gift Shop Design Language
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* ------------------------------------------
   1. ROOT VARIABLES OVERRIDE
   ------------------------------------------ */
:root {
  --bg-dark: #fdf8f4;
  --card-bg: rgba(255, 255, 255, 0.84);
  --card-border: rgba(140, 108, 94, 0.14);
  --card-border-active: rgba(196, 117, 127, 0.34);

  --text-main: #3d2d29;
  --text-muted: #7e665c;
  --accent-cyan: #c17582;
  --accent-purple: #b98755;
  --accent-gradient: linear-gradient(135deg, #c17582 0%, #d6a66d 100%);
  --accent-gradient-hover: linear-gradient(135deg, #b86d79 0%, #c7965d 100%);
  --product-preview-bg: #eee2d7;
}

/* Heading Typography Override for Elegant Boutique Feel */
h1, h2, h3, h4, h5, h6, .nav-logo {
  font-family: 'Playfair Display', Georgia, serif !important;
}

.nav-logo {
  font-size: 1.45rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.5px !important;
}

/* ------------------------------------------
   2. BODY & BACKGROUND
   ------------------------------------------ */
body {
  background:
    radial-gradient(circle at top left, rgba(232, 196, 205, 0.92), transparent 26%),
    radial-gradient(circle at top right, rgba(238, 218, 183, 0.95), transparent 22%),
    radial-gradient(circle at bottom left, rgba(214, 228, 221, 0.8), transparent 20%),
    linear-gradient(180deg, #fffaf6 0%, #fffdfb 100%);
  color: var(--text-main);
  animation: pageFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Soft pastel gradient orbs instead of neon */
.glow-orb {
  filter: blur(180px);
  opacity: 0.35;
}

.orb-1 {
  background: #ffcdd2 !important;
  opacity: 0.45;
  width: 600px !important;
  height: 600px !important;
}

.orb-2 {
  background: #ffe0b2 !important;
  opacity: 0.35;
  width: 550px !important;
  height: 550px !important;
}

.orb-3 {
  background: #e0f2f1 !important;
  opacity: 0.2;
  width: 400px !important;
  height: 400px !important;
}

/* ------------------------------------------
   3. NAVBAR - Light frosted glass
   ------------------------------------------ */
.navbar-container {
  background: rgba(245, 245, 247, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-logo {
  color: var(--text-main);
}

.logo-icon {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: none;
}

.accent-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
}

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

.nav-link::after {
  background: var(--accent-cyan);
  height: 2px;
  border-radius: 2px;
}

.nav-link.active {
  color: var(--accent-cyan);
}

.nav-toggle-btn {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-muted);
}

.nav-toggle-btn:hover {
  color: var(--text-main);
  border-color: rgba(0, 0, 0, 0.12);
}

/* ------------------------------------------
   4. CARDS - Light glassmorphism
   ------------------------------------------ */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04), 0 0 1px rgba(0, 0, 0, 0.06);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.card:hover {
  border-color: rgba(255, 107, 139, 0.15);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06), 0 0 1px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

/* ------------------------------------------
   5. BADGES
   ------------------------------------------ */
.badge {
  background: rgba(193, 117, 130, 0.09);
  border: 1px solid rgba(193, 117, 130, 0.18);
  color: #a85d6d;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* ------------------------------------------
   6. BUTTONS - Light-style
   ------------------------------------------ */
.btn-primary {
  background: linear-gradient(135deg, #c17582 0%, #d6a66d 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(193, 117, 130, 0.24);
  font-weight: 700;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #b76572 0%, #c28b4f 100%);
  box-shadow: 0 8px 22px rgba(193, 117, 130, 0.28);
  transform: translateY(-2px) scale(1.01);
}

.btn-primary:active {
  background: linear-gradient(135deg, #aa5b68 0%, #b47b42 100%);
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(138, 102, 79, 0.16);
  color: var(--text-main);
  box-shadow: 0 4px 12px rgba(92, 70, 56, 0.05);
}

.btn-secondary:hover {
  background: rgba(247, 234, 224, 0.96);
  border-color: rgba(193, 117, 130, 0.24);
  color: #a85d6d;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 6px 14px rgba(92, 70, 56, 0.08);
}

.btn-secondary:active {
  transform: translateY(0) scale(0.98);
}

/* ------------------------------------------
   7. INPUT FIELDS
   ------------------------------------------ */
.input-icon-wrapper input {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-main);
}

.input-icon-wrapper input::placeholder {
  color: #aeaeb2;
}

.input-icon-wrapper input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(255, 107, 139, 0.12);
  background: #ffffff;
}

.input-field-icon {
  color: #aeaeb2;
}

/* ------------------------------------------
   8. HERO SECTION
   ------------------------------------------ */
.hero-title {
  color: var(--text-main);
}

.hero-desc {
  color: var(--text-muted);
}

/* Hero collage cards */
.hero-visual-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.76), rgba(255,247,242,0.92));
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
}

.hero-visual-card:hover {
  border-color: rgba(255, 107, 139, 0.15);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.08);
}

.collage-item {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.collage-mug {
  color: #ff6b8b;
}

.collage-shirt {
  color: #f59e0b;
}

.collage-plate {
  color: #30b0c7;
}

.collage-cap {
  color: #f5a623;
}

.glow-center {
  background: radial-gradient(circle, rgba(255, 107, 139, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
}

/* ------------------------------------------
   9. SECTION TITLES
   ------------------------------------------ */
.section-main-title {
  color: var(--text-main);
}

.section-subtitle {
  color: var(--text-muted);
}

/* ------------------------------------------
   10. PRODUCT GRID
   ------------------------------------------ */
.product-showcard:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 107, 139, 0.15) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08) !important;
}

.product-img-wrapper {
  background: var(--product-preview-bg) !important;
  border-bottom: 1px solid rgba(141, 110, 99, 0.15) !important;
}

.product-price-tag {
  background: linear-gradient(135deg, #bc7c7f 0%, #d7a56d 100%) !important;
  color: #ffffff !important;
  font-family: var(--font-family) !important;
  font-size: 0.85rem !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(193, 117, 130, 0.26) !important;
  border-left: 0 !important;
  text-shadow: none;
}

.product-info h3 {
  color: var(--text-main);
}

.product-info p {
  color: var(--text-muted);
}

.product-meta {
  color: var(--text-muted);
}

.product-meta i {
  color: #34c759;
}

/* Neon glow indicators -> Light palette */
.cyan-glow {
  color: #ff6b8b;
  filter: none;
}

.purple-glow {
  color: #f59e0b;
  filter: none;
}

.blue-glow {
  color: #30b0c7;
  filter: none;
}

.amber-glow {
  color: #f5a623;
  filter: none;
}

/* ------------------------------------------
   11. FEATURES SECTION
   ------------------------------------------ */
.features-section {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
}

.features-header h2 {
  color: var(--text-main);
}

.features-header p {
  color: var(--text-muted);
}

.feature-icon {
  background: rgba(255, 107, 139, 0.06);
  border: 1px solid rgba(255, 107, 139, 0.12);
  color: var(--accent-cyan);
  box-shadow: none;
}

.feature-item h3 {
  color: var(--text-main);
}

.feature-item p {
  color: var(--text-muted);
}

/* ------------------------------------------
   12. CTA BANNER
   ------------------------------------------ */
.cta-card {
  background: linear-gradient(135deg, rgba(255, 107, 139, 0.06) 0%, rgba(245, 158, 11, 0.06) 100%), var(--card-bg);
  border: 1px solid rgba(255, 107, 139, 0.1);
}

.cta-card h2 {
  color: var(--text-main);
}

.cta-card p {
  color: var(--text-muted);
}

/* ------------------------------------------
   13. FILTER BUTTONS (Products Page)
   ------------------------------------------ */
.filter-btn {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-muted);
}

.filter-btn:hover {
  color: var(--text-main);
  border-color: rgba(0, 0, 0, 0.15);
}

.filter-btn.active {
  background: var(--accent-cyan);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(255, 107, 139, 0.2);
}

/* ------------------------------------------
   14. CUSTOMIZER / TRY PAGE
   ------------------------------------------ */
.preview-panel {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.card-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.control-panel {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.control-panel::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
}

.control-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.2);
}

/* Tabs */
.tabs {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.tab-btn {
  color: var(--text-muted);
}

.tab-btn:hover {
  color: var(--text-main);
}

.tab-btn.active {
  color: var(--accent-cyan);
  border-bottom: 2px solid var(--accent-cyan);
}

/* Control sections */
.control-section {
  border-bottom-color: rgba(0, 0, 0, 0.04);
}

.section-title {
  color: var(--text-main);
}

.step-num {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(255, 107, 139, 0.2);
}

.sub-label {
  color: var(--text-muted);
}

/* Product selector buttons */
.prod-btn {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text-muted);
}

.prod-btn:hover {
  color: var(--text-main);
  border-color: rgba(0, 0, 0, 0.12);
}

.prod-btn.active {
  border-color: rgba(255, 107, 139, 0.3);
  background: rgba(255, 107, 139, 0.06);
  color: var(--accent-cyan);
  box-shadow: inset 0 0 8px rgba(255, 107, 139, 0.04);
}

/* Side selector */
.side-btn {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text-muted);
}

.side-btn:hover {
  color: var(--text-main);
  border-color: rgba(0, 0, 0, 0.12);
}

.side-btn.active {
  border-color: rgba(255, 107, 139, 0.3);
  background: rgba(255, 107, 139, 0.06);
  color: var(--accent-cyan);
}

/* Drop zone */
.drop-zone {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.015);
}

.drop-zone:hover {
  border-color: var(--accent-cyan);
  background: rgba(255, 107, 139, 0.02);
  box-shadow: 0 0 0 3px rgba(255, 107, 139, 0.06);
}

.drop-zone.dragover {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.03);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.08);
}

.upload-icon {
  color: #aeaeb2;
}

.upload-text {
  color: var(--text-main);
}

.upload-subtext {
  color: var(--text-muted);
}

/* Sliders */
.slider-header label {
  color: var(--text-muted);
}

.slider-value {
  color: var(--accent-cyan);
}

input[type="range"] {
  background: rgba(0, 0, 0, 0.06);
}

input[type="range"]::-webkit-slider-thumb {
  background: var(--accent-cyan);
  box-shadow: 0 1px 4px rgba(255, 107, 139, 0.3);
}

/* Select */
.select-wrapper select {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
  color: var(--text-main);
}

.select-wrapper select:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(255, 107, 139, 0.12);
}

.select-arrow {
  color: #aeaeb2;
}

/* Color swatches */
.color-swatch,
.visor-swatch {
  border: 2px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.color-swatch.active,
.visor-swatch.active {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 2px rgba(255, 107, 139, 0.25);
}

.picker-label {
  background: linear-gradient(135deg, #ff6b6b 0%, #f59e0b 50%, #ff6b8b 100%);
}

.custom-color-picker.active .picker-label {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 2px rgba(255, 107, 139, 0.25);
}

/* Toggle cards */
.toggle-card {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.06);
}

.toggle-card:hover {
  background: rgba(0, 0, 0, 0.04);
}

.toggle-card.active {
  border-color: var(--accent-cyan);
  background: rgba(255, 107, 139, 0.04);
}

.toggle-card.active i {
  color: var(--accent-cyan);
}

.toggle-card i {
  color: var(--text-muted);
}

.toggle-card-title {
  color: var(--text-main);
}

.toggle-card-desc {
  color: var(--text-muted);
}

/* Liquid selector */
.liquid-option {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.06);
  color: var(--text-main);
}

.liquid-option:hover {
  background: rgba(0, 0, 0, 0.04);
}

.liquid-option.active {
  border-color: var(--accent-cyan);
  background: rgba(255, 107, 139, 0.04);
}

/* Action footer */
.action-footer {
  border-top-color: rgba(0, 0, 0, 0.04);
}

/* Icon buttons */
.icon-button {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text-muted);
}

.icon-button:hover {
  color: var(--text-main);
  border-color: rgba(0, 0, 0, 0.12);
}

.icon-button.active {
  background: rgba(255, 107, 139, 0.06);
  border-color: rgba(255, 107, 139, 0.2);
  color: var(--accent-cyan);
}

/* Scene background */
.scene {
  background: var(--product-preview-bg) !important;
}

/* Status indicator */
.status-indicator {
  color: var(--text-muted);
}

.pulse-dot {
  background: #34c759;
  box-shadow: 0 0 6px rgba(52, 199, 89, 0.4);
}

.tip-text {
  color: var(--text-muted);
}

/* Preview footer */
.preview-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  background: rgba(255, 255, 255, 0.4);
}

/* Print placeholders */
.print-placeholder {
  color: rgba(0, 0, 0, 0.2);
}

.catalog-preview .print-placeholder i {
  color: var(--accent-cyan) !important;
}

/* Gallery items */
.gallery-title {
  color: var(--text-muted);
}

.gallery-item {
  border-color: rgba(0, 0, 0, 0.06);
}

.gallery-item:hover,
.gallery-item.active {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 2px rgba(255, 107, 139, 0.15);
}

.gallery-label {
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-muted);
  backdrop-filter: blur(6px);
}

/* Price display */
#bulk-deal-badge {
  background: rgba(52, 199, 89, 0.06) !important;
  border-color: rgba(52, 199, 89, 0.18) !important;
  color: #34c759 !important;
}

/* ------------------------------------------
   15. AUTH PAGE
   ------------------------------------------ */
.auth-tabs {
  background: rgba(0, 0, 0, 0.04);
}

.auth-tab-btn {
  color: var(--text-muted);
}

.auth-tab-btn.active {
  background: var(--accent-cyan);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(255, 107, 139, 0.2);
}

.auth-title {
  color: var(--text-main);
}

.auth-subtitle {
  color: var(--text-muted);
}

.auth-error-banner {
  background: rgba(255, 59, 48, 0.06);
  border-color: rgba(255, 59, 48, 0.18);
  color: #ff3b30;
}

.auth-success-banner {
  background: rgba(52, 199, 89, 0.06);
  border-color: rgba(52, 199, 89, 0.18);
  color: #34c759;
}

/* ------------------------------------------
   16. CONTACT PAGE
   ------------------------------------------ */
.info-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
}

.info-icon {
  background: rgba(255, 107, 139, 0.06);
  border-color: rgba(255, 107, 139, 0.1);
  color: var(--accent-cyan);
  box-shadow: none;
}

.info-text h3 {
  color: var(--text-main);
}

.info-text p {
  color: var(--text-muted);
}

.support-sla {
  color: #34c759;
}

.map-card {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.map-placeholder {
  background: rgba(0, 0, 0, 0.02);
  color: var(--text-muted);
}

.map-icon {
  color: var(--accent-cyan);
  filter: none;
}

.map-grid-lines {
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
}

.contact-form-panel {
  background: var(--card-bg);
}

.form-title {
  color: var(--text-main);
}

.contact-form textarea {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
  color: var(--text-main);
}

.contact-form textarea::placeholder {
  color: #aeaeb2;
}

.contact-form textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(255, 107, 139, 0.12);
  background: #ffffff;
}

.contact-success-overlay {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(20px);
}

.success-icon {
  color: #34c759;
  filter: none;
}

/* ------------------------------------------
   17. PROFILE PAGE
   ------------------------------------------ */
.profile-settings {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
}

.profile-orders {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
}

.order-item-card {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.06);
}

.order-header {
  border-bottom-color: rgba(0, 0, 0, 0.04);
  color: var(--text-muted);
}

.order-id {
  color: var(--accent-cyan);
}

.order-avatar {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.06);
  color: var(--text-muted);
}

.order-details h4 {
  color: var(--text-main);
}

.order-details p {
  color: var(--text-muted);
}

.order-status-badge.transit {
  background: rgba(255, 107, 139, 0.06);
  border-color: rgba(255, 107, 139, 0.18);
  color: #ff6b8b;
}

.order-status-badge.delivered {
  background: rgba(52, 199, 89, 0.06);
  border-color: rgba(52, 199, 89, 0.18);
  color: #34c759;
}

/* ------------------------------------------
   18. ABOUT PAGE INLINE STYLES OVERRIDE
   ------------------------------------------ */
.about-hero h1 {
  color: var(--text-main);
}

.about-hero p {
  color: var(--text-muted);
}

.tech-icon {
  background: rgba(255, 107, 139, 0.06) !important;
  border-color: rgba(255, 107, 139, 0.1) !important;
  color: var(--accent-cyan) !important;
  box-shadow: none !important;
}

.tech-card.apparel .tech-icon {
  background: rgba(245, 158, 11, 0.06) !important;
  border-color: rgba(245, 158, 11, 0.1) !important;
  color: #f59e0b !important;
  box-shadow: none !important;
}

.tech-card h3 {
  color: var(--text-main);
}

.tech-card p {
  color: var(--text-muted);
}

.timeline-container {
  border-left-color: rgba(0, 0, 0, 0.08);
}

.timeline-node::before {
  background: #ffffff;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(255, 107, 139, 0.12);
}

.timeline-node.future::before {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

.timeline-year {
  color: var(--accent-cyan);
}

.timeline-node.future .timeline-year {
  color: #f59e0b;
}

.stat-val {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: none;
}

.stat-lbl {
  color: var(--text-muted);
}

/* ------------------------------------------
   19. FOOTER
   ------------------------------------------ */
.app-footer {
  background: rgba(245, 245, 247, 0.8);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.app-footer-text {
  color: var(--text-muted);
}

/* ------------------------------------------
   20. RESPONSIVE OVERRIDES
   ------------------------------------------ */
@media (max-width: 968px) {
  .nav-links {
    background: rgba(245, 245, 247, 0.98);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 15px 0 45px rgba(0, 0, 0, 0.06);
  }

  .nav-links .nav-link {
    border-bottom-color: rgba(0, 0, 0, 0.04);
  }

  .mobile-nav-auth {
    color: var(--accent-cyan) !important;
  }
}

/* Card border-radius consistency */
@media (max-width: 480px) {
  .card {
    border-radius: 16px;
  }
}

/* Catalog preview overrides */
.catalog-preview .print-placeholder {
  color: rgba(0, 0, 0, 0.25) !important;
}

/* Ensure print area borders are visible on light bg */
.tshirt-print-area {
  border-color: rgba(0, 0, 0, 0.1);
}

.tshirt-print-area:hover {
  border-color: var(--accent-cyan);
  background: rgba(255, 107, 139, 0.02);
}

.plate-print-area {
  border-color: rgba(0, 0, 0, 0.06);
}

.plate-print-area:hover {
  border-color: var(--accent-cyan);
}

.cap-print-area {
  border-color: rgba(255, 255, 255, 0.25);
}

.cap-print-area:hover {
  border-color: var(--accent-cyan);
}

/* Hidden utility */
.hidden {
  display: none !important;
}

/* ==========================================
   UI/UX ENHANCEMENTS
   ========================================== */

/* ------------------------------------------
   #1 SCROLL-REVEAL ANIMATIONS
   ------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* Staggered children inside reveal containers */
.reveal-children>* {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-children.visible>*:nth-child(1) {
  transition-delay: 0.05s;
}

.reveal-children.visible>*:nth-child(2) {
  transition-delay: 0.12s;
}

.reveal-children.visible>*:nth-child(3) {
  transition-delay: 0.19s;
}

.reveal-children.visible>*:nth-child(4) {
  transition-delay: 0.26s;
}

.reveal-children.visible>* {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------
   #2 PASSWORD VISIBILITY TOGGLE
   ------------------------------------------ */
.password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #aeaeb2;
  z-index: 2;
  background: none;
  border: none;
  font-size: 1rem;
  padding: 4px;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-toggle:hover {
  color: var(--text-main);
}

/* ------------------------------------------
   #5 FORM VALIDATION STATES
   ------------------------------------------ */
.input-icon-wrapper input.input-valid,
.input-icon-wrapper textarea.input-valid {
  border-color: #34c759 !important;
  box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.1) !important;
}

.input-icon-wrapper input.input-invalid,
.input-icon-wrapper textarea.input-invalid {
  border-color: #ff3b30 !important;
  box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.1) !important;
}

.input-wrapper-feedback {
  position: relative;
}

.input-feedback-msg {
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.input-feedback-msg.show {
  opacity: 1;
  transform: translateY(0);
}

.input-feedback-msg.error {
  color: #ff3b30;
}

.input-feedback-msg.success {
  color: #34c759;
}

/* ------------------------------------------
   #6 TOAST NOTIFICATION SYSTEM
   ------------------------------------------ */
.toast-container {
  position: fixed;
  top: 90px;
  right: 24px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  pointer-events: auto;
  cursor: pointer;
  max-width: 380px;
  animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast:hover {
  transform: translateX(-4px);
}

.toast.removing {
  opacity: 0;
  transform: translateX(100px);
}

.toast i {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.toast-success i {
  color: #34c759;
}

.toast-error i {
  color: #ff3b30;
}

.toast-info i {
  color: #ff6b8b;
}

.toast-success {
  border-left: 3px solid #34c759;
}

.toast-error {
  border-left: 3px solid #ff3b30;
}

.toast-info {
  border-left: 3px solid #ff6b8b;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(100px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* ------------------------------------------
   #6B REPLACE ALERT() BANNERS WITH TOAST-READY
   ------------------------------------------ */
.auth-error-banner,
.auth-success-banner {
  transition: all 0.3s ease;
}

/* ------------------------------------------
   #7 MOBILE BOTTOM NAVIGATION BAR
   ------------------------------------------ */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: rgba(245, 245, 247, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 200;
  justify-content: space-around;
  align-items: center;
  padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 4px 8px;
  border-radius: 8px;
  min-width: 56px;
}

.bottom-nav-item i {
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
  color: var(--accent-cyan);
}

.bottom-nav-item.active i {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
  }

  body {
    padding-bottom: 70px;
  }

  .app-footer {
    padding-bottom: 80px;
  }
}

/* ------------------------------------------
   #8 SMOOTH PAGE TRANSITIONS
   ------------------------------------------ */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.page-transition-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ------------------------------------------
   #3 PRODUCT CARD HOVER ZOOM
   ------------------------------------------ */
.product-mockup-showcase {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.product-showcard:hover .product-mockup-showcase {
  transform: scale(1.08);
}

/* Override the existing shrink-on-hover rule from style.css */
.product-showcard:hover .catalog-preview {
  transform: scale(0.68) translateY(-4px) !important;
}

/* ------------------------------------------
   #4 CUSTOMIZER EMPTY STATE ANIMATION
   ------------------------------------------ */
.print-placeholder i {
  animation: placeholderPulse 2.8s ease-in-out infinite;
}

@keyframes placeholderPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.45;
  }

  50% {
    transform: scale(1.12);
    opacity: 0.8;
  }
}

.print-area-empty {
  animation: dashBorderPulse 4s ease-in-out infinite;
}

@keyframes dashBorderPulse {

  0%,
  100% {
    border-color: rgba(255, 107, 139, 0.15);
  }

  50% {
    border-color: rgba(255, 107, 139, 0.35);
  }
}

/* ------------------------------------------
   #9 CUSTOM CURSOR ON DESIGN CANVAS
   ------------------------------------------ */
.scene {
  cursor: crosshair;
}

.scene.dragging-orbit {
  cursor: grab !important;
}

.scene.has-image .product-preview-item.active {
  cursor: grab;
}

.scene.dragging .product-preview-item.active {
  cursor: grabbing;
}

.scene::after {
  content: '';
  position: absolute;
  width: 36px;
  height: 36px;
  border: 2px solid rgba(255, 107, 139, 0.3);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  left: var(--cursor-x, 50%);
  top: var(--cursor-y, 50%);
  transition: width 0.15s ease, height 0.15s ease, border-color 0.15s ease, opacity 0.2s ease;
  opacity: 0;
  z-index: 50;
}

.scene:hover::after {
  opacity: 1;
}

.scene.dragging::after {
  width: 28px;
  height: 28px;
  border-color: var(--accent-cyan);
  border-width: 2.5px;
}

/* ------------------------------------------
   #10 LOADING SKELETON SHIMMER
   ------------------------------------------ */
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.skeleton-card .product-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 0.02) 25%,
      rgba(0, 0, 0, 0.06) 50%,
      rgba(0, 0, 0, 0.02) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: inherit;
  z-index: 10;
}

.skeleton-card .product-mockup-showcase {
  opacity: 0 !important;
}

.skeleton-card .product-info h3,
.skeleton-card .product-info p {
  color: transparent !important;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 0.04) 25%,
      rgba(0, 0, 0, 0.08) 50%,
      rgba(0, 0, 0, 0.04) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: 4px;
}

.skeleton-card .product-info h3 {
  width: 70%;
  height: 1em;
}

.skeleton-card .product-info p {
  width: 100%;
  height: 0.8em;
}

.skeleton-card .product-info .btn {
  opacity: 0 !important;
}

/* Gallery image lazy load */
.gallery-item img {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-item img.loaded {
  opacity: 1;
}

/* ------------------------------------------
   MOBILE TOAST POSITIONING
   ------------------------------------------ */
@media (max-width: 480px) {
  .toast-container {
    top: auto;
    bottom: 80px;
    right: 12px;
    left: 12px;
  }

  .toast {
    max-width: 100%;
    font-size: 0.82rem;
    padding: 12px 16px;
  }

  .mobile-bottom-nav {
    display: flex;
  }
}

/* ==========================================
   DESIGN STUDIO (try.html) ENHANCEMENTS
   ========================================== */

/* ------------------------------------------
   STUDIO LAYOUT & PANELS
   ------------------------------------------ */
.customizer-main-container {
  padding-top: 24px;
  padding-bottom: 32px;
}

.dashboard-grid {
  gap: 24px;
}

/* Preview panel - refined glass */
.preview-panel {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(251, 246, 241, 0.95));
  border: 1px solid rgba(140, 108, 94, 0.14);
  box-shadow: 0 18px 40px rgba(90, 64, 49, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.preview-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(193, 117, 130, 0.35), transparent);
  z-index: 10;
}

.preview-panel::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 18px;
  pointer-events: none;
  border: 1px solid rgba(193, 117, 130, 0.08);
}

/* Card header - cleaner separator */
.preview-panel .card-header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 249, 243, 0.92));
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  padding: 14px 20px;
  border-bottom: 1px solid rgba(140, 108, 94, 0.10);
}

.control-panel {
  border-radius: 20px;
  overflow-y: auto; /* Restore vertical scroll bar functionality */
}

.control-panel .tabs {
  background: rgba(0, 0, 0, 0.02);
  border-top-left-radius: 20px; /* Keep tab corners rounded within card */
  border-top-right-radius: 20px;
}

.control-panel .tab-btn {
  font-size: 0.85rem;
  padding: 14px;
}

.control-panel .tab-btn.active {
  background: transparent;
}

.product-preview-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px;
}

.product-preview-container::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.78);
  pointer-events: none;
  z-index: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.product-preview-container::after {
  content: '';
  position: absolute;
  inset: 28px;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 50%, rgba(193, 117, 130, 0.10), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

/* ------------------------------------------
   SCENE / CANVAS BACKGROUND
   ------------------------------------------ */
.scene {
  background:
    radial-gradient(circle at 30% 40%, rgba(193, 117, 130, 0.12) 0%, transparent 62%),
    radial-gradient(circle at 70% 60%, rgba(214, 166, 109, 0.16) 0%, transparent 58%),
    linear-gradient(180deg, #f8efe8 0%, #f2e7df 100%) !important;
  border-radius: 18px;
  border: 1px solid rgba(140, 108, 94, 0.10);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 0 0 1px rgba(255, 255, 255, 0.48),
    0 12px 28px rgba(90, 64, 49, 0.08);
}

/* Subtle grid pattern on scene */
.scene::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: 40px 40px;
  background-image:
    radial-gradient(circle, rgba(90, 64, 49, 0.04) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
}

.scene::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 12px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.82);
  z-index: 1;
}

/* ------------------------------------------
   PREVIEW STATUS & FOOTER
   ------------------------------------------ */
.preview-footer {
  background: linear-gradient(180deg, rgba(255, 253, 250, 0.88), rgba(248, 242, 236, 0.96));
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  padding: 12px 20px;
  border-top: 1px solid rgba(140, 108, 94, 0.10);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34c759;
  animation: pulseDot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.4);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(52, 199, 89, 0);
  }
}

.tip-text {
  font-size: 0.75rem;
  color: #aeaeb2;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.tip-text i {
  font-size: 0.7rem;
}

/* ------------------------------------------
   PRODUCT SWITCHER - Enhanced
   ------------------------------------------ */
.product-selector-group {
  gap: 8px;
}

.prod-btn {
  border-radius: 12px;
  padding: 14px 8px;
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.prod-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.25s ease;
  border-radius: inherit;
}

.prod-btn.active::before {
  opacity: 0.06;
}

.prod-btn.active {
  border-color: rgba(255, 107, 139, 0.3);
  color: var(--accent-cyan);
  box-shadow: 0 2px 8px rgba(255, 107, 139, 0.08);
}

.prod-btn i {
  font-size: 1.2rem;
  margin-bottom: 2px;
}

/* ------------------------------------------
   SIDE SELECTOR - Pill Style
   ------------------------------------------ */
.side-selector-group {
  gap: 8px;
}

.side-btn {
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.side-btn.active {
  box-shadow: 0 2px 8px rgba(255, 107, 139, 0.1);
}

/* ------------------------------------------
   DROP ZONE - Enhanced
   ------------------------------------------ */
.drop-zone {
  border-radius: 16px;
  padding: 28px 20px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.drop-zone::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 107, 139, 0.02) 0%, rgba(245, 158, 11, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.drop-zone:hover::before {
  opacity: 1;
}

.drop-zone:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 4px rgba(255, 107, 139, 0.06);
  transform: translateY(-1px);
}

.drop-zone.dragover {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.08);
  transform: scale(1.01);
}

.drop-zone-content {
  position: relative;
  z-index: 1;
}

.upload-icon {
  font-size: 2.5rem;
  margin-bottom: 4px;
  transition: transform 0.3s ease;
}

.drop-zone:hover .upload-icon {
  transform: translateY(-4px);
}

.upload-text {
  font-weight: 600;
  margin-bottom: 4px;
}

.drop-zone .btn-secondary {
  font-size: 0.82rem;
  padding: 8px 18px;
  border-radius: 8px;
}

/* ------------------------------------------
   GALLERY - Enhanced
   ------------------------------------------ */
.gallery-section {
  margin-top: 20px;
}

.gallery-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  margin-bottom: 10px;
}

.gallery-grid {
  gap: 8px;
}

.gallery-item {
  border-radius: 12px;
  border-width: 2px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.gallery-item.active {
  box-shadow: 0 0 0 2px rgba(255, 107, 139, 0.3);
}

/* ------------------------------------------
   SLIDERS - Enhanced with fill
   ------------------------------------------ */
.slider-group {
  margin-bottom: 16px;
}

.slider-header {
  margin-bottom: 8px;
}

.slider-header label {
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.slider-header label i {
  font-size: 0.75rem;
  color: #aeaeb2;
}

.slider-value {
  font-size: 0.82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: rgba(255, 107, 139, 0.06);
  padding: 2px 8px;
  border-radius: 6px;
}

input[type="range"] {
  height: 5px;
  border-radius: 4px;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  border: 3px solid #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 2px 8px rgba(255, 107, 139, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 3px solid #ffffff;
  background: var(--accent-cyan);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

/* ------------------------------------------
   SELECT DROPDOWN - Enhanced
   ------------------------------------------ */
.select-wrapper select {
  border-radius: 12px;
  padding: 12px 40px 12px 16px;
  font-weight: 500;
  cursor: pointer;
}

.select-wrapper select:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(255, 107, 139, 0.1);
}

/* ------------------------------------------
   COLOR PALETTE - Enhanced
   ------------------------------------------ */
.color-palette {
  gap: 8px;
}

.color-swatch,
.visor-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2.5px solid rgba(0, 0, 0, 0.06);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.color-swatch:hover,
.visor-swatch:hover {
  transform: scale(1.15);
  border-color: rgba(0, 0, 0, 0.15);
}

.color-swatch.active,
.visor-swatch.active {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(255, 107, 139, 0.2);
  transform: scale(1.1);
}

.color-swatch.active::after,
.visor-swatch.active::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Dark swatches get a white checkmark dot */
.color-swatch[data-color="#18181c"].active::after,
.visor-swatch[data-color="#18181c"].active::after {
  background: #ffffff;
}

/* Custom color picker */
.custom-color-picker {
  width: 32px;
  height: 32px;
}

.picker-label {
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.picker-label:hover {
  transform: scale(1.1);
}

/* ------------------------------------------
   MATERIAL TOGGLE CARDS - Enhanced
   ------------------------------------------ */
.toggle-group {
  gap: 10px;
}

.toggle-card {
  border-radius: 14px;
  padding: 16px 18px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.toggle-card.active {
  background: rgba(255, 107, 139, 0.04);
  border-color: rgba(255, 107, 139, 0.2);
  box-shadow: 0 2px 8px rgba(255, 107, 139, 0.06);
}

.toggle-card i {
  font-size: 1.15rem;
  transition: color 0.2s ease;
}

.toggle-card.active i {
  color: var(--accent-cyan);
}

.toggle-card-title {
  font-size: 0.85rem;
  font-weight: 700;
}

.toggle-card-desc {
  font-size: 0.72rem;
  color: #aeaeb2;
}

/* ------------------------------------------
   LIQUID SELECTOR - Enhanced
   ------------------------------------------ */
.liquid-selector {
  gap: 8px;
}

.liquid-option {
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.liquid-option:hover {
  transform: translateY(-1px);
}

.liquid-option.active {
  box-shadow: 0 2px 8px rgba(255, 107, 139, 0.06);
}

.liquid-bubble {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* ------------------------------------------
   ACTION FOOTER - Enhanced
   ------------------------------------------ */
.action-footer {
  background: rgba(0, 0, 0, 0.015);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding: 20px;
}

.action-footer .form-group label {
  font-size: 0.85rem;
}

#price-display-text {
  font-size: 0.9rem;
}

#total-price-text {
  font-size: 0.85rem;
}

#total-price-text span {
  font-size: 1.1rem;
}

/* Quantity input */
#bulk-quantity {
  border-radius: 10px;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#bulk-quantity:focus {
  border-color: var(--accent-cyan) !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 139, 0.1) !important;
  outline: none;
}

/* Bulk deal badge */
#bulk-deal-badge {
  border-radius: 8px;
  font-size: 0.72rem;
  animation: badgePop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes badgePop {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Export button */
.action-footer .btn-primary {
  padding: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 12px;
  letter-spacing: 0.2px;
}

.action-footer .btn-primary i {
  margin-right: 4px;
}

/* ------------------------------------------
   ICON BUTTONS - Enhanced
   ------------------------------------------ */
.icon-button {
  border-radius: 10px;
  width: 34px;
  height: 34px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.icon-button:hover {
  transform: translateY(-1px);
}

.icon-button.active {
  background: rgba(255, 107, 139, 0.08);
  border-color: rgba(255, 107, 139, 0.2);
  color: var(--accent-cyan);
  box-shadow: 0 2px 6px rgba(255, 107, 139, 0.08);
}

/* ------------------------------------------
   CONTROL SECTIONS - Enhanced
   ------------------------------------------ */
.control-section {
  padding: 0 24px 24px;
  margin-bottom: 0;
}

.control-section:last-of-type {
  border-bottom: none;
}

.section-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
}

.sub-label {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 10px;
}

/* ------------------------------------------
   TAB CONTENT
   ------------------------------------------ */
.tab-content {
  padding: 20px 0;
}

.tab-content.active {
  animation: tabFadeIn 0.25s ease;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------------------
   PRODUCT PREVIEW - Smooth Transitions
   ------------------------------------------ */
.product-preview-item {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  z-index: 1;
}

.product-preview-item.active {
  animation: productReveal 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 22px 26px rgba(90, 64, 49, 0.16));
}

@keyframes productReveal {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ------------------------------------------
   TRY PAGE MOBILE ENHANCEMENTS
   ------------------------------------------ */
@media (max-width: 968px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .preview-panel {
    min-height: 400px;
    height: 450px;
  }

  .control-panel {
    min-height: auto;
  }

  .control-section {
    padding: 0 20px 20px;
  }

  .tab-content {
    padding: 16px 0;
  }

  .product-selector-group {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .customizer-main-container {
    padding-top: 12px;
    padding-bottom: 16px;
  }

  .preview-panel {
    height: 320px;
    border-radius: 16px;
  }

  .control-panel {
    border-radius: 16px;
  }

  .product-selector-group {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px;
  }

  .prod-btn {
    padding: 10px 4px;
    font-size: 0.72rem;
  }

  .prod-btn i {
    font-size: 1rem;
  }

  .color-swatch,
  .visor-swatch {
    width: 28px;
    height: 28px;
  }

  .drop-zone {
    padding: 20px 16px;
  }

  .upload-icon {
    font-size: 2rem;
  }

  .action-footer {
    padding: 16px;
  }

  .side-selector-group {
    grid-template-columns: 1fr;
  }

  .liquid-selector {
    grid-template-columns: 1fr 1fr;
  }

  .studio-toolbar {
    flex-wrap: wrap;
    gap: 6px;
  }

  .shortcuts-toast {
    left: 10px;
    right: 10px;
    bottom: 70px;
  }
}

/* ==========================================
   STUDIO TOOLBAR (Undo/Redo/Save/Load)
   ========================================== */
.studio-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 16px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  backdrop-filter: blur(12px);
}

.toolbar-group {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
}

.toolbar-group:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding-right: 16px;
}

.studio-toolbar .icon-button {
  width: 36px;
  height: 36px;
  font-size: 0.85rem;
}

.studio-toolbar .icon-button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.studio-toolbar .icon-button:disabled:hover {
  background: transparent;
  transform: none;
}

/* ==========================================
   MODALS (Save/Load/Export Quality)
   ========================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.2s ease;
}

.modal-card {
  background: var(--card-bg, rgba(26, 27, 45, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  width: 90%;
  max-width: 420px;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.25s ease;
}

.modal-card-wide {
  max-width: 560px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main, #f0f0f5);
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 24px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-input {
  width: 100%;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text-main, #f0f0f5);
  font-family: var(--font-family);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.modal-input:focus {
  border-color: var(--accent-cyan, #38bdf8);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.78rem;
  border-radius: 8px;
}

/* ==========================================
   SAVED DESIGNS LIST
   ========================================== */
.saved-designs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.saved-design-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: background 0.2s;
}

.saved-design-card:hover {
  background: rgba(255, 255, 255, 0.06);
}

.saved-design-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.saved-design-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-main, #f0f0f5);
}

.saved-design-date {
  font-size: 0.72rem;
  color: var(--text-muted, #8b8fa3);
}

.saved-design-product {
  font-size: 0.7rem;
  color: var(--accent-cyan, #38bdf8);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.saved-design-actions {
  display: flex;
  gap: 6px;
}

.empty-state-text {
  text-align: center;
  color: var(--text-muted, #8b8fa3);
  font-size: 0.85rem;
  padding: 24px 12px;
}

/* ==========================================
   EXPORT QUALITY OPTIONS
   ========================================== */
.export-quality-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.export-option {
  cursor: pointer;
}

.export-option input[type="radio"] {
  display: none;
}

.export-option-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.export-option input[type="radio"]:checked + .export-option-card {
  background: rgba(56, 189, 248, 0.08);
  border-color: var(--accent-cyan, #38bdf8);
}

.export-option-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-main, #f0f0f5);
}

.export-option-desc {
  font-size: 0.75rem;
  color: var(--text-muted, #8b8fa3);
}

.export-option-badge {
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted, #8b8fa3);
  font-weight: 600;
}

.export-option input[type="radio"]:checked + .export-option-card .export-option-badge {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan, #38bdf8);
}

/* ==========================================
   TEXT CUSTOMIZATION STYLES
   ========================================== */
.text-style-group {
  display: flex;
  gap: 6px;
}

.text-style-btn {
  flex: 1;
  padding: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--text-muted, #8b8fa3);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.text-style-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main, #f0f0f5);
}

.text-style-btn.active {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--accent-cyan, #38bdf8);
  color: var(--accent-cyan, #38bdf8);
}

.text-color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.text-color-swatch.active {
  border-color: var(--accent-cyan, #38bdf8);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.3);
}

.text-overlay-element {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  z-index: 5;
  cursor: grab;
  user-select: none;
  transition: box-shadow 0.2s ease;
  padding: 4px 8px;
  border-radius: 6px;
  border: 2px solid transparent;
}

.text-overlay-element:hover {
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.15);
}

.text-overlay-element.dragging {
  cursor: grabbing;
  border-color: var(--accent-cyan, #38bdf8);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
  z-index: 20;
}

/* ==========================================
   PRICING TIERS
   ========================================== */
.pricing-tiers {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px 14px;
}

.pricing-tiers .sub-label {
  font-size: 0.78rem;
  color: var(--text-muted, #8b8fa3);
}

.tier-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.tier-row:last-child {
  border-bottom: none;
}

.tier-range {
  font-size: 0.78rem;
  color: var(--text-muted, #8b8fa3);
  font-weight: 500;
}

.tier-price {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main, #f0f0f5);
}

.tier-discount {
  color: #34c759;
}

/* ==========================================
   ONBOARDING TOUR
   ========================================== */
.tour-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tour-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
}

.tour-card {
  position: relative;
  z-index: 1;
  background: var(--card-bg, rgba(26, 27, 45, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  animation: slideUp 0.3s ease;
}

.tour-step-indicator {
  font-size: 0.72rem;
  color: var(--text-muted, #8b8fa3);
  margin-bottom: 12px;
  font-weight: 600;
}

.tour-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main, #f0f0f5);
  margin-bottom: 10px;
}

.tour-text {
  font-size: 0.88rem;
  color: var(--text-muted, #8b8fa3);
  line-height: 1.6;
  margin-bottom: 24px;
}

.tour-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* ==========================================
   LOADING OVERLAY
   ========================================== */
.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.spinner-ring {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent-cyan, #38bdf8);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.loading-text {
  color: var(--text-main, #f0f0f5);
  font-size: 0.88rem;
  font-weight: 600;
}

/* ==========================================
   KEYBOARD SHORTCUTS TOAST
   ========================================== */
.shortcuts-toast {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 9998;
  background: var(--card-bg, rgba(26, 27, 45, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px 20px;
  min-width: 280px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.2s ease;
}

.shortcuts-toast-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main, #f0f0f5);
}

.shortcuts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.shortcut-item {
  font-size: 0.75rem;
  color: var(--text-muted, #8b8fa3);
  display: flex;
  align-items: center;
  gap: 6px;
}

kbd {
  display: inline-block;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.7rem;
  color: var(--text-main, #f0f0f5);
  min-width: 24px;
  text-align: center;
}

/* ==========================================
   LOADING STATE FOR PRODUCT PREVIEW
   ========================================== */
.product-preview-container.loading-state {
  opacity: 0.6;
  pointer-events: none;
}

.product-preview-container.loading-state::after {
  content: 'Processing...';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 10;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
