
      /* ============================================
   MODERN PREMIUM STYLES - v22 FINAL
   Fully Responsive · All Screens · Production Ready
   ============================================ */

:root {
    /* ── Color Palette ── */
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #dbeafe;
    --primary-50: #eff6ff;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --accent-light: #fef3c7;
    --success: #22c55e;
    --success-light: #dcfce7;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --warning: #f59e0b;

    /* ── Surfaces ── */
    --bg-body: #f1f5f9;
    --bg-card: #ffffff;
    --bg-elevated: #ffffff;
    --bg-muted: #f8fafc;
    --bg-overlay: rgba(15, 23, 42, 0.6);

    /* ── Text ── */
    --text-main: #0f172a;
    --text-secondary: #334155;
    --text-muted: #475569;
    --text-light: #94a3b8;
    --text-faint: #cbd5e1;

    /* ── Borders ── */
    --border: #e2e8f0;
    --border-hover: #cbd5e1;
    --border-focus: var(--primary);

    /* ── Shadows ── */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 8px 20px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 20px 50px -5px rgba(0, 0, 0, 0.12), 0 12px 30px rgba(0, 0, 0, 0.08);
    --shadow-2xl: 0 30px 60px -10px rgba(0, 0, 0, 0.2);
    --shadow-glow-primary: 0 0 30px rgba(37, 99, 235, 0.15);
    --shadow-glow-accent: 0 0 30px rgba(245, 158, 11, 0.15);

    /* ── Radius ── */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* ── Transitions ── */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: all 0.15s var(--ease-out);
    --transition: all 0.3s var(--ease-out);
    --transition-slow: all 0.5s var(--ease-out);

    /* ── Brands ── */
    --google-blue: #4285F4;
    --google-red: #EA4335;
    --google-yellow: #FBBC05;
    --google-green: #34A853;

    /* ── Typography ── */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* ── Spacing Scale ── */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;

    /* ── Z-Index Scale ── */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 500;
    --z-overlay: 900;
    --z-modal: 1000;
    --z-toast: 1100;
}

/* ── RESET & BASE ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
    min-height: 100dvh;
}

/* Subtle body pattern for premium feel */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.04), transparent),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(245, 158, 11, 0.03), transparent);
    pointer-events: none;
    z-index: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: var(--font-main);
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: var(--font-main);
}

/* ── LAYOUT ── */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px);
    position: relative;
    z-index: var(--z-base);
}


/* ═══════════════════════════════════════════
   BREADCRUMB
   ═══════════════════════════════════════════ */
.breadcrumb {
    padding: 16px 0 12px;
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
}

.breadcrumb a {
    color: var(--text-muted);
    padding: 4px 8px;
    border-radius: var(--radius-xs);
    font-weight: 500;
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--primary);
    background: var(--primary-50);
}

.bc-sep {
    margin: 0 2px;
    font-size: 8px;
    color: var(--text-faint);
}

.bc-current {
    color: var(--text-main);
    font-weight: 600;
    padding: 4px 8px;
}

/* ═══════════════════════════════════════════
   ITEM HEADER
   ═══════════════════════════════════════════ */
.item-header {
    padding: 4px 0 20px;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.main-title {
    font-size: clamp(24px, 4.5vw, 42px);
    margin-bottom: 14px;
    line-height: 1.15;
    color: var(--text-main);
    word-break: break-word;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    font-size: 13px;
    color: var(--text-muted);
    align-items: center;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.meta-item i {
    color: var(--accent);
    font-size: 13px;
}

/* ═══════════════════════════════════════════
   MAIN GRID LAYOUT
   ═══════════════════════════════════════════ */
.grid-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

/* ═══════════════════════════════════════════
   IMAGE TOP BAR (Rating + Share)
   ═══════════════════════════════════════════ */
.image-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    background: var(--bg-card);
    padding: 14px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 16px;
}

.topbar-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

.topbar-rating .rating-number {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    white-space: nowrap;
}

.topbar-rating .star-display {
    font-size: 16px;
    white-space: nowrap;
    display: flex;
    gap: 2px;
}

.topbar-rating .star-display i {
    color: var(--accent);
    font-size: 15px;
}

.topbar-rating .star-display i.empty {
    color: var(--text-faint);
}

.topbar-rating .review-count {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.topbar-share {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    position: relative;
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: var(--shadow-md);
}

.share-btn:active {
    transform: translateY(0) scale(0.95);
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #000; }
.share-btn.whatsapp { background: #25D366; }
.share-btn.linkedin { background: #0a66c2; }
.share-btn.telegram { background: #0088cc; }
.share-btn.email-share { background: #64748b; }
.share-btn.copy { background: var(--text-main); }

/* ═══════════════════════════════════════════
   IMAGE GALLERY
   ═══════════════════════════════════════════ */
.image-gallery {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 1px solid var(--border);
}

.image-gallery img.main-listing-image {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
    transition: var(--transition-slow);
    background: #f8fafc;
}

.image-gallery:hover img.main-listing-image {
    transform: scale(1.01);
}

.price-ribbon {
    position: absolute;
    top: 20px;
    right: -6px;
    background: linear-gradient(135deg, #ff6a00, #ee0979);
    color: #fff;
    padding: 10px 24px 10px 20px;
    font-weight: 800;
    font-size: 16px;
    font-family: var(--font-heading);
    border-radius: var(--radius-full) 0 0 var(--radius-full);
    box-shadow: 0 8px 28px rgba(238, 9, 121, 0.35);
    z-index: 10;
    letter-spacing: 0.3px;
}

.price-ribbon::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: -10px;
    border-width: 10px 10px 0 0;
    border-style: solid;
    border-color: #9b0649 transparent transparent transparent;
}

.product-type-badge {
    position: absolute;
    top: 18px;
    left: -8px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px 10px 16px;
    min-height: 40px;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #ff6b6b, #ff4757, #ff9f43);
    border-radius: 0 var(--radius-full) var(--radius-full) 0;
    box-shadow: 0 6px 24px rgba(255, 71, 87, 0.35);
    transition: var(--transition);
}

.product-type-badge::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid #c0392b;
    border-left: 10px solid transparent;
}

.product-type-badge:hover {
    transform: scale(1.03) translateY(-2px);
}

.product-type-badge i {
    font-size: 14px;
}

/* ═══════════════════════════════════════════
   SIDEBAR WRAPPER
   ═══════════════════════════════════════════ */
.sidebar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
}

.info-card:hover::before {
    opacity: 1;
}

.card-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    color: var(--text-muted);
    user-select: none;
}

.card-title i {
    color: var(--primary);
    font-size: 14px;
}

/* ═══════════════════════════════════════════
   PUBLISHER CARD
   ═══════════════════════════════════════════ */
.publisher-card-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.publisher-header {
    display: flex;
    gap: 14px;
    align-items: center;
}

.publisher-avatar-wrap {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
}

.publisher-avatar-container {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, var(--primary), #10b981) border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
}

.publisher-avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.publisher-avatar-icon {
    font-size: 36px;
    color: var(--primary);
    opacity: 0.35;
}

.online-indicator {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    background: var(--success);
    border: 3px solid var(--bg-card);
    border-radius: 50%;
    z-index: 20;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2), 0 2px 6px rgba(0, 0, 0, 0.15);
}

.online-indicator-pulse {
    position: absolute;
    top: -1px;
    right: -1px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--success);
    opacity: 0.4;
    animation: pulse-ring 2s ease-out infinite;
    z-index: -1;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.4; }
    70% { transform: scale(2.8); opacity: 0; }
    100% { transform: scale(2.8); opacity: 0; }
}

.offline-indicator {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    background: var(--danger);
    border: 2.5px solid var(--bg-card);
    border-radius: 50%;
    z-index: 20;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.15);
}

.publisher-meta {
    flex: 1;
    min-width: 0;
}

.publisher-meta h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    line-height: 1.3;
}

.publisher-meta p {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.publisher-meta p i {
    font-size: 11px;
    width: 14px;
    text-align: center;
    flex-shrink: 0;
}

.publisher-bio {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-top: 4px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Badges ── */
.verified-badge {
    background: var(--success);
    color: #fff;
    font-size: 9px;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 700;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}

.basic-badge {
    background: var(--primary-50);
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.premium-badge {
    background: linear-gradient(135deg, #f59e0b, #facc15);
    color: #fff;
    border: none;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.google-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(66, 133, 244, 0.08);
    color: var(--google-blue);
    font-size: 9px;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-weight: 700;
    border: 1px solid rgba(66, 133, 244, 0.12);
    flex-shrink: 0;
}

.view-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    padding: 6px 0;
    transition: var(--transition-fast);
}

.view-profile-link:hover {
    color: var(--primary-dark);
    gap: 8px;
}

.view-profile-link i {
    font-size: 10px;
    transition: var(--transition-fast);
}

/* ── Publisher Stats ── */
.publisher-stats {
    display: flex;
    gap: 8px;
    background: var(--bg-muted);
    padding: 14px 12px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--border);
}

.stat-box {
    flex: 1;
}

.stat-box h5 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 2px;
    font-weight: 800;
    line-height: 1.2;
}

.stat-box span {
    font-size: 9px;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.follower-stats {
    display: flex;
    gap: 8px;
    justify-content: space-around;
    background: var(--bg-muted);
    padding: 14px 10px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.follower-stat-item {
    text-align: center;
    flex: 1;
}

.follower-stat-number {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    font-family: var(--font-heading);
}

.follower-stat-label {
    font-size: 9px;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.4px;
}

/* ── Publisher Action Buttons (Follow + Profile Side-by-Side) ── */
.publisher-action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 4px;
    flex-wrap: nowrap;
}

.publisher-action-buttons .btn-follow,
.publisher-action-buttons .view-profile-btn {
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.view-profile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    background: linear-gradient(135deg, #f59e0b, #f97316, #ea580c);
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.25);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.view-profile-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.view-profile-btn:hover::before {
    left: 100%;
}

.view-profile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(249, 115, 22, 0.35);
    color: #fff;
}

.view-profile-btn:active {
    transform: translateY(0) scale(0.97);
}

/* ── Social Icons ── */
.publisher-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.social-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.social-badge::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.social-badge:hover::after {
    width: 100%;
    height: 100%;
}

.social-badge:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: var(--shadow-md);
}

.social-badge:active {
    transform: translateY(0) scale(0.95);
}

.social-badge.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-badge.facebook { background: linear-gradient(135deg, #1877f2, #0d65d9); }
.social-badge.twitter { background: #000; }
.social-badge.linkedin { background: linear-gradient(135deg, #0a66c2, #004182); }
.social-badge.youtube { background: linear-gradient(135deg, #ff416c, #ff4b2b); }
.social-badge.whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }
.social-badge.phone { background: linear-gradient(135deg, #4facfe, #00f2fe); color: #fff; }
.social-badge.email { background: linear-gradient(135deg, #f6d365, #fda085); color: #fff; }
.social-badge.website { background: linear-gradient(135deg, #8e9eab, #636e72); }

/* ═══════════════════════════════════════════
   FOLLOW BUTTON
   ═══════════════════════════════════════════ */
.follow-btn-container {
    margin: 8px 0 4px;
}

.btn-follow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    font-family: var(--font-main);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn-follow:active {
    transform: scale(0.96);
}

.btn-follow.following {
    background: var(--bg-muted);
    color: var(--text-muted);
    border: 1.5px solid var(--border);
    box-shadow: none;
}

.btn-follow.following:hover {
    background: var(--danger-light);
    color: var(--danger);
    border-color: rgba(239, 68, 68, 0.2);
}

.btn-follow.following:hover .follow-text { display: none; }
.btn-follow.following:hover .unfollow-text { display: inline; }
.btn-follow .unfollow-text { display: none; }

.btn-follow.not-following {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
    border: none;
}

.btn-follow.not-following:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.4);
}

.btn-follow:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-follow .spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.btn-follow.loading .spinner { display: inline-block; }
.btn-follow.loading .follow-text,
.btn-follow.loading .unfollow-text,
.btn-follow.loading i { display: none; }

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════
   CONTACT DETAILS
   ═══════════════════════════════════════════ */
.info-list {
    display: flex;
    flex-direction: column;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
    transition: var(--transition-fast);
}

.info-row:last-child { border-bottom: none; padding-bottom: 0; }
.info-row:first-child { padding-top: 0; }

.info-row:hover {
    padding-left: 4px;
}

.info-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--primary-50);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
    transition: var(--transition-fast);
}

.info-row:hover .info-icon {
    background: var(--primary-light);
    transform: scale(1.05);
}

.info-content {
    flex: 1;
    min-width: 0;
}

.info-label {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1px;
}

.info-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.info-value a {
    color: var(--primary);
}

.info-value a:hover {
    text-decoration: underline;
}

.district-tag {
    font-size: 10px;
    color: var(--text-light);
    font-weight: 500;
}

/* ═══════════════════════════════════════════
   ACTION BUTTONS (WhatsApp, Call, Email, etc.)
   ═══════════════════════════════════════════ */
.action-grid {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 16px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 12px;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    flex: 1;
    min-width: 80px;
    position: relative;
    overflow: hidden;
}

.btn-action i {
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.btn-action span {
    position: relative;
    z-index: 1;
}

.btn-action::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn-action:hover::before {
    width: 200%;
    height: 200%;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    filter: brightness(1.05);
}

.btn-action:active {
    transform: translateY(0) scale(0.97);
}

.click-count-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--danger);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    min-width: 18px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
    z-index: 2;
    animation: badge-pop 0.3s var(--ease-spring);
}

@keyframes badge-pop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

.btn-whatsapp { background: #25D366; }
.btn-whatsapp:hover { background: #1fb855; }
.btn-call { background: #3b82f6; }
.btn-call:hover { background: #1d4ed8; }
.btn-email { background: #f43f5e; }
.btn-email:hover { background: #e11d48; }
.btn-website { background: linear-gradient(135deg, #8e9eab, #636e72); }
.btn-website:hover { filter: brightness(1.1); }
.btn-buy { background: linear-gradient(135deg, #ff6a00, #ee0979); }
.btn-buy:hover { filter: brightness(1.08); }

/* ═══════════════════════════════════════════
   BUY / VISIT BUTTON (Big CTA)
   ═══════════════════════════════════════════ */
.buy-btn-container {
    margin: 0 0 8px;
    text-align: center;
}

.buy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #ff6a00, #ee0979);
    color: #fff;
    padding: 16px 28px;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 15px;
    font-family: var(--font-heading);
    text-decoration: none;
    transition: var(--transition);
    width: 100%;
    border: none;
    box-shadow: 0 8px 28px rgba(238, 9, 121, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.buy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.buy-btn:hover::before {
    left: 100%;
}

.buy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(238, 9, 121, 0.4);
}

.buy-btn:active {
    transform: translateY(0) scale(0.98);
}

.buy-btn i {
    font-size: 18px;
}

.buy-btn-sub {
    font-size: 11px;
    color: var(--text-light);
    text-align: center;
    margin-top: 8px;
}

.visit-btn-container {
    margin: 0 0 8px;
    text-align: center;
}

.visit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    padding: 16px 28px;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 15px;
    font-family: var(--font-heading);
    text-decoration: none;
    transition: var(--transition);
    width: 100%;
    border: none;
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.visit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.visit-btn:hover::before {
    left: 100%;
}

.visit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(37, 99, 235, 0.4);
}

.visit-btn:active {
    transform: translateY(0) scale(0.98);
}

.visit-btn i {
    font-size: 18px;
}

/* ═══════════════════════════════════════════
   RATING SECTION
   ═══════════════════════════════════════════ */
.rating-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.rating-section h2 {
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-section h2 i {
    color: var(--accent);
}

.rating-box {
    text-align: right;
}

.rating-box small {
    color: var(--text-light);
    display: block;
    font-size: 10px;
    margin-bottom: 4px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.rate-stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}

.rate-stars input { display: none; }

.rate-stars label {
    font-size: 30px;
    color: var(--text-faint);
    cursor: pointer;
    transition: 0.15s ease;
    line-height: 1;
    padding: 2px;
}

.rate-stars label:hover,
.rate-stars label:hover ~ label,
.rate-stars input:checked ~ label {
    color: var(--accent);
    transform: scale(1.12);
}

.rate-stars.rated {
    pointer-events: none;
    opacity: 0.7;
}

.rate-stars.rated label {
    color: var(--accent);
}

.rating-feedback {
    margin-top: 6px;
    font-size: 12px;
    color: var(--success);
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
    min-height: 20px;
}

.rating-feedback.show { opacity: 1; }

/* ═══════════════════════════════════════════
   DESCRIPTION
   ═══════════════════════════════════════════ */
.desc-card {
    background: var(--bg-card);
    padding: 28px;
    border-radius: var(--radius-lg);
    margin-top: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.desc-content {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.85;
    white-space: pre-line;
    word-break: break-word;
}

/* ═══════════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════════ */
.faq-section {
    background: var(--bg-card);
    padding: 28px;
    border-radius: var(--radius-lg);
    margin-top: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.faq-section h3 {
    font-size: 20px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-section h3 i {
    color: var(--primary);
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    transition: var(--transition-fast);
}

.faq-item:last-child { border-bottom: none; }

.faq-item:hover {
    padding-left: 6px;
}

.faq-question {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.faq-question::before {
    content: 'Q';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}

.faq-answer {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.75;
    padding-left: 30px;
}

/* ═══════════════════════════════════════════
   GOOGLE REVIEWS
   ═══════════════════════════════════════════ */
.google-review-summary {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 22px;
    border: 1px solid var(--border);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.google-review-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--google-blue), var(--google-red), var(--google-yellow), var(--google-green));
}

.summary-header {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.google-rating-big {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-main);
    font-family: var(--font-heading);
    line-height: 1;
}

.google-stars-big {
    display: flex;
    gap: 3px;
}

.google-stars-big i {
    font-size: 20px;
    color: var(--accent);
}

.google-total-reviews {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
}

.google-place-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--google-blue);
    color: #fff;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 13px;
    transition: var(--transition);
    margin-left: auto;
    box-shadow: 0 4px 14px rgba(66, 133, 244, 0.25);
}

.google-place-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(66, 133, 244, 0.35);
}

.google-write-review-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--google-blue), #1a56db);
    color: #fff !important;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(66, 133, 244, 0.25);
    position: relative;
    overflow: hidden;
}

.google-write-review-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.google-write-review-btn:hover::before {
    left: 100%;
}

.google-write-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(66, 133, 244, 0.4);
}

.google-write-review-btn i {
    font-size: 16px;
}

/* ── Review Card ── */
.google-review-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 12px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.google-review-card:hover {
    border-color: rgba(66, 133, 244, 0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.google-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.google-review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--primary-50);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border);
}

.google-review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.google-review-avatar i {
    font-size: 20px;
    color: var(--google-blue);
    opacity: 0.5;
}

.google-review-meta {
    flex: 1;
    min-width: 0;
}

.google-review-author {
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.google-review-author .google-badge {
    font-size: 9px;
    background: var(--google-blue);
    color: #fff;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-weight: 700;
    letter-spacing: 0.3px;
}

.google-review-time {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 500;
}

.google-review-stars {
    display: flex;
    gap: 2px;
    margin: 4px 0 8px;
}

.google-review-stars i {
    font-size: 13px;
    color: var(--accent);
}

.google-review-stars i.empty {
    color: var(--text-faint);
}

.google-review-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.75;
}

.google-review-text .read-more {
    color: var(--google-blue);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-fast);
}

.google-review-text .read-more:hover {
    text-decoration: underline;
}

.no-google-reviews {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.no-google-reviews i {
    font-size: 48px;
    color: var(--google-blue);
    opacity: 0.2;
    display: block;
    margin-bottom: 14px;
}

.no-google-reviews p {
    font-size: 14px;
    margin-bottom: 8px;
}

/* ── Google Review Form ── */
.google-review-form {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
    margin-top: 16px;
    box-shadow: var(--shadow-sm);
}

.google-review-form h4 {
    font-size: 16px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.google-review-form h4 i {
    color: var(--google-blue);
}

.google-review-form .form-group {
    margin-bottom: 14px;
}

.google-review-form .form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.google-review-form .form-group input,
.google-review-form .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-size: 14px;
    transition: var(--transition);
    background: var(--bg-muted);
    color: var(--text-main);
}

.google-review-form .form-group input::placeholder,
.google-review-form .form-group textarea::placeholder {
    color: var(--text-faint);
}

.google-review-form .form-group input:focus,
.google-review-form .form-group textarea:focus {
    border-color: var(--google-blue);
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(66, 133, 244, 0.08);
}

.google-review-form .form-group textarea {
    min-height: 90px;
    resize: vertical;
    line-height: 1.6;
}

.google-review-form .rating-select {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 6px;
}

.google-review-form .rating-select input { display: none; }

.google-review-form .rating-select label {
    font-size: 30px;
    color: var(--text-faint);
    cursor: pointer;
    transition: 0.15s ease;
    line-height: 1;
}

.google-review-form .rating-select label:hover,
.google-review-form .rating-select label:hover ~ label,
.google-review-form .rating-select input:checked ~ label {
    color: var(--accent);
    transform: scale(1.12);
}

.google-review-form .submit-review-btn {
    background: linear-gradient(135deg, var(--google-blue), #1a56db);
    color: #fff;
    padding: 12px 32px;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(66, 133, 244, 0.25);
    position: relative;
    overflow: hidden;
}

.google-review-form .submit-review-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.google-review-form .submit-review-btn:hover::before {
    left: 100%;
}

.google-review-form .submit-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(66, 133, 244, 0.35);
}

.google-review-form .submit-review-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.google-review-form .review-feedback {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

.google-review-form .review-feedback.show { opacity: 1; }

.google-review-form .review-feedback.error {
    color: var(--danger);
    background: var(--danger-light);
}

.google-review-form .review-feedback.success {
    color: var(--success);
    background: var(--success-light);
}

/* ═══════════════════════════════════════════
   RELATED ITEMS
   ═══════════════════════════════════════════ */
.related-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.related-section > h3 {
    font-size: 22px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-section > h3 i {
    color: var(--primary);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.related-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.related-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.r-img {
    height: 160px;
    background: var(--bg-muted);
    overflow: hidden;
    position: relative;
}

.r-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.related-card:hover .r-img img {
    transform: scale(1.08);
}

.r-content {
    padding: 16px;
}

.r-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    color: var(--text-main);
    transition: var(--transition-fast);
}

.related-card:hover .r-title {
    color: var(--primary);
}

.r-rating {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.r-rating i {
    color: var(--accent);
    font-size: 11px;
}

/* ═══════════════════════════════════════════
   SHARE POPUP (Mobile)
   ═══════════════════════════════════════════ */
.share-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: var(--z-modal);
    display: none;
    align-items: flex-end;
    justify-content: center;
}

.share-popup-overlay.active {
    display: flex;
    animation: fadeIn 0.2s ease;
}

.share-popup {
    background: var(--bg-card);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: 28px 24px calc(24px + env(safe-area-inset-bottom, 0px));
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-2xl);
    animation: slideUpSheet 0.3s var(--ease-out);
}

.share-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.share-popup-header h3 {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-popup-header h3 i {
    color: var(--primary);
}

.share-popup-close {
    background: var(--bg-muted);
    border: none;
    font-size: 18px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-popup-close:hover {
    background: var(--danger-light);
    color: var(--danger);
    transform: rotate(90deg);
}

.share-popup-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 8px 0;
}

.share-popup-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 4px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
    background: var(--bg-muted);
    border: 1px solid transparent;
}

.share-popup-item:hover {
    border-color: var(--border);
    background: var(--bg-card);
    transform: scale(1.05);
    box-shadow: var(--shadow-sm);
}

.share-popup-item:active {
    transform: scale(0.95);
}

.share-popup-item i {
    font-size: 22px;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-popup-item span {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.3;
}

.share-popup-item .fa-facebook-f { background: #1877f2; }
.share-popup-item .fa-twitter { background: #000; }
.share-popup-item .fa-whatsapp { background: #25D366; }
.share-popup-item .fa-linkedin-in { background: #0a66c2; }
.share-popup-item .fa-telegram-plane { background: #0088cc; }
.share-popup-item .fa-envelope { background: #64748b; }
.share-popup-item .fa-link { background: var(--text-main); }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUpSheet {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   MOBILE STICKY BAR
   ═══════════════════════════════════════════ */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    border-top: 1px solid var(--border);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: var(--z-sticky);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06);
    gap: 8px;
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-out);
}

.mobile-sticky-bar.show {
    transform: translateY(0);
}

.mobile-sticky-bar a,
.mobile-sticky-bar .bar-follow {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 6px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 11px;
    color: #fff;
    transition: var(--transition-fast);
    text-decoration: none;
    min-height: 48px;
    position: relative;
    overflow: hidden;
}

.mobile-sticky-bar a:active,
.mobile-sticky-bar .bar-follow:active {
    transform: scale(0.94);
}

.mobile-sticky-bar a.bar-wa { background: #25D366; }
.mobile-sticky-bar a.bar-call { background: #3b82f6; }
.mobile-sticky-bar a.bar-email { background: #f43f5e; }
.mobile-sticky-bar a.bar-website { background: linear-gradient(135deg, #8e9eab, #636e72); }
.mobile-sticky-bar a.bar-buy { background: linear-gradient(135deg, #ff6a00, #ee0979); }
.mobile-sticky-bar a.bar-google { background: linear-gradient(135deg, var(--google-blue), #1a56db); }
.mobile-sticky-bar .bar-follow {
    background: var(--primary);
    border: none;
    cursor: pointer;
    font-family: var(--font-main);
}

.mobile-sticky-bar .bar-follow.following {
    background: var(--bg-muted);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

/* ═══════════════════════════════════════════
   TOAST NOTIFICATION
   ═══════════════════════════════════════════ */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    pointer-events: auto;
    animation: toastIn 0.4s var(--ease-spring);
    max-width: 340px;
    min-width: 260px;
}

.toast.toast-exit {
    animation: toastOut 0.3s ease forwards;
}

.toast i {
    font-size: 18px;
    flex-shrink: 0;
}

.toast.success i { color: var(--success); }
.toast.error i { color: var(--danger); }
.toast.info i { color: var(--primary); }

.toast-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 4px;
    font-size: 14px;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.toast-close:hover {
    color: var(--text-main);
}

@keyframes toastIn {
    0% { transform: translateX(120%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes toastOut {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(120%); opacity: 0; }
}

/* ═══════════════════════════════════════════
   SKELETON LOADING
   ═══════════════════════════════════════════ */
.skeleton {
    background: linear-gradient(90deg, var(--bg-muted) 25%, var(--border) 50%, var(--bg-muted) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

.skeleton-text {
    height: 14px;
    margin-bottom: 10px;
    border-radius: 6px;
}

.skeleton-text.short { width: 60%; }
.skeleton-text.medium { width: 80%; }
.skeleton-title { height: 28px; width: 75%; margin-bottom: 14px; border-radius: 8px; }
.skeleton-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    flex-shrink: 0;
}
.skeleton-image {
    width: 100%;
    height: 300px;
    border-radius: var(--radius-xl);
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ═══════════════════════════════════════════
   SCROLLBAR
   ═══════════════════════════════════════════ */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--text-faint);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* ═══════════════════════════════════════════
   SELECTION
   ═══════════════════════════════════════════ */
::selection {
    background: rgba(37, 99, 235, 0.15);
    color: var(--text-main);
}

/* ═══════════════════════════════════════════
   FOCUS VISIBLE (Accessibility)
   ═══════════════════════════════════════════ */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
    outline: none;
}

/* ═══════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════ */

/* ── Small phones (≤ 374px) ── */
@media (max-width: 374px) {
    .container { padding: 0 12px; }

  
    
    .main-title { font-size: 22px; }
    .meta-row { gap: 6px 14px; font-size: 12px; }

    .image-top-bar { padding: 10px 14px; gap: 8px; }
    .topbar-rating .rating-number { font-size: 12px; padding: 3px 8px; }
    .topbar-rating .star-display { font-size: 14px; }
    .share-btn { width: 32px; height: 32px; font-size: 12px; }

    .price-ribbon { font-size: 13px; padding: 7px 18px 7px 16px; top: 14px; }
    .product-type-badge { font-size: 10px; padding: 7px 14px 7px 12px; top: 12px; }

    .info-card { padding: 16px; }
    .publisher-avatar-wrap { width: 52px; height: 52px; }
    .publisher-avatar-container { width: 52px; height: 52px; }
    .publisher-avatar-icon { font-size: 28px; }
    .publisher-meta h4 { font-size: 13px; }
    .stat-box h5 { font-size: 15px; }
    .follower-stat-number { font-size: 16px; }

    .action-grid { gap: 6px; }
    .btn-action { padding: 10px 10px; font-size: 11px; min-width: 70px; }
    .btn-action i { font-size: 13px; }

    .buy-btn, .visit-btn { padding: 14px 20px; font-size: 14px; letter-spacing: 0.5px; }
    .buy-btn i, .visit-btn i { font-size: 16px; }

    .mobile-sticky-bar a,
    .mobile-sticky-bar .bar-follow { font-size: 10px; padding: 10px 4px; gap: 4px; }

    .google-review-card { padding: 14px; }
    .google-review-avatar { width: 36px; height: 36px; }
    .google-review-avatar i { font-size: 16px; }
    .google-review-author { font-size: 12px; }
    .google-review-text { font-size: 12px; }

    .related-grid { grid-template-columns: 1fr; gap: 14px; }
    .r-img { height: 140px; }

    .faq-section, .desc-card { padding: 20px; }
    .rating-section h2 { font-size: 17px; }
    .rate-stars label { font-size: 26px; }
}

/* ── Phones (375px – 639px) ── */
@media (min-width: 375px) and (max-width: 639px) {
    .container { padding: 0 16px; }

   
    .image-top-bar { padding: 12px 16px; }
    .share-btn { width: 34px; height: 34px; font-size: 13px; }

    .info-card { padding: 18px; }

    .mobile-sticky-bar a,
    .mobile-sticky-bar .bar-follow { font-size: 11px; }

    .related-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .r-img { height: 130px; }
    .r-content { padding: 12px; }
    .r-title { font-size: 13px; }

    .share-popup-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
}

/* ── Tablets portrait (640px – 767px) ── */
@media (min-width: 640px) and (max-width: 767px) {
    .container { padding: 0 24px; }

   
    .related-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .r-img { height: 150px; }
}

/* ── Tablets landscape & small desktops (768px – 1023px) ── */
@media (min-width: 768px) and (max-width: 1023px) {
    .container { padding: 0 28px; }

    .grid-main {
        grid-template-columns: 1fr 320px;
        gap: 28px;
    }

    .sidebar-wrapper {
        position: sticky;
        top: 88px;
    }

    .related-grid { grid-template-columns: repeat(3, 1fr); }
    .r-img { height: 160px; }

    .share-popup-overlay {
        align-items: center;
    }

    .share-popup {
        border-radius: var(--radius-xl);
        padding-bottom: 28px;
        max-width: 420px;
        animation: slideUp 0.25s ease;
    }
}

/* ── Desktop (1024px – 1279px) ── */
@media (min-width: 1024px) and (max-width: 1279px) {
    .container { padding: 0 32px; }

    .grid-main {
        grid-template-columns: 1fr 360px;
        gap: 36px;
    }

    .sidebar-wrapper {
        position: sticky;
        top: 88px;
    }

    .related-grid { grid-template-columns: repeat(3, 1fr); }

    .share-popup-overlay {
        align-items: center;
    }

    .share-popup {
        border-radius: var(--radius-xl);
        padding-bottom: 28px;
        animation: slideUp 0.25s ease;
    }
}

/* ── Large desktop (≥ 1280px) ── */
@media (min-width: 1280px) {
    .grid-main {
        grid-template-columns: 1fr 400px;
        gap: 44px;
    }

    .sidebar-wrapper {
        position: sticky;
        top: 88px;
    }

    .related-grid { grid-template-columns: repeat(4, 1fr); }

    .share-popup-overlay {
        align-items: center;
    }

    .share-popup {
        border-radius: var(--radius-xl);
        padding-bottom: 28px;
        animation: slideUp 0.25s ease;
    }
}

/* ── Mobile sticky bar: show only on screens < 768px ── */
@media (max-width: 767px) {
    .mobile-sticky-bar {
        display: flex;
    }

    /* Add bottom padding to body to prevent content hiding behind sticky bar */
    body {
        padding-bottom: 72px;
    }
}

/* ── Share popup: bottom sheet on mobile, centered modal on desktop ── */
@media (max-width: 767px) {
    .share-popup-overlay {
        align-items: flex-end;
    }

    .share-popup {
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
        animation: slideUpSheet 0.3s var(--ease-out);
    }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ── Dark mode support (optional - auto via prefers-color-scheme) ── */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-body: #0f172a;
        --bg-card: #1e293b;
        --bg-elevated: #1e293b;
        --bg-muted: #1a2332;
        --bg-overlay: rgba(0, 0, 0, 0.7);
        --text-main: #f1f5f9;
        --text-secondary: #cbd5e1;
        --text-muted: #94a3b8;
        --text-light: #64748b;
        --text-faint: #475569;
        --border: #334155;
        --border-hover: #475569;
        --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.2);
        --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.25);
        --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.4), 0 8px 20px rgba(0, 0, 0, 0.3);
        --shadow-xl: 0 20px 50px -5px rgba(0, 0, 0, 0.5), 0 12px 30px rgba(0, 0, 0, 0.35);
        --shadow-2xl: 0 30px 60px -10px rgba(0, 0, 0, 0.6);
        --primary-50: rgba(37, 99, 235, 0.1);
        --primary-light: rgba(37, 99, 235, 0.15);
        --danger-light: rgba(239, 68, 68, 0.12);
        --success-light: rgba(34, 197, 94, 0.12);
        --accent-light: rgba(245, 158, 11, 0.12);
    }

    

    .image-gallery img.main-listing-image {
        background: #1a2332;
    }

    .btn-follow.following {
        background: var(--bg-muted);
        border-color: var(--border);
    }

    .btn-follow.following:hover {
        background: var(--danger-light);
        color: var(--danger);
        border-color: rgba(239, 68, 68, 0.2);
    }

    .mobile-sticky-bar {
        background: rgba(30, 41, 59, 0.94);
        border-top-color: var(--border);
    }

    .google-review-form .form-group input,
    .google-review-form .form-group textarea {
        background: var(--bg-muted);
        color: var(--text-main);
        border-color: var(--border);
    }

    .google-review-form .form-group input:focus,
    .google-review-form .form-group textarea:focus {
        background: var(--bg-card);
        border-color: var(--google-blue);
    }

    .share-popup {
        background: var(--bg-card);
    }

    .share-popup-item {
        background: var(--bg-muted);
    }

    .toast {
        background: var(--bg-card);
        color: var(--text-main);
    }

    .online-indicator {
        border-color: var(--bg-card);
    }

    .offline-indicator {
        border-color: var(--bg-card);
    }

    ::selection {
        background: rgba(37, 99, 235, 0.3);
        color: #f1f5f9;
    }

    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb { background: #475569; }
    ::-webkit-scrollbar-thumb:hover { background: #64748b; }
}

/* ── Print styles ── */
@media print {
   
    .mobile-sticky-bar,
    .share-popup-overlay,
    .toast-container,
    .btn-post,
    .btn-action,
    .btn-follow,
    .view-profile-btn,
    .buy-btn,
    .visit-btn,
    .share-btn,
    .google-write-review-btn,
    .google-review-form,
    .rate-stars,
    .publisher-socials {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
        padding: 0;
        font-size: 12pt;
    }

    .container { max-width: 100%; padding: 0; }

    .grid-main {
        display: block;
        gap: 0;
    }

    .info-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .image-gallery {
        box-shadow: none;
        border: 1px solid #ddd;
        border-radius: 8px;
    }

    .desc-card, .faq-section {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

        /* ===== FOOTER ===== */
        .main-footer {
            background: #0f172a;
            color: #94a3b8;
            padding: 48px 0 24px;
            margin-top: 64px;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 36px;
        }
        .footer-logo {
            font-size: 22px;
            font-weight: 800;
            color: #fff;
            margin-bottom: 12px;
            display: block;
            font-family: var(--font-heading);
        }
        .footer-links h4 {
            color: #fff;
            margin-bottom: 16px;
            font-size: 15px;
        }
        .footer-links a {
            display: block;
            margin-bottom: 10px;
            font-size: 13px;
            transition: 0.2s;
        }
        .footer-links a:hover {
            color: #fff;
            padding-left: 4px;
        }
        .copyright {
            text-align: center;
            border-top: 1px solid #1e293b;
            padding-top: 24px;
            margin-top: 36px;
            font-size: 12px;
        }

      
