*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --bg: #f5f6fa;
    --surface: #ffffff;
    --surface-2: #f8f8fb;
    --text: #1c2840;
    --muted: #66718f;
    --border: #e6d6a6;
    --gold: #d7b24a;
    --gold-dark: #c7a236;
    --navy: #071432;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
    border: 0;
}

.container {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #ececec;
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand img {
    height: 42px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.main-nav a {
    font-size: 15px;
    font-weight: 500;
    color: #2d3856;
    padding: 8px 10px;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--gold-dark);
}

.quote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--gold);
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.quote-btn:hover {
    background: var(--gold-dark);
}

/* Hero */
.hero-banner {
    background: linear-gradient(90deg, #05112c 0%, #001141 46%, #1f2a46 100%);
    padding: 88px 0 72px;
}

.hero-content {
    text-align: center;
}

.hero-content h1 {
    margin: 0 0 12px;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.1;
    font-weight: 800;
    color: #ddb84f;
}

.hero-content p {
    margin: 0;
    font-size: 18px;
    color: #8ea0c8;
}

/* Toolbar */
.products-toolbar {
    padding: 20px 0 8px;
}

.toolbar-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.search-wrap {
    position: relative;
    width: min(100%, 320px);
}

.search-wrap input {
    width: 100%;
    height: 46px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    padding: 0 50px 0 18px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-wrap input::placeholder {
    color: #6f7b99;
}

.search-wrap input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(215, 178, 74, 0.12);
}

.search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    pointer-events: none;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter-btn {
    height: 34px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: #1c2840;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}

/* Products */
.products-section {
    padding: 42px 0 70px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    min-height: 100%;
    contain: layout paint;
}

.product-card:hover {
    border-color: #d6b14a;
}

.product-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: var(--surface-2);
    padding: 18px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px 16px 18px;
    flex: 1;
}

.product-info h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
    color: #1f2a44;
}

.product-info p {
    margin: 0;
    font-size: 14px;
    color: #5a698e;
}

.product-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
}

.view-btn,
.enquire-btn {
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.view-btn {
    background: #fff;
    color: #1d2740;
    border: 1px solid var(--border);
}

.view-btn:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
}

.enquire-btn {
    background: var(--gold);
    color: #fff;
    border: 1px solid var(--gold);
}

.enquire-btn:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
}

.no-results {
    display: none;
    max-width: 420px;
    margin: 24px auto 0;
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
    color: var(--muted);
}

@media (max-width: 1150px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .header-inner {
        flex-wrap: wrap;
        justify-content: center;
        padding: 12px 0;
    }

    .main-nav {
        justify-content: center;
    }
}

@media (max-width: 820px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-banner {
        padding: 60px 0 52px;
    }

    .hero-content h1 {
        font-size: 40px;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 24px, 1240px);
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .main-nav {
        gap: 6px;
    }

    .main-nav a {
        font-size: 14px;
        padding: 6px 8px;
    }

    .quote-btn {
        min-width: 108px;
        height: 44px;
    }
}