@charset "utf-8";
/* Aggiungi di seguito il tuo stile personalizzato */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    --text-slate: #7a7a7a;
    --radius: .6rem;
    --radius-1: 1rem;
    --soft-border: #e0e0e0;
    --gold: #c08552;
    --primary-soft: #efe6da;
    --soft-shadow: 0px 4px 12px rgba(0, 0, 0, 0.04);
}

html {
    font-size: 12px;
    scroll-behavior: smooth;
    height: auto !important;
    scroll-padding: 100px;
}

body {
    background: var(--light);
    color: var(--dark);
    max-width: 100vw;
    /* height: 100vh; */
    overflow-x: hidden;
}

html.modal-open,
body.modal-open {
    overflow: hidden !important;
    height: 100%;
}

#content {
    margin: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

h1 {
    font-size: 1.6rem;
    text-wrap-style: pretty;
}

p {
    font-size: 1rem;
}

.text_slate {
    color: var(--text-slate);
}

section {
    padding: 0 !important;

}

img {
    display: block;
    max-width: 100%;
}

.btn-outline-dark {
    border-width: 1px;
}

.btn {
    padding: .8rem 1rem;
    border-radius: var(--radius);
}

.btn-sm {
    font-size: .95rem;
}

button .btn {
    border-radius: var(--radius) !important;
}

.text_xl {
    font-size: 1.3rem;
}

.small {
    font-size: .9rem;
}

/* 
.border_soft {
    border: 1px solid var(--soft-border);
} */

/* .bg_fathers {
    background: url();
} */

/* ───── Navbar ───── */
.fth_header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--soft-border);
    background-color: var(--light);
}

.navbar-logo {
    max-width: 40%;
}

.fth_icon_btn {
    max-width: 42px;
}

.fth_icon_btn svg {
    width: 100%;
}

/* hero section */
.hero {
    position: relative;
    overflow: hidden;
}

.hero_banner {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 500;
}

.hero_cta {
    row-gap: 1.2em;
    max-width: 90%;
}

.hero_img {
    position: relative;
}

.hero_img img {
    max-width: 150px;
    margin: 0 auto;
}

.hero_img::after {
    content: "";
    background: linear-gradient(180deg, var(--primary) 0%, transparent 100%);
    height: 250px;
    width: 250px;
    border-radius: 100%;
    position: absolute;
    top: 55%;
    left: 65%;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: .5;
}

/* riga caratteristiche prodotti */
.specs_wrapper {
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--primary-soft);
}

.spec {
    min-height: 65px;
    height: 100%;
    padding: .8rem .4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--white);
    border-right: 1px solid var(--primary-soft);
    border-bottom: 1px solid var(--primary-soft);
}

.spec i {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: .45rem;
    max-height: 18px;
}

.spec span {
    font-size: .95rem;
    line-height: 1.5;
}

/* elimina i bordi esterni interni */
.specs_wrapper .col-4:nth-child(3n) .spec {
    border-right: 0;
}

.specs_wrapper .col-4:nth-last-child(-n+3) .spec {
    border-bottom: 0;
}

/* ───── Scroll orizzontale senza scrollbar ───── */
.scroll_x {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scrollbar-gutter: stable;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.scroll_x::-webkit-scrollbar {
    display: none;
}

.scroll_x>* {
    scroll-snap-align: start;
    flex-shrink: 0;
}

.product_card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* max-width: 40%; */
    /* min-height: 320px; */
    margin-right: 0.75rem;
    cursor: pointer;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--soft-shadow);
    padding: 1rem;
    border: 1px solid var(--soft-border);
}


.w_40 {
    max-width: 40%;
}

.product_image {
    position: relative;
    /* necessario per posizionare il cuore in absolute */
}

.card_text {
    font-size: .9rem;
}

.wishlist_btn {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: rgba(255, 255, 255, 0.85); */
    background: transparent;
    border: none;
    border-radius: 50%;
    /* box-shadow: var(--soft-shadow); */
    padding: 0;
    transition: transform 0.15s ease;
}

.wishlist_btn:active {
    transform: scale(0.9);
    /* piccolo feedback al tocco, utile su mobile */
}

.wishlist_btn i {
    font-size: 1.4rem;
    color: #495057;
}

.wishlist_btn.active i,
.btn_detail_secondary.active i {
    color: #dc3545;
    /* rosso quando il prodotto è già in wishlist */
}

.finder_card {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--primary-soft);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-decoration: none;
    color: inherit;
}

.finder_content {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 1rem;
    z-index: 2;
}

.finder_content h2 {
    color: var(--dark);
    font-size: 1.65rem;
    line-height: 1.2;
    margin-bottom: 0.6rem;
}

.finder_text {
    color: var(--text-slate);
    font-size: 1.08rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.finder_decor {
    position: absolute;
    right: 24%;
    top: 100%;
    width: 100%;
    height: auto;
    color: var(--gold, #c08552);
    opacity: 0.38;
    z-index: 1;
    pointer-events: none;
    transform: translateY(-50%) rotate(14deg);
    filter: blur(0.5px);
    transform: rotate3d(-1.5, 2.5, 1, 45deg) translate(50%, -50%);
}

.finder_cta {
    position: relative;
    flex: 0 0 4rem;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: var(--light);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--soft-shadow);
    z-index: 2;
}

.finder_cta svg {
    width: 1.8rem;
    height: 1.8rem;
}

/* ───── I più scelti ───── */

.product_name {
    font-weight: 500;
    color: var(--dark);
}

.product_color {
    font-size: .95rem;
}

.product_price {
    font-weight: 600;
}

/* ───── Sezione Collezioni ───── */
.collection_card_link {
    display: flex;
    align-items: center;
    background-color: var(--light);
    /* Sfondo bianco pulito per la card */
    border-radius: var(--radius);
    box-shadow: var(--soft-shadow);
    overflow: hidden;
    min-height: 7.5rem;
    text-decoration: none !important;
    transition: transform 0.2s ease;
    border: 1px solid var(--soft-border);
}

.collection_card_link:active,
.product_card:active {
    transform: scale(0.98);
}

.collection_content_side {
    padding: 1.5rem 1rem 1.5rem 1.5rem;
    flex: 1 1 auto;
    z-index: 2;
}

.collection_card_title {
    color: var(--dark);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.collection_card_subtitle {
    color: var(--text-slate);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Colonna destra che ospita l'orologio tagliato */
.collection_image_side {
    position: relative;
    width: 45%;
    height: 7.5rem;
    /* overflow: hidden; */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 1;
}

.collection_image_side::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(to right,
            transparent 70%,
            rgba(248, 249, 250, 1) 85%,
            #f8f9fa 100%)
}

.collection_img_src {
    height: 210px;
    object-fit: cover;
    transform: translateX(-0%);
}

.collection_img_src.evolution {
    height: 210px;
    object-fit: cover;
    transform: translate(10%, 10%);
}

/* Icona freccia posizionata sopra l'immagine all'estrema destra */
.collection_arrow_indicator {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-slate);
    font-size: 1.1rem;
    z-index: 3;
    pointer-events: none;
    opacity: 0.7;
}

.collections .row {
    row-gap: .8rem;
}

.dropdown-menu {
    font-size: 1.2rem !important;
}

.form-control {
    height: calc(2em + .75rem + 2px);
}

.mostra_nascondi_password {
    border-top-right-radius: var(--radius) !important;
    border-bottom-right-radius: var(--radius) !important;
}

input.form-control.is-invalid:focus,
input.form-control.is-invalid {
    border: 1px solid var(--danger) !important;
}

.success-modal {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 120px;
    background: rgba(0, 0, 0, .45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease;
    z-index: 99999;
}


.success-modal.show {
    opacity: 1;
    visibility: visible;
}


.success-modal__box {

    width: calc(100% - 40px);
    max-width: 420px;

    background: #dcfce7;
    border: 1px solid #86efac;

    border-radius: var(--radius);

    padding: .8rem;

    text-align: center;

    box-shadow: 0 15px 40px rgba(0, 0, 0, .2);

    transform: translateY(-120px);

    transition: transform .35s ease;
}


.success-modal.show .success-modal__box {
    transform: translateY(0);
}


.success-modal__icon {

    width: 55px;
    height: 55px;

    margin: 0 auto 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #22c55e;

    color: white;

    font-size: 30px;
    font-weight: bold;
}


.success-modal h3 {
    margin: 0 0 10px;
    color: #166534;
}


.success-modal p {
    margin: 0;
    color: #15803d;
}

/* Banner */
.fathers_banner {
    background-color: var(--dark);
    border-radius: 0.571rem;
    /* 8px */
    padding: 1.286rem;
    /* 18px */
    display: flex;
    align-items: flex-start;
    /* Allinea in alto scudo e testi */
    gap: 1.071rem;
    /* 15px di spazio flessibile tra scudo e testo */
}

/* Contenitore Scudo */
.banner_icon {
    position: relative;
    width: 4.643rem;
    /* 65px */
    height: 5.143rem;
    /* 72px */
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SVG del contorno scudo */
.banner_icon_svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner_icon_svg path {
    fill: transparent;
    stroke: var(--gold);
    stroke-width: 2;
}

/* Testo sovrapposto allo scudo */
.icon_text_wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 0.357rem;
    /* bilancia lo spazio visivo verso la punta */
}

.icon_number {
    display: block;
    font-size: 1.571rem;
    /* 22px */
    font-weight: bold;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.icon_text {
    display: block;
    font-size: 0.571rem;
    /* 8px */
    font-weight: 600;
    letter-spacing: 0.036rem;
    /* 0.5px */
    color: var(--gold);
    line-height: 1.2;
    margin-top: 0.143rem;
}

.banner_content_block {
    display: flex;
    flex-direction: column;
}

.banner_title {
    font-size: 1.071rem;
    /* 15px */
    font-weight: 600;
    letter-spacing: 0.036rem;
    color: #ffffff;
    margin-bottom: 0.286rem;
    /* 4px */
}

.banner_text {
    font-size: 0.929rem;
    /* 13px */
    color: #a0b0c0;
    line-height: 1.4;
    margin-bottom: 0.571rem;
    /* 8px di distacco dal link sottostante */
}

/* Griglia varianti prodotti */

.products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 768px) {
    .products {
        grid-template-columns: repeat(3, 1fr);
    }
}