/* ==========================================================================
   SouvenirsEmpire - Modern Shopify-Grade Typography & Design System
   Headings: 'Plus Jakarta Sans' | Body: 'Inter' | Palette: Gold & Charcoal
   ========================================================================== */

/* 1. Design Tokens & CSS Variables */
:root {
    --primary: #c5a059;          /* Signature Warm Gold */
    --primary-dark: #a27e36;     /* Deep Gold */
    --primary-light: #fbf7ee;    /* Soft Tinted Gold */
    --dark: #111827;             /* Ultra-Deep Modern Charcoal */
    --dark-surface: #1f2937;
    --light: #f9fafb;            /* Clean Off-White */
    --white: #ffffff;
    --gray: #6b7280;
    --gray-light: #f3f4f6;
    --border: #e5e7eb;
    
    /* Semantic Colors */
    --danger: #ef4444;
    --danger-bg: #fef2f2;
    --success: #10b981;
    --success-bg: #ecfdf5;
    --warning: #f59e0b;
    --warning-bg: #fffbeb;
    --info: #0ea5e9;
    --info-bg: #f0f9ff;

    /* Advanced Typography Tokens */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Geometry & Elevations */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.07);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. Reset & Global Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    flex-grow: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* 3. Containers & Section Geometry */
.container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}

.section {
    padding: 70px 0;
}

.bg-light {
    background-color: var(--light);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 40px;
    letter-spacing: -0.03em;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    background: var(--primary);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* 4. Modern Header & Navigation Bar */
.main-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.04);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 5%;
    max-width: 1300px;
    margin: 0 auto;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--dark);
    letter-spacing: -0.04em;
}

.brand-logo span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.92rem;
    position: relative;
    padding: 6px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-btn {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 30px;
    font-size: 0.88rem;
}

.cart-btn:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
}

.badge {
    background: var(--primary);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* 5. Buttons */
.btn, .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn {
    padding: 12px 26px;
    font-size: 0.95rem;
}

.btn-sm {
    padding: 7px 16px;
    font-size: 0.85rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white) !important;
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--dark);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary-light);
    border-color: var(--primary-dark);
    color: var(--primary-dark);
}

.btn-block {
    width: 100%;
    margin-top: 10px;
}

.remove-btn {
    color: var(--danger);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
}

.remove-btn:hover {
    text-decoration: underline;
}

/* 6. Product Card Hierarchy */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.product-card a {
    overflow: hidden;
    display: block;
}

.product-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background-color: var(--light);
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.04);
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.category-tag {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-dark);
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.product-info h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.35;
}

.rating {
    font-size: 0.85rem;
    color: var(--warning);
    margin-bottom: 12px;
}

.product-bottom {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--gray-light);
}

.price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.btn-add-cart {
    font-family: var(--font-heading);
    background: var(--dark);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-add-cart:hover {
    background: var(--primary);
}

/* 7. Shop & Filter Sidebar */
.shop-header {
    text-align: center;
    margin-bottom: 40px;
}

.shop-header h1 {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.shop-layout {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 35px;
}

.shop-sidebar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    height: fit-content;
    box-shadow: var(--shadow-sm);
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 14px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 6px;
}

.search-box {
    display: flex;
    gap: 6px;
}

.search-box input {
    flex-grow: 1;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
}

.btn-search {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-search:hover {
    background: var(--primary-dark);
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 6px;
}

.category-list a {
    text-decoration: none;
    color: var(--dark);
    font-size: 0.9rem;
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    transition: var(--transition);
}

.category-list a:hover,
.category-list a.active {
    background: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 600;
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.sort-form select {
    padding: 7px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    background: var(--white);
    cursor: pointer;
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

/* 8. Cart Page */
.cart-header {
    text-align: center;
    margin-bottom: 35px;
}

.cart-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 30px;
    align-items: flex-start;
}

.cart-table-wrapper {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    font-family: var(--font-heading);
    text-align: left;
    padding: 12px;
    border-bottom: 2px solid var(--border);
    color: var(--gray);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cart-table td {
    padding: 16px 12px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.product-col {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-thumb {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 6px;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}

.qty-btn {
    padding: 6px 12px;
    background: var(--light);
    text-decoration: none;
    color: var(--dark);
    font-weight: bold;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #e5e5e5;
}

.qty-val {
    padding: 6px 14px;
    font-weight: 600;
}

.subtotal-col {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
}

.cart-table-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.btn-clear {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-clear:hover {
    color: var(--danger);
}

.cart-summary-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow-sm);
}

.cart-summary-card h3 {
    margin-bottom: 18px;
    font-size: 1.25rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.summary-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 15px 0;
}

.total-line {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.total-price {
    color: var(--primary-dark);
}

.btn-checkout {
    display: block;
    text-align: center;
    width: 100%;
    padding: 14px;
    font-size: 1rem;
}

.empty-cart-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 15px;
}

/* 9. Forms & Authentication */
.auth-card {
    max-width: 460px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-md);
}

.auth-card h2 {
    text-align: center;
    font-size: 1.85rem;
    margin-bottom: 6px;
}

.auth-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.auth-form {
    max-width: 480px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label,
.auth-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea,
.auth-form input,
.auth-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.auth-form input:focus,
.auth-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.18);
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--gray);
}

.auth-switch a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

/* 10. Alerts & Status Badges */
.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert-error {
    background-color: var(--danger-bg);
    color: #9b1c1c;
    border: 1px solid #f8b4b4;
}

.alert-success {
    background-color: var(--success-bg);
    color: #03543f;
    border: 1px solid #84e1bc;
}

.status-badge {
    font-family: var(--font-heading);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: capitalize;
}

.status-pending { background-color: var(--warning-bg); color: #92400e; }
.status-processing { background-color: #e0e7ff; color: #3730a3; }
.status-shipped { background-color: var(--info-bg); color: #0369a1; }
.status-delivered { background-color: var(--success-bg); color: #03543f; }
.status-cancelled { background-color: var(--danger-bg); color: #9b1c1c; }

/* 11. Checkout & Account Dashboards */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 35px;
    align-items: flex-start;
}

.checkout-form-wrapper {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.checkout-items-list {
    margin: 15px 0;
}

.checkout-item-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.account-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    align-items: flex-start;
}

.account-sidebar-card,
.account-orders-wrapper {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow-sm);
}

.account-orders-wrapper h3 {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

/* 12. Product Details */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.product-gallery {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--light);
}

.main-product-img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}

.product-summary {
    display: flex;
    flex-direction: column;
}

/* 13. Categories Showcase */
.category-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.category-showcase-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 35px 20px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
}

.category-showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.cat-icon-wrapper {
    background: var(--light);
    width: 85px;
    height: 85px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border: 1px solid var(--border);
}

.large-cat-icon {
    font-size: 2.4rem;
}

.cat-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 6px;
    color: var(--dark);
}

.cat-item-count {
    font-size: 0.9rem;
    color: var(--gray);
}

/* 14. Contact & About Page */
.about-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1549465220-1a8b9238cd48?auto=format&fit=crop&w=1400&q=80') center/cover;
    color: var(--white);
    padding: 85px 0;
    text-align: center;
}

.about-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}

.info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--shadow-sm);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.value-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.value-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.value-box h4 {
    color: var(--dark);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.value-box p {
    font-size: 0.9rem;
    color: var(--gray);
}

.contact-layout {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 35px;
    align-items: flex-start;
}

.contact-info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    box-shadow: var(--shadow-sm);
}

.contact-info-card h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    font-size: 1.4rem;
    background: var(--light);
    padding: 10px;
    border-radius: 50%;
    border: 1px solid var(--border);
    line-height: 1;
}

.contact-form-wrapper {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--shadow-sm);
}

/* 15. Modern Footer */
.main-footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 25px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 45px;
    margin-bottom: 35px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.footer-logo span {
    color: var(--primary);
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 18px;
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li a {
    color: #9ca3af;
    text-decoration: none;
    line-height: 2.2;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    color: var(--gray);
    font-size: 0.88rem;
}

/* 16. Responsive Breakpoints */
@media (max-width: 900px) {
    .shop-layout,
    .cart-layout,
    .checkout-layout,
    .account-layout,
    .contact-layout,
    .about-story-grid,
    .product-detail-layout {
        grid-template-columns: 1fr;
    }
    
    .main-product-img {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
/* ==========================================================================
   Shopify Optimize Multi-Block Showcase Styles
   ========================================================================== */

/* 1. Full-Width Hero Slider Banner */
.shopify-main-hero {
    background: linear-gradient(rgba(17, 24, 39, 0.72), rgba(17, 24, 39, 0.72)), url('https://images.unsplash.com/photo-1513519245088-0e12902e5a38?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

.hero-slide-content {
    max-width: 700px;
    color: var(--white);
}

.hero-subtitle {
    font-family: var(--font-heading);
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    display: block;
    margin-bottom: 10px;
}

.hero-title {
    color: var(--white);
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}

.hero-desc {
    color: #e5e7eb;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* 2. Quad Gallery Grid */
.quad-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-tile {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 190px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.tile-inner {
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    padding: 20px;
    color: var(--white);
    position: relative;
}

.tile-1 { background: linear-gradient(to top, rgba(0,0,0,0.75), transparent), url('https://images.unsplash.com/photo-1549465220-1a8b9238cd48?auto=format&fit=crop&w=500&q=80') center/cover; }
.tile-2 { background: linear-gradient(to top, rgba(0,0,0,0.75), transparent), url('https://images.unsplash.com/photo-1513151233558-d860c5398176?auto=format&fit=crop&w=500&q=80') center/cover; }
.tile-3 { background: linear-gradient(to top, rgba(0,0,0,0.75), transparent), url('https://images.unsplash.com/photo-1513519245088-0e12902e5a38?auto=format&fit=crop&w=500&q=80') center/cover; }
.tile-4 { background: linear-gradient(to top, rgba(0,0,0,0.75), transparent), url('https://images.unsplash.com/photo-1531973576160-7125cd663d86?auto=format&fit=crop&w=500&q=80') center/cover; }

.tile-content span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    font-weight: 700;
}

.tile-content h3 {
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 700;
}

/* 3. Shopify Multi-Column Collection Block */
.shopify-collection-wrapper {
    display: grid;
    grid-template-columns: 240px 300px 1fr;
    gap: 25px;
    align-items: stretch;
}

.shopify-collection-wrapper.reversed-layout {
    grid-template-columns: 1fr 300px 240px;
}

.shopify-collection-wrapper.reversed-layout .collection-side-nav {
    order: 3;
}

.shopify-collection-wrapper.reversed-layout .collection-middle-banner {
    order: 2;
}

.shopify-collection-wrapper.reversed-layout .collection-products-grid {
    order: 1;
}

.collection-side-nav {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.side-nav-heading {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
}

.side-nav-list {
    list-style: none;
}

.side-nav-list li {
    margin-bottom: 8px;
}

.side-nav-list a {
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
    padding: 6px 0;
    transition: var(--transition);
}

.side-nav-list a:hover {
    color: var(--primary-dark);
    padding-left: 5px;
}

.view-all-side {
    color: var(--primary-dark) !important;
    font-weight: 700 !important;
    margin-top: 10px;
    border-top: 1px solid var(--border);
    padding-top: 10px !important;
}

.collection-middle-banner {
    border-radius: var(--radius-lg);
    display: flex;
    align-items: flex-end;
    padding: 30px 24px;
    box-shadow: var(--shadow-sm);
}

.banner-left {
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent), url('https://images.unsplash.com/photo-1549465220-1a8b9238cd48?auto=format&fit=crop&w=600&q=80') center/cover;
}

.banner-right {
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent), url('https://images.unsplash.com/photo-1513151233558-d860c5398176?auto=format&fit=crop&w=600&q=80') center/cover;
}

.middle-banner-text span {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.middle-banner-text h3 {
    color: var(--white);
    font-size: 1.35rem;
    margin: 6px 0 14px;
}

/* 4. Mini Product Item Card for Collection Grid */
.collection-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.shopify-product-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.shopify-product-item:hover {
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.product-thumb-wrap {
    position: relative;
    overflow: hidden;
    background: var(--light);
}

.product-thumb-wrap img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.shopify-product-item:hover .product-thumb-wrap img {
    transform: scale(1.06);
}

.thumb-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
}

.shopify-product-item:hover .thumb-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-icon {
    background: var(--white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: var(--shadow-sm);
}

.product-meta {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.meta-cat {
    font-size: 0.68rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.meta-title {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.meta-bottom {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meta-price {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
}

.btn-cart-add {
    background: var(--dark);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-cart-add:hover {
    background: var(--primary);
}

/* Responsive Adjustments */
@media (max-width: 1100px) {
    .shopify-collection-wrapper,
    .shopify-collection-wrapper.reversed-layout {
        grid-template-columns: 1fr;
    }

    .shopify-collection-wrapper.reversed-layout .collection-side-nav,
    .shopify-collection-wrapper.reversed-layout .collection-middle-banner,
    .shopify-collection-wrapper.reversed-layout .collection-products-grid {
        order: unset;
    }

    .quad-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .quad-gallery-grid {
        grid-template-columns: 1fr;
    }

    .collection-products-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}