:root {
    --primary-color: #ff5722;
    --primary-dark: #e64a19;
    --secondary-color: #ff9800;
    --accent-color: #ffc107;

    --bg-light: #fffdfb;
    --bg-dark: #1f1b18;
    --bg-card: #ffffff;

    --text-primary: #3a2e28;
    --text-secondary: #6e5c53;
    --text-light: #f5f0ec;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(255, 87, 34, 0.15);

    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.text-center {
    text-align: center;
}

/* Typography Utilities */
.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.bg-dark {
    background-color: var(--bg-dark);
}

.light-text h2,
.light-text p {
    color: var(--text-light);
}

.section-title {
    margin-bottom: 4rem;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.4);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--text-primary);
    color: var(--bg-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.w-100 {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 253, 251, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    height: 50px;
    width: auto;
}

.header-logo {
    border-radius: var(--border-radius);
}

.small-logo {
    height: 40px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a:not(.btn):after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover {
    color: var(--primary-color);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 12rem 0 8rem;
    background: radial-gradient(circle at top right, #fff4e6 0%, var(--bg-light) 60%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image-container::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 20px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-mascot {
    width: 100%;
    max-width: 450px;
    filter: drop-shadow(0 20px 30px rgba(255, 87, 34, 0.2));
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 4s ease-in-out infinite;
}

/* Grid System */
.grid {
    display: grid;
    gap: 2rem;
}

/* Features */
.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 87, 34, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(255, 152, 0, 0.1);
    border-radius: 50%;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
}

/* Products */
.products-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-image::before {
    opacity: 1;
}

.product-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    margin-bottom: 0.5rem;
}

.price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.product-info p:not(.price):not(.dimensions) {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex: 1;
}

.dimensions {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--bg-dark), #3a2e28);
    position: relative;
    overflow: hidden;
    color: var(--text-light);
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 20px 20px;
    z-index: 1;
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.cta-btn {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Form Styles */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background-color: #f9f9f9;
    color: var(--text-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.full-width {
    width: 100%;
}

/* Visual Product Selector */
.product-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.product-option {
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    background-color: #f9f9f9;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.product-option:hover {
    border-color: rgba(255, 87, 34, 0.4);
    background-color: #fffaf8;
    transform: translateY(-2px);
}

.product-option.active {
    border-color: var(--primary-color);
    background-color: #fff4f0;
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.15);
    position: relative;
}

.product-option.active::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: var(--primary-color);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.option-icon {
    font-size: 2rem;
}

.option-details {
    display: flex;
    flex-direction: column;
}

.option-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.option-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.option-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.15rem;
}

/* Quantity Selector */
.qty-selector {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    background-color: #f9f9f9;
    width: fit-content;
}

.qty-btn {
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background-color: rgba(255, 87, 34, 0.1);
    color: var(--primary-color);
}

.qty-selector input[type="number"] {
    width: 48px;
    text-align: center;
    border: none;
    border-left: 2px solid rgba(0, 0, 0, 0.1);
    border-right: 2px solid rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-primary);
    background: white;
    padding: 0;
    height: 44px;
    -moz-appearance: textfield;
    appearance: textfield;
}

.qty-selector input[type="number"]::-webkit-inner-spin-button,
.qty-selector input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.checkout-step {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.checkout-step.active-step {
    display: block;
    opacity: 1;
    animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Step Progress Indicator */
.step-progress {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
    width: 80%;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.step-progress::before {
    content: '';
    position: absolute;
    top: 18px;
    /* vertically centered with the 36px circles */
    left: 16.66%;
    width: 66.66%;
    height: 4px;
    background: #f0f0f0;
    z-index: 1;
    border-radius: 2px;
}

.step-progress-bar {
    position: absolute;
    top: 18px;
    left: 16.66%;
    height: 4px;
    background: var(--primary-color);
    z-index: 2;
    transition: width 0.3s ease;
    border-radius: 2px;
    width: 0%;
    /* Default 0, will be updated by JS */
}

.step-indicator {
    flex: 1;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
}

.step-indicator .step-number {
    width: 36px;
    height: 36px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px #e0e0e0;
}

.step-indicator.active {
    color: var(--primary-color);
}

.step-indicator.active .step-number {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.2);
}

.step-indicator.completed .step-number {
    background: var(--primary-color);
    color: #fff;
}

.checkout-step h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
    font-size: 1.4rem;
}

/* Step Navigation Buttons */
.step-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}

.btn-navigation {
    flex: 1;
}

/* Add-ons */
.addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.addon-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 1rem;
    background-color: #f9f9f9;
    transition: var(--transition);
}

.addon-card:hover {
    border-color: rgba(255, 87, 34, 0.4);
}

.addon-card.active {
    border-color: var(--primary-color);
    background-color: #fffaf8;
}

.addon-info {
    display: flex;
    flex-direction: column;
}

.addon-title {
    font-weight: 600;
    color: var(--text-primary);
}

.addon-price {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.qty-selector.small-qty {
    height: 36px;
    border-radius: 6px;
}

.qty-selector.small-qty .qty-btn {
    width: 32px;
    height: 36px;
    font-size: 1.1rem;
}

.qty-selector.small-qty input[type="number"] {
    width: 36px;
    height: 36px;
    font-size: 1rem;
}

/* Order Summary */
.order-summary {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 2px solid #e9ecef;
    text-align: left;
}

.order-summary h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.summary-items {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.summary-placeholder {
    color: var(--text-secondary);
    font-style: italic;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--text-primary);
}

#total-price {
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: #a0938b;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer .logo-text {
    color: white;
}

.footer p {
    margin-top: 1rem;
    max-width: 300px;
}

.footer h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer ul a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text p {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-mascot {
        max-width: 350px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-card);
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.3s ease-in-out;
        gap: 1.5rem;
        text-align: center;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .hero {
        padding: 8rem 0 6rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .form-container {
        padding: 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .product-selector {
        grid-template-columns: 1fr;
    }

    .product-option {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
        padding: 1rem;
    }

    .qty-selector {
        display: flex;
        flex-direction: row;
    }

    .cta h2 {
        font-size: 2.5rem;
    }
}