/* ===== CSS Variables ===== */
:root {
    --color-primary: #2d2d2d;
    --color-secondary: #8b7355;
    --color-accent: #c9a87c;
    --color-light: #f8f5f1;
    --color-cream: #faf8f5;
    --color-white: #ffffff;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-border: #e8e4e0;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-cream);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ===== Utilities ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-secondary);
    margin-bottom: 12px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--color-primary);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-header.light .section-tag,
.section-header.light h2,
.section-header.light p {
    color: var(--color-white);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255,255,255,0.3);
}

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

.btn-small {
    padding: 8px 16px;
    font-size: 12px;
}

.full-width {
    width: 100%;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: var(--transition);
}

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

.nav-cta {
    padding: 10px 24px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-cta:hover {
    background: #1a1a1a;
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

/* Mobile menu button active state */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Dropdown Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    padding: 16px 24px 24px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease forwards;
}

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

.mobile-menu-links {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.mobile-menu-links li {
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.mobile-menu-links li:last-child {
    border-bottom: none;
}

.mobile-menu-links a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-primary);
    transition: var(--transition);
}

.mobile-menu-links a:hover {
    color: var(--color-secondary);
    padding-left: 8px;
}

.mobile-menu-cta {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 8px;
}

/* ===== Hero Section ===== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-light) 100%);
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    padding-left: calc((100vw - 1200px) / 2 + 24px);
}

.hero-tag {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-secondary);
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(40px, 5vw, 64px);
    color: var(--color-primary);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero p {
    font-size: 18px;
    color: var(--color-text-light);
    max-width: 480px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(145deg, #3d3028 0%, #2a2420 50%, #1f1a17 100%);
    overflow: hidden;
}

.hero-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(201, 168, 124, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-cake-image {
    max-width: 100%;
    max-height: 90%;
    object-fit: contain;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.4));
}

/* ===== Featured Products ===== */
.featured {
    padding: 60px 0;
    background: var(--color-white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-grid.two-items {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
}

.product-grid.two-items .product-card {
    min-height: 280px;
}

.product-grid.two-items .product-image {
    height: 180px;
}

.product-card {
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon {
    font-size: 64px;
}

.product-info {
    padding: 20px;
}

.product-info .btn {
    border: 2px solid var(--color-primary);
}

.featured-card .product-info .btn {
    border: 2px solid var(--color-white);
    background: transparent;
    color: var(--color-white);
}

.featured-card .product-info .btn:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.product-info p {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 12px;
}

.product-info .price {
    font-weight: 600;
    color: var(--color-secondary);
}

.featured-card {
    background: var(--color-primary);
}

.featured-card .product-info {
    color: var(--color-white);
}

.featured-card .product-info h3 {
    color: var(--color-white);
}

.featured-card .product-info p {
    color: rgba(255,255,255,0.7);
}

/* ===== Cake Customizer ===== */
.customizer-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    min-height: 100vh;
}

.customizer-container {
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

/* Progress Steps */
.customizer-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 40px;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    gap: 8px;
    overflow-x: auto;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: var(--transition);
    flex-shrink: 0;
}

.progress-step.active {
    opacity: 1;
}

.progress-step.completed {
    opacity: 0.8;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.progress-step.active .step-number {
    background: var(--color-accent);
    color: var(--color-primary);
}

.progress-step.completed .step-number {
    background: #4CAF50;
}

.step-label {
    font-size: 12px;
    color: var(--color-white);
    font-weight: 500;
}

.progress-line {
    width: 40px;
    height: 2px;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
}

/* Customizer Main */
.customizer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: auto;
}

/* Cake Preview */
.cake-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.05) 100%);
    border-right: 1px solid rgba(255,255,255,0.1);
}

.preview-container {
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}

.cake-3d {
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.cake-base {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cake-layer {
    border-radius: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.cake-layer.layer-1 {
    width: 160px;
    height: 60px;
    background: linear-gradient(135deg, #fff8f0 0%, #f5e6d3 100%);
    border-radius: 12px 12px 8px 8px;
}

.cake-layer.layer-2 {
    width: 160px;
    height: 60px;
    background: linear-gradient(135deg, #fff8f0 0%, #f5e6d3 100%);
    margin-top: -4px;
}

.cake-layer.layer-3 {
    width: 160px;
    height: 60px;
    background: linear-gradient(135deg, #fff8f0 0%, #f5e6d3 100%);
    margin-top: -4px;
    border-radius: 8px 8px 12px 12px;
}

.cake-frosting {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    pointer-events: none;
}

.cake-plate {
    width: 200px;
    height: 12px;
    background: linear-gradient(135deg, #e0e0e0 0%, #c0c0c0 100%);
    border-radius: 50%;
    margin-top: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.preview-info {
    display: flex;
    gap: 48px;
    text-align: center;
}

.preview-price, .preview-servings {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-label, .servings-label {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-value {
    font-size: 32px;
    font-weight: 600;
    color: var(--color-accent);
}

.servings-value {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-white);
}

/* Options Panel */
.options-panel {
    padding: 40px;
    overflow-y: visible;
    max-height: none;
}

.option-step {
    display: none;
}

.option-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.option-step h3 {
    font-size: 24px;
    color: var(--color-white);
    margin-bottom: 8px;
}

.step-description {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}

/* Option Cards */
.option-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.option-grid.size-options {
    grid-template-columns: repeat(3, 1fr);
}

.option-card {
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.option-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
}

.option-card.selected {
    background: rgba(201, 168, 124, 0.1);
    border-color: var(--color-accent);
}

.option-visual {
    margin-bottom: 8px;
}

.size-preview {
    background: linear-gradient(135deg, #fff8f0 0%, #f5e6d3 100%);
    border-radius: 8px;
    margin: 0 auto;
}

.size-preview.mini { width: 30px; height: 24px; }
.size-preview.small { width: 40px; height: 32px; }
.size-preview.medium { width: 50px; height: 40px; }
.size-preview.tall-medium { width: 50px; height: 52px; }
.size-preview.large { width: 60px; height: 48px; }
.size-preview.xlarge { width: 70px; height: 56px; }

.option-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.option-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
}

.option-info {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

.option-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
}

/* Flavor Cards */
.flavor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
}

.flavor-swatch {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.flavor-swatch.marble {
    background:
        linear-gradient(135deg, #FFF8DC 25%, transparent 25%),
        linear-gradient(225deg, #4A3728 25%, transparent 25%),
        linear-gradient(45deg, #4A3728 25%, transparent 25%),
        linear-gradient(315deg, #FFF8DC 25%, #D2B48C 25%);
    background-size: 30px 30px;
}

.flavor-swatch.funfetti {
    background: #FFF8DC;
    position: relative;
    overflow: hidden;
}

.flavor-swatch.funfetti::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 20%, #FF69B4 2px, transparent 2px),
        radial-gradient(circle at 80% 30%, #87CEEB 2px, transparent 2px),
        radial-gradient(circle at 30% 70%, #98FB98 2px, transparent 2px),
        radial-gradient(circle at 70% 80%, #FFD700 2px, transparent 2px),
        radial-gradient(circle at 50% 40%, #DDA0DD 2px, transparent 2px);
}

/* Filling Cards */
.filling-card {
    flex-direction: row;
    gap: 16px;
    align-items: center;
}

.filling-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
}

/* Frosting Cards */
.frosting-card {
    flex-direction: row;
    gap: 16px;
    align-items: center;
}

.frosting-swatch {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.naked-swatch {
    background: repeating-linear-gradient(
        0deg,
        #FFF8DC,
        #FFF8DC 10px,
        #D2B48C 10px,
        #D2B48C 12px
    );
}

/* Color Picker */
.color-picker-section {
    margin-top: 32px;
}

.color-picker-section label {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
}

.color-swatches {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

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

.color-swatch.selected {
    border-color: var(--color-white);
    transform: scale(1.1);
}

/* Design Options */
.design-section {
    margin-bottom: 32px;
}

.design-section h4 {
    font-size: 16px;
    color: var(--color-white);
    margin-bottom: 16px;
}

.design-options {
    grid-template-columns: repeat(3, 1fr);
}

.design-card {
    padding: 16px;
    text-align: center;
}

.design-preview {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
}

.minimal-design {
    background: linear-gradient(135deg, #fff8f0 0%, #f5e6d3 100%);
}

.floral-design {
    background: linear-gradient(135deg, #FFB6C1 0%, #FFC0CB 100%);
    position: relative;
}

.floral-design::after {
    content: '🌸';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
}

.sprinkles-design {
    background: #FFF8DC;
    position: relative;
}

.sprinkles-design::after {
    content: '✨';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
}

.drip-design {
    background: linear-gradient(180deg, #4A3728 0%, #4A3728 30%, #fff8f0 30%);
    border-radius: 8px 8px 0 0;
}

.custom-design {
    background: linear-gradient(135deg, #E6E6FA 0%, #DDA0DD 100%);
    position: relative;
}

.custom-design::after {
    content: '🎨';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
}

/* Topper Options */
.topper-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.topper-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.topper-option input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--color-accent);
}

.topper-label {
    font-size: 14px;
    color: var(--color-white);
}

/* Text Input */
.text-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: var(--color-white);
    font-size: 14px;
    font-family: var(--font-body);
    transition: var(--transition);
}

.text-input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255,255,255,0.08);
}

.text-input::placeholder {
    color: rgba(255,255,255,0.4);
}

/* Select dropdown styling */
select.text-input {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

select.text-input option {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 12px 16px;
}

select.text-input option:checked,
select.text-input option:hover {
    background: var(--color-secondary);
    color: var(--color-white);
}

.input-hint {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-top: 8px;
}

/* Tier Options */
.tier-option {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.tier-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.tier-toggle input {
    display: none;
}

.toggle-switch {
    width: 48px;
    height: 24px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    position: relative;
    transition: var(--transition);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: var(--color-white);
    border-radius: 50%;
    transition: var(--transition);
}

.tier-toggle input:checked + .toggle-switch {
    background: var(--color-accent);
}

.tier-toggle input:checked + .toggle-switch::after {
    left: 26px;
}

.toggle-label {
    font-size: 14px;
    color: var(--color-white);
}

.tier-selector {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.tier-btn {
    padding: 10px 20px;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: var(--color-white);
    cursor: pointer;
    transition: var(--transition);
}

.tier-btn:hover, .tier-btn.active {
    background: rgba(201, 168, 124, 0.1);
    border-color: var(--color-accent);
}

/* Review Summary */
.review-summary {
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 32px;
}

.review-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.review-item:last-child {
    border-bottom: none;
}

.review-label {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.review-value {
    font-size: 14px;
    color: var(--color-white);
    font-weight: 500;
}

.review-item.total {
    padding-top: 20px;
    margin-top: 8px;
}

.review-item.total .review-label {
    font-size: 16px;
    color: var(--color-white);
    font-weight: 600;
}

.review-item.total .review-value {
    font-size: 24px;
    color: var(--color-accent);
    font-weight: 700;
}

.review-divider {
    height: 1px;
    background: rgba(255,255,255,0.2);
    margin: 8px 0;
}

/* Order Details Form */
.order-details h4 {
    font-size: 18px;
    color: var(--color-white);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
}

.file-input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: rgba(255,255,255,0.05);
    border: 2px dashed rgba(255,255,255,0.2);
    border-radius: 12px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-btn:hover,
.file-upload-wrapper:hover .file-upload-btn {
    background: rgba(255,255,255,0.1);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.file-upload-btn svg {
    flex-shrink: 0;
}

.file-preview {
    margin-top: 12px;
    display: none;
}

.file-preview.has-file {
    display: block;
}

.file-preview-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
}

.file-preview-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.file-preview-info {
    flex: 1;
    min-width: 0;
}

.file-preview-name {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-preview-size {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

.file-preview-remove {
    background: rgba(239, 68, 68, 0.2);
    border: none;
    color: #ef4444;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.file-preview-remove:hover {
    background: rgba(239, 68, 68, 0.3);
}

/* Step Navigation */
.step-navigation {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.step-navigation .btn {
    flex: 1;
}

.submit-btn {
    background: var(--color-accent);
    color: var(--color-primary);
}

.submit-btn:hover {
    background: #d4b896;
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
    background: var(--color-cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content h2 {
    font-size: clamp(32px, 4vw, 48px);
    color: var(--color-primary);
    margin-bottom: 24px;
}

.about-content p {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--color-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text strong {
    font-size: 14px;
    color: var(--color-primary);
}

.feature-text span {
    font-size: 13px;
    color: var(--color-text-light);
}

.about-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-img {
    height: 200px;
    border-radius: var(--radius-md);
}

.about-img.large {
    grid-column: span 2;
    height: 180px;
}

/* ===== Contact Section ===== */
.contact {
    padding: 100px 0;
    background: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

/* Centered contact layout (no form) */
.contact-info-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info-centered h2 {
    font-size: clamp(32px, 4vw, 48px);
    color: var(--color-primary);
    margin-bottom: 40px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 32px;
}

.contact-info-grid .info-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-info-grid .info-icon {
    width: 64px;
    height: 64px;
    font-size: 28px;
    margin-bottom: 16px;
}

.contact-info-grid .social-links {
    justify-content: center;
}

@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.contact-info h2 {
    font-size: clamp(32px, 4vw, 48px);
    color: var(--color-primary);
    margin-bottom: 32px;
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--color-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.info-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-text strong {
    font-size: 14px;
    color: var(--color-primary);
}

.info-text span {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
}

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

.social-link {
    font-size: 14px;
    color: var(--color-secondary);
    font-weight: 500;
    transition: var(--transition);
}

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

.contact-form-container {
    background: var(--color-light);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.contact-form h3 {
    font-size: 24px;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-body);
    background: var(--color-white);
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
}

.contact-form textarea {
    resize: vertical;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 60px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 24px;
}

.footer-brand .logo-text {
    color: var(--color-white);
    margin-bottom: 8px;
    display: block;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

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

.footer-social {
    display: flex;
    gap: 24px;
}

.footer-social a {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-bottom .admin-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 11px;
    color: rgba(255,255,255,0.25);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom .admin-link:hover {
    color: rgba(255,255,255,0.5);
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--color-white);
    padding: 48px;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 400px;
}

.modal-icon {
    width: 64px;
    height: 64px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: var(--color-white);
}

.modal-content h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.modal-content p {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-content {
        padding: 120px 40px 60px;
        text-align: center;
        align-items: center;
    }

    .hero-visual {
        height: 400px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .customizer-main {
        grid-template-columns: 1fr;
    }

    .cake-preview {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 32px;
    }

    .preview-container {
        width: 200px;
        height: 200px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-content {
        padding: 100px 24px 40px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .customizer-progress {
        padding: 12px 16px;
        gap: 4px;
        justify-content: center;
    }

    .step-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .step-label {
        display: none;
    }

    .progress-line {
        width: 12px;
    }

    .progress-step {
        gap: 4px;
    }

    .option-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .option-grid.size-options {
        grid-template-columns: repeat(3, 1fr);
    }

    .option-card {
        padding: 8px;
    }

    .option-visual {
        margin-bottom: 4px;
    }

    .size-preview.mini { width: 24px; height: 20px; }
    .size-preview.small { width: 28px; height: 24px; }
    .size-preview.medium { width: 32px; height: 28px; }
    .size-preview.tall-medium { width: 32px; height: 36px; }
    .size-preview.large { width: 38px; height: 32px; }
    .size-preview.xlarge { width: 44px; height: 38px; }

    .option-title {
        font-size: 11px;
    }

    .option-info {
        font-size: 9px;
    }

    .option-price {
        font-size: 11px;
    }

    .design-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .options-panel {
        padding: 16px;
    }

    .option-step h3 {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .step-description {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .preview-info {
        gap: 24px;
        justify-content: center;
    }

    .cake-preview {
        padding: 16px;
    }

    .preview-container {
        height: 150px;
    }

    /* Scale down cake layers for mobile */
    .cake-layer.layer-1,
    .cake-layer.layer-2,
    .cake-layer.layer-3 {
        width: 100px;
        height: 40px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links,
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

    .featured,
    .about,
    .contact {
        padding: 40px 0;
    }

    .product-grid.two-items {
        gap: 16px;
    }

    .product-grid.two-items .product-card {
        min-height: auto;
    }

    .product-grid.two-items .product-image {
        height: 140px;
    }

    .product-info {
        padding: 16px;
    }

    .product-info h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .product-info p {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .customizer-section {
        padding: 40px 0;
    }

    .customizer-progress {
        padding: 10px 12px;
        gap: 2px;
    }

    .step-number {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .progress-line {
        width: 8px;
    }

    .option-grid,
    .option-grid.size-options {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }

    .option-card {
        padding: 6px;
    }

    .option-visual {
        margin-bottom: 3px;
    }

    .size-preview.mini { width: 20px; height: 16px; }
    .size-preview.small { width: 24px; height: 20px; }
    .size-preview.medium { width: 28px; height: 24px; }
    .size-preview.tall-medium { width: 28px; height: 32px; }
    .size-preview.large { width: 32px; height: 28px; }
    .size-preview.xlarge { width: 38px; height: 34px; }

    .option-title {
        font-size: 10px;
    }

    .option-info {
        font-size: 8px;
        line-height: 1.2;
    }

    .option-price {
        font-size: 10px;
    }

    .options-panel {
        padding: 12px;
    }

    .option-step h3 {
        font-size: 16px;
    }

    .step-description {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .preview-info {
        flex-direction: row;
        gap: 20px;
        justify-content: center;
    }

    .preview-price, .preview-servings {
        text-align: center;
    }

    .price-value {
        font-size: 20px;
    }

    .servings-value {
        font-size: 20px;
    }

    .cake-preview {
        padding: 12px;
    }

    .preview-container {
        height: 120px;
    }

    /* Even smaller cake layers for small mobile */
    .cake-layer.layer-1,
    .cake-layer.layer-2,
    .cake-layer.layer-3 {
        width: 80px;
        height: 30px;
    }

    .shape-option, .tier-option {
        margin-top: 12px;
        padding-top: 12px;
    }

    .shape-options {
        gap: 10px;
    }

    .shape-label {
        font-size: 12px;
        padding: 6px 12px;
    }

    .design-options {
        grid-template-columns: 1fr;
    }

    .color-swatches {
        justify-content: center;
    }
}

/* ===== Preorder Banner ===== */
.preorder-banner {
    background: var(--color-accent);
    padding: 20px 0;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.banner-text {
    display: flex;
    align-items: center;
    gap: 16px;
}

.banner-icon {
    font-size: 32px;
}

.banner-text strong {
    font-size: 16px;
    color: var(--color-primary);
    display: block;
}

.banner-text p {
    font-size: 14px;
    color: var(--color-primary);
    opacity: 0.8;
    margin: 0;
}

@media (max-width: 768px) {
    .banner-content {
        flex-direction: column;
        text-align: center;
    }

    .banner-text {
        flex-direction: column;
    }
}

/* ===== Product Card Enhancements ===== */
.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-image {
    position: relative;
}

.product-info.light-text h3,
.product-info.light-text p {
    color: var(--color-white);
}

.product-info.light-text p {
    opacity: 0.8;
}

.btn-light {
    background: var(--color-white);
    color: var(--color-primary);
}

.btn-light:hover {
    background: var(--color-light);
}

/* ===== Custom Cookies Section ===== */
.custom-cookies-section {
    padding: 100px 0;
    background: var(--color-light);
}

.cookies-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.cookies-content h2 {
    font-size: clamp(32px, 4vw, 48px);
    color: var(--color-primary);
    margin-bottom: 24px;
}

.cookies-content p {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 24px;
}

.cookies-features {
    list-style: none;
    margin-bottom: 32px;
}

.cookies-features li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--color-text);
}

.cookies-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 600;
}

.cookies-visual {
    display: flex;
    justify-content: center;
}

.cookie-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
    max-width: 400px;
}

.cookie-item {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    background: var(--color-cream);
}

.cookie-1 { background: url('assets/cookies/cookie_1.png') center/cover no-repeat; }
.cookie-2 { background: url('assets/cookies/cookie_2.png') center/cover no-repeat; }
.cookie-3 { background: url('assets/cookies/cookie_3.png') center/cover no-repeat; }
.cookie-4 {
    background: var(--color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.cookie-4::before {
    content: '+';
    font-size: 48px;
    font-weight: 300;
    color: var(--color-secondary);
    opacity: 0.5;
}

@media (max-width: 1024px) {
    .cookies-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* ===== Cookie Builder Section ===== */
.builder-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #6b5540 100%);
}

.cookie-builder-container {
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 48px;
}

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

.cookie-form .form-section h3 {
    font-size: 18px;
    color: var(--color-white);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: var(--color-white);
    font-size: 14px;
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255,255,255,0.08);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-select option {
    background: var(--color-primary);
    color: var(--color-white);
}

.cookie-form .form-group {
    margin-bottom: 20px;
}

.cookie-form .form-group label {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-footer {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.form-note {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 24px;
}

.btn-large {
    padding: 18px 48px;
    font-size: 16px;
}

@media (max-width: 1024px) {
    .cookie-form .form-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cookie-builder-container {
        padding: 32px;
    }
}

@media (max-width: 480px) {
    .cookie-builder-container {
        padding: 24px;
    }
}

/* ===== Gallery Section ===== */
.gallery-section {
    padding: 100px 0;
    background: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
    transition: var(--transition);
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.05);
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-cta {
    text-align: center;
}

.gallery-cta p {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.social-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 2/1;
    }
}

/* ===== Updated About Section ===== */
.about-grid {
    align-items: flex-start;
}

.founder-intro {
    margin-bottom: 24px;
}

.founder-intro .lead {
    font-size: 20px;
    color: var(--color-primary);
    font-style: italic;
    line-height: 1.6;
}

.founder-signature {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.founder-signature em {
    color: var(--color-secondary);
    display: block;
    margin-bottom: 8px;
}

.signature {
    margin-top: 24px;
}

.signature strong {
    font-size: 18px;
    color: var(--color-primary);
    display: block;
}

.signature span {
    font-size: 14px;
    color: var(--color-text-light);
    display: block;
    margin-top: 4px;
}

.signature .brand-history {
    font-size: 12px;
    color: var(--color-secondary);
    font-style: italic;
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-image-main {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--color-light) 0%, var(--color-cream) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.founder-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #c9a87c 0%, #8b7355 100%);
    color: var(--color-white);
}

.founder-placeholder span {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
}

.founder-placeholder .subtitle {
    font-family: var(--font-body);
    font-size: 14px;
    opacity: 0.8;
    margin-top: 4px;
}

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat {
    background: var(--color-light);
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);
    display: block;
}

.stat-label {
    font-size: 12px;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    display: block;
}

/* ===== Newsletter Section ===== */
.newsletter-section {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.newsletter-section h4 {
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.newsletter-section p {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-body);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-secondary);
}

@media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
    }
}

/* ===== Updated Footer ===== */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-address {
    margin-top: 16px;
    font-size: 13px;
}

.footer-links,
.footer-hours,
.footer-social {
    display: flex;
    flex-direction: column;
}

.footer-links h4,
.footer-hours h4,
.footer-social h4 {
    font-size: 14px;
    color: var(--color-white);
    margin-bottom: 16px;
    font-family: var(--font-body);
    font-weight: 600;
}

.footer-links a,
.footer-social a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    padding: 6px 0;
    transition: var(--transition);
}

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

.footer-hours p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin: 4px 0;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: span 2;
        max-width: none;
        text-align: center;
    }
}

/* ===== FAQ Section ===== */
.faq {
    padding: 100px 0;
    background: var(--color-light);
}

.faq .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-category {
    background: var(--color-white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.faq-category-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--color-accent);
}

.faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-primary);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-question span:first-child {
    flex: 1;
    padding-right: 16px;
}

.faq-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 300;
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--color-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 20px;
}

.faq-answer p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 12px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer strong {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .faq {
        padding: 60px 0;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .faq-category {
        padding: 24px;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 16px 0;
    }
}

/* ===== Additional Form Styles ===== */
.form-section.full-width {
    grid-column: 1 / -1;
}

.form-help {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin: 4px 0 12px 0;
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    transition: var(--transition);
}

.radio-option:hover,
.checkbox-option:hover {
    background: rgba(255,255,255,0.1);
}

.radio-option input,
.checkbox-option input {
    margin-top: 3px;
    accent-color: var(--color-accent);
}

.radio-option span,
.checkbox-option span {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
}

.complexity-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.complexity-option {
    cursor: pointer;
}

.complexity-option input {
    display: none;
}

.complexity-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 8px;
    background: rgba(255,255,255,0.05);
    border: 2px solid transparent;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.complexity-option:hover .complexity-card {
    background: rgba(255,255,255,0.1);
}

.complexity-option input:checked + .complexity-card {
    border-color: var(--color-accent);
    background: rgba(201, 168, 124, 0.2);
}

.complexity-level {
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 4px;
}

.complexity-desc {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
}

@media (max-width: 768px) {
    .complexity-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .complexity-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Shape Options */
.shape-option {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.shape-option h4 {
    color: var(--color-white);
    margin-bottom: 12px;
    font-size: 1rem;
}

.shape-options {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.shape-radio {
    cursor: pointer;
}

.shape-radio input {
    display: none;
}

.shape-label {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    border: 2px solid transparent;
    border-radius: 8px;
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.shape-radio:hover .shape-label {
    background: rgba(255,255,255,0.15);
}

.shape-radio input:checked + .shape-label {
    border-color: var(--color-accent);
    background: rgba(201, 168, 124, 0.2);
    color: var(--color-white);
}

/* Frosting Categories */
.frosting-category {
    margin-bottom: 32px;
}

.frosting-category h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.recommended-badge {
    font-size: 0.7rem;
    background: var(--color-accent);
    color: var(--color-primary);
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.category-note {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 16px;
}

/* Option Notes */
.option-note {
    display: block;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}

/* ===== Cookie Wizard Styles ===== */
.cookie-wizard-container {
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    max-width: 700px;
    margin: 0 auto;
}

/* Progress Steps */
.cookie-wizard-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 24px;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    gap: 8px;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.4;
    transition: var(--transition);
}

.wizard-step.active {
    opacity: 1;
}

.wizard-step.completed {
    opacity: 0.7;
}

.wizard-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.wizard-step.active .wizard-step-num {
    background: var(--color-accent);
    color: var(--color-primary);
}

.wizard-step.completed .wizard-step-num {
    background: #4CAF50;
    color: white;
}

.wizard-step-label {
    font-size: 11px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wizard-line {
    width: 32px;
    height: 2px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}

/* Wizard Slides */
.cookie-wizard-form {
    padding: 40px;
}

.wizard-slide {
    display: none;
    animation: slideIn 0.4s ease;
}

.wizard-slide.active {
    display: block;
}

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

.slide-content h3 {
    font-size: 1.6rem;
    color: var(--color-white);
    margin-bottom: 8px;
    text-align: center;
}

.slide-subtitle {
    text-align: center;
    color: rgba(255,255,255,0.6);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

/* Toggle Cards */
.toggle-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.toggle-cards.single {
    grid-template-columns: 1fr;
}

.toggle-card {
    cursor: pointer;
}

.toggle-card input {
    display: none;
}

.toggle-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
}

.toggle-card:hover .toggle-card-content {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
}

.toggle-card input:checked + .toggle-card-content {
    background: rgba(201, 168, 124, 0.15);
    border-color: var(--color-accent);
}

.toggle-card-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.toggle-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 4px;
}

.toggle-card-desc {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

/* Date Inputs */
.date-inputs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.date-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.date-field label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

.field-hint {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
}

/* Quantity Section */
.quantity-section {
    margin-bottom: 32px;
    text-align: center;
}

.quantity-section label {
    display: block;
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 12px;
}

.quantity-input {
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}

/* Complexity Pills */
.complexity-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.complexity-pill {
    cursor: pointer;
}

.complexity-pill input {
    display: none;
}

.pill-content {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    transition: var(--transition);
}

.complexity-pill:hover .pill-content {
    background: rgba(255,255,255,0.1);
}

.complexity-pill input:checked + .pill-content {
    background: rgba(201, 168, 124, 0.2);
    border-color: var(--color-accent);
}

.pill-level {
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-white);
}

.complexity-pill input:checked + .pill-content .pill-level {
    background: var(--color-accent);
    color: var(--color-primary);
}

.pill-text {
    font-size: 0.9rem;
    color: var(--color-white);
    font-weight: 500;
}

.pill-price {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    margin-left: auto;
    font-weight: 400;
}

.complexity-pill input:checked + .pill-content .pill-price {
    color: var(--color-accent);
}

/* Tier Examples */
.tier-examples {
    margin: 24px 0 40px;
}

.tier-examples-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.tier-examples-toggle:hover {
    background: rgba(255,255,255,0.1);
    color: var(--color-white);
}

.tier-examples-toggle .toggle-arrow {
    transition: transform 0.3s ease;
}

.tier-examples-toggle.active .toggle-arrow {
    transform: rotate(180deg);
}

.tier-examples-grid {
    display: none;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 20px;
    padding: 24px;
    background: rgba(0,0,0,0.25);
    border-radius: var(--radius-lg);
}

.tier-examples-grid.active {
    display: grid;
    animation: fadeSlideDown 0.3s ease;
}

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

.tier-example {
    position: relative;
    text-align: center;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    padding: 16px;
    border: 2px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.tier-example:hover {
    border-color: var(--color-accent);
    background: rgba(255,255,255,0.08);
    transform: translateY(-4px);
}

.tier-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--color-accent);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(201, 168, 124, 0.4);
    z-index: 2;
}

.tier-image-wrapper {
    width: 100%;
    margin: 12px 0 14px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.tier-example img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tier-example:hover img {
    transform: scale(1.05);
}

.tier-example-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tier-example-label strong {
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 600;
}

.tier-example-label span {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
}

/* Tablet - 3 columns */
@media (max-width: 992px) {
    .tier-examples-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .tier-badge {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
        top: -10px;
    }
}

/* Mobile - Horizontal scroll */
@media (max-width: 640px) {
    .tier-examples-grid {
        display: none;
        grid-template-columns: repeat(5, minmax(140px, 1fr));
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 14px;
        padding: 20px 16px 24px;
        margin: 16px -16px 0;
        scrollbar-width: none;
    }

    .tier-examples-grid::-webkit-scrollbar {
        display: none;
    }

    .tier-examples-grid.active {
        display: grid;
    }

    .tier-example {
        scroll-snap-align: center;
        min-width: 140px;
        padding: 14px 12px;
    }

    .tier-badge {
        width: 26px;
        height: 26px;
        font-size: 0.85rem;
        top: -8px;
    }

    .tier-example-label strong {
        font-size: 0.85rem;
    }

    .tier-example-label span {
        font-size: 0.7rem;
    }

    .tier-image-wrapper {
        margin: 10px 0 12px;
    }
}

/* Very small screens */
@media (max-width: 380px) {
    .tier-examples-grid {
        grid-template-columns: repeat(5, minmax(120px, 1fr));
        gap: 12px;
    }

    .tier-example {
        min-width: 120px;
        padding: 12px 10px;
    }
}

/* Flavor Cards */
.flavor-section {
    text-align: center;
}

.flavor-section h4 {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.flavor-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.flavor-card {
    cursor: pointer;
}

.flavor-card input {
    display: none;
}

.flavor-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 8px;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    transition: var(--transition);
}

.flavor-card:hover .flavor-card-content {
    background: rgba(255,255,255,0.08);
}

.flavor-card input:checked + .flavor-card-content {
    background: rgba(201, 168, 124, 0.15);
    border-color: var(--color-accent);
}

.flavor-emoji {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.flavor-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-white);
}

.flavor-desc {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    margin-top: 2px;
}

.flavor-card-content.seasonal {
    position: relative;
}

.flavor-card-content.seasonal::after {
    content: 'seasonal';
    position: absolute;
    top: -8px;
    right: -8px;
    background: #FF6B6B;
    color: white;
    font-size: 0.55rem;
    padding: 2px 6px;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Vision Fields */
.vision-field {
    margin-bottom: 24px;
}

.vision-field label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 10px;
}

/* Packaging Options */
.packaging-section,
.photos-section {
    margin-top: 32px;
}

.packaging-section h4,
.photos-section h4 {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-note {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 12px;
}

.packaging-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.packaging-option {
    cursor: pointer;
    flex: 1;
    min-width: 100px;
}

.packaging-option input {
    display: none;
}

.pkg-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.packaging-option:hover .pkg-content {
    background: rgba(255,255,255,0.08);
}

.packaging-option input:checked + .pkg-content {
    background: rgba(201, 168, 124, 0.15);
    border-color: var(--color-accent);
}

.pkg-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.pkg-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-white);
}

.pkg-price {
    font-size: 0.7rem;
    color: var(--color-accent);
    margin-top: 4px;
}

/* Photo Options */
.photo-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.photo-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 12px 16px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    transition: var(--transition);
}

.photo-option:hover {
    background: rgba(255,255,255,0.06);
}

.photo-option input {
    accent-color: var(--color-accent);
}

.photo-option span {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

/* Contact Fields */
.contact-fields {
    margin-bottom: 24px;
}

.field-row {
    margin-bottom: 16px;
}

.field-row.two-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-field label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
}

/* Contact Preference */
.contact-pref {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
}

.pref-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.pref-options {
    display: flex;
    gap: 16px;
}

.pref-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.pref-option input {
    accent-color: var(--color-accent);
}

.pref-option span {
    font-size: 0.9rem;
    color: var(--color-white);
}

/* Referral Field */
.referral-field {
    margin-bottom: 24px;
}

.referral-field label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
}

/* Submit Note */
.submit-note {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    text-align: center;
    line-height: 1.6;
    padding: 16px;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
}

/* Wizard Navigation */
.wizard-nav {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.wizard-nav .btn {
    flex: 1;
    padding: 16px 24px;
}

.wizard-prev {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.2);
    color: var(--color-white);
}

.wizard-prev:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.3);
}

.wizard-submit {
    background: var(--color-accent);
    color: var(--color-primary);
}

.wizard-submit:hover {
    background: #d4b896;
}

/* ===== Form Validation Errors ===== */
.input-error {
    border-color: #ff6b6b !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2) !important;
}

.error-message {
    display: block;
    color: #ff6b6b;
    font-size: 0.8rem;
    margin-top: 6px;
    animation: errorShake 0.4s ease;
}

.error-banner {
    background: rgba(255, 107, 107, 0.15);
    border: 1px solid rgba(255, 107, 107, 0.4);
    color: #ff6b6b;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-align: center;
    animation: errorSlideIn 0.3s ease;
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

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

/* ===== Mobile Detection Classes ===== */
body.is-mobile .desktop-only {
    display: none !important;
}

body.is-desktop .mobile-only {
    display: none !important;
}

/* ===== Cookie Wizard Responsive ===== */

/* Tablet */
@media (max-width: 768px) {
    .cookie-wizard-container {
        max-width: 100%;
        border-radius: 24px;
    }

    .cookie-wizard-form {
        padding: 32px 24px;
    }

    .slide-content h3 {
        font-size: 1.4rem;
    }

    .toggle-card-content {
        padding: 20px 14px;
    }

    .toggle-card-icon {
        font-size: 1.6rem;
    }

    .complexity-pills {
        gap: 10px;
    }

    .pill-content {
        padding: 10px 16px;
    }

    .flavor-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .cookie-wizard-container {
        border-radius: 20px;
        margin: 0 -8px;
    }

    .cookie-wizard-progress {
        padding: 20px 16px;
        gap: 4px;
    }

    .wizard-step-num {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .wizard-step-label {
        display: none;
    }

    .wizard-line {
        width: 16px;
    }

    .cookie-wizard-form {
        padding: 24px 16px;
    }

    .slide-content h3 {
        font-size: 1.25rem;
        margin-bottom: 6px;
    }

    .slide-subtitle {
        font-size: 0.85rem;
        margin-bottom: 24px;
    }

    /* Toggle Cards Mobile */
    .toggle-cards {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 24px;
    }

    .toggle-card-content {
        flex-direction: row;
        justify-content: flex-start;
        padding: 16px;
        gap: 14px;
        text-align: left;
    }

    .toggle-card-icon {
        font-size: 1.8rem;
        margin-bottom: 0;
    }

    .toggle-card-info {
        display: flex;
        flex-direction: column;
    }

    .toggle-card-title {
        font-size: 0.95rem;
    }

    .toggle-card-desc {
        font-size: 0.75rem;
    }

    /* Date Inputs Mobile */
    .date-inputs {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .date-field label {
        font-size: 0.8rem;
    }

    .form-input {
        padding: 14px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Quantity Section Mobile */
    .quantity-section {
        margin-bottom: 24px;
    }

    .quantity-section label {
        font-size: 0.9rem;
    }

    .quantity-input {
        max-width: 100%;
        font-size: 16px;
    }

    /* Complexity Pills Mobile */
    .complexity-pills {
        gap: 8px;
        margin-bottom: 28px;
    }

    .pill-content {
        padding: 10px 14px;
        gap: 8px;
    }

    .pill-level {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
    }

    .pill-text {
        font-size: 0.8rem;
    }

    /* Flavor Cards Mobile */
    .flavor-section h4 {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    .flavor-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .flavor-card-content {
        padding: 14px 8px;
    }

    .flavor-emoji {
        font-size: 1.5rem;
        margin-bottom: 6px;
    }

    .flavor-name {
        font-size: 0.75rem;
    }

    .flavor-desc {
        font-size: 0.65rem;
    }

    .flavor-card-content.seasonal::after {
        font-size: 0.5rem;
        padding: 2px 4px;
        top: -6px;
        right: -4px;
    }

    /* Vision Fields Mobile */
    .vision-field {
        margin-bottom: 20px;
    }

    .vision-field label {
        font-size: 0.85rem;
    }

    .form-textarea {
        font-size: 16px;
        min-height: 100px;
    }

    /* Packaging Mobile */
    .packaging-section,
    .photos-section {
        margin-top: 24px;
    }

    .packaging-section h4,
    .photos-section h4 {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .packaging-options {
        flex-direction: column;
        gap: 10px;
    }

    .pkg-content {
        flex-direction: row;
        justify-content: flex-start;
        padding: 14px;
        gap: 12px;
        text-align: left;
    }

    .pkg-icon {
        font-size: 1.3rem;
        margin-bottom: 0;
    }

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

    .pkg-name {
        font-size: 0.8rem;
    }

    .pkg-price {
        font-size: 0.7rem;
    }

    /* Photo Options Mobile */
    .photo-options {
        gap: 8px;
    }

    .photo-option {
        padding: 10px 14px;
    }

    .photo-option span {
        font-size: 0.8rem;
    }

    /* Contact Fields Mobile */
    .field-row.two-col {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .form-field label {
        font-size: 0.8rem;
    }

    /* Contact Preference Mobile */
    .contact-pref {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 14px;
    }

    .pref-label {
        font-size: 0.85rem;
    }

    .pref-options {
        gap: 20px;
    }

    .pref-option span {
        font-size: 0.85rem;
    }

    /* Referral Mobile */
    .referral-field label {
        font-size: 0.8rem;
    }

    /* Submit Note Mobile */
    .submit-note {
        font-size: 0.8rem;
        padding: 14px;
    }

    /* Wizard Navigation Mobile */
    .wizard-nav {
        flex-direction: column-reverse;
        gap: 12px;
        margin-top: 28px;
        padding-top: 20px;
    }

    .wizard-nav .btn {
        width: 100%;
        padding: 16px;
        font-size: 1rem;
    }

    .wizard-prev {
        order: 2;
    }

    .wizard-next,
    .wizard-submit {
        order: 1;
    }
}

/* Small Mobile */
@media (max-width: 380px) {
    .cookie-wizard-progress {
        padding: 16px 12px;
    }

    .wizard-step-num {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .wizard-line {
        width: 12px;
    }

    .cookie-wizard-form {
        padding: 20px 14px;
    }

    .slide-content h3 {
        font-size: 1.15rem;
    }

    .toggle-card-content {
        padding: 14px 12px;
    }

    .complexity-pills {
        flex-direction: column;
        align-items: stretch;
    }

    .pill-content {
        justify-content: center;
    }

    .flavor-cards {
        gap: 8px;
    }

    .flavor-card-content {
        padding: 12px 6px;
    }
}

/* Touch-friendly enhancements */
@media (hover: none) and (pointer: coarse) {
    .toggle-card-content,
    .pill-content,
    .flavor-card-content,
    .pkg-content,
    .photo-option {
        min-height: 48px;
    }

    .wizard-nav .btn {
        min-height: 52px;
    }

    /* Remove hover states on touch */
    .toggle-card:hover .toggle-card-content,
    .complexity-pill:hover .pill-content,
    .flavor-card:hover .flavor-card-content,
    .packaging-option:hover .pkg-content,
    .photo-option:hover {
        background: rgba(255,255,255,0.05);
    }

    /* Active states for touch */
    .toggle-card:active .toggle-card-content,
    .complexity-pill:active .pill-content,
    .flavor-card:active .flavor-card-content,
    .packaging-option:active .pkg-content,
    .photo-option:active {
        background: rgba(255,255,255,0.12);
        transform: scale(0.98);
    }
}

/* Safe area for notched phones */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .wizard-nav {
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .cookie-wizard-form {
        padding: 20px;
    }

    .slide-content h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .toggle-cards {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 16px;
    }

    .wizard-nav {
        flex-direction: row;
        margin-top: 20px;
    }
}

/* ===== Stripe Checkout Modal ===== */
.checkout-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

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

.checkout-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.checkout-modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    width: 95%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
}

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

.checkout-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10;
}

.checkout-modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
}

.checkout-modal-header {
    padding: 24px 24px 16px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.checkout-modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #1a1512;
    margin: 0 0 4px;
}

.checkout-modal-header p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

#checkout-container {
    min-height: 400px;
    padding: 0;
}

@media (max-width: 480px) {
    .checkout-modal-content {
        width: 100%;
        max-width: none;
        height: 100%;
        max-height: none;
        border-radius: 0;
    }

    .checkout-modal-header {
        padding: 20px 20px 12px;
    }

    .checkout-modal-header h3 {
        font-size: 1.25rem;
    }
}

/* ===== Delivery Toggle ===== */
.delivery-toggle {
    display: flex;
    gap: 12px;
}

.toggle-option {
    flex: 1;
    cursor: pointer;
}

.toggle-option input {
    display: none;
}

.delivery-toggle .toggle-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.delivery-toggle .toggle-text {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.delivery-toggle .toggle-icon {
    font-size: 1.5rem;
}

.delivery-toggle .toggle-option:hover .toggle-label {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
}

.delivery-toggle .toggle-option:hover .toggle-text {
    color: var(--color-white);
}

/* Selected state - light background with dark text */
.delivery-toggle .toggle-option input:checked + .toggle-label {
    border-color: var(--color-accent);
    background: var(--color-white);
}

.delivery-toggle .toggle-option input:checked + .toggle-label .toggle-text {
    color: var(--color-primary);
}

.delivery-toggle .toggle-option input:checked + .toggle-label .toggle-icon {
    filter: none;
}

/* ===== Payment Breakdown ===== */
.payment-breakdown {
    margin-top: 32px;
    padding: 24px;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-light) 100%);
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-accent);
}

.payment-breakdown h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--color-text);
}

.breakdown-row.deposit-row {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px dashed var(--color-border);
}

.breakdown-row.remaining-row {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.breakdown-value {
    font-weight: 600;
    color: var(--color-primary);
}

.deposit-amount {
    font-size: 1.2rem;
    color: var(--color-accent);
}

.breakdown-note {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
    font-size: 0.8rem;
    color: var(--color-text-light);
    line-height: 1.5;
    text-align: center;
}

/* ===== Bubbly Animations ===== */

/* Ripple Effect */
.btn,
.option-card,
.toggle-card,
.complexity-pill,
.flavor-card {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Input Bubbles */
.form-group,
.form-field,
.date-field {
    position: relative;
}

.input-bubble {
    position: absolute;
    bottom: 100%;
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    opacity: 0.6;
    animation: bubbleFloat 0.8s ease-out forwards;
    pointer-events: none;
}

@keyframes bubbleFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translateY(-30px) scale(0);
        opacity: 0;
    }
}

/* Bounce Effect */
.bounce {
    animation: bounceEffect 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceEffect {
    0% { transform: scale(1); }
    30% { transform: scale(0.95); }
    60% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Pulse Effect */
.pulse {
    animation: pulseEffect 0.5s ease;
}

@keyframes pulseEffect {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); color: var(--color-accent); }
}

/* Bubble In Animation */
.bubble-in {
    animation: bubbleIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bubbleIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Input Focus Glow */
.input-focused .text-input,
.input-focused .form-input,
.input-focused .form-textarea {
    box-shadow: 0 0 0 3px rgba(201, 168, 124, 0.3);
}

/* Has Value State */
.has-value {
    background: rgba(201, 168, 124, 0.05);
}

/* Card Selection Animation */
.option-card.selected,
.toggle-card input:checked + .toggle-card-content,
.complexity-pill input:checked + .pill-content {
    animation: selectPop 0.3s ease;
}

@keyframes selectPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* Hover Float Effect */
.option-card:hover,
.toggle-card:hover .toggle-card-content,
.btn:hover {
    transform: translateY(-2px);
}

/* Smooth Input Transitions */
.text-input,
.form-input,
.form-textarea,
.form-select {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-input:focus,
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    transform: scale(1.01);
}

/* Loading State Animation */
.btn:disabled {
    position: relative;
    cursor: wait;
}

.btn:disabled::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
}

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

/* Success Checkmark Animation */
.success-check {
    animation: checkPop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes checkPop {
    0% { transform: scale(0) rotate(-45deg); }
    70% { transform: scale(1.2) rotate(0deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* Card Hover Shine Effect */
.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
    pointer-events: none;
}

.option-card:hover::before {
    left: 100%;
}

/* Field Hint Styling */
.field-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-top: 6px;
}

/* Dark Background Field Hint */
.builder-section .field-hint,
.cookie-wizard-form .field-hint {
    color: rgba(255, 255, 255, 0.4);
}

/* Delivery Address Group Animation */
.delivery-address-group {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 200px;
        transform: translateY(0);
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 600px) {
    .delivery-toggle {
        flex-direction: column;
        gap: 10px;
    }

    .toggle-label {
        padding: 14px 16px;
    }

    .payment-breakdown {
        padding: 20px;
        margin-top: 24px;
    }

    .breakdown-row {
        font-size: 0.9rem;
    }

    .deposit-amount {
        font-size: 1.1rem;
    }
}

/* ===== Text Visibility & Contrast Enhancements ===== */

/* Text shadow for improved readability on varied backgrounds */
.hero h1,
.hero p,
.hero-tag,
.section-header.light h2,
.section-header.light p,
.section-header.light .section-tag {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Dark background text - ensure white/light text is always visible */
.builder-section h2,
.builder-section h3,
.builder-section p,
.builder-section label,
.wizard-slide h3,
.wizard-slide p,
.slide-subtitle,
.option-step h3,
.option-step p,
.step-description {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Ensure form labels and text on dark backgrounds have good contrast */
.form-label,
.form-textarea::placeholder,
.form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-textarea,
.form-input {
    color: var(--color-white);
}

/* Accent color text - darken slightly for better visibility on light backgrounds */
.section-tag {
    color: #7a6349;
    font-weight: 600;
}

/* White background sections - ensure dark text */
.featured .section-tag,
.custom-cookies-section .section-tag {
    color: var(--color-secondary);
}

/* Product card text visibility */
.product-info h3 {
    color: var(--color-primary);
    text-shadow: none;
}

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

/* Pills and tags on dark backgrounds */
.pill-text,
.pill-price,
.toggle-card-title,
.toggle-card-desc,
.flavor-name,
.flavor-desc {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Improved button text visibility */
.btn-primary {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    text-shadow: none;
}

.btn-outline {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Footer text visibility */
.footer {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
}

.footer a:hover {
    color: var(--color-white);
}

/* Gallery and about page text on light backgrounds */
.gallery-section h2,
.about-section h2 {
    color: var(--color-primary);
    text-shadow: none;
}

/* Tier example labels */
.tier-example-label strong,
.tier-example-label span {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* FAQ section text */
.faq-question {
    color: var(--color-primary);
    text-shadow: none;
}

.faq-answer {
    color: var(--color-text);
}

/* Modal text visibility */
.modal-content h2,
.modal-content h3,
.modal-content p {
    color: var(--color-primary);
    text-shadow: none;
}

/* Payment breakdown text */
.breakdown-label {
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.breakdown-value {
    color: var(--color-white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Review summary text */
.review-summary dt {
    color: rgba(255, 255, 255, 0.7);
}

.review-summary dd {
    color: var(--color-white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Preorder banner text */
.banner-text strong,
.banner-text p {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* Navigation text visibility */
.nav-links a {
    color: var(--color-text);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-secondary);
}

/* Mobile menu text */
.mobile-menu-links a {
    color: var(--color-white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Ensure placeholder text is visible but subtle */
input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

/* Light section inputs */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .section-tag {
        color: var(--color-primary);
    }

    .btn-primary {
        background: #000;
        color: #fff;
    }

    .btn-secondary {
        border-width: 3px;
    }

    .pill-text,
    .toggle-card-title,
    .flavor-name {
        color: var(--color-white);
    }
}

/* ===== Additional Text Contrast Fixes ===== */

/* Ensure all select dropdowns have visible text */
select,
select.text-input,
select.form-select,
select.form-input {
    color-scheme: dark;
}

/* Option elements need explicit styling for cross-browser support */
select option,
select.text-input option,
select.form-select option {
    background-color: #2d2d2d;
    color: #ffffff;
    padding: 10px;
}

/* Toggle cards in cookie wizard - ensure text is always visible */
.toggle-card-title {
    color: rgba(255, 255, 255, 0.9);
}

.toggle-card-desc {
    color: rgba(255, 255, 255, 0.6);
}

/* When toggle card is selected, keep text visible */
.toggle-card input:checked + .toggle-card-content .toggle-card-title {
    color: var(--color-white);
}

.toggle-card input:checked + .toggle-card-content .toggle-card-desc {
    color: rgba(255, 255, 255, 0.7);
}

/* Option step labels and text in cake builder */
.option-step label,
.option-step .step-description {
    color: rgba(255, 255, 255, 0.9);
}

/* Ensure all buttons with accent background have dark text */
.btn[style*="background: var(--color-accent)"],
.wizard-submit,
.submit-btn,
.recommended-badge,
.faq-question span:last-child {
    color: var(--color-primary);
}

/* Links in dark sections should be visible */
.builder-section a,
.cookie-wizard-form a {
    color: var(--color-accent);
}

.builder-section a:hover,
.cookie-wizard-form a:hover {
    color: #d4b896;
}

/* Error messages should be clearly visible */
.error-message,
.form-error {
    color: #ff6b6b;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Success messages */
.success-message {
    color: #4CAF50;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Disabled state text */
.btn:disabled,
button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
    color: rgba(255, 255, 255, 0.4);
}

/* Light background disabled state */
.payment-breakdown .btn:disabled {
    color: rgba(0, 0, 0, 0.4);
}
