body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f4f4f4;
    color: #111;
}

.top-header {
    background: #111;
    color: #fff;
    padding: 0;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 86px;
    padding: 0 28px;
}

.logo {
    color: #ff7a00;
    font-size: 32px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    margin: 0;
}

    .main-nav a {
        color: #fff;
        text-decoration: none;
        font-size: 15px;
        white-space: nowrap;
    }

        .main-nav a:hover {
            color: #ff7a00;
        }

.mobile-menu-toggle {
    display: none;
    background: #fff;
    color: #111;
    border: 0;
    font-size: 22px;
    font-weight: bold;
    padding: 6px 11px;
    border-radius: 3px;
    cursor: pointer;
}

.basket-menu {
    position: relative;
    margin-left: auto;
    display: flex;
    align-items: center;
}

.basket-button {
    display: inline-block;
    background: #ff7a00;
    color: #111;
    padding: 12px 18px;
    text-decoration: none;
    font-weight: 800;
    border-radius: 4px;
    white-space: nowrap;
}

.basket-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 48px;
    width: 360px;
    background: #fff;
    color: #111;
    box-shadow: 0 12px 35px rgba(0,0,0,.35);
    z-index: 99999;
    padding: 15px;
}

.basket-menu:hover .basket-dropdown {
    display: block;
}

.mini-basket-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 10px;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

    .mini-basket-item img,
    .mini-basket-placeholder {
        width: 60px;
        height: 60px;
        object-fit: contain;
        background: #eee;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
    }

    .mini-basket-item span {
        display: block;
        font-size: 13px;
    }

.mini-basket-total {
    font-size: 18px;
    font-weight: bold;
    margin: 12px 0;
    color: #ff7a00;
}

.orange-btn {
    display: inline-block;
    background: #ff7a00;
    color: #111;
    padding: 14px 22px;
    text-decoration: none;
    font-weight: 800;
    border-radius: 4px;
    border: 0;
    cursor: pointer;
}

    .orange-btn.small {
        padding: 10px 14px;
        font-size: 14px;
    }

    .orange-btn.mini {
        display: block;
        text-align: center;
        margin-top: 8px;
        padding: 10px;
    }

    .orange-btn.checkout {
        background: #111;
        color: #fff;
    }

.dt-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 90px 40px;
    background: linear-gradient( 90deg, rgba(0,0,0,.92) 0%, rgba(17,17,17,.86) 35%, rgba(20,20,20,.72) 60%, rgba(255,122,0,.45) 100% ), url('/images/spark-header-bg.jpg');
    background-size: cover;
    background-position: center center;
}

    .dt-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient( circle at right center, rgba(255,122,0,.35), transparent 45% );
        pointer-events: none;
    }

    .dt-hero > * {
        position: relative;
        z-index: 2;
    }

    .dt-hero h1 {
        font-size: 46px;
        max-width: 760px;
        margin: 10px 0 15px;
    }

    .dt-hero p {
        font-size: 20px;
        margin-bottom: 28px;
    }

.hero-tag {
    color: #ff7a00;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #ff7a00;
    color: #111;
    font-weight: bold;
    text-align: center;
}

    .trust-strip div {
        padding: 14px;
        border-right: 1px solid rgba(0,0,0,0.15);
    }

.major-categories,
.featured-products {
    padding: 35px 30px;
}

    .major-categories h2,
    .featured-products h2 {
        font-size: 30px;
        margin-bottom: 20px;
    }

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.category-tile {
    min-height: 170px;
    padding: 24px;
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 4px;
}

    .category-tile.dark {
        background: #111;
    }

    .category-tile.orange {
        background: #ff7a00;
        color: #111;
    }

    .category-tile.grey {
        background: #444;
    }

    .category-tile h3 {
        font-size: 28px;
        margin: 0 0 8px;
    }

    .category-tile p {
        margin: 0;
    }

.promo-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 0 30px 35px;
}

.promo-card {
    background: #222;
    color: #fff;
    padding: 32px;
    border-radius: 4px;
}

.orange-promo {
    background: #ff7a00;
    color: #111;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.product-card {
    background: #fff;
    padding: 18px;
    border-radius: 4px;
}

.home-product-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
    background: #fff;
    margin-bottom: 12px;
}

.product-price {
    color: #ff7a00;
    font-size: 20px;
    font-weight: bold;
}

.product-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.basket-link {
    color: #111;
    font-weight: bold;
    text-decoration: none;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #fff;
    padding: 30px;
    margin: 30px;
}

.main-product-image {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    background: #fff;
}

.product-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

    .product-thumbs img {
        width: 90px;
        height: 90px;
        object-fit: contain;
        border: 1px solid #ddd;
        background: #fff;
        padding: 4px;
    }

.price {
    font-size: 32px;
    color: #ff7a00;
    font-weight: bold;
    margin-bottom: 20px;
}

.basket-table {
    width: calc(100% - 60px);
    margin: 30px;
    background: #fff;
    border-collapse: collapse;
}

    .basket-table th,
    .basket-table td {
        padding: 14px;
        border-bottom: 1px solid #ddd;
        text-align: left;
    }

.basket-total {
    margin: 30px;
    font-size: 26px;
    font-weight: bold;
    color: #ff7a00;
}

.page-heading {
    background: #111;
    color: #fff;
    padding: 35px 40px;
}

    .page-heading h1 {
        margin: 0;
        font-size: 38px;
    }

.checkout-form {
    display: grid;
    grid-template-columns: 1.4fr .9fr;
    gap: 30px;
    padding: 35px;
}

.form-panel {
    background: #fff;
    padding: 28px;
    border-radius: 5px;
}

    .form-panel input[type="text"],
    .form-panel input[type="email"],
    .form-panel input[type="tel"],
    .form-panel input:not([type]) {
        display: block;
        width: 100%;
        padding: 13px;
        margin-bottom: 13px;
        border: 1px solid #ccc;
        font-size: 15px;
    }

.summary-line {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
    padding: 12px 0;
}

.summary-panel h3 {
    font-size: 26px;
    color: #ff7a00;
}

.site-footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 24px;
    margin-top: 40px;
}

@media(max-width: 1100px) {
    .header-inner {
        display: grid;
        grid-template-columns: 1fr auto auto;
        gap: 12px;
        align-items: center;
        padding: 18px;
    }

    .mobile-menu-toggle {
        display: block;
        grid-column: 2;
        grid-row: 1;
    }

    .basket-menu {
        grid-column: 3;
        grid-row: 1;
        margin-left: 0;
    }

    .main-nav {
        display: none !important;
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        background: #111;
        padding: 8px 0;
        margin-top: 8px;
        flex-direction: column;
        align-items: stretch;
        overflow: visible;
        gap: 0;
    }

    body.mobile-menu-open .main-nav {
        display: flex !important;
    }

    .main-nav a {
        display: block;
        padding: 15px 12px;
        border-top: 1px solid #333;
        font-size: 17px;
    }

    .basket-dropdown {
        right: 0;
        top: 50px;
        width: 310px;
    }

    .category-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-strip,
    .promo-row,
    .checkout-form,
    .product-detail {
        grid-template-columns: 1fr;
    }

    .dt-hero h1 {
        font-size: 36px;
    }
}

@media(max-width: 600px) {
    .header-inner {
        grid-template-columns: 1fr auto;
    }

    .logo {
        font-size: 28px;
    }

    .mobile-menu-toggle {
        grid-column: 2;
        grid-row: 1;
    }

    .basket-menu {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
    }

    .basket-button {
        display: block;
        width: 100%;
        text-align: center;
    }

    .main-nav {
        grid-row: 3;
    }

    .basket-dropdown {
        left: 0;
        right: auto;
        width: calc(100vw - 40px);
    }

    .product-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .dt-hero {
        padding: 45px 24px;
    }

        .dt-hero h1 {
            font-size: 30px;
        }

    .major-categories,
    .featured-products {
        padding: 25px 18px;
    }

    .basket-table {
        width: 100%;
        margin: 0;
    }
}

.all-products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 25px;
    padding: 30px;
}

.filter-sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    align-self: start;
}

.filter-sidebar h2 {
    margin-top: 0;
}

.filter-link {
    display: block;
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    color: #111;
    text-decoration: none;
    font-weight: bold;
}

.filter-link:hover,
.filter-link.active {
    background: #ff7a00;
    color: #111;
}

.all-products-main {
    min-width: 0;
}

.products-toolbar {
    background: #fff;
    padding: 16px;
    margin-bottom: 18px;
    border-radius: 4px;
}

@media(max-width: 900px) {
    .all-products-layout {
        grid-template-columns: 1fr;
        padding: 18px;
    }
}

.category-accordion {
    border-bottom: 1px solid #e5e5e5;
}

.category-heading {
    width: 100%;
    background: #111;
    color: #fff;
    border: 0;
    padding: 13px 12px;
    text-align: left;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
}

    .category-heading:hover {
        background: #ff7a00;
        color: #111;
    }

.category-arrow {
    font-size: 20px;
    line-height: 1;
}

.category-dropdown {
    display: none;
    background: #fff;
}

.category-accordion.open .category-dropdown {
    display: block;
}

.category-accordion.open .category-arrow {
    transform: rotate(45deg);
}

.filter-link.parent-link {
    background: #f5f5f5;
    font-weight: bold;
}

.filter-link.sub-link {
    padding-left: 26px;
    font-weight: normal;
}

.filter-link.all-link {
    margin-bottom: 12px;
    background: #ff7a00;
    color: #111;
}

.dt-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient( to bottom, rgba(0,0,0,0), rgba(0,0,0,.22) );
    pointer-events: none;
}

.image-tile {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    min-height: 260px;
}

.tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.15) 100% );
}

.orange-overlay {
    background: linear-gradient( to top, rgba(0,0,0,.78) 0%, rgba(255,122,0,.35) 60%, rgba(255,122,0,.08) 100% );
}

.tile-content {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
}

    .tile-content h3 {
        margin: 0 0 10px;
        font-size: 28px;
        font-weight: 800;
        color: #fff;
    }

    .tile-content p {
        margin: 0;
        color: #fff;
        font-size: 16px;
        line-height: 1.4;
    }

.image-tile:hover {
    transform: translateY(-4px);
}

.image-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    transition: .2s ease;
}

.image-tile:hover::after {
    border-color: #ff7a00;
}