:root {
    --primary-color: #657155;
    /* Muted Green from Logo */
    --secondary-color: #4a5440;
    /* Darker Green */
    --accent-color: #A13E2D;
    /* Red/Brown from Logo */
    --accent-gold: #8D7354;
    /* Brass/Gold from Logo */
    --text-color: #2c2c2c;
    --light-bg: #ece7da;
    /* Cream/Tan from Logo (lightened) */
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Playfair Display', serif;
    color: var(--text-color);
    line-height: 1.8;
    background: var(--light-bg);
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-top: 0;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* Header */
header {
    background: var(--light-bg);
    color: var(--primary-color);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid var(--accent-gold);
}

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

.nav-wrapper {
    display: flex;
    align-items: center;
}

header h1 {
    margin: 0;
    font-size: 28px;
    color: var(--primary-color);
    letter-spacing: 1px;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    color: var(--primary-color);
    margin-left: 25px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

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

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-gold);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

/* Search Button */
.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    padding: 5px 10px;
    margin-left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.search-btn:hover {
    color: var(--accent-color);
}

/* Mobile search button - hidden on desktop */
.search-btn-mobile {
    display: none;
}

/* Desktop search button - visible on desktop */
.search-btn-desktop {
    display: flex;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.search-overlay.active {
    display: flex;
}

.search-container {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.search-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-color);
    line-height: 1;
}

.search-close:hover {
    color: var(--accent-color);
}

.search-container h3 {
    margin-bottom: 20px;
    text-align: center;
    font-family: var(--font-heading);
    color: var(--primary-color);
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-form input {
    flex: 1;
    margin-bottom: 0;
}

.search-form button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.search-form button:hover {
    background: var(--secondary-color);
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-container:hover {
    opacity: 0.9;
}

.logo {
    height: 60px;
    margin-right: 15px;
    width: auto;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(101, 113, 85, 0.9), rgba(101, 113, 85, 0.7)), url('https://images.unsplash.com/photo-1549144511-2eb2c0b0f274?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 700px;
    font-weight: 300;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--white);
    padding: 14px 35px;
    margin: 10px;
    border-radius: 2px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--accent-gold);
}

.btn:hover {
    background: transparent;
    color: var(--accent-gold);
}

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

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

/* Sections */
.section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

.section h3 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    position: relative;
    display: block;
    width: 100%;
}

.section h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 15px auto 0;
}

/* Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 4px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 3px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-top-color: var(--accent-gold);
}

.card h4 {
    font-size: 22px;
    margin-bottom: 15px;
}

.card p {
    color: #666;
    font-size: 15px;
}

/* About */
.about {
    background: var(--white);
    text-align: center;
}

.about p {
    font-size: 18px;
    line-height: 1.9;
    color: #555;
}

/* Contact */
.contact {
    background: #f0f2f5;
}

form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid #eee;
}

input,
textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    transition: var(--transition);
    background: #fafafa;
}

.captcha-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 10px;
}

.captcha-canvas {
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}

.refresh-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    font-size: 20px;
    padding: 5px;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: var(--white);
}

button[type="submit"] {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    font-family: 'Playfair Display', serif;
}

button[type="submit"]:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 20px;
    text-align: center;
    border-top: 4px solid var(--accent-gold);
}

footer p {
    margin-bottom: 15px;
}

footer a {
    color: var(--white);
    margin: 0 15px;
    font-size: 14px;
    display: inline-block;
}

footer a:hover {
    color: var(--accent-gold);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 2px 2px 10px #666;
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 32px;
    }

    .section {
        padding: 40px 15px;
    }

    .card {
        padding: 25px 20px;
    }

    header {
        flex-direction: column;
        padding: 15px 10px;
    }

    .header-top {
        width: 100%;
        justify-content: center;
        position: relative;
    }

    /* Center the logo container on mobile */
    .header-top .logo-container {
        justify-content: center;
    }

    header h1 {
        font-size: 22px;
    }

    .logo {
        height: 45px;
    }

    /* Show mobile search button (top right), hide desktop search */
    .search-btn-mobile {
        display: flex;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .search-btn-desktop {
        display: none;
    }

    .nav-wrapper {
        width: 100%;
        margin-top: 15px;
        justify-content: center;
    }

    nav {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
    }

    nav a {
        margin: 0 6px;
        font-size: 11px;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 480px) {
    nav a {
        margin: 0 4px;
        font-size: 10px;
    }

    header h1 {
        font-size: 18px;
    }

    .logo {
        height: 40px;
        margin-right: 10px;
    }

    .search-btn {
        margin-left: 8px;
        padding: 3px 6px;
    }

    .search-btn svg {
        width: 16px;
        height: 16px;
    }

    .search-container {
        padding: 30px 20px;
    }

    .search-form {
        flex-direction: column;
    }

    .search-form button {
        width: 100%;
    }
}

/* ============================================
   PRODUCT PAGE STYLES
   ============================================ */

/* Breadcrumbs */
.breadcrumbs {
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 14px;
    color: #666;
}

.breadcrumbs a {
    color: var(--primary-color);
}

.breadcrumbs a:hover {
    color: var(--accent-color);
}

.breadcrumbs .separator {
    margin: 0 8px;
    color: #999;
}

.breadcrumbs .current {
    color: var(--accent-gold);
}

/* Product Page Container */
.product-page {
    padding-bottom: 60px;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 100px;
    align-self: start;
}

.main-image {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 15px;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--accent-gold);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.product-info {
    padding: 20px 0;
}

.product-category {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.product-title {
    font-size: 36px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
}

.product-sku {
    color: #666;
}

.stock-status {
    font-weight: 600;
}

.stock-status.in-stock {
    color: #28a745;
}

.stock-status.out-of-stock {
    color: var(--accent-color);
}

.product-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-excerpt {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-whatsapp {
    background: #25d366;
    border-color: #25d366;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background: #128c7e;
    border-color: #128c7e;
    color: white;
}

.whatsapp-icon-small {
    width: 20px;
    height: 20px;
}

/* Specifications Table */
.product-specifications {
    margin-top: 30px;
}

.product-specifications h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #eee;
}

.specs-table th,
.specs-table td {
    padding: 12px 15px;
    text-align: left;
}

.specs-table th {
    width: 40%;
    font-weight: 600;
    color: var(--primary-color);
    background: #f8f8f8;
}

.specs-table td {
    color: #555;
}

/* Product Description */
.product-description {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.product-description h2 {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}

.product-description h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 15px auto 0;
}

.description-content {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.description-content h2,
.description-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.description-content ul,
.description-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.description-content li {
    margin-bottom: 8px;
}

/* Related Products */
.related-products {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.related-products h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
}

.related-products h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 15px auto 0;
}

/* Product Card (for listings) */
.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h4 {
    padding: 20px 15px 5px;
    margin: 0;
    font-size: 18px;
}

.product-card .price {
    color: var(--accent-gold);
    font-size: 20px;
    font-weight: 700;
    margin: 10px 0;
}

.product-card .btn {
    margin: 15px;
    padding: 10px 25px;
    font-size: 13px;
}

/* Responsive Product Page */
@media (max-width: 900px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-gallery {
        position: relative;
        top: 0;
    }

    .product-title {
        font-size: 28px;
    }

    .product-price {
        font-size: 26px;
    }
}

@media (max-width: 600px) {
    .product-actions {
        flex-direction: column;
    }

    .product-actions .btn {
        width: 100%;
        text-align: center;
    }

    .specs-table th,
    .specs-table td {
        padding: 10px;
        font-size: 14px;
    }

    .description-content {
        padding: 25px 20px;
    }
}

/* ===== COLLECTION SECTION - BENTO GRID ===== */
.collection-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 20px;
}

.collection-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.collection-header .subtitle {
    color: #1152d4;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
    font-family: 'Lato', sans-serif;
}

.collection-header h2 {
    font-family: 'Newsreader', 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 500;
    color: #2E3314;
    margin-bottom: 16px;
}

.collection-header p {
    color: rgba(75, 83, 32, 0.8);
    font-size: 1.125rem;
    line-height: 1.6;
    font-family: 'Lato', sans-serif;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    gap: 24px;
}

/* Card Base Styles */
.bento-card {
    background: #FFFFF0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Hero Card (Telescopes - spans 2 rows) */
.bento-card.hero-card {
    grid-column: span 1;
    grid-row: span 2;
}

.bento-card.hero-card .card-image {
    flex: 1;
    min-height: 300px;
    position: relative;
}

.bento-card.hero-card .card-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.bento-card.hero-card:hover .card-image img {
    transform: scale(1.05);
}

.bento-card.hero-card .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.bento-card.hero-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    color: white;
}

.bento-card.hero-card .card-content h3 {
    font-family: 'Newsreader', serif;
    font-size: 1.875rem;
    font-weight: 500;
    color: white;
    margin-bottom: 8px;
}

.bento-card.hero-card .card-content p {
    color: rgba(255,255,255,0.9);
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 16px;
    font-family: 'Lato', sans-serif;
}

.bento-card.hero-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    font-family: 'Lato', sans-serif;
}

.bento-card.hero-card .card-link:hover {
    color: #1152d4;
}

/* Standard Cards */
.bento-card.standard-card {
    height: 100%;
}

.bento-card.standard-card .card-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

.bento-card.standard-card:hover .card-image img {
    transform: scale(1.05);
}

.bento-card.standard-card .card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bento-card.standard-card .card-content h3 {
    font-family: 'Newsreader', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #2E3314;
    margin-bottom: 8px;
}

.bento-card.standard-card .card-content p {
    color: rgba(75, 83, 32, 0.8);
    font-size: 0.875rem;
    line-height: 1.6;
    font-family: 'Lato', sans-serif;
    flex: 1;
}

.bento-card .card-link-small {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #1152d4;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 16px;
    transition: transform 0.3s ease;
    font-family: 'Lato', sans-serif;
    cursor: pointer;
}

.bento-card:hover .card-link-small {
    transform: translateX(4px);
}

/* Wide Card (Ship Clocks - spans 2 columns) */
.bento-card.wide-card {
    grid-column: span 2;
    flex-direction: row;
}

.bento-card.wide-card .card-image {
    width: 50%;
    min-height: 250px;
    overflow: hidden;
}

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

.bento-card.wide-card:hover .card-image img {
    transform: scale(1.05);
}

.bento-card.wide-card .card-content {
    width: 50%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-card.wide-card .card-content h3 {
    font-family: 'Newsreader', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #2E3314;
    margin-bottom: 8px;
}

.bento-card.wide-card .card-content p {
    color: rgba(75, 83, 32, 0.8);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 24px;
    font-family: 'Lato', sans-serif;
}

/* ===== CAPTAIN'S CLUB NEWSLETTER ===== */
.captains-club {
    margin-top: 80px;
    border-radius: 16px;
    background: #2E3314;
    padding: 48px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.captains-club::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at center, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.captains-club-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.captains-club h2 {
    font-family: 'Newsreader', serif;
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    color: white;
    margin-bottom: 16px;
}

.captains-club p {
    color: rgba(255,255,255,0.7);
    font-weight: 300;
    margin-bottom: 32px;
    font-family: 'Lato', sans-serif;
}

.newsletter-form {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
    background: transparent;
    border: none;
    padding: 0;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 280px;
    height: 48px;
    padding: 0 20px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.15);
}

.newsletter-form button {
    height: 48px;
    padding: 0 28px;
    background: #1152d4;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
    font-family: 'Lato', sans-serif;
    white-space: nowrap;
    margin: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button:hover {
    background: #0d45b0;
}

/* Material Symbols icon sizing */
.material-symbols-outlined {
    font-size: inherit;
    vertical-align: middle;
}

.card-link .material-symbols-outlined,
.card-link-small .material-symbols-outlined {
    font-size: 14px;
}

/* ===== COLLECTION RESPONSIVE ===== */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-card.hero-card {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .bento-card.hero-card .card-image {
        min-height: 280px;
    }
    
    .bento-card.wide-card {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .collection-section {
        padding: 40px 16px;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .bento-card.hero-card,
    .bento-card.wide-card {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .bento-card.wide-card {
        flex-direction: column;
    }
    
    .bento-card.wide-card .card-image,
    .bento-card.wide-card .card-content {
        width: 100%;
    }
    
    .bento-card.wide-card .card-image {
        height: 200px;
        min-height: auto;
    }
    
    .captains-club {
        margin-top: 48px;
        padding: 32px 16px;
    }
    
    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }
    
    .newsletter-form input[type="email"] {
        min-width: auto;
        width: 100%;
    }
}

@media (min-width: 640px) {
    .newsletter-form {
        flex-direction: row;
    }
}

/* ===== ALL PRODUCTS PAGE ===== */
.products-page {
    max-width: 1440px;
    margin: 0 auto;
    padding: 60px 24px;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 40px;
    padding: 0 8px;
}

.products-header h2 {
    font-family: 'Newsreader', 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.25rem);
    font-weight: 700;
    color: #4B5320;
    letter-spacing: -0.02em;
    margin: 0;
}

.products-header .header-line {
    display: none;
}

@media (min-width: 768px) {
    .products-header .header-line {
        display: none;
    }
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 32px;
    padding: 32px 8px;
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Product Category Card */
.product-category-card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    background: #FFFFF0;
    box-shadow: 0 4px 20px rgba(75, 83, 32, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(75, 83, 32, 0.05);
    overflow: hidden;
    text-decoration: none;
}

.product-category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(75, 83, 32, 0.15);
}

.product-category-card .card-image {
    position: relative;
    aspect-ratio: 4 / 5;
    width: 100%;
    overflow: hidden;
    background: #f0f0e8;
}

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

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

.product-category-card .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
    opacity: 0.5;
    pointer-events: none;
}

.product-category-card .card-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    flex-grow: 1;
}

.product-category-card .card-info h3 {
    font-family: 'Newsreader', 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4B5320;
    margin: 0;
}

.product-category-card .card-info p {
    font-family: 'Lato', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(75, 83, 32, 0.7);
    margin: 0;
    line-height: 1.5;
}

/* Decorative dots */
.products-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
}

.products-dots span {
    width: 4px;
    height: 4px;
    background: rgba(75, 83, 32, 0.5);
    border-radius: 50%;
}

/* ============================================
   PRODUCTS PAGE STYLES - Category Filters & Grid
   ============================================ */

/* Products Subtitle */
.products-subtitle {
    text-align: center;
    color: rgba(75, 83, 32, 0.7);
    font-size: 1.1rem;
    margin-top: 8px;
    font-family: 'Lato', sans-serif;
}

/* Back to Categories */
.back-to-categories {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 0 16px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: #4B5320;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #B8860B;
}

.current-category-title {
    font-family: 'Newsreader', serif;
    font-size: 1.75rem;
    color: #4B5320;
    margin: 0;
    text-align: center;
}

/* Card Placeholder for categories without images */
.card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f0 0%, #e8e8e0 100%);
    font-family: 'Newsreader', serif;
    font-size: 1.5rem;
    color: rgba(75, 83, 32, 0.4);
}

/* Category Filters */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 32px auto 40px;
    padding: 0 16px;
    max-width: 1200px;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #4B5320;
    background: transparent;
    color: #4B5320;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    background: rgba(75, 83, 32, 0.1);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #4B5320;
    color: #FFFFF0;
    box-shadow: 0 4px 12px rgba(75, 83, 32, 0.3);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
    padding: 0 16px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 540px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Product Card */
.product-card {
    background: #FFFFF0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(75, 83, 32, 0.08);
    border: 1px solid rgba(75, 83, 32, 0.08);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(75, 83, 32, 0.15);
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Product Image */
.product-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5f5f0;
}

.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);
}

.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f0 0%, #e8e8e0 100%);
    color: rgba(75, 83, 32, 0.4);
    font-size: 0.9rem;
}

/* Product Badges */
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

.product-badge.featured {
    background: linear-gradient(135deg, #B8860B, #DAA520);
    color: white;
}

.product-badge.out-of-stock {
    background: rgba(75, 83, 32, 0.8);
    color: white;
    top: auto;
    bottom: 12px;
}

/* Product Details */
.product-details {
    padding: 20px;
}

.product-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #B8860B;
    margin-bottom: 8px;
}

.product-title {
    font-family: 'Newsreader', 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #4B5320;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.product-excerpt {
    font-size: 0.875rem;
    color: rgba(75, 83, 32, 0.7);
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(75, 83, 32, 0.1);
    padding-top: 16px;
}

.product-price {
    font-family: 'Newsreader', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #4B5320;
}

.product-cta {
    font-size: 0.85rem;
    font-weight: 600;
    color: #B8860B;
    transition: color 0.3s ease;
}

.product-card:hover .product-cta {
    color: #8B6914;
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 24px;
    background: rgba(75, 83, 32, 0.03);
    border-radius: 16px;
    border: 2px dashed rgba(75, 83, 32, 0.15);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 24px;
}

.empty-state h3 {
    font-family: 'Newsreader', serif;
    font-size: 1.5rem;
    color: #4B5320;
    margin: 0 0 12px 0;
}

.empty-state p {
    color: rgba(75, 83, 32, 0.6);
    margin: 0 0 24px 0;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 24px;
}

.no-results h3 {
    font-family: 'Newsreader', serif;
    font-size: 1.3rem;
    color: #4B5320;
    margin: 0 0 8px 0;
}

.no-results p {
    color: rgba(75, 83, 32, 0.6);
    margin: 0 0 20px 0;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}