body {
    font-family: system-ui, sans-serif;
    margin: 0;
    background: #f8fafc;
    color: #111827;
}
.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #ca8a04;
    border-radius: 16px;
    margin-top: 16px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fde68a;
    border: 2px solid #eab308;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ca8a04;
}
.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.brand-text h1 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
}
.brand-text p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}
.actions {
    display: flex;
    gap: 8px;
}
.btn {
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #ca8a04;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    color: #111827;
}
.btn-primary {
    background: #eab308;
    border-color: #eab308;
    color: #fff;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .brand {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }
    .brand-logo {
        width: 36px;
        height: 36px;
    }
    .brand-text h1 {
        font-size: 18px;
    }
    .brand-text p {
        font-size: 13px;
    }
    .actions {
        width: 100%;
        justify-content: space-between;
    }
    .actions .btn {
        flex: 1;
        text-align: center;
        padding: 12px;
    }
}

/* Default: show icon + label */
.actions .btn i {
    font-size: 18px;
}
.actions .btn span {
    display: inline;
}

/* Mobile: hide labels, keep only icons */
@media (max-width: 768px) {
    .actions .btn span {
        display: none;   /* hide text labels */
    }
    .actions .btn {
        justify-content: center; /* center the icon in the button */
        padding: 12px;           /* make button more square */
    }
}


/* Tags bar */
.tags-bar {
    display: flex;
    flex-wrap: wrap;      /* allow wrapping if needed */
    gap: 8px;
    margin: 16px 0;
}

.tag {
    display: inline-block;   /* width adapts to text */
    flex: 0 0 auto;          /* don’t stretch/shrink */
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 500;
    border: 2px solid #1E40AF;
    border-radius: 25px;
    background-color: #f9fafb;
    color: #1E40AF;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;     /* keep text in one line */
}

.tag:hover {
    background-color: #1E40AF;
    color: #fff;
}

.tag.active {
    background-color: #1E40AF;
    color: #fff;
}


/* Gallery grid */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
    grid-auto-flow: dense;
}
.card {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.06);
}
.card img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

@media(max-width:768px){ .gallery { grid-template-columns: repeat(3, 1fr); } }
@media(max-width:480px){ .gallery { grid-template-columns: repeat(3, 1fr); } }

/* Sections – mobile-first: use flex column to avoid any grid artifacts */
.sections {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;      /* uniform spacing between all sections */
    margin: 20px 0;
}

/* Cards (no external margins; spacing controlled by gap) */
.section-card {
    background: #fff;
    border: 1px solid #ca8a04;
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
}

/* Headings and text */
.section-card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 800; }
.section-card p  { margin: 0; font-size: 14px; color: #6b7280; }

/* Link pills */
.link-grid { display: flex; flex-wrap: wrap; gap: 8px; }
/* Existing pill styles remain unchanged */
.pill {
    padding: 8px 10px;
    border: 1px solid #ca8a04;
    border-radius: 999px;
    background: #fff;
    font-size: 18px;
    font-weight: 600;
    display: flex;              /* allow icon + label side by side */
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: inherit;
}


/* Label toggle */
.pill-label {
    display: inline;
}

/* Mobile: hide labels, keep only icons */
@media (max-width: 768px) {
    .pill-label {
        display: none;
    }
    .pill {
        justify-content: center; /* center the icon */
        padding: 10px;           /* make pill more square */
    }
}


/* QR block */
.qr-code {
    margin-top: 12px;  /* internal spacing only */
    text-align: left;
}
.qr-code img {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.qr-code p {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #ca8a04;
    letter-spacing: 0.5px;
}

/* Desktop: switch to 3-column grid with named areas */
@media (min-width: 1024px) {
    .sections {
        display: grid; /* switch from flex to grid */
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-areas:
            "about address qr"
            "about connect qr"
            "about social  qr";
        gap: 1.5rem;    /* a bit more spacing on desktop */
        align-items: start;
    }

    /* Map cards to areas */
    .section-card.about   { grid-area: about; }
    .section-card.address { grid-area: address; }
    .section-card.connect { grid-area: connect; }
    .section-card.social  { grid-area: social; }
    .section-card.qr      { grid-area: qr; }
}





/* Loader */
.loader { text-align: center; color: #6b7280; margin-top: 8px; }

/* Lightbox overlay */
#lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
}
#lightbox.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
#enquire-btn {
    margin-top: 12px;
    padding: 10px 16px;
    background: #25D366;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

/* Lightbox controls */
#lightbox .close {
    position: absolute;
    top: 20px; right: 30px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}
#lightbox .prev,
#lightbox .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    z-index: 1001;
}
#lightbox .prev { left: 16px; }
#lightbox .next { right: 16px; }
#lightbox .prev:hover,
#lightbox .next:hover {
    background: rgba(234, 179, 8, 0.9);
    color: #fff;
}
@media (max-width: 768px) {
    #lightbox .prev,
    #lightbox .next {
        width: 36px;
        height: 36px;
        line-height: 36px;
        font-size: 20px;
        background: rgba(0,0,0,0.7);
    }
}

/* Banner swiper */
.banner-swiper {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 500px;
}
.banner-swiper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}
@media (max-width: 768px) {
    .banner-swiper {
        aspect-ratio: 2 / 1;
        max-height: 220px;
    }
}
@media (min-width: 1024px) {
    .banner-swiper {
        aspect-ratio: 21 / 9;
        max-height: 320px;
    }
}

/* Lightbox details */
#lightbox-details {
    margin-top: 12px;
    text-align: center;
    color: #fff;
}
#lightbox-caption {
    font-size: 20px;
    font-weight: 700;
    margin: 8px 0;
    color: #fff;
}
#lightbox-description {
    font-size: 14px;
    margin: 4px 0;
    color: #e5e7eb;
}
#lightbox-price {
    font-size: 16px;
    font-weight: 600;
    margin: 4px 0;
    color: #facc15;
}
#lightbox-sku,
#lightbox-category {
    font-size: 13px;
    margin: 2px 0;
    color: #d1d5db;
}
#lightbox-meta {
    margin: 4px 0 0;
    font-size: 14px;
    color: #e5e7eb;
}
#enquire-btn {
    margin-top: 8px;
    padding: 10px 16px;
    background: #25D366;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
    display: inline-block;
}

/* Site footer */
.site-footer {
    margin-top: 40px;
    padding: 16px;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
    border-top: 1px solid #e5e7eb;
}
.site-footer .branding {
    font-weight: 600;
    margin-bottom: 6px;
    color: #111827;
}
.site-footer .brand-tagline {
    display: block;
    font-size: 12px;
    color: #9ca3af;
}
.site-footer .copyright {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
}

/* Info section */
.info-section {
    margin-top: 40px;
    padding: 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}
.info-block {
    margin-bottom: 24px;
}
.info-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #111827;
}
.info-text {
    font-size: 14px;
    color: #374151;
    margin: 0;
}
.info-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.info-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.info-links li {
    margin-bottom: 6px;
}
.info-links a {
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
}
.info-links a:hover {
    text-decoration: underline;
}

.categories-section {
    margin: 20px 0;
}

.categories-heading {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1E40AF;
}

.two-rows-scroll {
    display: flex;
    flex-wrap: wrap;       /* allow multiple rows */
    gap: 12px;
    overflow-x: auto;      /* scroll horizontally if too many */
    padding: 10px 0;
    scrollbar-width: thin;
}

.two-rows-scroll::-webkit-scrollbar {
    height: 6px;
}
.two-rows-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}


