@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=Quicksand:wght@300..700&display=swap');

:root {
    --bg-cream: #FDFDF7;
    --text-dark-teal: #2F4F4F;
    --text-dark-blue: #191970;
    --cta-orange: #FF8C00;
    --cta-orange-hover: #e07b00;
    --accent-teal: #008080;
    --accent-pink: #C71585;
    --accent-pink-hover: #b01072;
    --watercolor-blue: #ADD8E6;
    --watercolor-lavender: #E6E6FA;
    --watercolor-mint: #F0FFF0;
    --shadow-soft: 0 8px 30px rgba(47, 79, 79, 0.08);
    --shadow-medium: 0 12px 24px rgba(47, 79, 79, 0.12);
    --border-sketch: 3px solid var(--text-dark-teal);
    --font-heading: 'Fredoka', cursive, sans-serif;
    --font-body: 'Quicksand', sans-serif;
}

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

body {
    background-color: var(--bg-cream);
    color: var(--text-dark-teal);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Watercolor background blobs */
.watercolor-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.splash {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    mix-blend-mode: multiply;
}

.splash-blue {
    background: radial-gradient(circle, var(--watercolor-blue) 0%, rgba(255,255,255,0) 70%);
    width: 500px;
    height: 500px;
    top: -100px;
    left: -150px;
}

.splash-lavender {
    background: radial-gradient(circle, var(--watercolor-lavender) 0%, rgba(255,255,255,0) 70%);
    width: 600px;
    height: 600px;
    bottom: -150px;
    right: -150px;
}

.splash-mint {
    background: radial-gradient(circle, var(--watercolor-mint) 0%, rgba(255,255,255,0) 70%);
    width: 450px;
    height: 450px;
    top: 35%;
    left: 40%;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark-blue);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    text-align: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--cta-orange);
    color: white;
    box-shadow: 0 6px 15px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--cta-orange-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.4);
}

.btn-secondary {
    background-color: var(--accent-pink);
    color: white;
    box-shadow: 0 6px 15px rgba(199, 21, 133, 0.3);
}

.btn-secondary:hover {
    background-color: var(--accent-pink-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(199, 21, 133, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 3px solid var(--text-dark-teal);
    color: var(--text-dark-teal);
}

.btn-outline:hover {
    background-color: var(--text-dark-teal);
    color: var(--bg-cream);
    transform: translateY(-3px);
}

/* Sketch/Hand-drawn borders */
.sketch-card {
    background: white;
    border: var(--border-sketch);
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 24px;
}

.sketch-card:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: var(--shadow-medium);
}

/* Page Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section {
    padding: 60px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 80%;
    height: 12px;
    background: radial-gradient(circle, var(--watercolor-blue) 0%, rgba(255,255,255,0) 80%);
    position: absolute;
    bottom: -5px;
    left: 10%;
    z-index: -1;
}

/* Limited Period Offer Bar */
.offer-bar {
    background-color: var(--accent-pink);
    color: white;
    text-align: center;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(199, 21, 133, 0.2);
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.01); }
    100% { transform: scale(1); }
}

/* Header & Navigation */
header {
    background-color: rgba(253, 253, 247, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 2px dashed rgba(47, 79, 79, 0.15);
    position: sticky;
    top: 0;
    z-index: 90;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-dark-blue);
    font-weight: 700;
    gap: 8px;
}

.logo img {
    height: 45px;
}

.logo-accent {
    color: var(--cta-orange);
}

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

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark-teal);
    position: relative;
    padding: 5px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-teal);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: var(--accent-teal);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
    border-radius: 2px;
}

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

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: var(--border-sketch);
    border-radius: 12px;
    padding: 10px 0;
    min-width: 180px;
    box-shadow: var(--shadow-medium);
    display: none;
    flex-direction: column;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    display: flex;
}

.dropdown-item {
    padding: 10px 20px;
    font-weight: 600;
    color: var(--text-dark-teal);
    transition: background 0.2s;
}

.dropdown-item:hover {
    background-color: #FFF5EE;
    color: var(--cta-orange);
}

.cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid var(--text-dark-teal);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.cart-icon-wrapper:hover {
    transform: scale(1.08);
    background-color: #FFF5EE;
    border-color: var(--cta-orange);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--cta-orange);
    color: white;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border: 2px solid white;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    padding: 80px 0 60px 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-subtitle {
    font-family: var(--font-heading);
    color: var(--accent-pink);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
    background: #FFF0F5;
    padding: 6px 16px;
    border-radius: 30px;
    border: 2px dashed var(--accent-pink);
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero-title span {
    color: var(--cta-orange);
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-dark-teal);
    margin-bottom: 35px;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 32px;
    border: var(--border-sketch);
    box-shadow: var(--shadow-medium);
    transform: rotate(-1deg);
    transition: transform 0.5s ease;
}

.hero-img:hover {
    transform: rotate(1deg) scale(1.02);
}

.badge-round {
    position: absolute;
    bottom: -15px;
    left: -15px;
    background-color: var(--accent-teal);
    color: white;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    text-align: center;
    transform: rotate(-12deg);
    border: 3px solid white;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    animation: rotateSlow 15s linear infinite;
}

.badge-round span {
    font-size: 0.9rem;
}

.badge-price {
    font-size: 1.4rem;
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Feature Badges list below Hero */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    background: white;
    padding: 25px;
    border-radius: 20px;
    border: 2px dashed rgba(47, 79, 79, 0.15);
}

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

.feature-badge-icon {
    width: 50px;
    height: 50px;
    background: #FFF8DC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 2px solid var(--text-dark-teal);
    flex-shrink: 0;
}

.feature-badge-text h4 {
    font-size: 1rem;
    color: var(--text-dark-blue);
}

.feature-badge-text p {
    font-size: 0.85rem;
    color: #666;
}

/* Product Catalog */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 200px 10px 180px 10px / 10px 180px 10px 200px;
    border: 3px solid var(--text-dark-teal);
    height: 250px;
    margin-bottom: 20px;
    background: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.image-toggle-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255,255,255,0.95);
    border: 2px solid var(--text-dark-teal);
    padding: 6px 12px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.image-toggle-btn:hover {
    background-color: var(--accent-teal);
    color: white;
    transform: scale(1.05);
}

.product-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-dark-blue);
}

.product-desc {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.price-regular {
    color: #999;
    text-decoration: line-through;
    font-size: 1rem;
}

.price-offer {
    color: var(--accent-pink);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.product-card .btn {
    width: 100%;
}

/* How It Works Section */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-num {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cta-orange);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    border: 3px solid white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.9rem;
    color: #555;
}

/* Why You'll Love It Section */
.why-love-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.why-card {
    display: flex;
    gap: 20px;
    background: white;
    padding: 30px;
}

.why-icon {
    font-size: 2.5rem;
    color: var(--accent-pink);
    flex-shrink: 0;
}

.why-text h3 {
    margin-bottom: 8px;
}

.why-text p {
    font-size: 0.95rem;
    color: #555;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 45px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 250px;
    border: var(--border-sketch);
    background: white;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.08) rotate(1deg);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s;
    font-family: var(--font-heading);
    font-weight: 500;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-cta {
    text-align: center;
    margin-top: 40px;
}

.gallery-cta p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark-blue);
    margin-bottom: 15px;
}

/* Product Detail Page */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 50px 0;
    align-items: start;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image-box {
    border: var(--border-sketch);
    background: white;
    border-radius: 24px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.main-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-options {
    display: flex;
    gap: 15px;
}

.img-opt-btn {
    border: 2px solid var(--text-dark-teal);
    padding: 10px 18px;
    border-radius: 12px;
    background: white;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    flex: 1;
    text-align: center;
    transition: all 0.2s;
}

.img-opt-btn.active {
    background-color: var(--accent-teal);
    color: white;
    border-color: var(--accent-teal);
}

.product-detail-info h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.product-detail-info .price-row {
    margin-bottom: 25px;
}

.product-detail-info .price-offer {
    font-size: 2.2rem;
}

.product-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.kit-contents-card {
    background: #FFFDF0;
    border: 2px dashed var(--cta-orange);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
}

.kit-contents-card h3 {
    color: var(--cta-orange);
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.kit-contents-card ul {
    list-style-type: none;
    padding-left: 0;
}

.kit-contents-card li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
    font-weight: 500;
}

.kit-contents-card li::before {
    content: '🎨';
    position: absolute;
    left: 0;
    top: 1px;
}

.buy-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: var(--border-sketch);
    border-radius: 50px;
    padding: 5px 15px;
    background: white;
    height: 52px;
}

.qty-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark-teal);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-val {
    width: 40px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    font-family: var(--font-heading);
}

.buy-actions .btn {
    flex-grow: 1;
    height: 52px;
}

/* Cart Page */
.cart-layout {
    display: grid;
    grid-template-columns: 1.6fr 0.9fr;
    gap: 40px;
    padding: 40px 0;
    align-items: start;
}

.cart-items-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1.5fr 1fr 1fr 40px;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 15px 20px;
    border-radius: 16px;
    border: 2px solid rgba(47, 79, 79, 0.1);
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--text-dark-teal);
}

.cart-item-info h4 {
    font-size: 1.15rem;
    color: var(--text-dark-blue);
    margin-bottom: 5px;
}

.cart-item-info p {
    font-size: 0.9rem;
    color: #666;
}

.cart-item-subtotal {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-dark-blue);
}

.cart-item-remove {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
}

.cart-item-remove:hover {
    color: var(--accent-pink);
}

.summary-card {
    background: white;
    border: var(--border-sketch);
    border-radius: 20px;
    padding: 30px;
    position: sticky;
    top: 100px;
}

.summary-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    border-bottom: 2px dashed rgba(47, 79, 79, 0.15);
    padding-bottom: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.summary-row.discount {
    color: var(--accent-teal);
    font-weight: 600;
}

.summary-row.total {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--text-dark-blue);
    border-top: 2px solid rgba(47, 79, 79, 0.1);
    padding-top: 15px;
    margin-top: 15px;
}

.summary-card .btn {
    width: 100%;
    margin-top: 20px;
}

.empty-cart-message {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 20px;
    border: 2px dashed rgba(47, 79, 79, 0.15);
}

.empty-cart-message span {
    font-size: 4rem;
    display: block;
    margin-bottom: 20px;
}

.empty-cart-message h3 {
    margin-bottom: 15px;
}

/* Login/Registration Pages */
.auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 0;
}

.auth-form-card {
    background: white;
}

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 12px 18px;
    font-size: 1rem;
    font-family: var(--font-body);
    border: 2px solid rgba(47, 79, 79, 0.2);
    border-radius: 12px;
    outline: none;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
}

.auth-form-card h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
}

.auth-form-card form button {
    width: 100%;
    margin-top: 10px;
}

.alert {
    padding: 12px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 0.95rem;
}

.alert-danger {
    background-color: #FFF0F0;
    border: 2px solid #FFC0C0;
    color: #D8000C;
}

.alert-success {
    background-color: #F0FFF0;
    border: 2px solid #C0FFC0;
    color: #270;
}

/* Customer Account Dashboard */
.dashboard-layout {
    display: grid;
    grid-template-columns: 0.8fr 2.2fr;
    gap: 40px;
    padding: 40px 0;
}

.profile-card {
    background: white;
    text-align: center;
    align-self: start;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: var(--watercolor-blue);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    border: 3px solid var(--text-dark-teal);
    margin-bottom: 15px;
}

.profile-card h3 {
    margin-bottom: 5px;
}

.profile-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.profile-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-nav-link {
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
    text-align: left;
}

.profile-nav-link:hover, .profile-nav-link.active {
    background: #FFF5EE;
    color: var(--cta-orange);
}

.dashboard-panel {
    background: white;
    padding: 30px;
}

.dashboard-panel h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    border-bottom: 2px dashed rgba(47, 79, 79, 0.15);
    padding-bottom: 10px;
}

.order-card {
    border: 2px solid rgba(47, 79, 79, 0.1);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(47, 79, 79, 0.1);
    padding-bottom: 12px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.order-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
}

.status-placed { background: #E6F3FF; color: #0066CC; }
.status-processing { background: #FFF3CD; color: #856404; }
.status-shipped { background: #D4EDDA; color: #155724; }
.status-outfordelivery { background: #E2D9F3; color: #5B2C90; }
.status-delivered { background: #D1ECF1; color: #0C5460; }

.order-tracker {
    display: flex;
    justify-content: space-between;
    margin: 25px 0;
    position: relative;
}

.order-tracker::after {
    content: '';
    position: absolute;
    height: 4px;
    background: #e9ecef;
    top: 15px;
    left: 5%;
    right: 5%;
    z-index: 1;
}

.tracker-progress-bar {
    position: absolute;
    height: 4px;
    background: var(--accent-teal);
    top: 15px;
    left: 5%;
    z-index: 2;
    transition: width 0.4s ease;
}

.tracker-step {
    text-align: center;
    position: relative;
    z-index: 5;
    flex: 1;
}

.tracker-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    border: 3px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px auto;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.tracker-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #888;
}

.tracker-step.active .tracker-dot {
    border-color: var(--accent-teal);
    background-color: var(--accent-teal);
    color: white;
}

.tracker-step.active .tracker-label {
    color: var(--accent-teal);
    font-weight: 700;
}

/* Admin Dashboard */
.admin-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.metric-card {
    background: white;
    padding: 20px;
    border-radius: 16px;
    border: 2px solid rgba(47, 79, 79, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.metric-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: #FFF8DC;
    border: 2px solid var(--text-dark-teal);
}

.metric-info h4 {
    font-size: 0.9rem;
    color: #666;
}

.metric-info p {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-dark-blue);
    font-weight: 700;
}

.admin-table-wrapper {
    background: white;
    border: var(--border-sketch);
    border-radius: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 40px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th, .admin-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(47, 79, 79, 0.1);
}

.admin-table th {
    background-color: #FFFDF0;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--text-dark-blue);
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-select {
    padding: 6px 12px;
    border-radius: 8px;
    border: 2px solid rgba(47, 79, 79, 0.2);
    font-family: var(--font-body);
    font-weight: 600;
    outline: none;
}

.admin-select:focus {
    border-color: var(--accent-teal);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(47, 79, 79, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    border: var(--border-sketch);
    border-radius: 24px;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #aaa;
}

.modal-close:hover {
    color: var(--text-dark-teal);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: white;
    border: 2px solid var(--text-dark-teal);
    border-radius: 12px;
    padding: 12px 24px;
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark-blue);
    transform: translateY(100px);
    opacity: 0;
    animation: slideUp 0.3s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.toast-success { border-color: var(--accent-teal); }
.toast-error { border-color: var(--accent-pink); }

/* Footer */
footer {
    background-color: #FFFDF0;
    border-top: 2px dashed rgba(47, 79, 79, 0.15);
    padding: 50px 0 20px 0;
    margin-top: auto;
    z-index: 5;
}

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

.footer-col h3 {
    margin-bottom: 18px;
    font-size: 1.25rem;
}

.footer-col p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 10px;
}

.footer-links {
    list-style-type: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 0.95rem;
    color: #555;
}

.footer-links a:hover {
    color: var(--cta-orange);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(47, 79, 79, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    color: #777;
}

.footer-smile {
    font-family: var(--font-heading);
    color: var(--accent-pink);
    font-weight: 600;
    margin-top: 5px;
}

/* Responsive details & Mobile Compatibility */
.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 992px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        padding: 10px 0;
    }
    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 18px;
        width: 100%;
    }
    .logo {
        margin-bottom: 5px;
        font-size: 1.7rem;
    }
    .nav-link {
        font-size: 1rem;
    }
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        align-items: center;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .how-it-works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-love-grid {
        grid-template-columns: 1fr;
    }
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .cart-layout {
        grid-template-columns: 1fr;
    }
    .auth-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .grid-2col {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .admin-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.1rem;
    }
    .hero-title {
        font-size: 2.6rem;
    }
    .hero-desc {
        font-size: 1.1rem;
    }
    .main-image-box {
        height: 320px;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .how-it-works-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .admin-metrics {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .cart-item {
        grid-template-columns: 60px 1fr 1fr;
        gap: 10px;
        padding: 10px;
    }
    .cart-item-qty, .cart-item-remove {
        grid-column: span 1;
    }
    .cart-item-subtotal {
        grid-column: span 3;
        text-align: right;
    }
    .logo {
        font-size: 1.5rem;
    }
    .sketch-card {
        border-radius: 12px !important;
        padding: 15px !important;
    }
    .main-image-box {
        height: 260px;
    }
    .buy-actions {
        flex-direction: column;
        gap: 10px;
    }
    .qty-selector, .buy-actions .btn {
        width: 100% !important;
    }
}
