* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: #222;
    background: #f7f7f8;
}

a { color: inherit; text-decoration: none; }

.site-header {
    background: #322b2b;
    color: #fff;
}

.site-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .5px;
}

.site-nav a {
    color: #eee;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    min-height: 60vh;
}

.site-footer {
    text-align: center;
    padding: 24px;
    color: #888;
    font-size: 13px;
}

.shop-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
}

.shop-sidebar h2 {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #666;
    margin-bottom: 12px;
}

.shop-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.shop-sidebar li a {
    display: block;
    padding: 7px 10px;
    border-radius: 6px;
    font-size: 14px;
    color: #444;
}

.shop-sidebar li a:hover {
    background: #eee;
}

.shop-sidebar li.active a {
    background: #fe5252;
    color: #fff;
}

.shop-main h1 {
    margin: 0 0 4px;
    font-size: 26px;
}

.result-count {
    color: #777;
    margin: 0 0 20px;
    font-size: 14px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eaeaea;
    transition: box-shadow .15s ease, transform .15s ease;
}

.product-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    transform: translateY(-2px);
}

.product-card-image {
    aspect-ratio: 3 / 4;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-placeholder {
    color: #aaa;
    font-size: 13px;
}

.product-card-body {
    padding: 12px 14px 16px;
}

.product-card-category {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #fe5252;
    font-weight: 700;
    margin-bottom: 4px;
}

.product-card h3 {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #222;
}

.shop-search {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0 0 14px;
    flex-wrap: wrap;
}

.shop-search input[type="search"] {
    font: inherit;
    padding: 9px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    min-width: 240px;
    flex: 1;
    max-width: 360px;
    background: #fff;
}

.shop-search input[type="search"]:focus {
    outline: none;
    border-color: #fe5252;
}

.shop-search button {
    font: inherit;
    font-weight: 600;
    padding: 9px 18px;
    background: #fe5252;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.shop-search-clear {
    font-size: 13px;
    color: #888;
    text-decoration: underline;
}

.product-card-price {
    display: block;
    margin-top: 6px;
    font-size: 15px;
    font-weight: 700;
    color: #fe5252;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: #fe5252;
    margin: 0 0 14px;
}

.pagination {
    display: flex;
    gap: 6px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.pagination a {
    padding: 8px 13px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #ddd;
    font-size: 14px;
}

.pagination a.active {
    background: #fe5252;
    border-color: #fe5252;
    color: #fff;
}

.breadcrumbs {
    font-size: 13px;
    color: #888;
    margin-bottom: 20px;
}

.breadcrumbs a { color: #fe5252; }

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.product-gallery-main {
    width: 100%;
    border-radius: 10px;
    background: #f0f0f0;
    aspect-ratio: 1;
    object-fit: cover;
}

.product-gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.product-gallery-thumbs img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
}

.product-gallery-thumbs img:hover {
    border-color: #fe5252;
}

.product-info h1 {
    margin: 0 0 10px;
    font-size: 26px;
}

.product-category {
    font-size: 14px;
    color: #666;
    margin-bottom: 18px;
}

.product-category a {
    color: #fe5252;
    font-weight: 600;
}

.product-description {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 24px;
}

.enquiry-button {
    display: inline-block;
    padding: 12px 26px;
    background: #fe5252;
    color: #fff;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.not-found {
    text-align: center;
    padding: 60px 0;
}

@media (max-width: 720px) {
    .shop-layout, .product-detail-layout {
        grid-template-columns: 1fr;
    }
}
