﻿/*
Theme Name: Ginglinger Fix Maquette
Theme URI: https://est-data-com.fr/
Author: Codex
Description: Custom lightweight theme matching the Ginglinger-Fix visual maquette.
Version: 0.1.0
Text Domain: ginglinger-fix-maquette
*/
:root {
    --gf-gold: #c3b17d;
    --gf-gold-dark: #b5a16d;
    --gf-ink: #252525;
    --gf-muted: #555;
    --gf-page: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.gf-body {
    margin: 0;
    background: var(--gf-page);
    color: var(--gf-ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.65;
}
a { color: inherit; }
.gf-header { width: 100%; background: #fff; position: relative; z-index: 5; }
.gf-header-inner {
    width: min(100%, 960px);
    margin: 0 auto;
    height: 100px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 34px;
    padding: 18px 18px 0 18px;
}
.gf-brand { display: block; width: 210px; padding-bottom: 19px; text-decoration: none; }
.gf-brand img { display: block; width: 100%; height: auto; }
.gf-menu-toggle { display: none; }
.gf-nav { display: flex; align-items: stretch; align-self: flex-end; min-height: 34px; padding-right: 0; margin-left: auto; }
.gf-nav a {
    display: flex;
    align-items: center;
    padding: 0 13px;
    min-height: 34px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    color: #1c1c1c;
    white-space: nowrap;
}
.gf-nav a:hover, .gf-nav a.is-active { background: var(--gf-gold); color: #fff; }
.gf-hero {
    width: min(100%, 940px);
    height: 468px;
    margin: 0 auto;
    background-size: cover;
    background-position: center;
    position: relative;
}
.gf-hero-logo { position: absolute; left: 63px; bottom: 45px; width: 238px; }
.gf-hero-logo img { display: block; width: 100%; height: auto; }
.gf-section { width: min(100%, 785px); margin: 0 auto; display: grid; gap: 60px; }
.gf-intro-grid { grid-template-columns: 1.05fr 1fr; padding: 0 0 42px; }
.gf-feature-grid { grid-template-columns: 1fr 1fr; padding: 0 0 64px; align-items: center; }
.gf-label-button, .gf-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    background: var(--gf-gold);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    line-height: 1;
    padding: 0 17px;
    text-transform: uppercase;
}
.gf-button { min-height: 52px; font-size: 16px; padding: 0 20px; margin-top: 4px; }
.gf-label-button:hover, .gf-button:hover { background: var(--gf-gold-dark); }
.gf-bottles { min-width: 0; }
.gf-bottle-row { display: flex; align-items: flex-end; gap: 20px; padding: 32px 0 0 21px; }
.gf-bottle-row img { width: 82px; height: 300px; object-fit: contain; object-position: bottom center; }
.gf-text-block { padding-top: 58px; }
.gf-text-block h1, .gf-text-block h2 {
    margin: 0 0 26px;
    color: #303030;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: 0;
}
.gf-text-block h2 { font-size: 31px; }
.gf-text-block p { max-width: 330px; margin: 0 0 22px; color: #333; font-size: 16px; line-height: 1.75; }
.gf-wine-glass { margin: 0; width: 100%; padding-top: 8px; }
.gf-wine-glass img { display: block; width: 355px; max-width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gf-footer { background: var(--gf-gold); color: #fff; margin-top: 0; }
.gf-footer-inner {
    width: min(100%, 905px);
    margin: 0 auto;
    min-height: 168px;
    display: grid;
    grid-template-columns: 260px 1fr 100px;
    align-items: center;
    padding: 22px 50px;
    gap: 34px;
}
.gf-footer-logo { border-right: 1px solid rgba(255,255,255,.75); padding-right: 38px; }
.gf-footer-logo img { display: block; width: 185px; height: auto; }
.gf-footer-contact p { margin: 0 0 4px; font-size: 12px; line-height: 1.4; }
.gf-footer-contact a { color: #fff; text-decoration: none; }
.gf-social { display: flex; justify-content: flex-end; gap: 10px; font-size: 30px; font-weight: 700; align-self: end; padding-bottom: 14px; }
.gf-page-main { width: min(100%, 905px); margin: 0 auto; min-height: 520px; padding: 52px 46px 70px; }
.gf-page-article > h1 { margin: 0 0 26px; font-size: 42px; line-height: 1.15; }
.gf-page-content { max-width: 980px; }
.gf-page-content img { max-width: 100%; height: auto; }
.gf-commerce-main .woocommerce { max-width: 100%; }
.gf-commerce-main .woocommerce img { max-width: 100%; height: auto; }
.gf-commerce-main .woocommerce-notices-wrapper,
.gf-commerce-main .woocommerce-cart-form,
.gf-commerce-main .cart-collaterals,
.gf-commerce-main .woocommerce-checkout,
.gf-commerce-main .woocommerce-MyAccount-content { min-width: 0; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { background: var(--gf-gold); color: #fff; border-radius: 0; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover { background: var(--gf-gold-dark); color: #fff; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 24px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    width: auto !important;
    margin: 0 !important;
    float: none !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 44px;
    font-size: 16px;
    line-height: 1.25;
}
.woocommerce ul.products li.product .price { color: var(--gf-ink); font-weight: 700; }
.woocommerce ul.products li.product .est-stock-exhausted,
.woocommerce div.product .stock.out-of-stock {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin: 8px 0 0;
    padding: 0 10px;
    background: #8f2f24;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}
.woocommerce table.shop_table { border-radius: 0; }
.woocommerce table.shop_table td,
.woocommerce table.shop_table th { word-break: normal; }
.woocommerce .quantity .qty { min-height: 38px; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    min-height: 42px;
    border: 1px solid #d6d0bf;
    padding: 8px 10px;
}
.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 24%;
}
.woocommerce-account .woocommerce-MyAccount-content {
    width: 72%;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #ded8c8;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 11px 0;
    border-bottom: 1px solid #ded8c8;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
}
.gf-age-gate[hidden] { display: none; }
.gf-age-gate {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(24, 24, 24, .74);
}
.gf-age-dialog {
    width: min(100%, 430px);
    background: #fff;
    color: var(--gf-ink);
    padding: 32px;
    box-shadow: 0 24px 70px rgba(0,0,0,.26);
    text-align: center;
}
.gf-age-kicker {
    margin: 0 0 12px;
    color: var(--gf-gold-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.gf-age-title {
    margin: 0 0 14px;
    font-size: 28px;
    line-height: 1.15;
}
.gf-age-text {
    margin: 0 0 24px;
    color: #333;
    font-size: 15px;
    line-height: 1.55;
}
.gf-age-actions {
    display: grid;
    grid-template-columns: 1fr 96px;
    gap: 12px;
}
.gf-age-button {
    min-height: 46px;
    border: 0;
    padding: 0 16px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}
.gf-age-button-primary { background: var(--gf-gold); color: #fff; }
.gf-age-button-primary:hover { background: var(--gf-gold-dark); }
.gf-age-button-secondary { background: #eee9dc; color: var(--gf-ink); }
.gf-age-gate.is-denied .gf-age-dialog { border-top: 5px solid #8f2f24; }
.gf-age-gate-open,
.gf-age-gate-open body { overflow: hidden; }
@media (max-width: 900px) {
    .gf-header-inner { height: auto; min-height: 92px; align-items: center; padding: 16px 20px 0; flex-wrap: wrap; }
    .gf-brand { width: 190px; padding-bottom: 12px; }
    .gf-nav { width: 100%; overflow-x: auto; min-height: 42px; padding-bottom: 2px; }
    .gf-nav a { padding: 0 12px; min-height: 40px; font-size: 11px; }
    .gf-hero { height: 56vw; min-height: 278px; }
    .gf-hero-logo { width: 220px; left: 32px; bottom: 34px; }
    .gf-section { width: min(100% - 40px, 785px); gap: 32px; }
    .gf-intro-grid, .gf-feature-grid { grid-template-columns: 1fr; padding-bottom: 46px; }
    .gf-text-block { padding-top: 0; }
    .gf-bottle-row { justify-content: center; padding-left: 0; }
    .gf-footer-inner { grid-template-columns: 1fr; padding: 28px 30px; gap: 20px; }
    .gf-footer-logo { border-right: 0; padding-right: 0; }
    .gf-social { justify-content: flex-start; align-self: auto; padding-bottom: 0; }
    .gf-page-main { width: 100%; padding: 42px 26px 64px; }
    .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content {
        float: none;
        width: 100%;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation {
        margin-bottom: 26px;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 18px;
    }
    .woocommerce .col2-set .col-1,
    .woocommerce-page .col2-set .col-1,
    .woocommerce .col2-set .col-2,
    .woocommerce-page .col2-set .col-2 {
        float: none;
        width: 100%;
    }
}
@media (max-width: 520px) {
    body.gf-body { font-size: 15px; line-height: 1.55; }
    .gf-header-inner { padding: 14px 16px 0; align-items: center; }
    .gf-brand { width: 168px; padding-bottom: 8px; }
    .gf-menu-toggle {
        display: inline-flex;
        width: 44px;
        height: 44px;
        margin: 0 0 8px auto;
        padding: 0;
        border: 1px solid #ded8c8;
        background: #fff;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }
    .gf-menu-toggle span {
        width: 20px;
        height: 2px;
        background: #1c1c1c;
        transition: transform .24s ease, opacity .18s ease;
    }
    .gf-header.is-open .gf-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .gf-header.is-open .gf-menu-toggle span:nth-child(2) { opacity: 0; }
    .gf-header.is-open .gf-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .gf-nav {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1px;
        padding: 0;
        width: 100%;
        overflow: hidden;
    }
    .gf-js .gf-nav {
        max-height: 0;
        min-height: 0;
        opacity: 0;
        transform: translateY(-6px);
        transition: max-height .3s ease, opacity .22s ease, transform .24s ease, padding .24s ease;
    }
    .gf-js .gf-header.is-open .gf-nav {
        max-height: 420px;
        opacity: 1;
        transform: translateY(0);
        padding: 2px 0 10px;
    }
    .gf-nav a {
        justify-content: flex-start;
        min-height: 44px;
        padding: 0 14px;
        background: #f5f2ea;
        text-align: left;
        white-space: normal;
        line-height: 1.15;
    }
    .gf-hero { width: 100%; height: 70vw; min-height: 235px; background-position: center; }
    .gf-hero-logo { width: 170px; left: 22px; bottom: 22px; }
    .gf-section { width: calc(100% - 32px); gap: 24px; }
    .gf-label-button, .gf-button { width: 100%; min-height: 46px; font-size: 15px; }
    .gf-bottle-row { gap: 12px; padding-top: 24px; }
    .gf-bottle-row img { width: min(28%, 70px); height: 220px; }
    .gf-text-block h1, .gf-text-block h2 { font-size: 25px; margin-bottom: 18px; }
    .gf-text-block p { max-width: none; font-size: 15px; line-height: 1.65; }
    .gf-wine-glass img { width: 100%; }
    .gf-page-main { padding: 34px 16px 54px; }
    .gf-page-article > h1 { font-size: 30px; }
    .gf-footer-inner { padding: 26px 18px; }
    .gf-footer-logo img { width: 160px; }
    .woocommerce ul.products { grid-template-columns: 1fr; gap: 28px; }
    .woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 0; }
    .woocommerce ul.products li.product a img { width: 100%; max-height: 300px; object-fit: contain; }
    .woocommerce a.button,
    .woocommerce button.button,
    .woocommerce input.button,
    .woocommerce #respond input#submit,
    .woocommerce .cart .button,
    .woocommerce .cart input.button {
        width: 100%;
        min-height: 44px;
        text-align: center;
    }
    .woocommerce table.shop_table_responsive tr,
    .woocommerce-page table.shop_table_responsive tr {
        display: block;
        padding: 12px 0;
    }
    .woocommerce table.shop_table_responsive tr td,
    .woocommerce-page table.shop_table_responsive tr td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        min-height: 42px;
        text-align: right !important;
        word-break: break-word;
    }
    .woocommerce table.shop_table_responsive tr td::before,
    .woocommerce-page table.shop_table_responsive tr td::before {
        flex: 0 0 42%;
        text-align: left;
        font-weight: 700;
    }
    .woocommerce-cart table.cart td.actions .coupon .input-text {
        width: 100%;
        margin: 0 0 10px;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation ul { grid-template-columns: 1fr; gap: 0; }
    .woocommerce-order-details,
    .woocommerce-customer-details,
    .woocommerce-MyAccount-content { overflow-x: auto; }
    .gf-age-dialog { padding: 28px 22px; }
    .gf-age-title { font-size: 24px; }
    .gf-age-actions { grid-template-columns: 1fr; }
}
