/* CSS Variables */
:root {
    --primary-color: #d4a5a5;
    --primary-dark: #b88b8b;
    --primary-light: #e8c4c4;
    --accent-color: #c9a86c;
    --accent-light: #e8d4b8;
    --rose-gold: #b76e79;
    --rose-gold-light: #daa5ad;
    --text-color: #4a4a4a;
    --text-light: #7a7a7a;
    --bg-color: #fdfbf9;
    --bg-warm: #faf5f0;
    --white: #fff;
    --border-color: #e8e0d8;
    --shadow-sm: 0 2px 4px rgba(183,110,121,0.08);
    --shadow-md: 0 4px 12px rgba(183,110,121,0.12);
    --shadow-lg: 0 8px 24px rgba(183,110,121,0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--rose-gold);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

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

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

.btn-full {
    width: 100%;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--rose-gold);
}

.logo-icon {
    font-size: 2.2rem;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.logo-tagline em {
    color: var(--rose-gold);
    font-style: normal;
    font-weight: 600;
}

.logo-tagline strong {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    gap: 32px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--rose-gold);
}

.cart-button {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-color);
}

.cart-button:hover {
    color: var(--rose-gold);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--rose-gold);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--rose-gold) 0%, var(--primary-dark) 50%, var(--rose-gold-light) 100%);
    color: var(--white);
    padding: 160px 0 100px;
    text-align: center;
    margin-top: 64px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.35rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    font-style: italic;
}

.hero .btn-primary {
    background: var(--accent-color);
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(201,168,108,0.4);
}

.hero .btn-primary:hover {
    background: #d4b87a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201,168,108,0.5);
}

/* Products Section */
.products-section {
    padding: 80px 0;
}

/* Filter bar removed – hidden so it never shows (e.g. cached/deployed HTML) */
.filter-bar {
    display: none !important;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: var(--rose-gold);
    color: var(--rose-gold);
}

.filter-btn.active {
    background: var(--rose-gold);
    border-color: var(--rose-gold);
    color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Product Card - whole card opens product detail modal */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card .product-actions {
    cursor: default;
}

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

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f0f0f0;
}

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

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.product-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--rose-gold);
    margin-bottom: 12px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.product-actions .btn {
    flex: 1;
    padding: 10px 16px;
    font-size: 0.9rem;
}

.btn-add-cart {
    background: var(--rose-gold);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
}

.btn-add-cart:hover {
    background: var(--primary-dark);
}

/* Inspiration CTA under products */
.inspiration-cta {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.inspiration-cta .btn-inline {
    margin-left: 0.5rem;
    padding: 10px 20px;
    font-size: 1rem;
}

/* Gallery Section */
.gallery-section {
    padding: 60px 0;
    background: var(--bg-warm);
}

.gallery-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

.gallery-filter-btn {
    padding: 10px 18px;
    border: 2px solid var(--border-color);
    background: var(--white);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    border-color: var(--rose-gold);
    background: var(--primary-light);
    color: var(--rose-gold);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.gallery-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
}

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

.gallery-card-image {
    aspect-ratio: 1;
    overflow: hidden;
    max-height: 180px;
}

.gallery-card-image img {
    width: 100%;
    height: 100%;
    max-height: 180px;
    object-fit: cover;
    display: block;
    decoding: async;
}

.gallery-card-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.95);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--rose-gold);
}

/* Testimonials Section */
.testimonials-section {
    padding: 60px 0;
    background: var(--white);
}

.testimonials-section .section-subtitle {
    text-align: center;
    color: var(--text-muted, #666);
    margin-top: -1rem;
    margin-bottom: 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-warm, #fdf8f5);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(212, 132, 154, 0.12);
    display: flex;
    flex-direction: column;
}

.testimonial-card--image .testimonial-card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-card--image .testimonial-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.testimonial-card-body {
    padding: 20px;
    flex: 1;
}

.testimonial-card-body p {
    margin: 0 0 0.75rem;
    line-height: 1.6;
    color: var(--text-color, #333);
}

.testimonial-author {
    font-size: 0.9rem;
    color: var(--rose-gold, #b76e79);
    font-style: italic;
}

.testimonials-empty {
    text-align: center;
    color: var(--text-muted, #666);
    padding: 2rem 1rem;
    margin: 0;
}

/* No Image Placeholder */
.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-warm) 0%, var(--accent-light) 100%);
    color: var(--rose-gold);
    font-size: 4rem;
}

/* The Man behind the Designs */
.man-behind-section {
    padding: 60px 0;
    background: var(--bg-warm, #fdf8f5);
}

.man-behind-content {
    max-width: 800px;
    margin: 0 auto;
}

.man-behind-photos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-bottom: 28px;
}

.man-behind-photos img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    object-fit: cover;
    display: block;
}

.man-behind-text {
    text-align: center;
}

.man-behind-text p {
    margin: 0 0 1rem;
    line-height: 1.7;
    color: var(--text-color, #333);
}

.man-behind-text p:last-child {
    margin-bottom: 0;
}

/* About Section */
.about-section {
    background: var(--white);
    padding: 80px 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    text-align: center;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 1.5rem;
    align-items: center;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    color: var(--rose-gold);
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--rose-gold);
    color: var(--white);
}

.contact-icon {
    font-size: 1.3rem;
}

.whatsapp-link {
    background: #25D366;
    color: var(--white);
}

.whatsapp-link:hover {
    background: #128C7E;
    color: var(--white);
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--rose-gold) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-content p {
    opacity: 0.8;
}

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

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

/* Cart Sidebar */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 200;
}

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

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 100%;
    height: 100%;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    z-index: 201;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

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

.cart-header h3 {
    font-size: 1.3rem;
}

.cart-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
}

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

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

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

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #f0f0f0;
}

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

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

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

.cart-item-price {
    color: var(--rose-gold);
    font-weight: 600;
}

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

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border-color);
    background: var(--white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1rem;
}

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

.cart-item-remove {
    background: none;
    border: none;
    color: #c00;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 4px 0;
}

.cart-item-remove:hover {
    text-decoration: underline;
}

.cart-empty {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
}

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

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

.btn-checkout {
    width: 100%;
}

.btn-checkout:disabled,
.btn-checkout.btn-checkout-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cart-delivery-info {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: -8px 0 12px 0;
    display: none;
}

/* Order success overlay */
.order-success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

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

.order-success-content {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 400px;
    margin: 20px;
    box-shadow: var(--shadow-lg);
}

.order-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.order-success-content h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--rose-gold);
}

.order-success-number {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.order-success-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

.order-success-content .btn {
    min-width: 180px;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 300;
    padding: 20px;
}

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

.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    z-index: 10;
    line-height: 1;
}

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

/* Product Modal */
.product-modal {
    width: 100%;
}

.product-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

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

.product-modal-image {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

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

.product-modal-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-modal-thumb {
    width: 56px;
    height: 56px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    background: none;
    flex-shrink: 0;
    transition: border-color 0.2s, opacity 0.2s;
}

.product-modal-thumb:hover {
    opacity: 0.9;
}

.product-modal-thumb.active {
    border-color: var(--rose-gold);
}

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

.product-modal-info {
    padding: 40px 40px 40px 0;
}

.product-modal-name {
    font-size: 2rem;
    margin-bottom: 12px;
}

.product-modal-price {
    font-size: 1.5rem;
    color: var(--rose-gold);
    font-weight: 700;
    margin-bottom: 20px;
}

.product-modal-desc {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 30px;
}

.product-modal-qty {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.product-modal-qty label {
    font-weight: 600;
}

.qty-input {
    display: flex;
    align-items: center;
}

.qty-input .qty-btn {
    width: 36px;
    height: 36px;
}

.qty-input input {
    width: 50px;
    height: 36px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-left: none;
    border-right: none;
    font-size: 1rem;
}

/* Checkout Modal */
.checkout-modal {
    width: 100%;
    max-width: 600px;
    padding: 40px;
}

.checkout-modal h2 {
    margin-bottom: 30px;
}

.form-section {
    margin-bottom: 30px;
}

.form-section h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--rose-gold);
}

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

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--rose-gold);
    box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.15);
}

/* Delivery or Collection */
.delivery-options {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
}

.delivery-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
}

.delivery-option input {
    width: auto;
}

.option-label {
    user-select: none;
}

.collection-message {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 8px;
    margin-bottom: 12px;
}

.collection-notes-wrap {
    margin-top: 8px;
}

.order-summary {
    background: var(--bg-color);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.order-summary h3 {
    margin-bottom: 15px;
}

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

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.95rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    margin-top: 10px;
    border-top: 2px solid var(--border-color);
    font-size: 1.2rem;
    font-weight: 700;
}

/* Payment Methods */
.payment-methods {
    margin-top: 20px;
}

.payment-methods h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--rose-gold);
}

.payment-options {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.payment-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
    font-weight: 500;
}

.payment-btn:hover {
    border-color: var(--rose-gold);
}

.payment-btn.active {
    border-color: var(--rose-gold);
    background: rgba(183, 110, 121, 0.05);
}

.payment-icon {
    font-size: 1.5rem;
}

.payment-form {
    margin-top: 15px;
}

#card-element {
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--white);
    margin-bottom: 15px;
}

.card-errors {
    color: #c00;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

#paypal-button-container {
    min-height: 45px;
}

/* Out of Stock */
.out-of-stock {
    opacity: 0.7;
}

.out-of-stock .btn-add-cart {
    background: #999;
    cursor: not-allowed;
}

.stock-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #c00;
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.sold-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(183, 110, 121, 0.92);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ========== Responsive: Tablets & Phones ========== */

/* Tablet and below */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header-content {
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px 0;
    }

    .logo {
        gap: 8px;
    }

    .logo-icon {
        font-size: 1.8rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .logo-tagline {
        font-size: 0.65rem;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 24px;
        padding: 8px 0 0;
        border-top: 1px solid var(--border-color);
    }

    .main-nav a {
        padding: 10px 16px;
        font-size: 1rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .cart-button {
        padding: 10px;
        min-width: 44px;
        min-height: 44px;
    }

    .hero {
        padding: 120px 0 60px;
        margin-top: 0;
    }

    .hero-content h1 {
        font-size: 2.25rem;
        margin-bottom: 0.75rem;
    }

    .hero-content p {
        font-size: 1.15rem;
        margin-bottom: 1.5rem;
    }

    .hero .btn-primary {
        padding: 14px 28px;
        min-height: 48px;
        font-size: 1rem;
    }

    .products-section {
        padding: 48px 0;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .product-info {
        padding: 16px;
    }

    .product-name {
        font-size: 1.1rem;
    }

    .product-description {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }

    .product-actions .btn,
    .btn-add-cart {
        min-height: 44px;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .about-section,
    .contact-section {
        padding: 48px 0;
    }

    .about-text p,
    .contact-info p {
        font-size: 1rem;
    }

    .contact-link {
        padding: 14px 20px;
        min-height: 48px;
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

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

    .product-modal-image {
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        max-height: 280px;
    }

    .product-modal-info {
        padding: 24px 20px;
    }

    .product-modal-name {
        font-size: 1.5rem;
    }

    .product-modal-price {
        font-size: 1.35rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .modal-overlay {
        padding: 12px;
        align-items: flex-start;
        overflow-y: auto;
    }

    .modal-content {
        max-height: 95vh;
        margin: auto 0;
    }

    .checkout-modal {
        padding: 24px 20px;
    }
}

/* Large phones */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .header-content {
        padding: 10px 0;
    }

    .logo-text-group {
        max-width: 160px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .logo-tagline {
        font-size: 0.6rem;
    }

    .main-nav {
        gap: 16px;
    }

    .hero {
        padding: 100px 0 48px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .products-grid {
        gap: 16px;
    }

    .product-card {
        max-width: none;
    }

    .product-badge {
        font-size: 0.75rem;
        padding: 3px 10px;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .cart-sidebar.active {
        right: 0;
    }

    .cart-header,
    .cart-items,
    .cart-footer {
        padding: 16px;
    }

    .cart-item {
        flex-wrap: wrap;
    }

    .cart-item-image {
        width: 64px;
        height: 64px;
    }

    .checkout-modal {
        padding: 20px 16px;
    }

    .payment-options {
        flex-direction: column;
    }

    .payment-btn {
        min-height: 48px;
    }

    .modal-close {
        top: 12px;
        right: 12px;
        font-size: 1.75rem;
        padding: 8px;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Small phones (e.g. 360px width) */
@media (max-width: 360px) {
    .logo-text {
        font-size: 1rem;
    }

    .logo-tagline {
        display: none;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .product-info {
        padding: 12px;
    }
}


/* ============================================
   PRODUCT DETAIL PAGE (Server-rendered SEO pages)
   ============================================ */

.breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
    color: #666;
}
.breadcrumb a {
    color: #2d5016;
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb span {
    color: #333;
}

.product-page-main {
    min-height: 60vh;
    padding: 2rem 0;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem 0;
}

.product-detail-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.product-detail-info h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    color: #2d2d2d;
    margin-bottom: 1rem;
}

.product-detail-price {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2d5016;
    margin-bottom: 1rem;
}

.product-detail-desc {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.product-detail-stock {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #2d5016;
}

.product-detail-category,
.product-detail-sku {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.product-detail-shipping {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f0f7ed;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #444;
}

.product-detail .btn-primary {
    display: inline-block;
    margin: 1.5rem 0;
    padding: 0.8rem 2rem;
}

@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .product-detail-info h1 {
        font-size: 1.5rem;
    }
}