/* Blumsy - Ecommerce Styles (geschenke.de inspired) */


:root {
    --primary: #0fb9b1;
    --primary-dark: #0a9e97;
    --primary-light: #e8f8f7;
    --primary-rgb: 15, 185, 177;
    --bs-primary: #0fb9b1;
    --bs-primary-rgb: 15, 185, 177;
    --accent: #ff6b6b;
    --text-dark: #2d3436;
    --text-muted: #636e72;
    --text-light: #b2bec3;
    --bg-light: #f7f9fc;
    --bg-warm: #fafafa;
    --border-light: #eef1f5;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
    --shadow-hover: 0 12px 36px rgba(15,185,177,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-pill: 50px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text-dark);
    background: var(--bg-warm);
    font-size: 0.95rem;
    line-height: 1.6;
}

main {
    flex: 1;
}

a {
    color: var(--primary);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* ==========================================
   TOP BAR
   ========================================== */
.top-bar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    font-size: 0.75rem;
    padding: 5px 0;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.top-bar span {
    opacity: 0.95;
}

.top-bar .top-bar-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    display: inline-block;
}

/* ==========================================
   SITE HEADER
   ========================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: white;
    box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
    background: transparent !important;
    padding: 0.7rem 0;
    border-bottom: none;
    box-shadow: none;
    position: relative;
    z-index: 1021;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--primary) !important;
    text-transform: lowercase;
    margin-right: 1rem;
}

.navbar-brand:hover {
    color: var(--primary-dark) !important;
}

/* ==========================================
   NAV ICON BUTTONS
   ========================================== */
.nav-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    border: none;
    background: transparent;
    color: var(--text-dark);
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    padding: 0 0.4rem;
    position: relative;
    white-space: nowrap;
    gap: 0;
}

.nav-icon-btn:hover {
    background: var(--bg-light);
    color: var(--primary);
    text-decoration: none;
}

.nav-icon-btn.dropdown-toggle::after {
    display: none;
}

.nav-icon-btn .small,
.nav-icon-btn .fw-medium {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.nav-icon-btn:hover .small,
.nav-icon-btn:hover .fw-medium {
    color: var(--primary);
}

/* Rounded search bar */
.search-form {
    max-width: 420px;
    width: 100%;
    position: relative;
}

.search-form .input-group {
    border-radius: var(--radius-pill);
    overflow: hidden;
    border: 2px solid var(--border-light);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: var(--bg-light);
}

.search-form .input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15,185,177,0.15);
    background: white;
}

.search-form .form-control {
    border: none;
    background: transparent;
    padding: 0.55rem 1.2rem;
    font-size: 0.88rem;
    font-weight: 400;
}

.search-form .form-control:focus {
    box-shadow: none;
}

.search-form .btn {
    border: none;
    background: transparent;
    color: var(--text-muted);
    padding: 0.55rem 1rem;
    font-size: 1.05rem;
}

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

/* Live search dropdown */
.live-search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    z-index: 1050;
    overflow: hidden;
    animation: liveSearchIn 0.15s ease-out;
}

.live-search-dropdown.is-open {
    display: block;
}

@keyframes liveSearchIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.live-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--text-dark);
    transition: background 0.12s;
}

.live-search-item:hover,
.live-search-item.is-active {
    background: var(--bg-light);
    color: var(--text-dark);
}

.live-search-item-img {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--bg-light);
}

.live-search-item-placeholder {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-light);
    font-size: 1.1rem;
}

.live-search-item-info {
    flex: 1;
    min-width: 0;
}

.live-search-item-name {
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-search-item-name mark {
    background: rgba(var(--primary-rgb), 0.15);
    color: var(--primary-dark);
    padding: 0 2px;
    border-radius: 2px;
}

.live-search-item-price {
    font-size: 0.8rem;
    color: var(--primary-dark);
    font-weight: 600;
}

.live-search-item-price .price-old {
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 6px;
    font-size: 0.75rem;
}

.live-search-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    background: var(--bg-light);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    border-top: 1px solid var(--border-light);
    transition: background 0.12s;
}

.live-search-footer:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.live-search-empty {
    padding: 24px 14px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.live-search-empty i {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 6px;
    opacity: 0.4;
}

.live-search-loading {
    padding: 20px 14px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Search results page */
.search-hero {
    text-align: center;
    padding: 2.5rem 0 1.5rem;
}

.search-hero h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.search-hero .search-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.search-hero .search-meta strong {
    color: var(--primary-dark);
    font-weight: 600;
}

.search-empty-state {
    text-align: center;
    padding: 4rem 1rem;
}

.search-empty-state .empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.search-empty-state .empty-icon i {
    font-size: 2rem;
    color: var(--text-light);
}

.search-empty-state h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.search-empty-state p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

/* Cart badge */
.cart-badge {
    top: 2px;
    right: 2px;
    font-size: 0.55rem;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    padding: 0 4px;
    text-align: center;
    background: var(--accent) !important;
    color: white;
    border-radius: 50%;
    font-weight: 700;
    pointer-events: none;
}

/* Nav CTA button */
.navbar .btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    border-radius: var(--radius-pill);
    padding: 0.4rem 1.2rem;
    font-weight: 600;
    font-size: 0.82rem;
    transition: all 0.2s ease;
}

.navbar .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15,185,177,0.3);
}

/* Dropdown menu */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    animation: fadeInDown 0.2s ease;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
    border-radius: var(--radius-sm);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.dropdown-item.active {
    background: var(--primary);
}

/* ==========================================
   HERO SECTION (geschenke.de style)
   ========================================== */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, #0cdcc8 50%, #06b8a5 100%);
    border-radius: var(--radius-xl);
    margin: 1.5rem auto;
    max-width: 1200px;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-section--image {
    min-height: 340px;
    display: flex;
    align-items: center;
}

.hero-section--center {
    text-align: center;
    justify-content: center;
}

.hero-section--center .hero-content {
    max-width: 650px;
    margin: 0 auto;
}

.hero-section--center .hero-actions {
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: #000;
    border-radius: var(--radius-xl);
    pointer-events: none;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}

.hero-section--image::before,
.hero-section--image::after {
    display: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

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

.hero-section h1 {
    font-weight: 800;
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-hero {
    background: white;
    color: var(--primary-dark);
    border: none;
    border-radius: var(--radius-pill);
    padding: 0.8rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.btn-hero:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-hero-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: var(--radius-pill);
    padding: 0.8rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    background: rgba(255,255,255,0.15);
    color: white;
    border-color: white;
    transform: translateY(-2px);
}

/* Override Bootstrap bg-primary */
.bg-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #0cdcc8 50%, #06b8a5 100%) !important;
}

/* ==========================================
   SECTION HEADINGS
   ========================================== */
.section-heading {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-heading h2 {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-heading p {
    color: var(--text-muted);
    font-size: 1rem;
}

.section-heading .underline {
    width: 50px;
    height: 3px;
    background: var(--primary);
    margin: 0.75rem auto 0;
    border-radius: 3px;
}

/* ==========================================
   CATEGORY TILES (geschenke.de style - rounded images)
   ========================================== */
.category-tile {
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    display: block;
    transition: transform 0.3s ease;
}

.category-tile:hover {
    transform: translateY(-5px);
    color: var(--primary);
}

.category-tile .cat-img-wrap {
    width: 120px;
    height: 120px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--border-light);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.category-tile:hover .cat-img-wrap {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(15,185,177,0.2);
}

.category-tile .cat-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-tile .cat-img-wrap i {
    font-size: 2.5rem;
    color: var(--primary);
}

.category-tile h6 {
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0;
}

/* ==========================================
   PRODUCT CARDS (geschenke.de style)
   ========================================== */
.product-card {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-card .card-img-top {
    border-bottom: none;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.product-card .card-img-wrap {
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.product-card .card-body {
    padding: 1rem 1.2rem 1.2rem;
}

.product-card .card-title {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .card-title a {
    color: var(--text-dark);
    text-decoration: none;
}

.product-card .card-title a:hover {
    color: var(--primary);
}

/* Sale badge */
.product-card .badge-sale {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: white;
    border-radius: var(--radius-pill);
    padding: 0.3em 0.8em;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(255,107,107,0.3);
}

/* Wishlist icon on card */
.product-card .wishlist-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    z-index: 2;
    font-size: 1rem;
}

.product-card .wishlist-icon:hover,
.product-card .wishlist-icon.active {
    color: var(--accent);
    box-shadow: var(--shadow-md);
}

/* Price styling */
.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.price-current {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.price-old {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 0.9rem;
}

.price-save {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Add to cart button */
.btn-add-cart {
    background: var(--primary);
    border: none;
    color: white;
    border-radius: var(--radius-pill);
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.85rem;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-add-cart:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15,185,177,0.3);
}

.btn-add-cart:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* VAT notice */
.vat-notice {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.vat-notice a {
    color: var(--text-muted);
    text-decoration: underline;
}

/* ==========================================
   BUTTONS (global)
   ========================================== */
.btn-primary {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    border-radius: var(--radius-pill);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    box-shadow: 0 4px 12px rgba(15,185,177,0.3);
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    border-radius: var(--radius-pill);
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: var(--primary) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(15,185,177,0.3);
}

.btn-outline-secondary {
    border-radius: var(--radius-pill);
}

.btn-outline-danger {
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 0.7rem 2rem;
    font-size: 1rem;
}

/* ==========================================
   CARDS (general)
   ========================================== */
.card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.card-header {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
    font-weight: 600;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
}

/* ==========================================
   FORM CONTROLS
   ========================================== */
.form-control,
.form-select {
    border-radius: var(--radius-sm);
    border: 2px solid var(--border-light);
    padding: 0.6rem 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-size: 0.9rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15,185,177,0.15);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* ==========================================
   RATING STARS
   ========================================== */
.stars .bi-star-fill {
    color: #fbbf24;
}

.stars .bi-star {
    color: #e2e8f0;
}

.stars .bi-star-half {
    color: #fbbf24;
}

/* ==========================================
   WISHLIST BUTTON
   ========================================== */
.wishlist-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
}

.wishlist-btn:hover,
.wishlist-btn.active {
    color: var(--accent);
    transform: scale(1.15);
}

/* ==========================================
   CART TABLE
   ========================================== */
.cart-table img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.cart-table .quantity-input {
    width: 70px;
    text-align: center;
}

/* ==========================================
   CHECKOUT
   ========================================== */
.checkout-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.checkout-step {
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-pill);
    margin: 0 0.5rem;
    background: var(--bg-light);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.checkout-step.active {
    background: var(--primary);
    color: white;
}

/* ==========================================
   SIDEBAR FILTERS
   ========================================== */
.filter-section {
    margin-bottom: 1.5rem;
}

.filter-section h6 {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
    color: var(--text-dark);
}

/* ==========================================
   BADGE STATUS (orders)
   ========================================== */
.badge-pending { background-color: #fbbf24 !important; color: #000; }
.badge-processing { background-color: #38bdf8 !important; }
.badge-shipped { background-color: #818cf8 !important; }
.badge-delivered { background-color: #34d399 !important; }
.badge-cancelled { background-color: #f87171 !important; }
.badge-refunded { background-color: #94a3b8 !important; }

.badge {
    border-radius: var(--radius-pill);
    padding: 0.35em 0.8em;
    font-weight: 500;
    font-size: 0.8rem;
}

/* ==========================================
   FOOTER (geschenke.de style)
   ========================================== */
footer {
    background: #1a1a2e !important;
    color: #ddd;
}

footer h5, footer h6 {
    color: white;
    font-weight: 700;
}

footer a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.2s;
}

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

footer hr {
    border-color: rgba(255,255,255,0.1);
}

/* ==========================================
   COOKIE CONSENT
   ========================================== */
#cookie-consent {
    box-shadow: 0 -4px 30px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* ==========================================
   ALERTS
   ========================================== */
.alert {
    border-radius: var(--radius-md);
    border: none;
    font-size: 0.9rem;
}

/* ==========================================
   PAGE CONTENT
   ========================================== */
.page-content h1, .page-content h2, .page-content h3 {
    font-weight: 700;
}

/* ==========================================
   PAGINATION
   ========================================== */
.page-link {
    border-radius: var(--radius-sm) !important;
    margin: 0 2px;
    border: none;
    color: var(--text-dark);
    font-weight: 500;
}

.page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}

.page-link:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* ==========================================
   SCROLLBAR
   ========================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--text-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 991px) {
    .hero-section {
        margin: 1rem;
        padding: 2.5rem 1.5rem;
        border-radius: var(--radius-lg);
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .category-tile .cat-img-wrap {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.4rem;
    }

    .nav-icon-btn {
        min-width: 34px;
        height: 34px;
        font-size: 1.05rem;
        padding: 0 0.3rem;
    }

    .hero-section {
        padding: 2rem 1.2rem;
    }

    .hero-section h1 {
        font-size: 1.6rem;
    }

    .product-card .card-img-top {
        height: 180px !important;
    }

    .section-heading h2 {
        font-size: 1.4rem;
    }

    .category-tile .cat-img-wrap {
        width: 75px;
        height: 75px;
    }

    .top-bar {
        font-size: 0.68rem;
    }
}

/* ==========================================
   SHARE BUTTONS
   ========================================== */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 1rem 0;
}

.share-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-right: 0.3rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border-light);
    background: white;
    color: var(--text-muted);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    padding: 0;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.share-facebook:hover { background: #1877f2; color: white; border-color: #1877f2; }
.share-twitter:hover { background: #000; color: white; border-color: #000; }
.share-whatsapp:hover { background: #25d366; color: white; border-color: #25d366; }
.share-pinterest:hover { background: #e60023; color: white; border-color: #e60023; }
.share-linkedin:hover { background: #0a66c2; color: white; border-color: #0a66c2; }
.share-email:hover { background: var(--text-dark); color: white; border-color: var(--text-dark); }
.share-copy:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-primary {
    color: var(--primary) !important;
}

.bg-primary-light {
    background: var(--primary-light);
}

.rounded-xl {
    border-radius: var(--radius-xl);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* ==========================================
   MEGA MENU NAVIGATION (Modern)
   ========================================== */
.mega-nav {
    padding: 0;
    border-top: 1px solid var(--border-light);
    position: relative;
    z-index: 1020;
    background: white;
}

.mega-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2px;
}

.mega-nav-item {
    position: relative;
}

.mega-nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0.65rem 0.9rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
    border-radius: var(--radius-sm);
    position: relative;
    letter-spacing: 0.01em;
}

.mega-nav-link:hover,
.mega-nav-item:hover > .mega-nav-link {
    color: var(--primary);
    background: var(--primary-light);
}

.mega-nav-link--accent {
    color: var(--accent);
    font-weight: 600;
}

.mega-nav-link--accent:hover {
    color: #e55a5a;
    background: #fff0f0;
}

/* Badge on nav link */
.mega-badge {
    font-size: 0.55rem;
    padding: 2px 6px;
    border-radius: 10px;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    position: relative;
    top: -1px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Mega Dropdown */
.mega-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.04);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1050;
    overflow: hidden;
}

.mega-nav-item:hover > .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-dropdown-inner {
    padding: 0;
}

/* Link area */
.mega-link-area {
    padding: 1.5rem 1.5rem 1rem;
    margin: 0;
}

.mega-col {
    padding-right: 1.5rem !important;
}

/* Column header */
.mega-col-header {
    margin-bottom: 0.8rem;
}

.mega-header-img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 0.6rem;
    display: block;
    transition: transform 0.3s ease;
}

.mega-col:hover .mega-header-img {
    transform: scale(1.03);
}

.mega-col-header-text {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-dark);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 0.3rem;
}

.mega-col-header-text i {
    color: var(--primary);
    font-size: 1rem;
}

.mega-col-header-text a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.mega-col-header-text a:hover {
    color: var(--primary);
}

.mega-col-subtitle {
    font-size: 0.73rem;
    font-weight: 400;
    color: var(--text-muted);
    margin: 0.15rem 0 0;
    line-height: 1.4;
}

/* Sub list */
.mega-sub-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-sub-list li {
    margin-bottom: 0;
}

.mega-divider {
    height: 1px;
    background: var(--border-light);
    margin: 0.4rem 0;
}

.mega-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.84rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    margin: 1px -0.6rem;
    line-height: 1.4;
}

.mega-link:hover {
    color: var(--primary-dark);
    background: rgba(15,185,177,0.06);
    transform: translateX(3px);
}

.mega-link-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(15,185,177,0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.mega-link:hover .mega-link-icon {
    background: var(--primary);
    color: white;
}

.mega-link-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.mega-link-sub {
    font-size: 0.72rem;
    color: var(--text-light);
    margin-top: 1px;
}

/* Thumbnail in mega items */
.mega-item-thumb {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border-light);
    transition: border-color 0.2s;
}

.mega-link:hover .mega-item-thumb {
    border-color: var(--primary);
}

/* Small badge inside items */
.mega-item-badge {
    font-size: 0.55rem;
    padding: 1px 5px;
    border-radius: 8px;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-left: 4px;
    vertical-align: middle;
}

/* ---- Promo / Image Sidebar ---- */
.mega-promo-col {
    background: linear-gradient(135deg, #f8f9fc 0%, #eef1f5 100%);
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border-light);
}

.mega-promo-block {
    display: block;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    flex: 1;
    min-height: 180px;
}

.mega-promo-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mega-promo-block:hover img {
    transform: scale(1.08);
}

.mega-promo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.2rem;
    background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
    color: white;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mega-promo-overlay strong {
    font-size: 1rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.mega-promo-overlay span {
    font-size: 0.8rem;
    opacity: 0.9;
}

.mega-promo-badge {
    display: inline-block;
    font-size: 0.6rem;
    padding: 3px 8px;
    border-radius: 10px;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    width: fit-content;
    margin-top: 4px;
    letter-spacing: 0.3px;
}

.mega-promo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-light);
    gap: 0.5rem;
}

.mega-promo-placeholder i {
    font-size: 2.5rem;
    opacity: 0.3;
}

/* Fallback promo (for category-based nav) */
.mega-promo {
    background: var(--primary-light);
    border-radius: var(--radius-md);
    padding: 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mega-promo img {
    border-radius: var(--radius-md);
    width: 100%;
}

/* ==========================================
   MOBILE MENU
   ========================================== */
.mobile-menu {
    background: white;
    border-top: 1px solid var(--border-light);
    padding: 0.5rem 0 1rem;
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-list > li {
    border-bottom: 1px solid var(--border-light);
}

.mobile-menu-list > li:last-child {
    border-bottom: none;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 0.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.15s;
}

.mobile-menu-link:hover {
    color: var(--primary);
}

.mobile-menu-link--accent {
    color: var(--accent);
    font-weight: 600;
}

.mobile-submenu {
    list-style: none;
    padding: 0 0 0.5rem 1.2rem;
    margin: 0;
}

.mobile-submenu li a {
    display: block;
    padding: 0.35rem 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.84rem;
    border-radius: var(--radius-sm);
    transition: all 0.15s;
}

.mobile-submenu li a:hover {
    color: var(--primary);
    background: var(--primary-light);
}
