:root {
    --color-bg: #0a0e14;
    --color-surface: #12171f;
    --color-surface-alt: #1a212b;
    --color-text: #f2f2f0;
    --color-muted: #98a0ab;
    --color-accent: #ff7a00;
    --color-accent-2: #ffb347;
    --color-border: #232b36;
    --radius: 14px;
    --page-margin: 1.5rem;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.5;
}

a { color: var(--color-accent-2); }

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem var(--page-margin);
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    flex-wrap: wrap;
    gap: 0.6rem;
}

.brand {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
    color: var(--color-accent);
    text-decoration: none;
}
.brand em { color: var(--color-text); font-weight: 400; font-style: normal; }

.main-nav a {
    margin-left: 1.1rem;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
}

.main-nav a:hover { color: var(--color-accent); }

.cart-link { position: relative; }
.cart-badge {
    background: var(--color-accent);
    color: #12171f;
    border-radius: 50%;
    padding: 0.1rem 0.5rem;
    font-size: 0.75rem;
    margin-left: 0.3rem;
    font-weight: 700;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface-alt);
    cursor: pointer;
    padding: 0;
}

.nav-toggle-bar {
    display: block;
    width: 1.3rem;
    height: 2px;
    background: var(--color-text);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.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;
}

.site-main {
    padding: 2rem var(--page-margin) 3rem;
    max-width: 1080px;
    margin: 0 auto;
}

.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2.5rem;
    text-align: left;
    padding: 3rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--color-surface), var(--color-surface-alt));
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.hero-content { flex: 1 1 320px; min-width: 260px; }
.hero-media { flex: 1 1 280px; min-width: 0; max-width: 100%; }

.hero h1 {
    font-size: 2.4rem;
    margin: 0 0 0.6rem;
    color: var(--color-accent);
    line-height: 1.15;
}

.hero p { color: var(--color-muted); margin-bottom: 1.4rem; max-width: 40ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.25rem; }

.hero-media img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 340px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-track img {
    flex-shrink: 0;
    height: 340px;
    object-fit: cover;
    display: block;
    border: none;
    border-radius: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.2rem;
    height: 2.2rem;
    border: none;
    border-radius: 50%;
    background: rgba(10, 14, 20, 0.55);
    color: var(--color-text);
    font-size: 1.4rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease;
}

.carousel-btn:hover { background: var(--color-accent); color: #0a0e14; }
.carousel-prev { left: 0.6rem; }
.carousel-next { right: 0.6rem; }

.carousel-dots {
    position: absolute;
    bottom: 0.7rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
}

.carousel-dot {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

.carousel-dot.active { background: var(--color-accent); }

.gallery { margin-bottom: 2rem; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.gallery-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.gallery-card:hover { transform: translateY(-3px); border-color: var(--color-accent); }
.gallery-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.gallery-card .card-body { padding: 0.9rem 1rem 1.1rem; }
.gallery-card h3 { margin: 0 0 0.4rem; font-size: 1rem; color: var(--color-accent-2); }
.gallery-card p { margin: 0; color: var(--color-muted); font-size: 0.88rem; }

.btn {
    display: inline-block;
    background: var(--color-accent);
    color: #0a0e14;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 700;
    transition: background 0.15s ease;
    margin: 0.25rem;
}

.btn:hover { background: #e56d00; }

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-accent-2);
    color: var(--color-accent-2);
}
.btn-outline:hover { background: var(--color-accent-2); color: #0a0e14; }

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: space-between;
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}

.trust-item { display: flex; flex-direction: column; gap: 0.15rem; flex: 1 1 160px; }
.trust-item strong { color: var(--color-accent); font-size: 1rem; }
.trust-item span { color: var(--color-muted); font-size: 0.85rem; }

.cta-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    background: linear-gradient(135deg, var(--color-surface-alt), var(--color-surface));
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2rem;
    margin-top: 2rem;
}

.cta-band h2 { color: var(--color-accent); margin: 0 0 0.3rem; }
.cta-band p { color: var(--color-muted); margin: 0; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.5rem 0 2rem;
}

.category-pill {
    border: 1px solid var(--color-accent-2);
    color: var(--color-accent-2);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.9rem;
}

.category-pill:hover { background: var(--color-accent-2); color: var(--color-bg); }

.featured h2, .shop h1, .cart h1, .product-detail h1, .about h1,
.services-preview h2, .services-page h1, .posters-page h1 {
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.product-grid, .service-grid, .poster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.25rem;
}

.product-card, .service-card, .poster-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: center;
    padding-bottom: 0.7rem;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.product-card:hover, .service-card:hover, .poster-card:hover {
    transform: translateY(-3px); border-color: var(--color-accent);
}

.product-card a, .service-card a { text-decoration: none; color: inherit; display: block; }
.product-card img, .service-card img, .poster-card img { width: 100%; object-fit: cover; }
.product-card img { aspect-ratio: 3/4; }
.service-card img { aspect-ratio: 4/3; }
.poster-card img { aspect-ratio: 4/5; }
.product-card h3, .service-card h3 { font-size: 0.95rem; margin: 0.6rem 0.6rem 0.2rem; }
.service-card p { font-size: 0.82rem; color: var(--color-muted); margin: 0 0.6rem 0.6rem; }
.product-card .price { color: var(--color-accent-2); font-weight: 700; margin: 0.2rem 0 0.6rem; }
.product-card .price.poa { color: #ffcf6b; }
.product-card form { padding: 0 0.6rem; }
.poster-caption { padding: 0.6rem; text-align: left; }
.poster-caption p { margin: 0 0 0.2rem; font-size: 0.9rem; }
.poster-caption time { font-size: 0.75rem; color: var(--color-muted); }
.enquire-link {
    display: block;
    margin: 0 0.6rem;
    background: var(--color-surface-alt);
    color: var(--color-accent-2);
    padding: 0.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
}

.product-card button, .cart-table button, .product-detail button {
    width: 100%;
    background: var(--color-accent);
    color: #0a0e14;
    border: none;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
}

.product-card button:hover, .cart-table button:hover, .product-detail button:hover {
    background: #e56d00;
}

.shop { display: flex; gap: 2rem; flex-wrap: wrap; align-items: flex-start; }

.filters {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 150px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1rem;
}

.filters a { text-decoration: none; color: var(--color-muted); }
.filters a.active, .filters a:hover { color: var(--color-accent-2); font-weight: 700; }

.product-detail {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.product-detail img { max-width: 320px; width: 100%; border-radius: var(--radius); }

.product-info { flex: 1; min-width: 220px; }
.product-info .price { color: var(--color-accent-2); font-size: 1.3rem; font-weight: 700; }
.product-info .price.poa { color: #ffcf6b; }
.product-info form { margin: 1rem 0; display: flex; gap: 0.6rem; align-items: center; }
.product-info input[type="number"] {
    width: 4.5rem;
    padding: 0.4rem;
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    color: var(--color-text);
}
.product-info button { padding: 0.6rem 1.2rem; width: auto; }
.out-of-stock { color: var(--color-accent-2); font-weight: 600; }

.about, .services-page .lead, .posters-page .lead {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.5rem;
}
.services-page .lead, .posters-page .lead { margin-bottom: 1.5rem; color: var(--color-muted); background: transparent; border: none; padding: 0; }
.about-list { color: var(--color-muted); }

.branch-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.branch-card {
    min-width: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface-alt);
    overflow: hidden;
}


.branch-map-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
}

.branch-details { padding: 1rem; color: var(--color-muted); }
.branch-details strong { display: block; color: var(--color-text); margin-bottom: 0.3rem; }
.branch-details p { margin: 0 0 0.8rem; }

.whatsapp-fab {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background: #25D366;
    color: #0a0e14;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: transform 0.15s ease;
}
.whatsapp-fab:hover { transform: scale(1.06); }
.whatsapp-fab:active { transform: scale(0.96); }

.cart-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-surface);
    border-radius: var(--radius);
    overflow: hidden;
}

.cart-table td, .cart-table th { padding: 0.7rem; border-bottom: 1px solid var(--color-border); text-align: left; }
.cart-table th { color: var(--color-accent-2); }
.cart-table input[type="number"] {
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    color: var(--color-text);
    padding: 0.3rem;
}

.cart-total { font-size: 1.2rem; font-weight: 700; color: var(--color-accent-2); margin: 1.2rem 0; }

.whatsapp-btn { background: #25D366; color: #06220f; }
.whatsapp-btn:hover { background: #1ebe5a; }

.messages { list-style: none; padding: 0.8rem var(--page-margin); margin: 0; background: var(--color-surface-alt); }
.message { padding: 0.3rem 0; color: var(--color-muted); }

.site-footer {
    padding: 2.5rem var(--page-margin) 1.5rem;
    color: var(--color-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--color-border);
    margin-top: 2rem;
    background: var(--color-surface);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    max-width: 1080px;
    margin: 0 auto 1.5rem;
}
.footer-grid h3 { color: var(--color-accent); font-size: 0.95rem; margin: 0 0 0.5rem; }
.footer-grid p { margin: 0.2rem 0; }
.copyright { text-align: center; font-size: 0.8rem; opacity: 0.8; }

.error-page {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}
.error-page h1 { color: var(--color-accent); font-size: 2.4rem; margin-bottom: 0.5rem; }
.error-page p { color: var(--color-muted); margin-bottom: 1.2rem; }

@media (max-width: 480px) {
    :root { --page-margin: 1rem; }
    .site-header { flex-wrap: wrap; gap: 0.6rem; }
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.25rem;
    }
    .hero p { max-width: none; }
    .hero-actions { justify-content: center; }
    .trust-strip { text-align: center; }
    .trust-item { align-items: center; }
    .cta-band { flex-direction: column; text-align: center; }
    .cta-band-actions { justify-content: center; }
    .carousel-track img { height: 220px; }
    .carousel-btn { width: 1.9rem; height: 1.9rem; font-size: 1.2rem; }
}

@media (max-width: 720px) {
    .nav-toggle { display: flex; }
    .main-nav {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        gap: 0.2rem;
        padding-top: 0.6rem;
        border-top: 1px solid var(--color-border);
        margin-top: 0.4rem;
    }
    .main-nav.is-open { display: flex; }
    .main-nav a { margin-left: 0; padding: 0.6rem 0.2rem; }
}
