/* Main Stylesheet Extracted from index.php */
:root {
    --bg-dark: #0D101B;
    --bg-card: #141828;
    --text-light: #F0F2F5;
    --text-secondary: #a0a0b8;
    --accent-premium: #F0B90B;
    --accent-blue: #4A69FF;
    --whatsapp-green: #25D366;
    --border-color: #2a2c40;
    --danger-red: #ff6b6b;
    --shadow-color-light: rgba(74, 105, 255, 0.1);
    --shadow-color-dark: rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 10px 25px rgba(240, 185, 11, 0.2), 0 5px 10px rgba(0, 0, 0, 0.1);
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
}

body.noscroll {
    overflow: hidden;
}

/* Screen Reader Only - For SEO H1 tags that should be hidden visually */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
    padding: 0 1rem;
}

.section-title span {
    color: var(--accent-premium);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 700px;
    margin: -0.5rem auto 3rem auto;
    padding: 0 1rem;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 0.5rem;
}

/* Header, nav, overlay, CTA buttons → moved to header.css */

.main-slider-section {
    padding: 0;
    background-color: #000;
}

.main-slider {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.main-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.main-slider .swiper-button-prev,
.main-slider .swiper-button-next {
    width: 44px;
    height: 44px;
    background: rgba(20, 24, 40, 0.5);
    border-radius: 50%;
    color: var(--text-light);
    backdrop-filter: blur(5px);
    transition: background 0.3s;
}

.main-slider .swiper-button-prev::after,
.main-slider .swiper-button-next::after {
    font-size: 1.1rem;
    font-weight: 700;
}

.main-slider .swiper-pagination-bullet-active {
    background: var(--accent-premium);
}

.categories {
    background-color: var(--bg-dark);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(calc(33.333% - 0.5rem), 1fr));
    gap: 0.5rem;
}

.category-item {
    background-color: var(--bg-card);
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(74, 105, 255, 0.15);
    border-color: var(--accent-blue);
}

.category-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 0.5rem;
    object-fit: cover;
    background-color: var(--bg-dark);
    border: 2px solid var(--accent-premium);
    pointer-events: auto;
}

.category-item h4 {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.2;
}

.category-item:hover h4 {
    color: var(--text-light);
}

.how-it-works {
    background-color: var(--bg-card);
}

.how-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
}

.how-step {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    z-index: 2;
    position: relative;
    overflow: hidden;
}

.how-step:hover {
    transform: translateY(-5px);
    border-color: var(--accent-premium);
    box-shadow: 0 5px 20px rgba(240, 185, 11, 0.1);
}

.how-step-bg-number {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 4.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.04);
    z-index: 1;
    line-height: 1;
}

.how-step .how-icon,
.how-step h4,
.how-step p {
    position: relative;
    z-index: 2;
}

.how-step .how-icon {
    font-size: 2.5rem;
    color: var(--accent-premium);
    margin-bottom: 0.75rem;
    line-height: 1;
}

.how-step .step-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-premium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.how-step h4 {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.how-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.why-choose-us {
    background-color: var(--bg-dark);
}

.why-advantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.advantage-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.advantage-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-premium);
    box-shadow: 0 5px 20px rgba(240, 185, 11, 0.1);
}

.advantage-card .icon {
    font-size: 2rem;
    color: var(--accent-premium);
    width: 40px;
    text-align: center;
}

.advantage-card h4 {
    font-size: 1.1rem;
    color: var(--text-light);
}

.advantage-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.why-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.why-details-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.why-details-content p.lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.why-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.why-details-list li i {
    color: var(--accent-premium);
    font-size: 1.1rem;
    padding-top: 5px;
    width: 20px;
}

.why-details-list li .item-content h5 {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.why-details-list li .item-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.why-details-image img {
    border-radius: 12px;
    object-fit: contain;
    width: 100%;
    height: auto;
    max-height: 400px; /* Prevent it from getting too tall if it's a portrait image */
    border: 1px solid var(--border-color);
}

.our-services {
    background-color: var(--bg-card);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-card {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: 0 5px 20px rgba(74, 105, 255, 0.1);
}

.service-card .service-icon {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
}

.service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.key-markets {
    background-color: var(--bg-dark);
}

.market-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.market-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.market-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 5px 20px rgba(74, 105, 255, 0.1);
}

.market-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: transform 0.4s ease;
}

.market-card:hover img {
    transform: scale(1.1);
}

.market-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(13, 16, 27, 0.95), rgba(13, 16, 27, 0));
}

.market-card-content h4 {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.market-card-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.features-slider {
    background-color: var(--bg-card);
    padding: 3rem 0;
    overflow: hidden;
}

.marquee {
    white-space: nowrap;
    display: block;
}

.marquee-content {
    display: inline-block;
    animation: marquee 40s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.feature-box {
    display: inline-block;
    width: 240px;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin: 0 0.75rem;
    border: 1px solid var(--border-color);
    background: var(--bg-dark);
}

.feature-box .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-premium);
}

.feature-box h4 {
    font-size: 1.1rem;
    color: var(--text-light);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.reviews-slider {
    background-color: var(--bg-dark);
    padding: 4rem 0 2rem 0;
    overflow-x: hidden;
}

.review-swiper {
    width: 110%;
    padding: 1rem 0 3rem 0;
}

.review-card {
    width: 90%;
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.review-card .rating {
    margin-bottom: 1rem;
    color: var(--accent-premium);
}

.review-card .rating .fa-regular {
    color: var(--text-secondary);
}

.review-card p.review-text {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.review-card .author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-card .author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    overflow: hidden;
}

.review-card .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: auto;
}

.review-card .author-info h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
}

.review-card .author-info span {
    font-size: 0.85rem;
    color: var(--accent-premium);
    font-weight: 500;
}

.review-swiper .swiper-button-prev,
.review-swiper .swiper-button-next,
.review-swiper .swiper-pagination {
    display: none !important;
}

.add-review-section {
    background-color: var(--bg-dark);
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.add-review-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.add-review-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.add-review-form .star-rating {
    font-size: 2rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.add-review-form .star-rating .fas {
    color: var(--accent-premium);
}

.add-review-form .star-rating i {
    transition: transform 0.2s;
}

.add-review-form .star-rating i:hover {
    transform: scale(1.1);
}

.add-review-form textarea {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    margin-bottom: 1.5rem;
}

.add-review-form textarea::placeholder {
    color: var(--text-secondary);
}

.add-review-form .cta-button {
    display: inline-block;
    width: auto;
    cursor: pointer;
    border: none;
}

.add-review-form .login-prompt {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.cta-section {
    background: linear-gradient(to right, var(--accent-blue), #3a50d3);
    padding: 5rem 1rem;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.cta-section p {
    font-size: 1.1rem;
    color: #d0d8ff;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}

.cta-section .cta-button {
    background-color: var(--accent-premium);
    color: var(--bg-dark);
    box-shadow: 0 5px 20px rgba(240, 185, 11, 0.3);
}

.cta-section .cta-button:hover {
    background-color: var(--text-light);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

/* Footer styles → moved to footer-premium.css */

.whatsapp-fab.movable {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--whatsapp-green);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    cursor: grab;
    user-select: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-fab.movable.dragging {
    cursor: grabbing;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 1003;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease-out;
}

.popup-overlay.show .popup-box {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
}

.popup-close:hover {
    color: var(--text-light);
}

.popup-icon {
    font-size: 3rem;
    color: var(--accent-premium);
    margin-bottom: 1rem;
}

.popup-box h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.popup-box p {
    font-size: 1rem;
    color: var(--text-secondary);
}

.popup-icon.success i {
    color: var(--whatsapp-green);
}

.popup-icon.error i {
    color: var(--danger-red);
}

.popup-icon.warning i {
    color: var(--accent-premium);
}

/* --- PAGE SPECIFIC STYLES (Consolidated) --- */
.seo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: stretch;
    /* Match height */
}

@media (min-width: 768px) {
    .seo-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.seo-map {
    width: 100%;
    min-height: 300px;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-color-dark);
}

.seo-map iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    /* Force square ratio on desktop mostly, or adjust to container */
}

.breadcrumb {
    padding: 1rem 0;
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb .container {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--text-light);
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--accent-premium);
}

.breadcrumb span {
    margin: 0 0.5rem;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.product-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px var(--shadow-color-dark);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

/* Temporarily hidden as per user request */
.img-footer-overlay {
    display: none !important;
}

/* New Strip in Content Area */
.content-header-strip {
    background: #fff;
    color: #000;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    padding: 8px 10px;
    /* Slightly more padding */
    text-transform: capitalize;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0;
    /* Flush with content */
    width: 100%;
}

.product-card .card-image-wrapper {
    overflow: hidden;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-card);
    flex-shrink: 0;
    /* Prevent shrinking */
}

.product-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.4s ease;
    pointer-events: auto;
    background-color: var(--bg-card);
    display: block;
    margin-bottom: 2px;
    /* Prevent footer overlap visual */
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 2;
    background-color: var(--bg-card);
    margin-top: 0;
    /* REMOVED NEGATIVE MARGIN */
}

.product-card h4 {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 28px;
    min-height: 24px;
}

.product-card h4::before {
    content: '\f0eb';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-premium);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1.1rem;
}

.product-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.product-card ul li {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    position: relative;
    padding-left: 1.1rem;
}

.product-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-premium);
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 0.75rem;
}

.product-card .cta-button {
    cursor: pointer;
    margin-top: auto;
    text-align: center;
}

/* Product Modal */
.product-detail-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.product-detail-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.product-detail-modal-overlay.closing {
    opacity: 0;
}

.product-detail-modal-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease-out;
}

.product-detail-modal-overlay.show .product-detail-modal-box {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.product-detail-modal-overlay.closing .product-detail-modal-box {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
}

.product-detail-modal-close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 2.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: color 0.3s, transform 0.3s;
}

.product-detail-modal-close:hover {
    color: var(--text-light);
    transform: rotate(90deg);
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.modal-header h3 {
    font-size: 1.8rem;
    color: var(--text-light);
    margin: 0;
}

.modal-header h3 span {
    color: var(--accent-premium);
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex-grow: 1;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-blue) var(--bg-dark);
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

.modal-body::-webkit-scrollbar-thumb {
    background-color: var(--accent-blue);
    border-radius: 20px;
    border: 2px solid var(--bg-dark);
}

.modal-item-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.modal-item {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.modal-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-bottom: 1px solid var(--border-color);
    pointer-events: auto;
    background-color: var(--bg-dark);
    display: block;
    margin-bottom: 2px;
    /* Prevent footer overlap visual */
}


.modal-item-content {
    padding: 1.5rem;
}

.modal-item-content h5 {
    font-size: 1.1rem;
    color: var(--accent-premium);
    margin-bottom: 0.5rem;
}

.modal-item-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.modal-item-content p strong {
    color: var(--text-light);
}

@media (min-width: 600px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .modal-item-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .review-card {
        width: 70%;
    }

    .header {
        padding: 0.75rem 1.5rem;
    }

    .how-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .market-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    section {
        padding: 5rem 0;
    }

    .reviews-slider {
        padding: 5rem 0 2rem 0;
    }

    .add-review-section {
        padding-bottom: 5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 2.5rem;
        padding: 0 1rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .category-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1rem;
    }

    .category-item img {
        width: 60px;
        height: 60px;
    }

    .category-item h4 {
        font-size: 0.9rem;
    }

    .how-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .why-advantages-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .why-details-grid {
        grid-template-columns: 1.2fr 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .market-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 2rem;
        text-align: left;
    }

    .footer {
        padding: 5rem 1rem 2rem 1rem;
    }

    .review-swiper {
        padding: 1rem 2rem 3rem 2rem;
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    /* Better spacing on standard laptops */
    .modal-item-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .header .hamburger-menu {
        display: none;
    }

    .header .cta-button.mobile {
        display: none;
    }

    .desktop-nav {
        display: flex;
    }

    /* Logo sizing removed — controlled by admin panel CSS variables */

    .slogan {
        font-size: 0.75rem;
    }

    .header-right {
        gap: 1.5rem;
    }

    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .category-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .review-card {
        width: 100%;
    }
}

@media (min-width: 1400px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* 4 cols only on very wide screens */
}

@media (max-width: 1023px) {

    .desktop-nav,
    .cta-button.desktop {
        display: none;
    }

    .header .hamburger-menu {
        display: block;
    }
}

@media (max-width: 599px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-card h4 {
        font-size: 1rem;
        padding-left: 24px;
    }

    .product-card h4::before {
        font-size: 0.9rem;
        left: 0;
    }

    .product-card p {
        display: block;
        /* Restored visibility */
        margin-bottom: 0.5rem;
        /* Adjust spacing for mobile */
        font-size: 0.85rem;
        /* Slightly smaller text */
    }

    .product-card ul {
        display: block;
        /* Restored visibility */
        margin-bottom: 1rem;
    }

    .product-card-content {
        padding: 1rem;
    }
}

/* SEO Chip Styling - Added for Bike Parts Page */
.seo-chip-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.seo-chip {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    /* Pill shape */
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    cursor: default;
}

.seo-chip:hover {
    background-color: var(--bg-card);
    border-color: var(--accent-premium);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.seo-chip.highlight {
    background-color: rgba(240, 185, 11, 0.1);
    /* Gold tint */
    border-color: rgba(240, 185, 11, 0.3);
    color: var(--text-light);
}

.seo-chip.highlight:hover {
    background-color: var(--accent-premium);
    color: var(--bg-dark);
    /* Black text on gold bg */
    border-color: var(--accent-premium);
}

/* FAQ Section Styles - Premium Accordion */
.faq-section {
    background-color: var(--bg-dark);
    padding: 4rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-premium);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-light);
    font-size: 1.05rem;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.faq-question i {
    color: var(--accent-premium);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all 0.3s ease;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-question {
    color: var(--accent-premium);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    padding: 1.2rem 1.5rem;
    max-height: 200px;
    /* Adjust if content is very long */
    border-top: 1px solid var(--border-color);
}

/* SEO Card Styling (Restored/Refined) */
.seo-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    /* "Rectangle circle" look */
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.seo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-premium);
}

.seo-card h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.seo-card h4 i {
    color: #ffc107 !important;
    /* Yellow icon as requested */
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Header CTA/Mobile styles → moved to header.css */

/* Modal Styles Refactored */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--bg-card);
    padding: 15px 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 420px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    color: var(--text-light);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
}

.enq-form-group {
    margin-bottom: 8px;
}

.enq-form-group label {
    display: block;
    margin-bottom: 2px;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.enq-form-group input,
.enq-form-group textarea {
    width: 100%;
    padding: 8px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: white;
    font-size: 0.9rem;
}

.enq-form-group input:focus,
.enq-form-group textarea:focus {
    border-color: var(--accent-blue);
    outline: none;
}

.enq-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.lightbox-controls {
    display: none !important;
}

/* Helper Class */
body.no-scroll {
    overflow: hidden;
    height: 100%;
}

/* --- REFACTORED INLINE STYLES FROM index.php --- */

/* Custom Category Grid Overrides */
#categories .category-item {
    border-radius: 25px !important;
    width: auto !important;
    height: auto !important;
    padding: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

#categories .category-item img {
    border-radius: 15px !important;
    object-fit: cover !important;
    aspect-ratio: 1/1 !important;
}

@media (min-width: 769px) {
    #categories .category-item img {
        width: 140px !important;
        height: 140px !important;
    }
}

@media (max-width: 768px) {
    #categories .category-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 5px !important;
    }

    #categories .category-item {
        padding: 3px !important;
        border-radius: 12px !important;
    }

    #categories .category-item img {
        width: 100% !important;
        height: auto !important;
        max-width: 65px !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 8px !important;
    }

    #categories .category-item h4 {
        font-size: 10px !important;
        margin-top: 4px !important;
        line-height: 1.2 !important;
        word-wrap: break-word !important;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    #categories .category-grid {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 10px !important;
    }

    #categories .category-item {
        padding: 8px !important;
    }

    #categories .category-item img {
        max-width: 90px !important;
        width: 100% !important;
    }

    #categories .category-item h4 {
        font-size: 11px !important;
    }
}

/* =============================================
   PRODUCT ACTION BUTTONS (WhatsApp, Enquiry, Order)
   ============================================= */
.product-action-buttons,
.modal-item-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: nowrap;
    /* IMPORTANT: Never wrap, always in one row */
}

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-size: 0.9rem;
    flex-shrink: 0;
    /* Prevent shrinking */
}

.btn-action:hover {
    transform: scale(1.1);
}

.btn-action.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: #fff;
}

.btn-action.btn-whatsapp:hover {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.btn-action.btn-enquiry {
    background-color: var(--accent-blue);
    color: #fff;
}

.btn-action.btn-enquiry:hover {
    box-shadow: 0 4px 12px rgba(74, 105, 255, 0.4);
}

.btn-action.btn-order {
    background-color: var(--accent-premium);
    color: var(--bg-dark);
}

.btn-action.btn-order:hover {
    box-shadow: 0 4px 12px rgba(240, 185, 11, 0.4);
}

/* Modal item action buttons - smaller */
.modal-item-actions .btn-action {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
}

/* Mobile: Smaller buttons to fit all 3 in one row */
@media (max-width: 480px) {
    .product-action-buttons {
        justify-content: center;
        gap: 6px;
    }

    .btn-action {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    .modal-item-actions .btn-action {
        width: 26px;
        height: 26px;
        font-size: 0.75rem;
    }
}

/* ========================================
   🔍 GLOBAL SEARCH BAR STYLES
   ======================================== */

.global-search-section {
    padding: 20px 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3));
}

.global-search-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 8px 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.search-input-group:focus-within {
    border-color: var(--accent-premium);
    box-shadow: 0 4px 25px rgba(240, 185, 11, 0.2);
}

.search-input-group .search-icon {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-right: 12px;
}

.global-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-light);
    font-size: 1rem;
    padding: 8px 0;
}

.global-search-input::placeholder {
    color: var(--text-secondary);
}

.search-clear-btn,
.voice-search-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-clear-btn:hover,
.voice-search-btn:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
}

.voice-search-btn.listening {
    color: #ef4444;
    animation: pulse 1s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Search Results Dropdown */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.search-results-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-light);
    transition: background 0.2s ease;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover,
.search-result-item.highlighted {
    background: rgba(255, 255, 255, 0.05);
}

.result-thumb {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 12px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
}

.result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(74, 105, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    margin-right: 12px;
}

.result-info {
    flex: 1;
    min-width: 0;
}

.result-name {
    display: block;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-name mark {
    background: rgba(240, 185, 11, 0.3);
    color: var(--accent-premium);
    padding: 0 2px;
    border-radius: 2px;
}

.result-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.result-arrow {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* WhatsApp Suggestion */
.search-result-item.whatsapp-item {
    background: rgba(37, 211, 102, 0.1);
    border-top: 1px solid rgba(37, 211, 102, 0.2);
}

.search-result-item.whatsapp-item:hover {
    background: rgba(37, 211, 102, 0.2);
}

.whatsapp-icon {
    background: var(--whatsapp-green) !important;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-icon i {
    font-size: 1.2rem;
}

/* No Results */
.search-no-results {
    padding: 30px 20px;
    text-align: center;
    color: var(--text-secondary);
}

.search-no-results i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    opacity: 0.5;
}

.search-no-results p {
    margin-bottom: 16px;
}

.whatsapp-suggest {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--whatsapp-green);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.whatsapp-suggest:hover {
    background: #1ebc57;
    transform: translateY(-2px);
}

/* Recent Searches */
.recent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.recent-header button {
    background: transparent;
    border: none;
    color: var(--accent-blue);
    cursor: pointer;
    font-size: 0.8rem;
}

.recent-item .result-icon {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

/* Loading & Error */
.search-loading,
.search-error {
    padding: 20px;
    text-align: center;
    color: var(--text-secondary);
}

.search-loading i {
    margin-right: 8px;
}

/* No Results Box */
.search-no-results {
    padding: 30px 20px;
    text-align: center;
}

.search-no-results>i {
    font-size: 2.5rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.search-no-results p {
    color: var(--text-light);
    margin-bottom: 8px;
}

.search-no-results .sub-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* WhatsApp Big Button */
.whatsapp-big-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white !important;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.whatsapp-big-btn:hover {
    background: #20BD5A;
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-big-btn i {
    font-size: 1.3rem;
}

/* Order Button */
.order-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-blue);
    color: white !important;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.order-btn:hover {
    background: var(--accent-premium);
    color: #000 !important;
}

/* Search Actions Row */
.search-actions {
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
}

.search-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.search-wa-btn:hover {
    background: #20BD5A;
    transform: translateY(-2px);
}

.search-wa-btn i {
    font-size: 1.1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .global-search-section {
        padding: 15px 10px 5px 10px;
        /* Reduced bottom padding */
        position: sticky;
        top: 85px;
        z-index: 1001;
        background: var(--bg-dark);
    }

    /* Reduce gap for the section immediately following the search bar */
    .global-search-section+section {
        padding-top: 5px !important;
    }

    /* Mobile Text Spacing Optimization */
    .section-title {
        font-size: 1.3rem;
        margin-bottom: 8px;
        /* Balanced spacing */
    }

    .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 15px;
        /* Better readability */
        max-width: 95%;
    }

    section {
        padding: 2rem 0;
        /* Standard mobile section padding */
    }

    .search-input-group {
        padding: 6px 12px;
    }

    .global-search-input {
        font-size: 0.95rem;
        padding: 6px 0;
    }

    .search-results-dropdown {
        position: fixed !important;
        top: 25%;
        left: 5%;
        right: 5%;
        max-height: 50vh;
        border-radius: 16px;
        z-index: 10000;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    }

    .result-thumb,
    .result-icon {
        width: 36px;
        height: 36px;
    }

    .whatsapp-big-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }

    .order-btn {
        width: 100%;
        justify-content: center;
    }

    .search-no-results {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}

/* Highlighted Result */
.search-result-item.highlighted {
    background: rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--accent-premium);
}

/* Product Found Highlight Animation */
@keyframes productFoundPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(240, 185, 11, 0.7);
    }

    50% {
        box-shadow: 0 0 30px 10px rgba(240, 185, 11, 0.5);
    }
}

.product-found-highlight {
    animation: productFoundPulse 0.5s ease-in-out 3;
}

/* LIGHTBOX STYLES V5 (Centered Box Design) */
#imageLightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* Slightly lighter overlay */
    z-index: 99999;
    flex-direction: column;
    justify-content: center;
    /* Center Vertically */
    align-items: center;
    /* Center Horizontally */
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    /* Safe padding from screen edges */
}

#imageLightbox.active {
    opacity: 1;
}

.lightbox-wrapper {
    background-color: #fff;
    width: 100%;
    max-width: 500px;
    /* Laptop/Desktop nice width */
    max-height: 90vh;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding-top: 50px;
    /* Space for Close Button */
}

#imageLightbox.active .lightbox-wrapper {
    transform: scale(1);
}

.lightbox-content {
    flex: 1;
    /* Take remaining height */
    min-height: 0;
    /* Allow shrinking */
    width: 100%;
    object-fit: contain;
    background-color: #f8f8f8;
    /* Contrast for image area */
    display: block;
    margin: 0;
    padding: 0;
}

/* Close button inside the wrapper */
.lightbox-close {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    transition: background 0.2s, color 0.2s;
}

.lightbox-close:hover {
    background: var(--accent-premium);
    color: #fff;
}

.lightbox-footer {
    width: 100%;
    background: #fff;
    padding: 15px 20px;
    flex-shrink: 0;
    text-align: left;
    /* LEFT ALIGN */
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    /* LEFT ALIGN */
    position: relative;
    /* Reset old styles */
    border-radius: 0;
    box-shadow: none;
    bottom: auto;
    left: auto;
}

.lightbox-product-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.lightbox-contact-text {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    font-weight: 500;
}

.lightbox-whatsapp-btn {
    background-color: #25D366;
    color: white !important;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
    font-size: 1rem;
    margin-top: 5px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.lightbox-whatsapp-btn:hover {
    transform: scale(1.05);
}

.lightbox-controls {
    display: none;
}

.modal-item img {
    cursor: zoom-in;
}