/*
Theme Name: Qantu
Theme URI: https://www.qantu.co.uk/
Author: Qantu
Description: Lightweight custom WooCommerce theme for Qantu Kitchens.
Version: 1.0.0
Text Domain: qantu
*/

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #202020;
    background: #fff;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.qantu-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #e9e9e9;
    position: sticky;
    top: 0;
    z-index: 999;
}

.admin-bar .site-header {
    top: 32px;
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-brand {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -1px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 14px;
    font-weight: 600;
}

.site-nav a:hover {
    opacity: .6;
}

.header-cta {
    padding: 11px 18px;
    border: 1px solid #202020;
}

.hero {
    background: #f5f3ef;
    padding: 70px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    align-items: center;
    gap: 60px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.02;
    letter-spacing: -3px;
    margin: 0 0 24px;
    font-weight: 600;
}

.hero p {
    font-size: 18px;
    max-width: 570px;
    color: #555;
    margin-bottom: 30px;
}

.button {
    display: inline-block;
    background: #202020;
    color: #fff;
    padding: 15px 24px;
    font-weight: 600;
    font-size: 14px;
    margin-right: 8px;
}

.button-light {
    background: transparent;
    color: #202020;
    border: 1px solid #202020;
}

.hero-image img {
    width: 100%;
    display: block;
}

.section {
    padding: 90px 0;
}

.section-grey {
    background: #f7f7f5;
}

.section-title {
    max-width: 760px;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.1;
    letter-spacing: -2px;
    margin: 0 0 18px;
}

.section-title p {
    color: #666;
    font-size: 17px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-grid img {
    width: 100%;
}

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

.feature {
    border-top: 2px solid #202020;
    padding-top: 22px;
}

.feature h3 {
    font-size: 18px;
    margin: 0 0 10px;
}

.feature p {
    color: #666;
    font-size: 14px;
}

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

.step {
    padding: 32px;
    background: #fff;
    border: 1px solid #e8e8e8;
}

.step-number {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.step h3 {
    margin-top: 0;
}

.cta-band {
    background: #202020;
    color: #fff;
    padding: 65px 0;
}

.cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-band h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 46px);
}

.cta-band .button {
    background: #fff;
    color: #202020;
}

.site-main {
    min-height: 60vh;
}

.content-wrap {
    padding: 60px 0;
}

.site-footer {
    background: #151515;
    color: #ccc;
    padding: 65px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.site-footer h3,
.site-footer h4 {
    color: #fff;
}

.site-footer a {
    display: block;
    margin: 7px 0;
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 45px;
    padding-top: 24px;
    font-size: 13px;
}

.woocommerce .products ul,
.woocommerce ul.products {
    margin-top: 30px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 17px;
    color: #202020;
}

.woocommerce div.product {
    padding-top: 30px;
}

@media (max-width: 850px) {
    .hero-grid,
    .about-grid,
    .feature-grid,
    .steps,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        min-height: 68px;
    }

    .site-nav {
        display: none;
    }

    .hero {
        padding: 45px 0;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .section {
        padding: 65px 0;
    }

    .cta-band-inner {
        display: block;
    }

    .cta-band .button {
        margin-top: 25px;
    }
}

/* Homepage hero refinement */

.qantu-main-hero {
    background: #f5f3ef;
    padding: 42px 0 0;
}

.qantu-hero-artwork {
    display: block;
    width: 100%;
    height: auto;
}

.intro-strip {
    background: #f5f3ef;
    padding: 55px 0 75px;
}

.intro-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 90px;
    align-items: start;
}

.intro-grid h1 {
    font-size: clamp(36px, 4.5vw, 58px);
    line-height: 1.05;
    letter-spacing: -2.5px;
    margin: 0;
    max-width: 520px;
}

.intro-grid p {
    margin-top: 0;
    font-size: 17px;
    color: #555;
    max-width: 590px;
}

.intro-actions {
    margin-top: 28px;
}

@media (max-width: 850px) {

    .qantu-main-hero {
        padding-top: 20px;
    }

    .intro-strip {
        padding: 38px 0 55px;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}


/* =========================================================
   QANTU SHOP
   ========================================================= */

.shop-hero {
    background: #f5f3ef;
    padding: 75px 0 65px;
}

.shop-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: start;
}

.shop-hero h1 {
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.03;
    letter-spacing: -3px;
    margin: 0;
    max-width: 650px;
}

.shop-hero p {
    max-width: 580px;
    margin: 0;
    color: #555;
    font-size: 18px;
}


.shop-categories {
    padding: 75px 0 95px;
}

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

.catalogue-card {
    border: 1px solid #e5e5e5;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.catalogue-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.catalogue-card-image {
    background: #f4f4f2;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalogue-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.catalogue-placeholder {
    width: 100%;
    height: 100%;
    background: #f3f2ef;
}

.catalogue-card-content {
    padding: 25px;
}

.catalogue-card-content h2 {
    font-size: 21px;
    margin: 0 0 10px;
}

.catalogue-card-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    min-height: 68px;
}

.catalogue-card-content span {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 700;
}


.all-products-heading {
    padding: 70px 0 10px;
    background: #f7f7f5;
}

.all-products-heading h2 {
    font-size: clamp(35px, 4vw, 48px);
    margin: 0;
    letter-spacing: -2px;
}

.shop-products {
    padding-top: 45px;
    padding-bottom: 90px;
}


/* WooCommerce catalogue refinement */

.woocommerce .woocommerce-result-count {
    font-size: 14px;
    color: #777;
}

.woocommerce .woocommerce-ordering select {
    padding: 10px 35px 10px 12px;
    border: 1px solid #ddd;
    background: #fff;
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px 24px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}

.woocommerce ul.products li.product {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
}

.woocommerce ul.products li.product a img {
    background: #f7f7f5;
    padding: 18px;
    margin-bottom: 18px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 0;
    font-size: 16px;
    font-weight: 600;
}

.woocommerce ul.products li.product .price {
    color: #222;
    font-size: 15px;
    font-weight: 600;
}

.woocommerce ul.products li.product .button {
    margin-top: 10px;
    padding: 11px 16px;
    font-size: 12px;
}


@media (max-width: 1000px) {

    .catalogue-grid,
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 700px) {

    .shop-hero {
        padding: 50px 0;
    }

    .shop-hero-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .catalogue-grid {
        grid-template-columns: 1fr;
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 12px;
    }

    .catalogue-card-content p {
        min-height: auto;
    }

}


/* =========================================================
   KITCHEN RANGES
   ========================================================= */

.ranges-hero {
    background: #f5f3ef;
    padding: 75px 0 70px;
}

.ranges-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: start;
}

.ranges-hero h1 {
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.03;
    letter-spacing: -3px;
    margin: 0;
    max-width: 660px;
}

.ranges-hero p {
    font-size: 18px;
    color: #555;
    max-width: 560px;
    margin: 0;
}

.ranges-section {
    padding: 80px 0 100px;
}

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

.range-card {
    background: #fff;
    border: 1px solid #e6e6e6;
}

.range-card-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f5f5f3;
}

.range-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.range-card:hover img {
    transform: scale(1.025);
}

.range-card-content {
    padding: 22px 24px 26px;
}

.range-card-content h2 {
    margin: 0 0 8px;
    font-size: 21px;
}

.range-card-content span {
    font-size: 13px;
    font-weight: 700;
}

.range-feature {
    background: #f7f7f5;
    padding: 90px 0;
}

@media (max-width: 900px) {

    .ranges-hero-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

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

}

@media (max-width: 600px) {

    .ranges-grid {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   INDIVIDUAL KITCHEN RANGE
   ========================================================= */

.range-detail-hero {
    background: #f5f3ef;
    padding: 70px 0;
}

.range-detail-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    align-items: center;
}

.range-detail-copy h1 {
    font-size: clamp(48px, 6vw, 76px);
    line-height: 1;
    letter-spacing: -3px;
    margin: 0 0 25px;
}

.range-detail-copy p {
    color: #555;
    font-size: 18px;
    max-width: 520px;
    margin-bottom: 0;
}

.range-detail-actions {
    margin-top: 32px;
}

.range-detail-image {
    overflow: hidden;
}

.range-detail-image img {
    display: block;
    width: 100%;
    height: auto;
}

.range-detail-info {
    padding: 90px 0;
}

.range-detail-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: start;
}

.range-detail-intro h2 {
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.08;
    letter-spacing: -2px;
    margin: 0;
}

.range-detail-intro p {
    color: #555;
    font-size: 17px;
    margin-top: 0;
    margin-bottom: 30px;
}

@media (max-width: 850px) {

    .range-detail-grid,
    .range-detail-intro {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .range-detail-hero {
        padding: 50px 0;
    }

    .range-detail-copy h1 {
        letter-spacing: -2px;
    }
}


/* =========================================================
   STANDARD QANTU PAGES
   ========================================================= */

.page-hero {
    background: #f5f3ef;
    padding: 75px 0 70px;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: start;
}

.page-hero h1 {
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.03;
    letter-spacing: -3px;
    margin: 0;
    max-width: 700px;
}

.page-hero p {
    margin: 0;
    color: #555;
    font-size: 18px;
    max-width: 580px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-panel {
    padding: 45px;
    background: #f7f7f5;
    border: 1px solid #e5e5e5;
}

.contact-panel h2 {
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin: 0 0 20px;
}

.contact-panel p {
    color: #666;
    margin-bottom: 28px;
}

.catalogue-choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.catalogue-choice {
    border: 1px solid #e5e5e5;
    background: #fff;
    display: block;
}

.catalogue-choice img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    background: #f5f5f3;
}

.catalogue-choice-content {
    padding: 32px;
}

.catalogue-choice-content h2 {
    font-size: 34px;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin: 0 0 15px;
}

.catalogue-choice-content p {
    color: #666;
    min-height: 80px;
}

.catalogue-choice-content span {
    display: inline-block;
    margin-top: 10px;
    font-weight: 700;
    font-size: 14px;
}

@media (max-width: 850px) {

    .page-hero-grid,
    .contact-grid,
    .catalogue-choice-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-hero {
        padding: 50px 0;
    }

    .catalogue-choice-content p {
        min-height: 0;
    }

}


/* =========================================================
   REQUEST A QUOTE
   ========================================================= */

.quote-section {
    padding: 80px 0 100px;
}

.quote-layout {
    display: grid;
    grid-template-columns: 1.45fr .55fr;
    gap: 70px;
    align-items: start;
}

.quote-form-wrap {
    max-width: 820px;
}

.quote-context {
    padding: 22px 25px;
    background: #f5f3ef;
    border-left: 3px solid #222;
    margin-bottom: 35px;
}

.form-section {
    padding-bottom: 45px;
    margin-bottom: 45px;
    border-bottom: 1px solid #e4e4e4;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.form-field {
    margin-bottom: 22px;
}

.form-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
    display: block;
    width: 100%;
    padding: 14px 15px;
    background: #fff;
    border: 1px solid #ccc;
    font: inherit;
}

.form-field textarea {
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #222;
    outline: none;
}

.form-field small {
    display: block;
    margin-top: 8px;
    color: #777;
    font-size: 12px;
}

.quote-submit {
    display: flex;
    align-items: center;
    gap: 25px;
}

.quote-submit button {
    border: 0;
    cursor: pointer;
}

.quote-submit p {
    margin: 0;
    font-size: 14px;
}

.quote-submit p a {
    text-decoration: underline;
}

.quote-sidebar {
    background: #f5f3ef;
    padding: 38px;
    position: sticky;
    top: 120px;
}

.quote-sidebar > h2 {
    font-size: 32px;
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin: 8px 0 35px;
}

.quote-step {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 15px;
    border-top: 1px solid #ddd;
    padding: 24px 0;
}

.quote-step > strong {
    font-size: 13px;
}

.quote-step h3 {
    margin: 0 0 7px;
    font-size: 16px;
}

.quote-step p {
    margin: 0;
    color: #666;
    font-size: 13px;
}

.quote-success {
    background: #f5f3ef;
    padding: 50px;
}

.quote-success h2 {
    font-size: 50px;
    margin: 0 0 15px;
}


@media (max-width: 900px) {

    .quote-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .quote-sidebar {
        position: static;
    }

}


@media (max-width: 650px) {

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .quote-submit {
        display: block;
    }

    .quote-submit p {
        margin-top: 15px;
    }

}
