/* ==========================================================
   SHOP FRONTEND THEME — Kalles Style
   Clean, minimal, modern fashion e-commerce
   ========================================================== */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #222;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: #c8702a; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; border: none; outline: none; }
button { cursor: pointer; }
.container { max-width: 1340px; margin: 0 auto; padding: 0 20px; }

/* --- Announcement Bar --- */
.announcement-bar {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 8px 20px;
    font-size: 12px;
    letter-spacing: .03em;
}
.announcement-bar a { color: #f59e0b; font-weight: 600; text-decoration: underline; }

/* --- Top Bar --- */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    font-size: 12px;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
    max-width: 1340px;
    margin: 0 auto;
}
.top-bar a { color: #666; }
.top-bar a:hover { color: #222; }
.top-bar-left { display: flex; gap: 16px; align-items: center; }
.top-bar-left i { margin-right: 4px; }

/* --- Header / Navbar --- */
.shop-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #eee;
}
.shop-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 64px;
    max-width: 1340px;
    margin: 0 auto;
}
.shop-logo {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #222;
}
.shop-logo:hover { color: #222; }
.nav-menu { display: flex; gap: 28px; align-items: center; }
.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: #222;
    position: relative;
    padding: 4px 0;
}
.nav-menu a:hover { color: #c8702a; }
.nav-menu a.active { color: #c8702a; }
.nav-menu .badge-new, .nav-menu .badge-hot {
    position: absolute;
    top: -8px;
    right: -16px;
    font-size: 9px;
    padding: 1px 5px;
    border-radius: 3px;
    font-weight: 700;
    text-transform: uppercase;
}
.nav-menu .badge-new { background: #22c55e; color: #fff; }
.nav-menu .badge-hot { background: #ef4444; color: #fff; }

/* Dropdown Menus */
.nav-dropdown { position: relative; }
.nav-dropdown > a {
    font-size: 14px;
    font-weight: 500;
    color: #222;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 2px;
    cursor: pointer;
}
.nav-dropdown > a:hover { color: #c8702a; }
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    padding: 8px 0;
    z-index: 1000;
    margin-top: 10px;
}
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
    display: block;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 400;
    color: #444;
    white-space: nowrap;
    transition: background .15s, color .15s;
}
.nav-dropdown-menu a:hover {
    background: #f8f8f8;
    color: #c8702a;
}

/* Search Overlay */
.search-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.5);
    z-index: 9999;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
}
.search-overlay.open { display: flex; }
.search-overlay-inner {
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 16px 48px rgba(0,0,0,.2);
}
.search-overlay-form {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
}
.search-overlay-icon { font-size: 20px; color: #999; flex-shrink: 0; }
.search-overlay-form input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 18px;
    padding: 8px 0;
    background: transparent;
    color: #222;
    font-family: inherit;
}
.search-overlay-form input::placeholder { color: #aaa; }
.search-overlay-close {
    background: none;
    border: none;
    font-size: 22px;
    color: #666;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    flex-shrink: 0;
}
.search-overlay-close:hover { color: #222; }

.nav-icons { display: flex; gap: 16px; align-items: center; }
.nav-icons a, .nav-icons button {
    background: none;
    border: none;
    color: #222;
    font-size: 20px;
    position: relative;
    padding: 0;
    line-height: 1;
    cursor: pointer;
}
.nav-icons .cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #222;
    color: #fff;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Order Food button in header */
.of-header-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    background: #f97316 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600;
    padding: 8px 16px !important;
    border-radius: 8px;
    text-decoration: none;
    transition: background .2s, transform .15s;
    white-space: nowrap;
    line-height: 1.2;
}
.of-header-btn:hover {
    background: #ea580c !important;
    transform: translateY(-1px);
}
.of-header-btn i { font-size: 16px; }
@media (max-width: 768px) {
    .of-header-btn-text { display: none; }
    .of-header-btn { padding: 6px 10px !important; }
}

/* Mobile menu toggle */
.mobile-toggle { display: none; background: none; font-size: 24px; color: #222; }

/* --- Category Bar --- */
.category-bar {
    background: #fff;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.category-bar .container {
    display: flex;
    gap: 24px;
    padding: 12px 20px;
    justify-content: center;
}
.category-bar a {
    font-size: 13px;
    font-weight: 500;
    color: #555;
    padding: 4px 0;
    flex-shrink: 0;
}
.category-bar a:hover, .category-bar a.active { color: #c8702a; }

/* --- Hero / Slider --- */
.hero-section {
    position: relative;
    background: #f5f5f5;
    overflow: hidden;
}
.hero-slide {
    display: flex;
    align-items: center;
    min-height: 520px;
    padding: 60px 0;
}
.hero-content {
    max-width: 500px;
    padding: 0 60px;
    z-index: 2;
}
.hero-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #c8702a;
    margin-bottom: 12px;
}
.hero-title {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.15;
    color: #222;
    margin-bottom: 28px;
    font-family: 'Playfair Display', Georgia, serif;
}
.hero-image {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 55%;
    object-fit: cover;
    z-index: 1;
}
.hero-circle {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255, 200, 200, 0.3);
    z-index: 0;
}
.hero-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 20px 0 30px;
}
.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: background .2s;
}
.hero-dot.active { background: #222; }

/* --- Buttons --- */
.btn-shop {
    display: inline-block;
    padding: 14px 32px;
    background: #222;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    border: 2px solid #222;
    transition: all .25s;
}
.btn-shop:hover { background: #fff; color: #222; }
.btn-shop-outline {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    color: #222;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    border: 2px solid #222;
    transition: all .25s;
}
.btn-shop-outline:hover { background: #222; color: #fff; }
.btn-checkout {
    display: block;
    width: 100%;
    padding: 14px;
    background: #c8702a;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    border: none;
    border-radius: 4px;
    transition: background .2s;
    text-align: center;
}
.btn-checkout:hover { background: #a65c1f; color: #fff; }
.btn-view-cart {
    display: block;
    width: 100%;
    padding: 14px;
    background: #fff;
    color: #222;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    border: 2px solid #222;
    text-align: center;
    transition: all .2s;
}
.btn-view-cart:hover { background: #222; color: #fff; }

/* --- Section Titles --- */
.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 400;
    font-family: 'Playfair Display', Georgia, serif;
    margin-bottom: 32px;
    color: #222;
}
.section-subtitle {
    text-align: center;
    font-size: 13px;
    color: #888;
    margin-top: -24px;
    margin-bottom: 32px;
}

/* --- Category Banner --- */
.category-banner {
    position: relative;
    background: linear-gradient(135deg, #a8c0c8 0%, #8ba8b6 100%);
    text-align: center;
    padding: 48px 20px;
    color: #fff;
    overflow: hidden;
}
.category-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
}
.category-banner h1 {
    position: relative;
    font-size: 32px;
    font-weight: 400;
    font-family: 'Playfair Display', Georgia, serif;
    margin-bottom: 8px;
}
.category-banner p {
    position: relative;
    font-size: 13px;
    opacity: .9;
}

/* --- Product Grid --- */
.products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    margin-bottom: 8px;
    border-bottom: 1px solid #eee;
}
.products-toolbar .filter-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #222;
    background: none;
    border: none;
}
.grid-toggle { display: flex; gap: 4px; }
.grid-toggle button {
    background: none;
    border: none;
    padding: 4px;
    color: #bbb;
    font-size: 18px;
    transition: color .2s;
}
.grid-toggle button.active { color: #222; }
.products-toolbar select {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    color: #222;
    background: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 20px 0 40px;
}
.product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.product-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.product-card-image {
    position: relative;
    overflow: hidden;
    background: #f8f8f8;
    border-radius: 2px;
    aspect-ratio: 3/4;
}
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    z-index: 2;
}
.product-card-badge.new { background: #22c55e; }
.product-card-badge.sale { background: #ef4444; }
.product-card-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 8px;
    transform: translateY(100%);
    transition: transform .3s ease;
    z-index: 2;
}
.product-card:hover .product-card-actions { transform: translateY(0); }
.product-card-actions button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    color: #222;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.product-card-actions button:hover { background: #222; color: #fff; border-color: #222; }
.product-card-info {
    padding: 12px 0 4px;
}
.product-card-name {
    font-size: 13px;
    font-weight: 400;
    color: #222;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-card-price {
    font-size: 14px;
    font-weight: 600;
    color: #222;
}
.product-card-price .original {
    text-decoration: line-through;
    color: #999;
    font-weight: 400;
    margin-right: 6px;
    font-size: 13px;
}
.product-card-price .sale { color: #ef4444; }
.product-card-swatches {
    display: flex;
    gap: 4px;
    margin-top: 6px;
}
.product-card-swatches span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #eee;
    cursor: pointer;
}

/* --- Category Tiles --- */
.category-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 40px 0;
}
.category-tile {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    aspect-ratio: 4/5;
}
.category-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.category-tile:hover img { transform: scale(1.05); }
.category-tile-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.5));
    color: #fff;
}
.category-tile-overlay h3 {
    font-size: 18px;
    font-weight: 500;
    font-family: 'Playfair Display', Georgia, serif;
}

/* --- Cart Sidebar (Drawer) --- */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 90vw;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform .35s ease;
    display: flex;
    flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
}
.cart-drawer-header h2 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.cart-drawer-close {
    background: none;
    font-size: 24px;
    color: #222;
    padding: 0;
}
.cart-shipping-msg {
    padding: 12px 24px;
    background: #f8f8f8;
    font-size: 12px;
    color: #555;
    text-align: center;
}
.cart-shipping-msg strong { color: #c8702a; }
.cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 0 24px;
}
.cart-drawer-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}
.cart-drawer-item-img {
    width: 90px;
    height: 110px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #f5f5f5;
}
.cart-drawer-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-drawer-item-info { flex: 1; }
.cart-drawer-item-name { font-size: 14px; font-weight: 600; margin-bottom: 2px; color: #222; }
.cart-drawer-item-variant { font-size: 12px; color: #888; margin-bottom: 8px; }
.cart-drawer-item-price { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.cart-drawer-item-price .original { text-decoration: line-through; color: #999; font-weight: 400; margin-right: 6px; }
.cart-drawer-item-price .sale { color: #c8702a; }
.qty-controls {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}
.qty-controls button {
    width: 32px;
    height: 32px;
    background: #fff;
    border: none;
    font-size: 16px;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-controls button:hover { background: #f5f5f5; }
.qty-controls input {
    width: 40px;
    height: 32px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    font-size: 13px;
    font-weight: 600;
    color: #222;
}
.cart-drawer-item-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}
.cart-drawer-item-actions button {
    background: none;
    border: none;
    font-size: 16px;
    color: #999;
    padding: 2px;
}
.cart-drawer-item-actions button:hover { color: #222; }
.cart-drawer-footer {
    padding: 20px 24px;
    border-top: 1px solid #eee;
}
.cart-drawer-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}
.cart-drawer-note {
    font-size: 12px;
    color: #888;
    margin-bottom: 12px;
}
.cart-drawer-terms {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #666;
    margin-bottom: 14px;
}
.cart-drawer-terms input { width: 14px; height: 14px; }
.cart-drawer-buttons { display: flex; flex-direction: column; gap: 8px; }
.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    color: #999;
    gap: 12px;
    font-size: 14px;
}
.cart-empty i { font-size: 48px; opacity: .3; }

/* --- Full Cart Page --- */
.cart-page { padding: 40px 0 60px; }
.cart-page-banner {
    background: linear-gradient(135deg, #7a8a8e 0%, #5a6a6e 100%);
    text-align: center;
    padding: 36px 20px;
    color: #fff;
    margin-bottom: 40px;
}
.cart-page-banner h1 {
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
}
.cart-table {
    width: 100%;
    border-collapse: collapse;
}
.cart-table thead th {
    text-align: left;
    padding: 12px 0;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #222;
    border-bottom: 2px solid #222;
}
.cart-table tbody td {
    padding: 24px 0;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}
.cart-table .cart-product-cell {
    display: flex;
    align-items: center;
    gap: 20px;
}
.cart-table .cart-product-img {
    width: 100px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #f5f5f5;
}
.cart-table .cart-product-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-table .cart-product-name { font-size: 14px; font-weight: 500; }
.cart-table .cart-product-remove {
    background: none;
    border: none;
    font-size: 16px;
    color: #999;
    margin-top: 6px;
    display: block;
}
.cart-table .cart-product-remove:hover { color: #ef4444; }
.cart-table .cart-price { font-size: 14px; color: #222; }
.cart-table .cart-total { font-size: 14px; font-weight: 600; color: #222; }

.cart-page-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.cart-order-note { flex: 1; min-width: 280px; }
.cart-order-note h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}
.cart-order-note h3 a { color: #222; text-decoration: underline; }
.cart-order-note textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
    font-size: 13px;
    min-height: 100px;
}
.cart-summary {
    text-align: right;
    min-width: 300px;
}
.cart-summary-total {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}
.cart-summary-note {
    font-size: 12px;
    color: #888;
    margin-bottom: 12px;
}
.cart-summary .cart-terms {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
    font-size: 12px;
    color: #666;
    margin-bottom: 14px;
}
.cart-summary .cart-terms input { width: 14px; height: 14px; }
.cart-trust-badges {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 16px;
    opacity: .5;
}
.cart-trust-badges img { height: 28px; }

/* --- Checkout Form --- */
.checkout-section { padding: 40px 0 60px; }
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}
.checkout-form h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}
.checkout-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkout-form .form-group { margin-bottom: 16px; }
.checkout-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #555;
    margin-bottom: 6px;
}
.checkout-form input, .checkout-form select, .checkout-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #222;
    background: #fff;
    transition: border-color .2s;
}
.checkout-form input:focus, .checkout-form select:focus, .checkout-form textarea:focus {
    border-color: #222;
}
.checkout-summary {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 28px;
    position: sticky;
    top: 80px;
}
.checkout-summary h2 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}
.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 13px;
}
.checkout-summary-item .name { flex: 1; }
.checkout-summary-item .qty { color: #888; margin-left: 4px; }
.checkout-summary-item .price { font-weight: 600; }
.checkout-summary-line {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
    color: #555;
}
.checkout-summary-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0 0;
    margin-top: 8px;
    border-top: 2px solid #222;
    font-size: 18px;
    font-weight: 700;
}

/* --- Instagram Section --- */
.instagram-section {
    padding: 48px 0 0;
    text-align: center;
}
.instagram-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #222;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.instagram-title::before, .instagram-title::after {
    content: '';
    width: 60px;
    height: 1px;
    background: #ccc;
}
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
}
.instagram-grid a {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
}
.instagram-grid a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.instagram-grid a:hover img { transform: scale(1.1); }
.instagram-grid .ig-count {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Footer --- */
.shop-footer {
    background: #fff;
    border-top: 1px solid #eee;
    padding: 48px 0 32px;
    margin-top: 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
    gap: 32px;
}
.footer-col h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #222;
    font-family: 'Playfair Display', Georgia, serif;
}
.footer-col p, .footer-col a {
    font-size: 13px;
    color: #666;
    line-height: 2;
    display: block;
}
.footer-col a:hover { color: #c8702a; }
.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin-bottom: 16px;
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}
.footer-contact-item i { color: #c8702a; margin-top: 3px; }
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}
.footer-social a {
    font-size: 16px;
    color: #666;
}
.footer-social a:hover { color: #222; }
.footer-newsletter input[type="email"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 13px;
    flex: 1;
}
.footer-newsletter {
    display: flex;
    margin-top: 8px;
}
.footer-newsletter button {
    padding: 10px 20px;
    background: #222;
    color: #fff;
    border: 1px solid #222;
    border-radius: 0 4px 4px 0;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.footer-newsletter button:hover { background: #444; }
.footer-payments {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.footer-payments img { height: 24px; opacity: .6; }
.footer-bottom {
    text-align: center;
    padding-top: 24px;
    margin-top: 32px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #999;
}

/* --- Loading / Toast --- */
.shop-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: #222;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transition: all .3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.shop-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .checkout-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 36px; }
    .hero-image { width: 45%; }
}
/* --- Breadcrumbs --- */
.breadcrumbs { background: #f9f9f9; padding: 12px 0; font-size: 13px; }
.breadcrumbs ol { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; flex-wrap: wrap; }
.breadcrumbs li::after { content: '/'; margin-left: 8px; color: #bbb; }
.breadcrumbs li:last-child::after { display: none; }
.breadcrumbs a { color: #666; text-decoration: none; }
.breadcrumbs a:hover { color: #222; }
.breadcrumbs li:last-child { color: #222; font-weight: 500; }

/* --- Product Detail Page --- */
.product-detail { padding: 40px 0 60px; }
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.product-gallery { position: sticky; top: 100px; }
.product-gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: #f9f9f9;
    border-radius: 4px;
    overflow: hidden;
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
}
.product-thumb {
    width: 72px; height: 72px;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    background: #f5f5f5;
    flex-shrink: 0;
}
.product-thumb.active { border-color: #222; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info h1 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 16px;
    line-height: 1.3;
}
.product-info-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #888;
    margin-bottom: 8px;
}
.product-info-price { margin-bottom: 20px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.price-original { font-size: 18px; color: #999; text-decoration: line-through; }
.price-sale { font-size: 22px; font-weight: 700; color: #d32f2f; }
.price-current { font-size: 22px; font-weight: 700; color: #222; }
.price-save {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: #d32f2f;
    padding: 3px 8px;
    border-radius: 3px;
}
.product-info-desc { font-size: 14px; line-height: 1.7; color: #555; margin-bottom: 20px; }
.product-info-stock { font-size: 13px; margin-bottom: 20px; display: flex; align-items: center; }

.product-add-to-cart {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}
.product-add-to-cart .qty-controls { height: 48px; }
.product-add-to-cart .qty-controls input { width: 50px; text-align: center; }
.btn-add-to-cart {
    flex: 1;
    height: 48px;
    background: #222;
    color: #fff;
    border: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-add-to-cart:hover { background: #444; }

.product-trust {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    font-size: 13px;
    color: #555;
}
.product-trust i { margin-right: 8px; color: #222; }

.product-accordion {
    border-bottom: 1px solid #eee;
}
.product-accordion summary {
    padding: 14px 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.product-accordion summary::-webkit-details-marker { display: none; }
.product-accordion summary::after { content: '+'; font-size: 18px; color: #888; }
.product-accordion[open] summary::after { content: '−'; }
.product-accordion-body { padding: 0 0 16px; font-size: 14px; line-height: 1.7; color: #555; }

/* --- Product Card Link --- */
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.product-card-link:hover .product-card-name { color: #d32f2f; }

/* --- Product card actions repositioned for SEO link structure --- */
.product-card { position: relative; }
.product-card .product-card-actions {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    transition: all .3s;
    display: flex;
    gap: 6px;
    z-index: 2;
}
.product-card:hover .product-card-actions {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.product-card .product-card-actions button,
.product-card .product-card-actions a {
    width: 38px; height: 38px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #222;
    text-decoration: none;
    transition: all .2s;
}
.product-card .product-card-actions button:hover,
.product-card .product-card-actions a:hover {
    background: #222;
    color: #fff;
    border-color: #222;
}

@media (max-width: 768px) {
    .shop-nav { position: relative; }
    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
        box-shadow: 0 8px 24px rgba(0,0,0,.1);
        padding: 0;
        z-index: 999;
        max-height: 70vh;
        overflow-y: auto;
    }
    .nav-menu.show { display: flex; }
    .nav-menu > a {
        padding: 14px 24px;
        font-size: 15px;
        border-bottom: 1px solid #f2f2f2;
    }
    .nav-dropdown {
        border-bottom: 1px solid #f2f2f2;
    }
    .nav-dropdown > a {
        padding: 14px 24px;
        font-size: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .nav-dropdown > a i { transition: transform .2s; }
    .nav-dropdown.open > a i { transform: rotate(180deg); }
    .nav-dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        margin-top: 0;
        padding: 0;
        display: none;
        background: #fafafa;
        border-top: 1px solid #f0f0f0;
    }
    .nav-dropdown.open .nav-dropdown-menu { display: block; }
    .nav-dropdown:hover .nav-dropdown-menu { display: none; }
    .nav-dropdown.open:hover .nav-dropdown-menu { display: block; }
    .nav-dropdown-menu a {
        padding: 12px 24px 12px 44px;
        font-size: 14px;
        border-bottom: 1px solid #f0f0f0;
    }
    .nav-dropdown-menu a:last-child { border-bottom: none; }
    .mobile-toggle { display: block; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .category-tiles { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-slide { min-height: 360px; }
    .hero-title { font-size: 28px; }
    .hero-content { padding: 0 24px; }
    .hero-image { display: none; }
    .hero-circle { display: none; }
    .top-bar { display: none; }
    .cart-table .cart-product-img { width: 70px; height: 85px; }
    .cart-page-footer { flex-direction: column; }
    .cart-summary { text-align: left; min-width: unset; }
    .instagram-grid { grid-template-columns: repeat(4, 1fr); }
    .product-detail-grid { grid-template-columns: 1fr; gap: 24px; }
    .product-gallery { position: static; }
    .product-add-to-cart { flex-direction: column; }
    .product-add-to-cart .qty-controls { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .footer-grid { grid-template-columns: 1fr; }
    .instagram-grid { grid-template-columns: repeat(3, 1fr); }
    .category-tiles { grid-template-columns: 1fr; }
}
