/* JusTapUs - Premium Customer Storefront Stylesheet */
:root {
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --primary-light: #e0f2fe;
    --accent: #0f172a;
    --accent-gold: #d97706;
    --whatsapp-green: #25d366;
    --whatsapp-dark: #128c7e;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    --border-color: #e2e8f0;
    --border-focus: #0284c7;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    font-size: 15px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

section,
.site-footer,
.announcement-bar {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    min-width: 0;
    margin: 0 auto;
    padding: 0 20px;
}

.table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Inner Storefront Containers & Cards */
.inner-page-container {
    padding-top: 30px;
    padding-bottom: 60px;
}

.inner-page-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    overflow-wrap: break-word;
}

.inner-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.cms-article-card {
    padding: 40px;
}

.category-hero-card {
    background: #f8fafc;
    padding: 32px;
    margin-bottom: 30px;
}

.breadcrumb-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.rich-html-content {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.rich-html-content img,
.rich-html-content video,
.rich-html-content iframe {
    max-width: 100%;
    height: auto;
}

.rich-html-content table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

.rich-html-content pre,
.rich-html-content code {
    white-space: pre-wrap;
    word-break: break-word;
}

.product-buy-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
}

.product-buy-actions > * {
    min-width: 0;
}

.track-steps {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 24px;
    position: relative;
    padding: 0 10px;
    max-width: 100%;
}

.track-step {
    text-align: center;
    flex: 1;
    min-width: 0;
}

.track-step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    font-size: 12px;
    font-weight: 700;
}

.track-step-label {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
}

/* 1. Announcement Bar */
.announcement-bar {
    background: #0f172a;
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 500;
    padding: 9px 16px;
    text-align: center;
    letter-spacing: 0.2px;
}

/* 2. Main Site Header */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    width: 100%;
    max-width: 100%;
}

.site-header .container {
    max-width: 1360px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 112px;
    padding: 6px 0;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.brand-logo {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    line-height: 1;
    text-decoration: none;
}

.brand-logo span {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    background: var(--primary-light);
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.brand-logo.has-custom-logo {
    display: inline-flex;
    align-items: center;
    padding: 2px 0;
}

.brand-logo-img {
    height: 100px;
    min-height: 100px;
    max-height: 120px;
    max-width: 320px;
    width: auto;
    object-fit: contain;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: nowrap;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    transition: color 0.15s ease;
    padding: 8px 4px;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.dropdown-chevron {
    display: inline-block;
    transition: transform 0.2s ease;
    font-size: 10px;
    color: #64748b;
    margin-left: 2px;
}

.has-dropdown:hover .dropdown-chevron,
.has-dropdown.mobile-open .dropdown-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

/* Desktop Dropdown Submenu on Hover */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 200px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
    padding: 8px 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
}

.has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 9px 18px;
    font-size: 13.5px;
    color: #334155;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.12s, color 0.12s;
    text-align: left;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: #f8fafc;
    color: var(--primary);
}

.dropdown-view-all {
    font-weight: 700;
    color: var(--primary);
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 8px;
    margin-bottom: 4px;
}

.nav-utility {
    color: #64748b;
}

/* ==================================================== */
/* SHOP BY CATEGORY - FULL TILE IMAGE TILES WITH HOVER  */
/* ==================================================== */
.category-tiles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .category-tiles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 560px) {
    .category-tiles-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.category-tile {
    position: relative;
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.22), 0 8px 10px -6px rgba(0, 0, 0, 0.12);
}

.category-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.12) 0%, rgba(15, 23, 42, 0.45) 50%, rgba(15, 23, 42, 0.92) 100%);
    transition: background 0.35s ease;
    z-index: 1;
}

.category-tile:hover .category-tile-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.65) 45%, rgba(15, 23, 42, 0.96) 100%);
}

.category-tile-content {
    position: relative;
    z-index: 2;
    padding: 24px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transform: translateY(8px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-tile:hover .category-tile-content {
    transform: translateY(0);
}

.category-tile-pill {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.category-tile-title {
    font-size: 21px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
    line-height: 1.25;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.category-tile-desc {
    font-size: 13px;
    color: #e2e8f0;
    line-height: 1.45;
    margin: 0 0 14px 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.3s ease;
}

.category-tile:hover .category-tile-desc {
    max-height: 80px;
    opacity: 1;
    margin-bottom: 14px;
}

.category-tile-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #38bdf8;
    transition: color 0.2s ease, gap 0.2s ease;
}

.category-tile:hover .category-tile-action {
    color: #ffffff;
    gap: 10px;
}

.category-tile-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

.category-tile:hover .category-tile-arrow {
    transform: translateX(4px);
}

.nav-default {
    font-weight: 500;
    color: #475569;
}

.nav-utility {
    font-size: 13px;
    color: #64748b;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #f1f5f9;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 13px;
    color: #1e293b;
    transition: background 0.15s;
}

.btn-cart:hover {
    background: #e2e8f0;
}

.cart-badge {
    background: var(--primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 9999px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #0f172a;
}

/* 3. Hero Section & Banner Slider */
.hero-banner {
    position: relative;
    background: #0f172a;
    color: #ffffff;
    min-height: 500px;
    overflow: hidden;
}

.hero-slides {
    position: relative;
    width: 100%;
    min-height: 500px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1.02);
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.68) 55%, rgba(15, 23, 42, 0.35) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
    padding: 70px 0;
}

.hero-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(2, 132, 199, 0.25);
    border: 1px solid rgba(56, 189, 248, 0.5);
    color: #38bdf8;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 17px;
    color: #e2e8f0;
    margin-bottom: 28px;
    line-height: 1.6;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Slider Controls: Arrows & Dots */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.85;
}

.hero-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

.hero-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    padding: 6px 12px;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.hero-dot.active {
    width: 28px;
    background: var(--primary);
}

@media (max-width: 768px) {

    .hero-banner,
    .hero-slides,
    .hero-slide {
        min-height: 440px;
    }

    .hero-content {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-arrow {
        width: 36px;
        height: 36px;
    }

    .hero-prev {
        left: 10px;
    }

    .hero-next {
        right: 10px;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    line-height: 1.3;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.btn:hover {
    transform: translateY(-1.5px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.28);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.38);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.38);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.65);
}

.btn-secondary {
    background: #ffffff;
    color: #1e293b;
    border-color: #cbd5e1;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 8px;
}

/* 4. Form Controls & Inputs */
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
}

.form-control {
    display: block;
    width: 100%;
    height: 44px;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.5;
    color: #0f172a;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-control::placeholder {
    color: #94a3b8;
    opacity: 1;
}

textarea.form-control {
    height: auto;
    min-height: 90px;
    resize: vertical;
    padding: 10px 14px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    padding-right: 36px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.form-help {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-top: 6px;
    line-height: 1.4;
}

@media (max-width: 640px) {

    .form-grid-2,
    .form-grid-3 {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* 5. Section Headers */
.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
}

.section-subtitle {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 8px;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}

/* 5. Product Cards Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
    gap: 24px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.product-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

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

.product-media {
    position: relative;
    padding-top: 100%;
    /* 1:1 Aspect ratio */
    background: #f8fafc;
    overflow: hidden;
}

.product-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.watermark-indicator {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(2px);
    z-index: 2;
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.badge-discount {
    background: #dc2626;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.badge-new {
    background: #0284c7;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.product-share-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    color: #334155;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.product-share-btn:hover {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
}

.product-category-tag {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px;
    font-weight: 500;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-pricing {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    padding-bottom: 14px;
}

.product-selling-price {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.product-regular-price {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: line-through;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    min-width: 0;
}

.product-actions .btn,
.product-actions form {
    min-width: 0;
}

/* 6. Product Detail Page */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    padding: 30px 0;
    min-width: 0;
}

.product-detail-layout > * {
    min-width: 0;
    max-width: 100%;
}

.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    max-width: 100%;
}

.gallery-main {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: #f8fafc;
    cursor: crosshair;
}

.gallery-main img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.thumb-item {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: border-color 0.15s;
    background: #f8fafc;
}

.thumb-item.active {
    border-color: var(--primary);
}

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

.detail-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 100%;
}

.detail-sku {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.detail-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 14px;
}

.detail-price-box {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 16px;
    background: #f8fafc;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.detail-selling-price {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
}

.detail-regular-price {
    font-size: 16px;
    color: #94a3b8;
    text-decoration: line-through;
}

.detail-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0;
    font-size: 13px;
    background: #f8fafc;
    padding: 14px;
    border-radius: var(--radius-md);
}

.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    width: 38px;
    height: 38px;
    background: #f1f5f9;
    border: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.qty-input {
    width: 48px;
    height: 38px;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
}

/* Sticky Bottom Action Bar for Mobile Android Browsers */
.mobile-sticky-action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 10px 12px;
    z-index: 99;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.06);
}

.mobile-sticky-action-bar form,
.mobile-sticky-action-bar .btn {
    min-width: 0;
    font-size: 13px;
}

/* Floating Social Share Dock (Hidden by default; shows on Scroll or Edge Hover) */
.sticky-social-wrap {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px 0 20px 18px;
    width: 28px;
    min-height: 220px;
    display: flex;
    align-items: center;
    z-index: 90;
}

.sticky-social-wrap:hover,
.sticky-social-wrap.is-visible {
    width: auto;
}

.sticky-social-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #ffffff;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.36);
    transition: transform 0.2s ease, background 0.2s ease;
    touch-action: manipulation;
}

.sticky-social-toggle svg {
    width: 20px;
    height: 20px;
    display: block;
}

.sticky-social-wrap.is-open .sticky-social-toggle {
    background: #0f172a;
    transform: rotate(90deg);
}

.sticky-social-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 9999px;
    box-shadow: 0 12px 32px -6px rgba(15, 23, 42, 0.16), 0 4px 10px -2px rgba(15, 23, 42, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-28px);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease;
}

.sticky-social-wrap:hover .sticky-social-bar,
.sticky-social-wrap.is-visible .sticky-social-bar {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.share-icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    border: none;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease;
}

.share-icon-btn svg {
    width: 19px;
    height: 19px;
    display: block;
}

.share-icon-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(-6px);
    background: #0f172a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.22);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.share-icon-btn:hover {
    transform: translateY(-2px) scale(1.08);
}

.share-icon-btn:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.share-wa {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.share-wa:hover {
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
}

.share-fb {
    background: linear-gradient(135deg, #1877f2 0%, #0c5dc7 100%);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.share-fb:hover {
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.45);
}

.share-ig {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.32);
}

.share-ig:hover {
    box-shadow: 0 8px 20px rgba(220, 39, 67, 0.48);
}

.share-native {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.share-native:hover {
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.45);
}

.share-copy {
    background: linear-gradient(135deg, #475569 0%, #1e293b 100%);
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.28);
}

.share-copy:hover {
    box-shadow: 0 8px 20px rgba(30, 41, 59, 0.42);
}

/* Modern Inline Product Share Buttons */
.share-card-box {
    margin-top: 24px;
    padding: 18px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.share-card-label {
    font-weight: 700;
    font-size: 13px;
    color: #334155;
    margin-bottom: 12px;
    letter-spacing: 0.1px;
}

.share-pill-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #1e293b;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.share-pill-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.share-pill-btn:hover {
    transform: translateY(-1.5px);
}

.share-pill-wa {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #047857;
}

.share-pill-wa:hover {
    background: #25d366;
    border-color: #25d366;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.32);
}

.share-pill-fb {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.share-pill-fb:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(24, 119, 242, 0.32);
}

.share-pill-ig {
    background: #fdf2f8;
    border-color: #fbcfe8;
    color: #be185d;
}

.share-pill-ig:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(220, 39, 67, 0.34);
}

.share-pill-native {
    background: #f0f9ff;
    border-color: #bae6fd;
    color: #0369a1;
}

.share-pill-native:hover {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.32);
}

.share-pill-copy {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #334155;
}

.share-pill-copy:hover {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
}

/* 7. Customer Review Proofs Section */
.proofs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
    gap: 16px;
    margin-top: 24px;
    min-width: 0;
}

.proof-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

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

.proof-caption {
    padding: 10px 12px;
    font-size: 12px;
    color: #475569;
    background: #f8fafc;
}

/* 8. Cart & Checkout */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.cart-table th {
    background: #f8fafc;
    padding: 12px;
    text-align: left;
    font-size: 13px;
    color: #475569;
    border-bottom: 1px solid var(--border-color);
}

.cart-table td {
    padding: 16px 12px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

/* 9. Site Footer */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0 24px;
    margin-top: 60px;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 24px;
    text-align: center;
    font-size: 12px;
    color: #64748b;
}

/* Modal Zoom & Lightbox */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.modal-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #ffffff;
    font-size: 32px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sticky-social-wrap {
        left: auto;
        right: 12px;
        top: auto;
        bottom: 72px;
        transform: none;
        width: auto;
        min-height: 0;
        padding: 0;
        flex-direction: column-reverse;
        align-items: center;
        gap: 10px;
    }

    .sticky-social-toggle {
        display: flex;
    }

    .sticky-social-bar {
        padding: 6px;
        gap: 6px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px) scale(0.95);
        pointer-events: none;
    }

    .sticky-social-wrap:hover .sticky-social-bar,
    .sticky-social-wrap.is-visible .sticky-social-bar {
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px) scale(0.95);
        pointer-events: none;
    }

    .sticky-social-wrap.is-open .sticky-social-bar {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .share-icon-btn {
        width: 34px;
        height: 34px;
    }

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

    .share-icon-btn::after {
        left: auto;
        right: calc(100% + 10px);
        transform: translateY(-50%) translateX(6px);
    }

    .share-icon-btn:hover::after {
        transform: translateY(-50%) translateX(0);
    }

    .mobile-sticky-action-bar {
        display: flex;
        gap: 10px;
    }

    body {
        padding-bottom: 60px;
        /* Room for sticky bar */
    }
}

@media (max-width: 1180px) and (min-width: 992px) {
    .nav-utility {
        display: none;
    }

    .main-nav {
        gap: 14px;
    }
}

@media (max-width: 991px) {
    .header-inner {
        min-height: 76px;
        padding: 8px 0;
        gap: 12px;
    }

    .brand-logo-img {
        height: auto;
        min-height: 0;
        max-height: 68px;
        max-width: min(210px, calc(100vw - 170px));
    }

    .main-nav {
        display: none;
    }

    .main-nav.open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 16px 20px 24px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
        z-index: 999;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        gap: 6px;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Left-align all nav links & items on mobile */
    .nav-item {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }

    .nav-link {
        width: 100%;
        text-align: left;
        padding: 11px 14px;
        font-size: 15px;
        border-radius: 6px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #1e293b;
    }

    .nav-link:hover,
    .nav-link:active {
        background: #f8fafc;
        color: var(--primary);
    }

    /* Mobile Accordion Submenu: selectable on click */
    .nav-dropdown {
        position: static;
        box-shadow: none;
        border: none;
        border-left: 3px solid var(--primary);
        background: #f8fafc;
        border-radius: 0 4px 4px 0;
        padding: 4px 0 6px 12px;
        margin: 2px 0 8px 12px;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        text-align: left;
        width: auto;
    }

    .has-dropdown.mobile-open .nav-dropdown {
        display: block;
    }

    .has-dropdown.mobile-open .dropdown-chevron {
        transform: rotate(180deg);
        color: var(--primary);
    }

    .dropdown-item {
        padding: 9px 12px;
        font-size: 14px;
        text-align: left;
        white-space: normal;
    }

    /* Left-align footer content on mobile */
    .site-footer {
        text-align: left;
    }

    .footer-grid {
        text-align: left;
    }

    .footer-grid>div {
        text-align: left;
    }

    .footer-title {
        text-align: left;
    }

    .footer-links {
        text-align: left;
        padding: 0;
    }

    .footer-links li {
        text-align: left;
    }

    .footer-links a {
        display: inline-block;
        text-align: left;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 14px;
    }

    .section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 24px;
    }

    .section-title {
        font-size: 24px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 28px;
    }

    .footer-grid>div {
        text-align: left;
        min-width: 0;
    }

    .footer-bottom {
        text-align: left;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-info {
        padding: 10px;
    }

    .product-name {
        font-size: 13px;
    }

    .product-selling-price {
        font-size: 15px;
    }

    .product-actions {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .product-actions .btn {
        width: 100%;
        padding: 8px 10px;
        font-size: 12.5px;
    }

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

    .store-search-form .store-search-input,
    .store-search-form select.form-control {
        min-width: 0;
        width: 100% !important;
        flex: 1 1 100%;
    }

    .pagination-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px;
    }

    .detail-title {
        font-size: 22px;
    }

    .detail-specs {
        grid-template-columns: 1fr;
    }

    .inner-page-container {
        padding-top: 18px;
        padding-bottom: 44px;
    }

    .inner-page-title {
        font-size: 22px;
    }

    .inner-card,
    .cms-article-card,
    .category-hero-card {
        padding: 16px;
    }

    .product-detail-layout {
        padding: 16px 0 24px;
        gap: 20px;
    }

    .product-buy-actions {
        flex-direction: column;
    }

    .product-buy-actions .btn,
    .product-buy-actions > * {
        width: 100%;
        flex: none !important;
    }

    .share-card-box {
        padding: 14px;
    }

    .share-pill-btn {
        padding: 8px 12px;
        font-size: 12.5px;
    }

    .gallery-inline-arrow {
        width: 34px;
        height: 34px;
        font-size: 20px;
    }

    .lightbox-nav {
        width: 36px;
        height: 36px;
        font-size: 24px;
    }

    /* Responsive Stacked Cart Table on Mobile */
    .cart-table,
    .cart-table tbody,
    .cart-table tr,
    .cart-table td {
        display: block;
        width: 100%;
    }

    .cart-table thead {
        display: none;
    }

    .cart-table {
        margin-bottom: 0;
    }

    .cart-table tbody tr {
        padding: 14px;
        border-bottom: 1px solid var(--border-color);
    }

    .cart-table tbody tr:last-child {
        border-bottom: none;
    }

    .cart-table td {
        padding: 6px 0;
        border-bottom: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .cart-table td:first-child {
        display: block;
        padding-bottom: 10px;
        margin-bottom: 6px;
        border-bottom: 1px dashed #e2e8f0;
    }

    .cart-table td[data-label]::before {
        content: attr(data-label);
        font-size: 12px;
        font-weight: 600;
        color: #64748b;
        flex-shrink: 0;
    }

    .cart-summary-bar {
        padding: 16px !important;
        gap: 14px !important;
    }

    .cart-summary-right {
        width: 100%;
        text-align: left !important;
    }

    .cart-summary-right .btn {
        width: 100%;
        padding: 12px 16px !important;
    }

    .track-steps {
        padding: 0;
        gap: 4px;
    }

    .track-step-dot {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .track-step-label {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .header-inner {
        min-height: 66px;
        gap: 8px;
    }

    .brand-logo {
        font-size: 20px;
    }

    .brand-logo-img {
        height: auto;
        min-height: 0;
        max-height: 54px;
        max-width: calc(100vw - 155px);
    }

    .header-actions {
        gap: 8px;
    }

    .btn-cart {
        padding: 7px 10px;
        font-size: 12px;
        gap: 5px;
    }
}

/* Storefront Search Bar & Pagination */
.store-search-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.store-search-input {
    min-width: 210px;
    flex: 1 1 210px;
}

.pagination-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 32px;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.pagination-summary {
    font-size: 13px;
    color: #64748b;
}

.pagination-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}

.pagination-btn:hover:not(.is-disabled):not(.is-active) {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.pagination-btn.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.pagination-btn.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.pagination-ellipsis {
    padding: 0 4px;
    color: #94a3b8;
}

/* Out of Stock Badges & Enquire CTA */
.badge-out-of-stock {
    background: #dc2626;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 9999px;
    letter-spacing: 0.4px;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25);
}

.product-card.is-out-of-stock .product-media img {
    opacity: 0.88;
}

.btn-enquire {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    border: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(217, 119, 6, 0.24);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-enquire:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(217, 119, 6, 0.34);
}

/* Mobile Menu Button Touch Responsiveness */
.mobile-menu-btn {
    cursor: pointer;
    touch-action: manipulation;
    user-select: none;
    z-index: 105;
}

/* Product Inline Gallery Arrows & Zoom Button */
.gallery-inline-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(15, 23, 42, 0.62);
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    transition: background 0.15s ease, transform 0.15s ease;
}

.gallery-inline-arrow:hover {
    background: rgba(15, 23, 42, 0.9);
    transform: translateY(-50%) scale(1.06);
}

.gallery-inline-prev { left: 10px; }
.gallery-inline-next { right: 10px; }

.gallery-zoom-trigger {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.78);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 9999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    z-index: 4;
    backdrop-filter: blur(6px);
}

.gallery-zoom-trigger:hover {
    background: #0f172a;
}

/* Enhanced Lightbox Gallery & Zoom Modal */
.lightbox-overlay {
    padding: 16px;
}

.lightbox-shell {
    width: 100%;
    max-width: 980px;
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lightbox-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    padding: 0 4px;
}

.lightbox-counter {
    font-size: 13px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.14);
    padding: 4px 12px;
    border-radius: 9999px;
}

.lightbox-tools {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lightbox-tool-btn {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 9999px;
    padding: 6px 14px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}

.lightbox-tool-btn:hover {
    background: rgba(255, 255, 255, 0.28);
}

.lightbox-close {
    position: static;
    line-height: 1;
    padding: 0 6px;
}

.lightbox-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 0;
}

.lightbox-img-scroll {
    max-width: 100%;
    max-height: 74vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.lightbox-img-scroll.is-zoomed {
    overflow: auto;
    align-items: flex-start;
    justify-content: flex-start;
}

#modalZoomImage {
    max-width: 100%;
    max-height: 74vh;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
    cursor: zoom-in;
    transition: transform 0.22s ease;
    transform-origin: center center;
}

#modalZoomImage.is-zoomed {
    max-width: none;
    max-height: none;
    width: auto;
    height: auto;
    transform: scale(1.65);
    transform-origin: top left;
    cursor: zoom-out;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(15, 23, 42, 0.72);
    color: #ffffff;
    font-size: 30px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
}

.lightbox-nav:hover {
    background: rgba(15, 23, 42, 0.95);
}

.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }

.lightbox-thumbs {
    display: flex;
    gap: 8px;
    justify-content: center;
    overflow-x: auto;
    padding: 4px;
}

.lightbox-thumb {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: #0f172a;
    cursor: pointer;
    flex-shrink: 0;
    opacity: 0.65;
}

.lightbox-thumb.active,
.lightbox-thumb:hover {
    border-color: #38bdf8;
    opacity: 1;
}

.lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Home Sliding Tile Carousels (Categories & Featured Products) */
.tile-carousel-header-arrows {
    display: flex;
    gap: 8px;
    align-items: center;
}

.tile-arrow-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a;
    font-size: 24px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
    transition: all 0.15s ease;
}

.tile-arrow-btn:hover:not(:disabled) {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.tile-arrow-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.tile-carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
}

.tile-carousel-track {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 6px 2px 12px;
}

.tile-carousel-track::-webkit-scrollbar {
    display: none;
}

.tile-slide-cat {
    flex: 0 0 calc((100% - 60px) / 4);
    min-width: 0;
    scroll-snap-align: start;
}

.tile-slide-prod {
    flex: 0 0 calc((100% - 60px) / 4);
    min-width: 0;
    scroll-snap-align: start;
}

.tile-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.94);
    color: #0f172a;
    font-size: 26px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 8;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.tile-carousel-btn:hover:not(:disabled) {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.06);
}

.tile-carousel-btn:disabled {
    opacity: 0.3;
    pointer-events: none;
}

.tile-prev { left: -14px; }
.tile-next { right: -14px; }

@media (max-width: 1260px) {
    .tile-prev { left: 4px; }
    .tile-next { right: 4px; }
}

@media (max-width: 1024px) {
    .tile-slide-cat,
    .tile-slide-prod {
        flex: 0 0 calc((100% - 20px) / 2);
    }

    .tile-prev { left: 4px; }
    .tile-next { right: 4px; }
}

@media (max-width: 560px) {
    .tile-carousel-track {
        gap: 12px;
    }

    .tile-slide-cat {
        flex: 0 0 80%;
        max-width: 80%;
        height: 290px;
    }

    .tile-slide-prod {
        flex: 0 0 72%;
        max-width: 72%;
    }

    .tile-carousel-btn {
        width: 34px;
        height: 34px;
        font-size: 20px;
    }

    .tile-prev { left: 6px; }
    .tile-next { right: 6px; }
}
