:root {
    --site-hero: #d8a25d;
    --site-page-bg: #dedede;
    --site-panel: #ebcea9;
    --site-text: #151515;
    --site-white: #ffffff;
    --site-black: #000000;
    --site-green: #37c75b;
    --site-yellow: #f5cc00;
    --site-cyan: #18b6d7;
    --site-magenta: #c932d6;
    --site-field: #efefef;
    --site-border: #9b9b9b;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--site-text);
    background: var(--site-white);
    line-height: 1.4;
    overflow-x: hidden;
}

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

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

h1,
h2,
h3,
h4 {
    line-height: 1.1;
    font-weight: 600;
}

.page-template-page-shop,
.page-template-page-degustazione,
.page-template-page-contattaci {
    background: var(--site-page-bg);
}

.site-header {
    position: relative;
    z-index: 30;
    background: var(--site-black);
}

.home .site-header,
.page-template-page-shop .site-header,
.page-template-page-degustazione .site-header,
.page-template-page-contattaci .site-header {
    position: absolute;
    inset: 0 0 auto 0;
    background: transparent;
}

.site-nav {
    max-width: 1240px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.nav-logo {
    width: 56px;
    height: 56px;
    background: var(--site-black);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo .logo-img {
    width: 44px;
    height: 44px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-link {
    color: var(--site-white);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    opacity: 0.88;
    transition: opacity 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
}

.hero-section {
    background: var(--site-hero);
    position: relative;
    overflow: hidden;
}

.hero-parallax-container {
    min-height: 420px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-bg-layer {
    position: absolute;
    inset: -24px;
    background: var(--site-hero);
    will-change: transform;
}

.hero-content-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
    padding: 84px 24px 52px;
    display: flex;
    align-items: center;
    gap: 34px;
}

.hero-image-col {
    flex: 0 0 330px;
    display: flex;
    justify-content: center;
}

.hero-arch-image {
    will-change: transform;
}

.arch-img {
    width: 100%;
    max-width: 300px;
}

.hero-divider {
    width: 3px;
    background: rgba(255, 255, 255, 0.78);
    min-height: 290px;
}

.hero-text-col {
    flex: 1;
    max-width: 700px;
}

.hero-title {
    font-size: clamp(2rem, 4.9vw, 3.55rem);
    color: var(--site-white);
    margin-bottom: 16px;
    font-weight: 500;
}

.hero-subtitle {
    color: var(--site-white);
    font-size: clamp(1rem, 1.95vw, 1.75rem);
    line-height: 1.25;
    max-width: 670px;
    font-weight: 400;
}

.hero-section--inner .hero-parallax-container {
    min-height: 300px;
}

.hero-section--inner .hero-content-wrapper {
    padding-top: 70px;
    padding-bottom: 34px;
}

.hero-section--inner .hero-image-col {
    flex: 0 0 200px;
}

.hero-section--inner .arch-img {
    max-width: 180px;
}

.hero-section--inner .hero-divider {
    min-height: 200px;
}

.hero-section--inner .hero-title {
    font-size: clamp(2rem, 4.2vw, 2.85rem);
}

.hero-section--inner .hero-subtitle {
    font-size: clamp(0.9rem, 1.7vw, 1.2rem);
    max-width: 470px;
}

.info-section {
    background: var(--site-panel);
}

.info-block {
    min-height: 390px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.info-block__image {
    min-height: 390px;
}

.info-block__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-block__content {
    padding: 42px 36px;
    background: var(--site-panel);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-block__content h2 {
    text-transform: uppercase;
    font-size: clamp(1.35rem, 3.2vw, 2.05rem);
    margin-bottom: 14px;
    max-width: 410px;
}

.info-block__content p {
    font-size: 0.9rem;
    line-height: 1.52;
    max-width: 530px;
    margin-bottom: 20px;
    color: rgba(0, 0, 0, 0.82);
}

.info-block__link {
    border: 1px solid rgba(0, 0, 0, 0.65);
    color: rgba(0, 0, 0, 0.9);
    display: inline-block;
    font-size: 0.63rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-weight: 500;
    padding: 7px 16px;
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease;
}

.info-block__link:hover {
    background: rgba(0, 0, 0, 0.88);
    color: var(--site-white);
}

.info-block--right .info-block__image {
    order: 2;
}

.info-block--right .info-block__content {
    order: 1;
}

.showcase-section {
    background: var(--site-page-bg);
}

.showcase-title-wrapper {
    padding: 18px 26px 14px;
}

.showcase-title {
    font-size: clamp(1.8rem, 4vw, 2.35rem);
    color: #1f1f1f;
    text-transform: uppercase;
    font-weight: 600;
}

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

.showcase-card {
    min-height: 300px;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 34px 28px;
    color: var(--site-white);
    transition: filter 0.2s ease;
}

.showcase-card:hover {
    filter: brightness(0.98);
}

.showcase-card__image {
    flex: 0 0 120px;
}

.showcase-card__image img {
    width: 108px;
    height: 240px;
    object-fit: contain;
}

.showcase-card__title {
    color: var(--site-white);
    font-size: clamp(2rem, 2.8vw, 2.7rem);
    font-weight: 600;
    margin-bottom: 12px;
}

.showcase-card__desc {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 18px;
}

.showcase-card__btn {
    display: inline-block;
    padding: 9px 20px;
    border-radius: 9px;
    font-size: 0.88rem;
    line-height: 1;
    background: var(--site-magenta);
    color: var(--site-white);
    font-weight: 500;
}

.shop-section {
    background: var(--site-page-bg);
    padding: 50px 18px 72px;
}

.shop-products {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.shop-product-card {
    min-height: 320px;
    display: flex;
    align-items: center;
    gap: 46px;
    padding: 36px 44px;
    color: var(--site-white);
    text-decoration: none;
    transition: transform 0.18s ease;
}

.shop-product-card--link:hover {
    transform: translateY(-2px);
}

.shop-product-card__image {
    flex: 0 0 260px;
    height: 320px;
    background: transparent;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}

.shop-product-card__image img {
    width: 235px;
    height: 320px;
    object-fit: contain;
}

.shop-product-card__info {
    flex: 1;
}

.shop-product-card__title {
    color: var(--site-white);
    font-size: clamp(2rem, 3.1vw, 2.9rem);
    margin-bottom: 10px;
    font-weight: 600;
}

.shop-product-card__desc {
    color: rgba(255, 255, 255, 0.94);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 760px;
}

.shop-product-card__btn {
    display: inline-block;
    padding: 9px 22px;
    border-radius: 8px;
    font-size: 0.88rem;
    background: var(--site-magenta);
    color: var(--site-white);
    font-weight: 500;
}

.booking-section {
    background: var(--site-page-bg);
    padding: 50px 16px 76px;
}

.booking-container {
    max-width: 820px;
    margin: 0 auto;
    background: var(--site-panel);
    border-radius: 10px;
    padding: 30px 30px 34px;
}

.booking-heading {
    font-size: clamp(1.5rem, 3.2vw, 2.05rem);
    margin-bottom: 24px;
    color: var(--site-text);
}

.booking-fieldset {
    border: 0;
    margin-bottom: 22px;
}

.booking-checkboxes {
    background: var(--site-field);
    border: 2px solid var(--site-border);
    border-radius: 9px;
    padding: 11px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.booking-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.02rem;
    cursor: pointer;
    color: var(--site-text);
}

.booking-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #4f4f4f;
}

.booking-availability-hint {
    font-size: 0.83rem;
    margin-bottom: 10px;
    color: rgba(0, 0, 0, 0.72);
}

.booking-calendar-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.booking-calendar-wrapper.is-hidden {
    display: none;
}

.booking-calendar {
    flex: 1;
}

.booking-calendar table {
    width: 100%;
    border-collapse: collapse;
    background: var(--site-field);
    border: 2px solid var(--site-border);
    border-radius: 9px;
    overflow: hidden;
}

.booking-calendar th,
.booking-calendar td {
    text-align: center;
    width: 14.28%;
    padding: 4px 2px;
    font-size: 1rem;
    line-height: 1.25;
}

.booking-calendar th {
    color: #414141;
    font-weight: 500;
}

.booking-calendar td {
    color: #2d2d2d;
    cursor: pointer;
}

.booking-calendar td:hover:not(.disabled):not(.empty) {
    background: rgba(79, 79, 79, 0.22);
}

.booking-calendar td.selected {
    background: #5b5b5b;
    color: var(--site-white);
    font-weight: 600;
}

.booking-calendar td.disabled {
    color: #a7a7a7;
    cursor: not-allowed;
}

.booking-calendar td.booked {
    color: #8d8d8d;
}

.booking-calendar td.today {
    outline: 1px solid #5f5f5f;
    outline-offset: -2px;
}

.booking-calendar td.empty {
    cursor: default;
}

.booking-month-selector {
    width: 140px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.month-btn {
    border: 2px solid var(--site-border);
    background: var(--site-field);
    color: #2b2b2b;
    border-radius: 7px;
    padding: 6px 8px;
    text-align: left;
    font-size: 0.97rem;
    cursor: pointer;
}

.month-btn.active {
    background: #595959;
    border-color: #595959;
    color: var(--site-white);
}

.booking-loading {
    font-size: 0.92rem;
    color: rgba(0, 0, 0, 0.75);
    padding: 9px 0;
}

.booking-field {
    margin-bottom: 14px;
}

.booking-field label {
    display: block;
    margin-bottom: 4px;
    font-size: 1.04rem;
    font-weight: 500;
}

.booking-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.booking-field input,
.booking-field textarea {
    width: 100%;
    border: 2px solid var(--site-border);
    border-radius: 10px;
    background: var(--site-field);
    color: #232323;
    font-family: inherit;
    font-size: 1rem;
    padding: 8px 12px;
}

.booking-field textarea {
    min-height: 94px;
    resize: vertical;
}

.booking-field input:focus,
.booking-field textarea:focus {
    outline: none;
    border-color: #5d5d5d;
}

.booking-submit-btn {
    border: 2px solid var(--site-border);
    background: var(--site-field);
    color: #2d2d2d;
    border-radius: 10px;
    padding: 8px 26px;
    font-size: 1.05rem;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
}

.booking-submit-btn:hover {
    background: #d4d4d4;
}

.booking-submit-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

.booking-success {
    text-align: center;
    padding: 34px 20px;
}

.booking-success p {
    font-size: 1.38rem;
    line-height: 1.3;
}

.contact-section {
    background: var(--site-page-bg);
    padding: 50px 16px 76px;
}

.contact-container {
    max-width: 820px;
    margin: 0 auto;
    background: var(--site-panel);
    border-radius: 10px;
    padding: 30px 30px 34px;
}

.contact-heading {
    font-size: clamp(1.5rem, 3.2vw, 2.05rem);
    margin-bottom: 24px;
}

.contact-fieldset {
    border: 0;
    margin-bottom: 22px;
}

.contact-fieldset legend {
    font-size: 1.03rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.contact-checkboxes {
    background: var(--site-field);
    border: 2px solid var(--site-border);
    border-radius: 9px;
    padding: 11px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 1rem;
}

.contact-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #4f4f4f;
}

.contact-field {
    margin-bottom: 14px;
}

.contact-field label {
    display: block;
    margin-bottom: 4px;
    font-size: 1.02rem;
    font-weight: 500;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    border: 2px solid var(--site-border);
    border-radius: 10px;
    background: var(--site-field);
    color: #232323;
    font-family: inherit;
    font-size: 1rem;
    padding: 8px 12px;
}

.contact-field textarea {
    min-height: 110px;
    resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: #5d5d5d;
}

.contact-submit-btn {
    border: 2px solid var(--site-border);
    background: var(--site-magenta);
    color: var(--site-white);
    border-radius: 10px;
    padding: 8px 26px;
    font-size: 1.03rem;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
}

.contact-submit-btn:hover {
    filter: brightness(0.95);
}

.contact-submit-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

.contact-success {
    text-align: center;
    padding: 30px 18px 18px;
}

.contact-success p {
    font-size: 1.2rem;
}

.contact-wine-club {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.contact-wine-club__title {
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    margin-bottom: 7px;
}

.contact-wine-club__desc {
    font-size: 0.9rem;
    margin-bottom: 16px;
    color: rgba(0, 0, 0, 0.76);
}

.wine-club-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
    align-items: center;
}

.wine-club-form input {
    width: 100%;
    border: 2px solid var(--site-border);
    border-radius: 10px;
    background: var(--site-field);
    color: #232323;
    font-family: inherit;
    font-size: 0.95rem;
    padding: 9px 12px;
}

.wine-club-form input:focus {
    outline: none;
    border-color: #5d5d5d;
}

.wine-club-btn {
    border: 2px solid var(--site-border);
    background: var(--site-black);
    color: var(--site-white);
    border-radius: 10px;
    padding: 9px 22px;
    font-size: 0.94rem;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
}

.wine-club-btn:hover {
    opacity: 0.9;
}

.wine-club-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

.wine-club-error {
    margin-top: 8px;
    color: #ffffff;
    background: #c54646;
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 0.82rem;
}

.wine-club-success {
    margin-top: 8px;
    background: #f2f2f2;
    border: 1px solid #d2d2d2;
    border-radius: 8px;
    padding: 10px 12px;
}

.wine-club-success p {
    font-size: 0.88rem;
    color: #232323;
}

.wine-club-success strong {
    display: inline-block;
    margin: 0 4px;
    letter-spacing: 1px;
}

.site-main {
    background: var(--site-page-bg);
}

.page-content-shell {
    max-width: 980px;
    margin: 0 auto;
    padding: 50px 20px 76px;
}

.legal-page {
    background: var(--site-panel);
    border-radius: 10px;
    padding: 30px 30px 34px;
}

.legal-page h2 {
    font-size: clamp(1.25rem, 2.2vw, 1.8rem);
    margin: 22px 0 10px;
    font-weight: 600;
}

.legal-page p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.legal-page ul {
    margin: 6px 0 16px 20px;
}

.legal-page li {
    margin-bottom: 6px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.legal-note {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 0.9rem;
}

.page-utility-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.page-utility-links a {
    display: inline-block;
    border: 1px solid rgba(0, 0, 0, 0.55);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

.cookie-preferences-form {
    margin-top: 18px;
    border: 2px solid var(--site-border);
    border-radius: 10px;
    background: var(--site-field);
    padding: 16px;
}

.cookie-pref-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.cookie-pref-row:last-of-type {
    border-bottom: 0;
}

.cookie-pref-row strong {
    display: block;
    font-size: 0.98rem;
    margin-bottom: 3px;
}

.cookie-pref-row span {
    font-size: 0.85rem;
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.74);
}

.cookie-pref-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #4f4f4f;
}

.cookie-pref-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.cookie-pref-actions button {
    border: 2px solid var(--site-border);
    border-radius: 9px;
    padding: 8px 14px;
    font-family: inherit;
    font-size: 0.86rem;
    cursor: pointer;
}

.cookie-pref-save {
    background: var(--site-magenta);
    color: var(--site-white);
}

.cookie-pref-reset {
    background: #ffffff;
    color: #232323;
}

.pref-status {
    margin-top: 10px;
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.78);
}

.site-footer {
    background: var(--site-black);
    color: var(--site-white);
    padding: 34px 20px 28px;
}

.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 22px;
}

.footer-logo-link {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-logo img {
    width: 56px;
    height: 56px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 34px;
}

.footer-links a {
    color: var(--site-white);
    font-size: 0.72rem;
    font-weight: 600;
    opacity: 0.92;
}

.footer-links a:hover {
    opacity: 1;
}

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 120;
    transition: transform 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.04);
}

@media (max-width: 1050px) {
    .hero-content-wrapper {
        gap: 22px;
    }

    .hero-image-col {
        flex-basis: 280px;
    }

    .arch-img {
        max-width: 250px;
    }

    .hero-divider {
        min-height: 230px;
    }

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

@media (max-width: 820px) {
    .site-nav {
        padding-inline: 14px;
    }

    .nav-links {
        gap: 12px;
    }

    .hero-content-wrapper,
    .hero-section--inner .hero-content-wrapper {
        padding: 78px 18px 32px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .hero-image-col,
    .hero-section--inner .hero-image-col {
        flex: 0 0 auto;
    }

    .arch-img,
    .hero-section--inner .arch-img {
        max-width: 170px;
    }

    .hero-divider {
        width: 160px;
        height: 3px;
        min-height: 0;
    }

    .hero-text-col {
        max-width: 100%;
    }

    .hero-subtitle,
    .hero-section--inner .hero-subtitle {
        max-width: 100%;
    }

    .info-block {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .info-block--right .info-block__image,
    .info-block--right .info-block__content {
        order: unset;
    }

    .info-block__image {
        min-height: 260px;
    }

    .info-block__content {
        padding: 30px 22px;
    }

    .shop-product-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }

    .shop-product-card__desc {
        max-width: 100%;
    }

    .booking-container,
    .contact-container {
        padding: 24px 18px;
    }

    .booking-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .booking-calendar-wrapper {
        flex-direction: column;
    }

    .booking-month-selector {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wine-club-form {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 16px;
    }
}

@media (max-width: 520px) {
    .nav-link {
        font-size: 0.62rem;
    }

    .showcase-card {
        padding: 22px 16px;
        gap: 16px;
    }

    .showcase-card__image {
        flex-basis: 90px;
    }

    .showcase-card__image img {
        width: 78px;
        height: 170px;
    }

    .showcase-card__desc {
        font-size: 0.88rem;
    }

    .shop-product-card__image {
        width: 100%;
        height: 260px;
    }

    .shop-product-card__image img {
        width: 185px;
        height: 260px;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        right: 14px;
        bottom: 14px;
    }
}
