/* =========================================================
   Anti-aging – Produktside
   Ren og samlet version
   Afhænger af de globale regler i antiage.css
   ========================================================= */

/* ---------------------------------------------------------
   PRODUKTSIDE – GRUNDLAYOUT
   --------------------------------------------------------- */

.product-page {
    padding-top: 10px;
    padding-bottom: 60px;
}

.product-page .breadcrumbs {
    margin-bottom: 20px;
}

.product-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.95fr) minmax(360px, 1fr);
    gap: 42px;
    align-items: start;
    margin-bottom: 42px;
}

/* ---------------------------------------------------------
   PRODUKTBILLEDE
   --------------------------------------------------------- */

.product-image-wrap {
    min-height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 28px;
    background: #fff;
    border: 1px solid #e7dfd7;
    border-radius: 14px;
    box-sizing: border-box;
}

.product-image-wrap img {
    display: block;
    width: auto;
    height: auto;
    max-width: 78%;
    max-height: 390px;
    object-fit: contain;
}

/* ---------------------------------------------------------
   PRODUKTINFO
   --------------------------------------------------------- */

.product-info {
    min-width: 0;
}

.product-info h1 {
    margin: 4px 0 8px;
    font-size: clamp(26px, 2vw, 30px);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.4px;
}

.product-info .brand {
    margin: 0 0 18px;
    color: #756a63;
}

/* ---------------------------------------------------------
   TILBUDSBOKS
   --------------------------------------------------------- */

.product-info .offer-panel {
    width: 100%;
    margin: 18px 0 12px;
    padding: 20px 22px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e7dfd7;
    border-radius: 14px;
}

.product-info .offer-panel h2,
.product-info .offer-panel .offer-title {
    margin: 0 0 14px;
    color: #8b2e32;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
}

.product-info .offer-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 16px;
    align-items: center;
    padding: 0;
}

.product-info .offer-row + .offer-row {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #eee7e2;
}

.product-info .offer-row strong {
    font-size: 16px;
    line-height: 1.3;
}

.product-info .offer-price {
    grid-column: 2;
    grid-row: 1;
    font-size: 28px;
    line-height: 1.1;
    font-weight: 700;
    color: #4b3a34;
    white-space: nowrap;
    text-align: right;
    text-decoration: none !important;
}

/* Gammel pris – kun denne gennemstreges */

.product-info .offer-row .old-price {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    margin-top: 1px;
    color: #8b817a;
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: line-through !important;
}

/* Besparelse */

.product-info .offer-row small {
    grid-column: 1;
    grid-row: 2;
    color: #8b2e32;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none !important;
}

/* Tilbudsknap */

.product-info .offer-row .button {
    grid-column: 1 / -1;
    width: auto;
    justify-self: start;
    margin-top: 10px;
    padding: 11px 20px;
    box-sizing: border-box;
    text-align: center;
}

/* Leveringsinformation */

.product-info .facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 10px;
    color: #70645e;
    font-size: 13px;
    line-height: 1.4;
}

/* ---------------------------------------------------------
   INDHOLDSOMRÅDE
   --------------------------------------------------------- */

.product-page .content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    margin-top: 0;
}

.product-page .content-grid article {
    min-width: 0;
    max-width: 900px;
}

.product-page .content-grid h2 {
    margin-top: 0;
    margin-bottom: 16px;
    color: #4b3a34;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
}

.product-page .content-grid h2:not(:first-child) {
    margin-top: 34px;
}

/* ---------------------------------------------------------
   PRODUKTBESKRIVELSE / "OM VINEN"
   --------------------------------------------------------- */

.product-page .description {
    padding: 20px 22px;
    background: #fff;
    border: 1px solid #e7dfd7;
    border-radius: 14px;
    line-height: 1.7;
}

.product-page .description + h2 {
    margin-top: 32px;
}

/* ---------------------------------------------------------
   "OM VINEN" – MARKERET OVERSKRIFT
   --------------------------------------------------------- */

.product-description-highlight h2 {
    display: inline-block;
    margin: 0 0 16px;
    padding: 9px 14px;
    background: #faf7f4;
    border-left: 4px solid #8b2e32;
    border-radius: 5px;
    color: #4b3a34;
    font-size: 24px;
    line-height: 1.25;
}

/* ---------------------------------------------------------
   VINVINO OVERBLIK / VININFO
   --------------------------------------------------------- */

.vin-info {
    margin-top: 20px;
}

.vin-info-line {
    margin: 0 0 18px;
    color: #4d4641;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 700;
}

.vin-info-label {
    margin: 18px 0 4px;
    padding-left: 10px;
    border-left: 4px solid #8b2e32;
    color: #3f3029;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
}

.vin-info-value {
    margin: 0;
    color: #4b3a34;
    font-size: 16px;
    line-height: 1.6;
}

.offer-rating strong {
    color: #8b2e32;
}

/* ---------------------------------------------------------
   SKJULT GENEREL PRISBOKS
   --------------------------------------------------------- */

.product-page .price-box {
    display: none !important;
}

/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 900px) {

    .product-layout {
        grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1fr);
        gap: 28px;
        margin-bottom: 34px;
    }

    .product-image-wrap {
        min-height: 330px;
        padding: 14px 20px;
    }

    .product-image-wrap img {
        max-width: 76%;
        max-height: 330px;
    }

    .product-info .offer-panel {
        padding: 18px 20px;
    }
}

/* ---------------------------------------------------------
   MOBIL
   --------------------------------------------------------- */

@media (max-width: 700px) {

    .product-page {
        padding-top: 4px;
        padding-bottom: 36px;
    }

    .product-page .breadcrumbs {
        margin-bottom: 14px;
        font-size: 13px;
        line-height: 1.4;
    }

    .product-layout {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 28px;
    }

    .product-image-wrap {
        height: 260px;
        min-height: 260px;
        padding: 10px 16px;
        border-radius: 12px;
    }

    .product-image-wrap img {
        max-width: 68%;
        max-height: 235px;
    }

    .product-info h1 {
        margin-top: 2px;
        margin-bottom: 6px;
        font-size: clamp(26px, 6vw, 30px);
        line-height: 1.12;
        letter-spacing: -0.3px;
    }

    .product-info .brand {
        margin-bottom: 12px;
        font-size: 14px;
    }

    .product-info .offer-panel {
        margin-top: 12px;
        margin-bottom: 10px;
        padding: 16px;
        border-radius: 12px;
    }

    .product-info .offer-panel h2,
    .product-info .offer-panel .offer-title {
        margin-bottom: 12px;
        font-size: 18px;
    }

    .product-info .offer-row {
        gap: 4px 10px;
    }

    .product-info .offer-price {
        font-size: 24px;
    }

    .product-info .offer-row .old-price {
        font-size: 14px;
    }

    .product-info .offer-row small {
        font-size: 14px;
    }

    /* Knappen fylder hele tilbudsboksen på mobil */

    .product-info .offer-row .button {
        width: 100%;
        justify-self: stretch;
        margin-top: 8px;
        padding: 10px 14px;
    }

    .product-info .facts {
        margin-top: 8px;
        gap: 5px 12px;
        font-size: 13px;
    }

    /* Indhold */

    .product-page .content-grid {
        gap: 26px;
    }

    .product-page .content-grid h2 {
        margin-bottom: 12px;
        font-size: 25px;
        font-weight: 600;
        line-height: 1.2;
    }

    .product-page .content-grid h2:not(:first-child) {
        margin-top: 26px;
    }

    .product-page .description {
        padding: 16px;
        border-radius: 12px;
        font-size: 16px;
        line-height: 1.65;
    }

    /* "Om vinen" */

    .product-description-highlight h2 {
        margin-bottom: 12px;
        padding: 8px 12px;
        font-size: 22px;
    }

    /* VinVino overblik */

    .vin-info {
        margin-top: 20px;
    }

    .vin-info-line {
        margin-bottom: 18px;
        font-size: 16px;
        line-height: 1.5;
    }

    .vin-info-label {
        margin-top: 18px;
        font-size: 15px;
    }

    .vin-info-value {
        font-size: 16px;
        line-height: 1.6;
    }
}

.related-products {
    margin-top: 40px;
}

@media (max-width: 600px) {
    .related-products {
        margin-top: 32px;
    }
}

/* ---------------------------------------------------------
   SMÅ MOBILER
   --------------------------------------------------------- */

@media (max-width: 420px) {

    .product-image-wrap {
        height: 230px;
        min-height: 230px;
    }

    .product-image-wrap img {
        max-width: 64%;
        max-height: 210px;
    }

    .product-info .offer-panel {
        padding: 14px;
    }

    .product-info .offer-price {
        font-size: 22px;
    }
}
