@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --bg-color: #f7f3ee;
    --dark-green: #244622;
    --darker-green: #153013;
    --gold: #b3854b;
    --text-dark: #2a2a2a;
    --text-light: #ffffff;
    --border-color: #e2dcd0;
}

html {
    font-size: 16px;
}
@media (max-width: 992px) {
    html { font-size: 14px; }
}
@media (max-width: 480px) {
    html { font-size: 12px; }
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Scrolling Banner */
.scrolling-banner {
    background-color: var(--darker-green);
    color: var(--gold);
    padding: 0.6rem 0;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    position: relative;
    z-index: 1001;
}

.scrolling-content {
    display: inline-flex;
    width: max-content;
    animation: scrollBanner 60s linear infinite;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
}

@keyframes scrollBanner {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

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

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4rem;
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #000;
    background-image: url('logo.jpg');
    background-size: cover;
    background-position: center;
    color: transparent;
    font-size: 0;
    border: none;
    box-shadow: 
        0 0 0 4px #fff, 
        0 0 0 6px rgba(179, 133, 75, 0.6), 
        0 0 0 12px #fff, 
        0 0 0 14px rgba(179, 133, 75, 0.3);
    margin: 14px;
}

.logo-text h1 {
    font-size: 1.8rem;
    color: var(--dark-green);
    margin-bottom: -5px;
}

.logo-text span {
    font-size: 0.8rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav ul li a {
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.5rem;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--gold);
    color: #fff;
    font-size: 0.75rem;
    border-radius: 50%;
    padding: 2px 6px;
    font-weight: bold;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--darker-green);
    color: #fff;
}

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

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--dark-green);
    color: var(--dark-green);
}

.btn-outline:hover {
    background-color: var(--dark-green);
    color: #fff;
}

/* Hero Section */
.hero {
    background-color: var(--dark-green);
    background-image: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 100%);
    padding: 6rem 4rem;
    color: var(--text-light);
    text-align: left;
}

.hero h2 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.hero h2 span {
    color: var(--gold);
    font-style: italic;
}

.hero p {
    max-width: 600px;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Filters */
.filters {
    padding: 2rem 4rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: #fff;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--dark-green);
    color: #fff;
    border-color: var(--dark-green);
}

.sort-by {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sort-by select {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: #fff;
    font-family: inherit;
}

/* Product Grid */
.products {
    padding: 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gold);
    color: #fff;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 2;
}

.product-img {
    aspect-ratio: 3 / 4;
    height: auto;
    background-color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    transition: transform 0.5s ease;
}

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

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

.product-category {
    color: var(--gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--dark-green);
}

.product-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

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

.product-price {
    font-size: 1.25rem;
    font-weight: 600;
}

.product-rating {
    color: var(--gold);
    font-size: 0.9rem;
}

.add-to-cart-btn {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--dark-green);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.add-to-cart-btn:hover {
    background-color: var(--darker-green);
}

/* Featured Product Section */
.featured-product-section {
    background-color: #F5EDE0;
    padding: 6rem 4rem;
    border-top: 1px solid var(--border-color);
}

.featured-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    object-fit: cover;
}

.featured-subtitle {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.featured-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--dark-green);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.featured-title em {
    font-style: italic;
    color: var(--gold);
    font-weight: 500;
}

.featured-desc {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.featured-price {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-green);
    font-family: 'Playfair Display', serif;
}

.original-price {
    font-size: 1.2rem;
    color: #888;
    text-decoration: line-through;
}

.featured-actions {
    display: flex;
    gap: 1rem;
}

/* Footer */
footer {
    background-color: var(--darker-green);
    color: var(--text-light);
    padding: 4rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

footer .logo-circle {
    box-shadow: 
        0 0 0 4px var(--darker-green), 
        0 0 0 6px rgba(179, 133, 75, 0.6), 
        0 0 0 12px var(--darker-green), 
        0 0 0 14px rgba(179, 133, 75, 0.3);
}

.footer-col h4 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--gold);
}

/* Cart Page */
.page-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.page-title {
    font-size: 3rem;
    color: var(--dark-green);
    margin-bottom: 2rem;
    text-align: center;
}

.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.cart-items {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

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

.cart-item-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    background-color: #eaeaea;
}

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

.cart-item-title {
    font-size: 1.2rem;
    color: var(--dark-green);
    margin-bottom: 0.5rem;
}

.cart-item-price {
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: 1px solid var(--border-color);
    background: #fff;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
}

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

.cart-summary {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    height: fit-content;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.summary-total {
    font-size: 1.5rem;
    font-weight: 600;
    border-top: 2px solid var(--border-color);
    padding-top: 1rem;
    margin-top: 1rem;
    color: var(--dark-green);
}

.checkout-btn {
    width: 100%;
    margin-top: 2rem;
    text-align: center;
    display: block;
}

/* Checkout Page */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.checkout-form {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
}

.payment-section {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.qr-code-container {
    margin: 2rem 0;
    padding: 1rem;
    border: 2px dashed var(--gold);
    border-radius: 8px;
    display: inline-block;
}

.qr-code-img {
    max-width: 250px;
    height: auto;
}

.empty-cart {
    text-align: center;
    padding: 4rem 0;
}

.empty-cart p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Product Page */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}
.product-gallery-container {
    display: flex;
    flex-direction: column;
}
.product-gallery {
    background: #f5f5f5;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-gallery img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.gallery-thumbnails {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.gallery-thumbnail {
    width: 80px;
    height: 80px;
    background: #eaeaea;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    object-fit: cover;
}
.gallery-thumbnail.active {
    border-color: var(--dark-green);
}
.product-info-section .breadcrumb {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.product-info-section h1 {
    font-size: 2.5rem;
    color: var(--dark-green);
    margin-bottom: 1rem;
}
.product-info-section .price {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.product-info-section .price span {
    font-size: 1rem;
    color: #666;
    font-weight: normal;
}
.product-info-section .description {
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
}
.action-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}
.qty-input {
    width: 80px;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    text-align: center;
    font-size: 1.1rem;
}
.reviews-section {
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
    padding-top: 3rem;
}
.review-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}
.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.review-stars {
    color: var(--gold);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--dark-green);
    padding: 0.5rem;
}

/* Product Page Layout Refinements */
.product-info-section {
    color: #3e4a3d;
}
.product-info-section h1 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 0.8rem;
    font-weight: 500;
    font-family: 'Cormorant Garamond', serif;
    color: #2a3b25;
    letter-spacing: 1px;
}
.product-info-section .price {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
    font-family: 'Cormorant Garamond', serif;
    color: #1a2416;
}
.tax-incl {
    font-size: 0.95rem;
    color: #7b8577;
    margin-bottom: 1.5rem;
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
}
.product-info-section .description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a5446;
    margin-bottom: 2rem;
}
.info-buttons {
    display: flex;
    gap: 0.8rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}
.info-btn {
    border: 1px solid var(--border-color);
    background: transparent;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    cursor: pointer;
    font-weight: 500;
    font-family: 'Cormorant Garamond', serif;
    color: #4a5446;
    transition: all 0.3s;
    border-radius: 4px;
}
.info-btn:hover {
    background: var(--dark-green);
    color: white;
    border-color: var(--dark-green);
}
.ask-q {
    color: #b3854b;
    text-decoration: none;
    font-size: 1.05rem;
    display: block;
    margin-bottom: 2rem;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
}
.size-label {
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: #5a6655;
    margin-bottom: 0.8rem;
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}
.size-btn {
    background: #fdfaf5;
    border: 1px solid var(--gold);
    color: var(--dark-green);
    padding: 0.6rem 2.5rem;
    font-size: 0.95rem;
    letter-spacing: 2px;
    cursor: pointer;
    margin-bottom: 2rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
    border-radius: 4px;
}
.size-btn:hover, .size-btn.active {
    background: var(--gold);
    color: white;
}
.wishlist-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    font-family: 'Cormorant Garamond', serif;
    color: #4a5446;
}
.shiprocket-box {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    max-width: 420px;
}
.shiprocket-header {
    background: var(--dark-green);
    color: white;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 0.5px;
}
.shiprocket-body {
    background: #fdfcf8;
    padding: 1rem;
}
.shiprocket-input-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #333;
    padding-bottom: 0.2rem;
    margin-top: 0.5rem;
}
.shiprocket-input-row input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.95rem;
    width: 100%;
}
.qty-block {
    margin-bottom: 1.5rem;
}
.qty-ctrl {
    display: inline-flex;
    border: 1px solid #333;
    padding: 0.4rem 0.8rem;
    gap: 2rem;
    align-items: center;
}
.qty-ctrl button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}
.purchase-options {
    margin-bottom: 1.5rem;
}
.po-box {
    border: 1px solid #ccc;
    padding: 0.8rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    cursor: pointer;
}
.po-box:first-of-type {
    border-bottom: none;
}
.btn-outline-wide {
    width: 100%;
    border: 1px solid var(--dark-green);
    color: var(--dark-green);
    background: #fcfbf8;
    padding: 1.2rem;
    font-size: 1rem;
    letter-spacing: 3px;
    cursor: pointer;
    margin-bottom: 0.8rem;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    transition: background 0.3s, color 0.3s;
    border-radius: 4px;
}
.btn-outline-wide:hover {
    background: var(--dark-green);
    color: white;
}
.btn-dark-wide {
    width: 100%;
    background: var(--dark-green);
    color: white;
    border: none;
    padding: 1.2rem;
    font-size: 1rem;
    letter-spacing: 3px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    transition: opacity 0.3s;
    border-radius: 4px;
}
.btn-dark-wide:hover {
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 1150px) {
    header { 
        padding: 1rem 1.5rem; 
        flex-wrap: wrap;
    }
    .logo-container {
        flex: 1;
    }
    .logo-circle {
        width: 45px;
        height: 45px;
        font-size: 0;
        margin: 10px;
    }
    .logo-text h1 {
        font-size: 1.4rem;
    }
    .header-actions {
        display: none;
        width: 100%;
        order: 4;
        flex-direction: column;
        align-items: center;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid var(--border-color);
        gap: 1.5rem;
    }
    .header-actions .btn-primary {
        display: inline-block;
        width: 100%;
        max-width: 200px;
        text-align: center;
        padding: 0.8rem;
        font-size: 1rem;
    }
    .menu-toggle {
        display: block;
        order: 2;
        margin: 0;
    }
    nav {
        width: 100%;
        order: 3;
        display: none;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid var(--border-color);
    }
    header.mobile-menu-active nav {
        display: block;
        border-bottom: none;
    }
    header.mobile-menu-active .header-actions {
        display: flex;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .hero { padding: 4rem 2rem; }
    .hero h2 { font-size: 2.5rem; }
    .products { padding: 2rem 1rem; }
    footer { grid-template-columns: 1fr; padding: 2rem; }
    .cart-layout, .checkout-layout, .product-detail-layout { grid-template-columns: 1fr; }
    
    .featured-product-section {
        padding: 4rem 2rem;
    }
    .featured-product-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .featured-image img {
        margin-bottom: 1rem;
    }
}
