/*
Theme Name: QIBDA
Theme URI: https://qibda.com
Author: QIBDA
Description: Thème officiel QIBDA.
Version: 1.0
Text Domain: qibda
*/


/*
Theme Name: QIBDA
Author: QIBDA
Version: 1.0
*/


/* ==================================================
RESET
================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: #0a0a0a;

    font-family: Arial, Helvetica, sans-serif;
}

body.menu-open {
    overflow: hidden;
}

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

button {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}


/* ==================================================
HEADER
================================================== */

.site-header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(255,255,255,.96);

    border-bottom: 1px solid #e8e8e8;
}

.header-inner {
    height: 68px;

    padding: 0 18px;

    display: grid;

    grid-template-columns: 1fr auto 1fr;

    align-items: center;
}

.menu-toggle {
    position: relative;

    width: 36px;
    height: 36px;

    padding: 0;

    border: 0;

    background: transparent;

    cursor: pointer;
}

.menu-toggle span {
    position: absolute;

    left: 4px;

    width: 24px;
    height: 1px;

    background: #000;
}

.menu-toggle span:first-child {
    top: 14px;
}

.menu-toggle span:last-child {
    top: 21px;
}

.brand {
    grid-column: 2;

    font-size: 14px;

    font-weight: 900;

    letter-spacing: 5px;
}

.header-right {
    grid-column: 3;

    justify-self: end;

    display: flex;

    gap: 22px;

    align-items: center;
}

.header-right a {
    font-size: 9px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.2px;
}

.desktop-link {
    display: none;
}

.cart-link span {
    margin-left: 4px;
}


/* ==================================================
MENU
================================================== */

.menu-drawer {
    position: fixed;

    inset: 0;

    z-index: 2000;

    padding: 20px;

    display: flex;

    flex-direction: column;

    background: #fff;

    transform: translateX(-100%);

    transition: transform .35s ease;
}

.menu-drawer.is-open {
    transform: translateX(0);
}

.menu-drawer-header {
    display: flex;

    justify-content: space-between;

    align-items: center;
}

.menu-brand {
    font-size: 14px;

    font-weight: 900;

    letter-spacing: 5px;
}

.menu-close {
    width: 42px;
    height: 42px;

    border: none;

    background: transparent;

    font-size: 32px;

    cursor: pointer;
}

.menu-nav {
    margin: auto 0;
}

.menu-nav a {
    display: block;

    padding: 10px 0;

    font-size: clamp(42px, 13vw, 64px);

    font-weight: 800;

    letter-spacing: -3px;

    line-height: .95;
}

.menu-bottom {
    padding-top: 18px;

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    border-top: 1px solid #111;
}

.menu-bottom span:first-child {
    font-size: 28px;
}

.menu-bottom span:last-child {
    font-size: 7px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


/* ==================================================
HERO
================================================== */

.hero {
    min-height: 100svh;

    padding: 88px 18px 36px;

    display: flex;

    flex-direction: column;
}

.hero-topline {
    display: flex;

    justify-content: space-between;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.8px;
}

.hero-inner {
    flex: 1;

    display: grid;

    align-items: center;

    gap: 45px;
}

.hero-copy {
    order: 2;
}

.eyebrow,
.section-label {
    font-size: 8px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.hero h1 {
    margin: 15px 0 22px;

    font-size: clamp(50px, 14vw, 76px);

    line-height: .9;

    letter-spacing: -4px;

    font-weight: 800;
}

.hero-copy p {
    max-width: 450px;

    margin: 0;

    font-size: 14px;

    line-height: 1.7;
}

.primary-button {
    min-height: 52px;

    margin-top: 26px;

    padding: 0 24px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    background: #000;

    color: #fff;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


/* ==================================================
PRODUCT VISUAL
================================================== */

.hero-product {
    order: 1;

    min-height: 360px;

    display: flex;

    align-items: center;

    justify-content: center;
}

.product-bottle {
    position: relative;

    width: 175px;

    height: 315px;

    background: #050505;

    color: #fff;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    border-radius: 16px;
}

.product-bottle::before {
    content: "";

    position: absolute;

    top: -27px;

    width: 70px;

    height: 32px;

    background: #000;

    border-radius: 4px 4px 0 0;
}

.product-arabic {
    font-size: 48px;
}

.product-brand {
    margin-top: 8px;

    font-size: 18px;

    font-weight: 900;

    letter-spacing: 6px;
}

.product-type {
    position: absolute;

    bottom: 28px;

    font-size: 7px;

    letter-spacing: 2px;
}


/* ==================================================
INTRO
================================================== */

.intro-section {
    padding: 90px 18px;

    border-top: 1px solid #111;

    border-bottom: 1px solid #111;
}

.intro-section h2 {
    margin: 20px 0;

    font-size: clamp(42px, 13vw, 72px);

    line-height: .95;

    letter-spacing: -4px;
}

.intro-section p {
    max-width: 500px;

    margin: 0;

    font-size: 15px;

    line-height: 1.7;
}


/* ==================================================
BENEFITS
================================================== */

.benefits-section {
    padding: 0 18px;
}

.benefit {
    padding: 48px 0;

    border-bottom: 1px solid #111;
}

.benefit > span {
    font-size: 9px;

    font-weight: 800;
}

.benefit h3 {
    margin: 30px 0 12px;

    font-size: 34px;

    letter-spacing: -2px;
}

.benefit p {
    max-width: 400px;

    margin: 0;

    font-size: 14px;

    line-height: 1.65;
}


/* ==================================================
PRODUCT SECTION
================================================== */

.product-section {
    padding-top: 80px;
}

.product-showcase {
    min-height: 520px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #fff;

    border-top: 1px solid #111;

    border-bottom: 1px solid #111;
}

.product-bottle-large {
    transform: scale(1.15);
}

.product-details {
    padding: 60px 18px 90px;
}

.product-details h2 {
    margin: 20px 0;

    font-size: clamp(48px, 14vw, 80px);

    line-height: .9;

    letter-spacing: -4px;
}

.product-details > p {
    max-width: 480px;

    font-size: 15px;

    line-height: 1.7;
}

.features {
    margin-top: 40px;

    border-top: 1px solid #111;
}

.features div {
    padding: 16px 0;

    display: flex;

    justify-content: space-between;

    border-bottom: 1px solid #111;

    font-size: 11px;
}

.features span {
    text-transform: uppercase;

    letter-spacing: 1px;
}

.features strong {
    font-weight: 800;
}

.purchase {
    margin-top: 35px;
}

.price {
    font-size: 28px;

    font-weight: 800;
}

.purchase-button {
    width: 100%;

    margin-top: 18px;
}


/* ==================================================
BRAND
================================================== */

.brand-section {
    padding: 100px 18px;

    text-align: center;

    border-top: 1px solid #111;
}

.brand-symbol {
    margin: 45px 0 30px;

    font-size: clamp(100px, 30vw, 170px);

    line-height: 1;
}

.brand-section h2 {
    margin: 0;

    font-size: 38px;

    letter-spacing: -2px;
}

.brand-section p {
    max-width: 500px;

    margin: 22px auto 0;

    font-size: 14px;

    line-height: 1.7;
}


/* ==================================================
FOOTER
================================================== */

footer {
    padding: 30px 18px;

    background: #fff;

    color: #000;

    border-top: 1px solid #111;

    font-size: 11px;
}


/* ==================================================
TABLET
================================================== */

@media (min-width: 700px) {

    .header-inner,
    .hero,
    .intro-section,
    .benefits-section,
    .product-details,
    .brand-section {
        padding-left: 32px;

        padding-right: 32px;
    }

    .desktop-link {
        display: inline;
    }

    .hero-product {
        min-height: 430px;
    }

    .product-bottle {
        width: 215px;

        height: 380px;
    }

    .benefits-section {
        display: grid;

        grid-template-columns: repeat(3, 1fr);
    }

    .benefit {
        padding: 55px 28px;

        border-right: 1px solid #111;
    }

    .benefit:first-child {
        padding-left: 0;
    }

    .benefit:last-child {
        border-right: 0;

        padding-right: 0;
    }

}


/* ==================================================
DESKTOP
================================================== */

@media (min-width: 1000px) {

    .header-inner {
        height: 82px;

        padding-left: 48px;

        padding-right: 48px;
    }

    .brand {
        font-size: 16px;

        letter-spacing: 6px;
    }

    .hero {
        min-height: 100vh;

        padding: 105px 48px 50px;
    }

    .hero-inner {
        grid-template-columns: 1fr 1fr;

        gap: 80px;
    }

    .hero-copy {
        order: 1;

        max-width: 650px;
    }

    .hero-product {
        order: 2;

        min-height: auto;
    }

    .hero h1 {
        font-size: clamp(72px, 7vw, 115px);

        letter-spacing: -7px;
    }

    .hero-copy p {
        font-size: 16px;
    }

    .product-bottle {
        width: 260px;

        height: 460px;
    }

    .product-arabic {
        font-size: 65px;
    }

    .product-brand {
        font-size: 25px;
    }

    .intro-section {
        padding: 130px 48px;
    }

    .intro-section h2 {
        max-width: 1000px;

        font-size: clamp(70px, 7vw, 110px);
    }

    .benefits-section {
        padding: 0 48px;
    }

    .benefit {
        padding-top: 75px;

        padding-bottom: 75px;
    }

    .product-section {
        padding: 0;

        display: grid;

        grid-template-columns: 1fr 1fr;

        border-top: 1px solid #111;
    }

    .product-showcase {
        min-height: 850px;

        border: 0;

        border-right: 1px solid #111;
    }

    .product-details {
        padding: 120px 70px;

        display: flex;

        flex-direction: column;

        justify-content: center;
    }

    .product-details h2 {
        font-size: clamp(60px, 5vw, 90px);
    }

    .purchase-button {
        max-width: 360px;
    }

    .brand-section {
        padding: 150px 48px;
    }

    .brand-symbol {
        font-size: 220px;
    }

    .brand-section h2 {
        font-size: 60;
    }

}

.hero-price {
    margin-top: 22px;
    font-size: 28px;
    font-weight: 800;
}

.hero-actions {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.secondary-button {
    min-height: 52px;
    padding: 0 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #000;

    background: #fff;
    color: #000;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-trust {
    margin-top: 30px;

    padding-top: 20px;

    border-top: 1px solid #111;

    display: grid;
    gap: 10px;
}

.hero-trust span {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 10px;
    font-weight: 700;
}

.hero-trust strong {
    font-size: 8px;
    font-weight: 800;
}

.social-proof {
    padding: 18px;

    display: flex;
    flex-wrap: wrap;

    justify-content: center;
    gap: 10px;

    border-top: 1px solid #111;
    border-bottom: 1px solid #111;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.4px;
}

.purchase-top {
    margin-bottom: 18px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 13px;
    font-weight: 800;
}

.product-page-link {
    display: inline-block;

    margin-top: 18px;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.how-section {
    padding: 90px 18px;

    border-top: 1px solid #111;
}

.how-grid {
    margin-top: 45px;

    border-top: 1px solid #111;
}

.how-grid article {
    padding: 30px 0;

    border-bottom: 1px solid #111;
}

.how-grid article > span {
    font-size: 8px;
    font-weight: 800;
}

.how-grid h3 {
    margin: 24px 0 10px;

    font-size: 28px;
}

.how-grid p {
    margin: 0;

    font-size: 14px;
    line-height: 1.6;
}

.cta-section {
    padding: 100px 18px;

    text-align: center;

    border-top: 1px solid #111;
}

.cta-section h2 {
    max-width: 900px;

    margin: 25px auto 35px;

    font-size: clamp(42px, 12vw, 78px);

    line-height: .9;
    letter-spacing: -4px;
}

.cta-section .primary-button {
    margin-top: 0;
}

@media (min-width: 700px) {

    .hero-actions {
        display: flex;
    }

    .hero-actions .primary-button,
    .hero-actions .secondary-button {
        min-width: 200px;
    }

    .hero-trust {
        grid-template-columns: repeat(3, auto);
        justify-content: start;
        gap: 28px;
    }

    .how-section {
        padding-left: 32px;
        padding-right: 32px;
    }

    .how-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .how-grid article {
        padding: 35px 25px;
        border-right: 1px solid #111;
    }

    .how-grid article:first-child {
        padding-left: 0;
    }

    .how-grid article:last-child {
        border-right: 0;
    }

}

@media (min-width: 1000px) {

    .how-section {
        padding: 130px 48px;
    }

    .cta-section {
        padding: 150px 48px;
    }

}

.site-main {
    padding-top: 88px;
}

@media (min-width: 1000px) {
    .site-main {
        padding-top: 102px;
    }
}

.hero-product {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-bottle-image {
    width: 100%;
    max-width: 430px;
    height: auto;
    object-fit: contain;
    display: block;
}

.product-bottle-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.packs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 25px;
}

.pack-card {
    position: relative;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pack-card-best {
    border-color: #fff;
}

.pack-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.pack-price {
    font-size: 24px;
    font-weight: 700;
}

.pack-badge {
    position: absolute;
    top: -13px;
    left: 15px;
    background: #fff;
    color: #000;
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.pack-card .primary-button {
    margin-top: auto;
    text-align: center;
}

@media (max-width: 768px) {
    .packs-grid {
        grid-template-columns: 1fr;
    }
}