/* ===== CSS Variables ===== */
:root {
    --color-primary: #8B7355;
    --color-primary-light: #A89078;
    --color-primary-dark: #6B5344;
    --color-accent: #D4A5A5;
    --color-accent-light: #E8C4C4;
    --color-background: #FDFBF9;
    --color-surface: #FFFFFF;
    --color-text: #2D2A26;
    --color-text-light: #6B6560;
    --color-text-muted: #9B9590;
    --color-border: #E8E4E0;
    --color-success: #7DB07D;
    --color-error: #D47B7B;
    --color-coffee: #6F4E37;
    --color-flowers: #D4A5A5;
    
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --transition: all 0.3s ease;
}

/* ===== 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-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
}

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

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

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

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

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

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

.btn-block {
    width: 100%;
}

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

.required {
    color: var(--color-error);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
}

.logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

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

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

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

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: var(--color-surface);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.cart-btn:hover {
    box-shadow: var(--shadow-md);
}

.cart-icon {
    font-size: 20px;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    background-color: var(--color-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

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

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 20px;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-links a {
    display: block;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 0;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #FDFBF9 0%, #F5EDE8 50%, #E8DFD8 100%);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--color-accent-light) 0%, transparent 70%);
    opacity: 0.5;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #D4C4B0 0%, transparent 70%);
    opacity: 0.3;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: -1;
    mask-image: radial-gradient(circle at center, transparent 15%, rgba(0, 0, 0, 0.8) 70%);
    -webkit-mask-image: radial-gradient(circle at center, transparent 15%, rgba(0, 0, 0, 0.8) 70%);
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: clamp(40px, 8vw, 72px);
    margin-bottom: 24px;
    color: var(--color-text);
}

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

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

/* ===== How It Works ===== */
.how-it-works {
    padding: 80px 0;
    background-color: var(--color-surface);
}

.how-it-works h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 48px;
}

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

.step {
    text-align: center;
    padding: 30px 20px;
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
}

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

.step p {
    color: var(--color-text-light);
    font-size: 14px;
}

/* ===== Rules Banner ===== */
.rules-banner {
    padding: 40px 0;
    background-color: var(--color-surface);
}

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

.rule-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 30px;
    background: linear-gradient(135deg, #FDFBF9 0%, #F5EDE8 100%);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.rule-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.rule-content h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.rule-content p {
    font-size: 14px;
    color: var(--color-text-light);
    margin: 0;
}

/* ===== Preview Sections ===== */
.preview-section {
    padding: 80px 0;
}

.coffee-preview {
    background-color: var(--color-background);
}

.flowers-preview {
    background-color: var(--color-surface);
}

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

.preview-card {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--color-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.preview-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.preview-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.preview-card h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.preview-card p {
    font-size: 14px;
    color: var(--color-text-muted);
}

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

/* ===== About Preview ===== */
.about-preview {
    padding: 80px 0;
    background-color: var(--color-background);
}

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

.about-preview .about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-preview .about-text p {
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.quick-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.quick-info .info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.quick-info .info-icon {
    font-size: 20px;
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--color-accent-light);
    color: var(--color-primary-dark);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

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

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

/* ===== Flowers Section ===== */
.flowers-section {
    padding: 100px 0;
    background-color: var(--color-surface);
}

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

.product-card {
    background-color: var(--color-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.product-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #F5EDE8 0%, #E8E0D8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 6px;
}

.product-description {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-primary);
}

.add-to-cart-btn {
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
}

.add-to-cart-btn:hover {
    background-color: var(--color-primary-dark);
    transform: scale(1.1);
}

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

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

.about-text h2 {
    font-size: 36px;
    margin-bottom: 24px;
}

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

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

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

.info-icon {
    font-size: 24px;
}

.info-item strong {
    display: block;
    margin-bottom: 4px;
}

.info-item p {
    margin: 0;
    font-size: 14px;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #F5EDE8 0%, #E8DFD8 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-brand .logo-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.footer-brand .logo-text {
    font-family: var(--font-display);
    font-size: 24px;
}

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

.footer-nav,
.footer-hours {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav h4,
.footer-hours h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

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

.footer-nav a:hover {
    color: white;
}

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

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

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

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

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

/* ===== Page Header ===== */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #FDFBF9 0%, #F5EDE8 50%, #E8DFD8 100%);
}

.back-link {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: var(--color-text);
    background-color: var(--color-surface);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    transition: var(--transition);
    opacity: 0.7;
    position: relative;
    z-index: 3;
}

.back-link:hover {
    opacity: 1;
}

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

.page-header-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.page-tag {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--color-accent-light);
    color: var(--color-primary-dark);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 17px;
    color: var(--color-text-light);
}

.coffee-header {
    background: url('../assets/coffee-header.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.coffee-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #FDFBF9 0%, #F0E6DD 50%, #E8DFD8 100%);
    opacity: 0.7;
    z-index: 1;
}

.flowers-header {
    background: url('../assets/flowers-header.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.flowers-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #FDFBF9 0%, #F5E8E8 50%, #E8DFD8 100%);
    opacity: 0.7;
    z-index: 1;
}

.contact-header {
    background: linear-gradient(135deg, #FDFBF9 0%, #EDE8E4 50%, #E8DFD8 100%);
}

/* ===== Pickup Indicator ===== */
.pickup-indicator {
    padding: 20px 0;
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.pickup-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #F5EDE8 0%, #E8E0D8 100%);
    border-radius: var(--radius-md);
    font-size: 15px;
}

.pickup-badge.flowers-badge {
    background: linear-gradient(135deg, #F5E8E8 0%, #E8DDD8 100%);
}

.pickup-icon {
    font-size: 20px;
}

/* ===== Menu Section ===== */
.menu-section {
    padding: 60px 0 100px;
}

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

.menu-card {
    display: flex;
    background-color: var(--color-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

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

.menu-card-image {
    width: 140px;
    min-height: 160px;
    background: linear-gradient(135deg, #F5EDE8 0%, #E8E0D8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-card-content {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.menu-card-name {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
}

.menu-card-description {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 16px;
    flex: 1;
}

.menu-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-card-price {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-primary);
}

.menu-card-btn {
    padding: 10px 20px;
    background-color: var(--color-primary);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.menu-card-btn:hover {
    background-color: var(--color-primary-dark);
}

/* Bouquet specific */
.bouquet-grid .menu-card-image {
    width: 180px;
    min-height: 200px;
}

.bouquet-includes {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
}

.bouquet-includes p {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ===== Cart Sidebar ===== */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1100;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background-color: var(--color-surface);
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 1101;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border);
}

.cart-header h3 {
    font-size: 20px;
}

.close-cart {
    font-size: 28px;
    color: var(--color-text-light);
    transition: var(--transition);
}

.close-cart:hover {
    color: var(--color-text);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-muted);
}

.cart-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
}

.cart-item-image {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #F5EDE8 0%, #E8E0D8 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 500;
    margin-bottom: 4px;
}

.cart-item-price {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 15px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

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

.cart-item-quantity {
    font-weight: 500;
    min-width: 24px;
    text-align: center;
}

.remove-item-btn {
    margin-left: auto;
    color: var(--color-text-muted);
    font-size: 18px;
    transition: var(--transition);
}

.remove-item-btn:hover {
    color: var(--color-error);
}

.cart-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--color-border);
    background-color: var(--color-background);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1200;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    background-color: var(--color-surface);
    border-radius: var(--radius-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1201;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border);
}

.modal-header h3 {
    font-size: 20px;
}

.close-modal {
    font-size: 28px;
    color: var(--color-text-light);
    transition: var(--transition);
}

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

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

/* ===== Form Styles ===== */
.form-section {
    margin-bottom: 24px;
}

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

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: var(--transition);
    background-color: var(--color-surface);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-hint {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 8px;
}

.order-summary {
    background-color: var(--color-background);
    border-radius: var(--radius-sm);
    padding: 16px;
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.order-summary-item:not(:last-child) {
    border-bottom: 1px solid var(--color-border);
}

.order-summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 12px;
    margin-top: 8px;
    border-top: 2px solid var(--color-border);
    font-weight: 600;
}

.pickup-location {
    display: flex;
    gap: 12px;
    padding: 16px;
    background-color: var(--color-background);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.pickup-location .info-icon {
    font-size: 24px;
}

.pickup-location strong {
    display: block;
    margin-bottom: 4px;
}

.pickup-location p {
    font-size: 14px;
    color: var(--color-text-light);
    margin: 0;
}

/* ===== Product Modal ===== */
.product-modal {
    max-width: 550px;
}

.product-modal-content {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}

.product-modal-image {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #F5EDE8 0%, #E8E0D8 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.product-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bouquet-modal-image {
    width: 140px;
    height: 140px;
}

.product-modal-details h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

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

.product-modal-price {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.product-modal-price strong {
    font-size: 22px;
    color: var(--color-primary);
}

/* Size Options */
.size-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.size-option input {
    display: none;
}

.size-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    background-color: var(--color-background);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.size-option input:checked + .size-card {
    border-color: var(--color-primary);
    background-color: rgba(139, 115, 85, 0.05);
}

.size-card:hover {
    border-color: var(--color-primary-light);
}

.size-name {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
}

.size-volume {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.size-price {
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 500;
}

/* Quick Notes */
.quick-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.quick-note-btn {
    padding: 8px 14px;
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    font-size: 13px;
    transition: var(--transition);
}

.quick-note-btn:hover,
.quick-note-btn.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

/* Order Total Section */
.order-total-section {
    background-color: var(--color-background);
    margin: 0 -24px;
    padding: 20px 24px !important;
    margin-bottom: -24px;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
}

.order-total strong {
    font-size: 24px;
    color: var(--color-primary);
}

/* ===== Contact Page ===== */
.contact-section {
    padding: 60px 0;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    padding: 24px;
    background-color: var(--color-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.info-card-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.info-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.info-card p {
    font-size: 14px;
    color: var(--color-text-light);
    margin: 0 0 4px;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.hours-row span:first-child {
    color: var(--color-text-light);
}

.map-section {
    height: 100%;
}

.map-placeholder {
    height: 100%;
    min-height: 400px;
    background: linear-gradient(135deg, #F5EDE8 0%, #E8DFD8 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    text-align: center;
    padding: 40px;
    max-width: 400px;
}

.map-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.map-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.map-content > p {
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.map-directions {
    text-align: left;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.map-directions p {
    font-size: 14px;
    margin: 0 0 8px;
}

.map-directions p:last-child {
    margin-bottom: 0;
}

/* Contact Form Section */
.contact-form-section {
    padding: 60px 0 100px;
    background-color: var(--color-surface);
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-form-wrapper h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.contact-form-wrapper > p {
    color: var(--color-text-light);
    margin-bottom: 32px;
}

.contact-form {
    text-align: left;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ===== Confirmation Modal ===== */
.confirmation-modal {
    text-align: center;
    padding: 40px 30px;
    max-width: 400px;
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    background-color: var(--color-success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 24px;
}

.confirmation-modal h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.confirmation-modal > p {
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.confirmation-details {
    background-color: var(--color-background);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-bottom: 24px;
    text-align: left;
}

.confirmation-details p {
    margin-bottom: 8px;
    font-size: 14px;
}

.confirmation-details strong {
    color: var(--color-text);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .rules-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .product-image {
        height: 160px;
        font-size: 48px;
    }
    
    .about-content,
    .about-preview .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
    }
    
    .shop-info {
        align-items: center;
    }
    
    .info-item {
        text-align: left;
    }
    
    .quick-info {
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .footer-nav,
    .footer-hours {
        align-items: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-card {
        flex-direction: column;
    }
    
    .menu-card-image {
        width: 100%;
        min-height: 160px;
    }
    
    .bouquet-grid .menu-card-image {
        width: 100%;
        min-height: 180px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .map-placeholder {
        min-height: 350px;
    }
    
    .product-modal-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .size-options {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        padding: 100px 0 50px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .product-grid,
    .preview-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .cart-sidebar {
        max-width: 100%;
    }
    
    .modal {
        width: 95%;
        max-height: 95vh;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .rule-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeIn 0.5s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }

/* ===== Toast Notification ===== */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: var(--color-text);
    color: white;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2000;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
