
        :root {
            --primary-blue: #1E88E5;
            --primary-dark: #1565C0;
            --accent-green: #4CAF50;
            --accent-orange: #FF9800;
            --bg-light: #F5F7FA;
            --bg-white: #FFFFFF;
            --text-dark: #212121;
            --text-gray: #757575;
            --text-light: #9E9E9E;
            --border-color: #E0E0E0;
            --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
            --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--bg-light);
            color: var(--text-dark);
            line-height: 1.6;
            overflow-x: hidden;
            width: 100%;
            position: relative;
        }

        html {
            overflow-x: hidden;
            width: 100%;
        }

        /* Back Button */
        .back-nav {
            background: var(--bg-white);
            padding: 1rem 0;
            box-shadow: var(--shadow-sm);
            position: sticky;
            top: 0;
            z-index: 100;
            width: 100%;
        }

        .back-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 1rem;
            width: 100%;
        }

        @media (min-width: 769px) {
            .back-container {
                padding: 0 2rem;
            }
        }

        .back-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--primary-blue);
            text-decoration: none;
            font-weight: 600;
            transition: gap 0.3s;
        }

        .back-btn:hover {
            gap: 0.75rem;
        }

        /* Hero Section */
        .business-hero {
            position: relative;
            height: 400px;
            background: linear-gradient(135deg, #14B8A6 0%, #0F766E 100%);
            overflow: hidden;
            width: 100%;
        }

        @media (max-width: 768px) {
            .business-hero {
                height: 250px;
            }
        }

        .hero-cover {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .hero-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            padding: 2rem;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 1rem;
            width: 100%;
            /* Remove overflow-x hidden from container */
        }

        @media (min-width: 769px) {
            .container {
                padding: 0 2rem;
            }
        }

        .business-header {
            position: relative;
            margin-top: -80px;
            background: var(--bg-white);
            border-radius: 16px;
            padding: 1.5rem;
            box-shadow: var(--shadow-lg);
            margin-bottom: 2rem;
            width: 100%;
        }

        @media (min-width: 769px) {
            .business-header {
                padding: 2rem;
            }
        }

        .header-top {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        @media (min-width: 769px) {
            .header-top {
                gap: 2rem;
                flex-wrap: nowrap;
            }
        }

        .business-logo {
            width: 100px;
            height: 100px;
            border-radius: 16px;
            object-fit: cover;
            box-shadow: var(--shadow-md);
            border: 4px solid white;
        }

        @media (min-width: 769px) {
            .business-logo {
                width: 120px;
                height: 120px;
            }
        }

        .header-info {
            flex: 1;
            min-width: 0;
            width: 100%;
        }

        .business-name {
            font-size: 1.75rem;
            font-weight: 800;
            color: var(--text-dark);
            margin-bottom: 0.5rem;
            font-family: 'Poppins', sans-serif;
            word-wrap: break-word;
        }

        @media (min-width: 769px) {
            .business-name {
                font-size: 2.5rem;
            }
        }

        .business-category {
            display: inline-block;
            background: #E3F2FD;
            color: var(--primary-blue);
            padding: 0.5rem 1.25rem;
            border-radius: 6px;
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 1rem;
            word-wrap: break-word;
        }

        .business-stats {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
            flex-direction: column;
        }

        @media (min-width: 769px) {
            .business-stats {
                flex-direction: row;
                gap: 2rem;
            }
        }

        .stat-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--text-gray);
            font-size: 0.95rem;
            flex-wrap: wrap;
        }

        .stat-icon {
            font-size: 1.25rem;
        }

        .offers-banner {
            background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
            color: white;
            padding: 1.25rem;
            border-radius: 12px;
            margin-bottom: 2rem;
            box-shadow: var(--shadow-md);
            width: 100%;
            word-wrap: break-word;
        }

        .offers-banner h3 {
            font-size: 1.25rem;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .offers-banner p {
            font-size: 1rem;
            opacity: 0.95;
            word-wrap: break-word;
        }

        /* Content Grid */
        .content-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            margin-bottom: 2rem;
            width: 100%;
        }

        @media (min-width: 1025px) {
            .content-grid {
                grid-template-columns: 2fr 1fr;
            }
        }

        .main-content {
            display: flex;
            flex-direction: column;
            gap: 2rem;
            width: 100%;
        }

        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 2rem;
            width: 100%;
        }

        /* Section Card */
        .section-card {
            background: var(--bg-white);
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: var(--shadow-sm);
            width: 100%;
            overflow-x: hidden;
        }

        @media (min-width: 769px) {
            .section-card {
                padding: 2rem;
            }
        }

        .section-title {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 3px solid var(--primary-blue);
            display: flex;
            align-items: center;
            gap: 0.75rem;
            flex-wrap: wrap;
            word-wrap: break-word;
        }

        @media (min-width: 769px) {
            .section-title {
                font-size: 1.5rem;
            }
        }

        /* Business Info Grid */
        .info-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
            width: 100%;
        }

        @media (min-width: 769px) {
            .info-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        .info-item {
            background: var(--bg-light);
            padding: 1.25rem;
            border-radius: 8px;
            border-left: 4px solid var(--primary-blue);
            word-wrap: break-word;
        }

        .info-label {
            font-size: 0.75rem;
            color: var(--text-light);
            text-transform: uppercase;
            font-weight: 700;
            margin-bottom: 0.5rem;
            letter-spacing: 1px;
        }

        .info-value {
            font-size: 1.1rem;
            color: var(--text-dark);
            font-weight: 600;
            word-wrap: break-word;
        }

        /* Contact Box */
        .contact-box {
            background: linear-gradient(135deg, #1E88E5 0%, #1565C0 100%);
            color: white;
            padding: 1.5rem;
            border-radius: 12px;
            margin-bottom: 1rem;
            width: 100%;
        }

        .contact-box h4 {
            font-size: 1.1rem;
            margin-bottom: 1rem;
            word-wrap: break-word;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 0.75rem;
            background: rgba(255, 255, 255, 0.15);
            border-radius: 8px;
            margin-bottom: 0.75rem;
            flex-wrap: wrap;
        }

        .contact-icon {
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.25);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            flex-shrink: 0;
        }

        .contact-text {
            flex: 1;
            min-width: 0;
            word-wrap: break-word;
        }

        .contact-label {
            font-size: 0.8rem;
            opacity: 0.85;
        }

        .contact-value {
            font-size: 1rem;
            font-weight: 600;
            word-wrap: break-word;
        }

        /* Social Links */
        .social-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1rem;
            width: 100%;
        }

        @media (min-width: 769px) {
            .social-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        .social-card {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            border-radius: 10px;
            text-decoration: none;
            transition: transform 0.3s, box-shadow 0.3s;
            box-shadow: var(--shadow-sm);
            width: 100%;
        }

        .social-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
        }

        .social-facebook {
            background: linear-gradient(135deg, #1877F2 0%, #0C63D4 100%);
            color: white;
        }

        .social-instagram {
            background: linear-gradient(135deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%);
            color: white;
        }

        .social-youtube {
            background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
            color: white;
        }

        .social-twitter {
            background: linear-gradient(135deg, #1DA1F2 0%, #0C85D0 100%);
            color: white;
        }

        .social-linkedin {
            background: linear-gradient(135deg, #0A66C2 0%, #004182 100%);
            color: white;
        }

        .social-website {
            background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
            color: white;
        }

        .social-icon {
            width: 45px;
            height: 45px;
            background: rgba(255, 255, 255, 0.25);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            flex-shrink: 0;
        }

        .social-text {
            flex: 1;
            min-width: 0;
            word-wrap: break-word;
        }

        .social-label {
            font-size: 0.8rem;
            opacity: 0.9;
            font-weight: 500;
        }

        .social-name {
            font-size: 1rem;
            font-weight: 700;
            word-wrap: break-word;
        }

        /* Services */
        .services-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1rem;
            width: 100%;
        }

        @media (min-width: 480px) {
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 769px) {
            .services-grid {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            }
        }

        .service-card {
            background: var(--bg-light);
            padding: 1.25rem;
            border-radius: 10px;
            text-align: center;
            border: 2px solid transparent;
            transition: all 0.3s;
            width: 100%;
        }

        .service-card:hover {
            border-color: var(--primary-blue);
            background: white;
            box-shadow: var(--shadow-md);
        }

        .service-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.75rem;
            margin: 0 auto 1rem;
            color: white;
        }

        .service-name {
            font-weight: 600;
            color: var(--text-dark);
            word-wrap: break-word;
        }

        /* Image Gallery */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
            width: 100%;
        }

        @media (min-width: 769px) {
            .gallery-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }
        }
        .image-item-gallery{
                    padding-bottom: 75%
        }

        .gallery-item {
            position: relative;

            overflow: hidden;
            border-radius: 12px;
            cursor: pointer;
            box-shadow: var(--shadow-sm);
            transition: transform 0.3s, box-shadow 0.3s;
            width: 100%;
        }

        .gallery-item:hover {
            transform: scale(1.05);
            box-shadow: var(--shadow-lg);
        }

        .gallery-item img,
        .gallery-item video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .play-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60px;
            height: 60px;
            background: rgba(0, 0, 0, 0.8);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.75rem;
            pointer-events: none;
        }

        /* Coupons */
        .coupons-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
            width: 100%;
        }

        @media (min-width: 769px) {
            .coupons-grid {
                grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            }
        }

        .coupon-card {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 1.5rem;
            border-radius: 16px;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-md);
            width: 100%;
            word-wrap: break-word;
        }

        @media (min-width: 769px) {
            .coupon-card {
                padding: 2rem;
            }
        }

        .coupon-card::before {
            content: '';
            position: absolute;
            top: -50px;
            right: -50px;
            width: 150px;
            height: 150px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
        }

        .coupon-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 1rem;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .coupon-badge {
            background: rgba(255, 255, 255, 0.25);
            padding: 0.375rem 0.875rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .coupon-code-box {
            background: rgba(255, 255, 255, 0.2);
            border: 2px dashed rgba(255, 255, 255, 0.5);
            padding: 1rem;
            border-radius: 12px;
            text-align: center;
            margin-bottom: 1rem;
            word-wrap: break-word;
        }

        .coupon-code {
            font-size: 1.5rem;
            font-weight: 800;
            letter-spacing: 2px;
            margin-bottom: 0.25rem;
            word-wrap: break-word;
        }

        @media (min-width: 769px) {
            .coupon-code {
                font-size: 1.75rem;
            }
        }

        .coupon-description {
            font-size: 1.1rem;
            margin-bottom: 0.75rem;
            font-weight: 500;
            word-wrap: break-word;
        }

        .coupon-validity {
            font-size: 0.85rem;
            opacity: 0.85;
            margin-bottom: 1.25rem;
            word-wrap: break-word;
        }

        .copy-coupon-btn {
            width: 100%;
            padding: 0.875rem;
            background: rgba(255, 255, 255, 0.25);
            border: 2px solid rgba(255, 255, 255, 0.5);
            color: white;
            border-radius: 10px;
            cursor: pointer;
            font-weight: 700;
            font-size: 1rem;
            transition: all 0.3s;
            font-family: 'Inter', sans-serif;
        }

        .copy-coupon-btn:hover {
            background: rgba(255, 255, 255, 0.35);
            transform: translateY(-2px);
        }

        /* Lightbox */
        .lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 2000;
            justify-content: center;
            align-items: center;
            padding: 1rem;
        }

        @media (min-width: 769px) {
            .lightbox {
                padding: 2rem;
            }
        }

        .lightbox.active {
            display: flex;
        }

        .lightbox-content {
           position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            max-width: 95%;
            max-height: 90vh;
        }

        .lightbox-content img,
        .lightbox-content video {
            max-width: 100%;
            max-height: 90vh;
            border-radius: 12px;
            box-shadow: var(--shadow-lg);
            object-fit: contain;
        }

        .lightbox-close {
            position: absolute;
            top: -50px;
            right: 0;
            background: white;
            color: #333;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.75rem;
            line-height: 1;
            transition: transform 0.3s;
        }

        @media (min-width: 769px) {
            .lightbox-close {
                top: -60px;
                width: 50px;
                height: 50px;
                font-size: 2rem;
            }
        }

        .lightbox-close:hover {
            transform: scale(1.1);
        }

        .lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.95);
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.5rem;
            line-height: 1;
            transition: all 0.3s;
        }

        @media (min-width: 769px) {
            .lightbox-nav {
                width: 60px;
                height: 60px;
                font-size: 2rem;
            }
        }

        .lightbox-nav:hover {
            background: white;
            transform: translateY(-50%) scale(1.1);
        }

        .business-info-modern {
            padding: 1.5rem;
            width: 100%;
        }

        @media (min-width: 769px) {
            .business-info-modern {
                padding: 2.5rem;
            }
        }

        .info-modern-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
            width: 100%;
        }

        @media (min-width: 480px) {
            .info-modern-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        .category-image-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1rem;
            width: 100%;
        }

        @media (min-width: 480px) {
            .category-image-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        .category-card {
            position: relative;
            display: block;
            height: 120px;
            border-radius: 14px;
            overflow: hidden;
            text-decoration: none;
            box-shadow: var(--shadow-sm);
            transition: 0.3s;
            width: 100%;
        }

        .category-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }

        .category-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .category-card span {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 0.6rem;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            color: white;
            font-weight: 600;
            font-size: 0.9rem;
            text-align: center;
            word-wrap: break-word;
        }

        .info-modern-item {
            display: flex;
            gap: 1rem;
            align-items: flex-start;
            padding: 1.25rem;
            border-radius: 12px;
            background: var(--bg-light);
            transition: all 0.3s;
            width: 100%;
            word-wrap: break-word;
        }

        .info-modern-item:hover {
            background: white;
            box-shadow: var(--shadow-md);
            transform: translateY(-4px);
        }

        .info-modern-icon {
            font-size: 1.8rem;
            flex-shrink: 0;
        }

        .info-modern-label {
            font-size: 0.75rem;
            text-transform: uppercase;
            font-weight: 700;
            letter-spacing: 1px;
            color: var(--text-light);
            margin-bottom: 0.35rem;
        }

        .info-modern-value {
            font-size: 1.05rem;
            font-weight: 600;
            color: var(--text-dark);
            word-wrap: break-word;
        }

        .lightbox-prev {
            left: 10px;
        }

        @media (min-width: 769px) {
            .lightbox-prev {
                left: 20px;
            }
        }

        .lightbox-next {
            right: 10px;
        }

        @media (min-width: 769px) {
            .lightbox-next {
                right: 20px;
            }
        }

        .similar-business-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            width: 100%;
        }

        .similar-business-item {
            display: flex;
            gap: 1rem;
            align-items: center;
            padding: 0.75rem;
            border-radius: 10px;
            text-decoration: none;
            background: var(--bg-light);
            transition: all 0.3s;
            width: 100%;
        }

        .similar-business-item:hover {
            background: white;
            box-shadow: var(--shadow-md);
            transform: translateY(-3px);
        }

        .similar-business-item img {
            width: 60px;
            height: 60px;
            border-radius: 10px;
            object-fit: cover;
            flex-shrink: 0;
        }

        .similar-name {
            font-weight: 600;
            color: var(--text-dark);
            word-wrap: break-word;
        }

        .similar-meta {
            font-size: 0.85rem;
            color: var(--text-gray);
            word-wrap: break-word;
        }

        /* Mobile fixes - only target elements that actually overflow */
        @media (max-width: 768px) {
            .business-name {
                font-size: 1.5rem;
            }

            .header-top {
                flex-direction: column;
                align-items: flex-start;
            }

            .business-logo {
                width: 100px;
                height: 100px;
            }

            .business-stats {
                flex-direction: column;
                gap: 0.75rem;
            }

            .offers-banner p {
                font-size: 0.9rem;
            }
            
            /* Only apply max-width to specific elements that cause overflow */
            .gallery-grid,
            .services-grid,
            .coupons-grid,
            .social-grid,
            .info-modern-grid,
            .category-image-grid,
            .similar-business-list {
                max-width: 100%;
            }
            
            img, 
            video, 
            iframe {
                max-width: 100%;
                height: auto;
            }
            
            /* Don't add overflow-x hidden to container - this was causing the header issue */
            .container {
                overflow-x: visible;
            }
            
            /* Add padding to prevent edge touching but keep negative margin working */
            .business-header {
                margin-left: 0;
                margin-right: 0;
                width: 100%;
            }
            
            /* Fix for potential overflow from cards */
            .coupon-card,
            .social-card,
            .service-card,
            .category-card,
            .similar-business-item {
                max-width: 100%;
                box-sizing: border-box;
            }
            
            /* Ensure text breaks properly */
            p, h1, h2, h3, h4, h5, h6, span, div {
                word-wrap: break-word;
                overflow-wrap: break-word;
            }
            
            /* Fix for any absolutely positioned elements that might cause overflow */
            .coupon-card::before {
                right: -30px;
            }
        }

        /* Additional fix for very small devices */
        @media (max-width: 480px) {
            .container {
                padding: 0 0.75rem;
            }
            
            .back-container {
                padding: 0 0.75rem;
            }
            
            .business-header {
                padding: 1rem;
            }
            
            .coupon-code {
                font-size: 1.25rem;
            }
        }
        
        
        .category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.category-tag {
    background: #f1f1f1;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    padding-left: 22px;
}

/* Small dot */
.category-tag::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #6c5ce7;
    border-radius: 50%;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.category-tag:hover {
    background: #6c5ce7;
    color: #fff;
}

