/**
 * ==========================================================
 * Product Styles
 * ==========================================================
 *
 * Styles für einzelne WooCommerce-Produktseiten.
 *
 * Enthält:
 * - Produktseite
 * - Zurück-Navigation
 * - Produktlayout
 * - Produktgalerie
 * - Produktinformationen
 * - Preis
 * - Manufaktur-Hinweis
 * - Produktkonfiguration
 * - wiederverwendbare Auswahlkarten
 * - Warenkorb-Bereich
 * - Produktbeschreibung
 * - WooCommerce-Hinweise
 * - Ähnliche Produkte
 * - responsive Darstellung
 *
 * Diese Datei wird ausschließlich auf einzelnen
 * Produktseiten geladen.
 */


/* ==========================================================
   Produktseite
========================================================== */

.single-product .shop-archive {
    width: 100%;

    background-color: #faf7f0;
}

.single-product .shop-archive__container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
    padding: 30px 24px 8px;
}


/* ==========================================================
   Zurück-Navigation
========================================================== */

.product-back-navigation {
    width: 100%;

    margin: 0 0 18px;
}

.product-back-navigation__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: rgba(34, 34, 34, 0.66);

    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.product-back-navigation__link:hover,
.product-back-navigation__link:focus-visible {
    color: #8b6b47;

    transform: translateX(-3px);
}

.product-back-navigation__icon {
    color: #8b6b47;

    font-size: 1rem;
    line-height: 1;
}


/* ==========================================================
   Produktlayout
========================================================== */

.single-product div.product {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(380px, 460px);
    align-items: start;

    column-gap: 64px;
    row-gap: 32px;

    width: 100%;
}

.single-product div.product::before,
.single-product div.product::after {
    display: none;

    content: none;
}


/* ==========================================================
   Produktgalerie
========================================================== */

.single-product
div.product
.woocommerce-product-gallery {
    float: none !important;

    width: 100% !important;
    max-width: none;

    margin: 0 !important;
}

.single-product
.woocommerce-product-gallery__wrapper {
    margin: 0;
}

.single-product
.woocommerce-product-gallery__image {
    overflow: hidden;

    background-color: #f6f3ec;

    border: 1px solid rgba(34, 34, 34, 0.07);
    border-radius: 14px;
}

.single-product
.woocommerce-product-gallery__image
a {
    display: block;
}

.single-product
.woocommerce-product-gallery__image
img {
    display: block;

    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;

    object-fit: cover;
}

.single-product
.woocommerce-product-gallery
.flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;

    margin: 12px 0 0;
    padding: 0;

    list-style: none;
}

.single-product
.woocommerce-product-gallery
.flex-control-thumbs
li {
    float: none;

    width: auto;

    margin: 0;
}

.single-product
.woocommerce-product-gallery
.flex-control-thumbs
img {
    display: block;

    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;

    border: 1px solid transparent;
    border-radius: 7px;

    object-fit: cover;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        opacity 0.2s ease;
}

.single-product
.woocommerce-product-gallery
.flex-control-thumbs
img.flex-active,
.single-product
.woocommerce-product-gallery
.flex-control-thumbs
img:hover {
    border-color: #8b6b47;
    opacity: 1;
}


/* ==========================================================
   Produktinformationen
========================================================== */

.single-product
div.product
.summary {
    position: relative;
    top: -8px;

    float: none !important;

    width: 100% !important;
    max-width: 460px;

    margin: 0 !important;
    padding: 0 !important;
}

.single-product
.product_title {
    margin: 0 0 14px;

    color: #222222;

    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.2rem, 3.2vw, 3rem);
    font-weight: 500;
    line-height: 1.1;
}

.single-product
.woocommerce-product-details__short-description {
    margin: 0 0 22px;

    color: rgba(34, 34, 34, 0.72);

    font-size: 0.98rem;
    line-height: 1.75;
}

.single-product
.woocommerce-product-details__short-description
> :first-child {
    margin-top: 0;
}

.single-product
.woocommerce-product-details__short-description
> :last-child {
    margin-bottom: 0;
}


/* ==========================================================
   Preis
========================================================== */

.single-product
div.product
p.price,
.single-product
div.product
span.price {
    margin: 0 0 22px;

    color: #8b6b47;

    font-family: "Inter", sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.35;

    transition: opacity 0.18s ease;
}

.single-product
div.product
.price
del {
    margin-right: 8px;

    color: rgba(34, 34, 34, 0.45);

    font-size: 1rem;

    opacity: 1;
}

.single-product
div.product
.price
ins {
    color: #8b6b47;

    font-weight: 600;
    text-decoration: none;
}


/* ==========================================================
   Preisanimation
========================================================== */

.single-product
div.product
.price.product-price--updating {
    opacity: 0.45;
}


/* ==========================================================
   Manufaktur-Hinweis
========================================================== */

.product-notice {
    width: 100%;

    margin: 0 0 16px;
    padding: 9px 12px;

    background-color: rgba(245, 241, 232, 0.55);

    border: 1px solid rgba(139, 107, 71, 0.12);
    border-radius: 7px;
}

.product-notice__title {
    margin: 0 0 2px;

    color: #8b6b47;

    font-family: "Inter", sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product-notice__text {
    margin: 0;

    color: rgba(34, 34, 34, 0.66);

    font-size: 0.76rem;
    line-height: 1.4;
}


/* ==========================================================
   Produktkonfiguration
========================================================== */

.product-customization {
    width: 100%;

    margin: 0 0 20px;
    padding: 18px;

    background-color: #ffffff;

    border: 1px solid rgba(139, 107, 71, 0.16);
    border-radius: 8px;
}

.product-customization__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;

    margin-bottom: 10px;
}

.product-customization__label {
    color: #222222;

    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
}

.product-customization__required {
    color: #8b6b47;
}

.product-customization__help-link {
    color: #8b6b47;

    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
}

.product-customization__help-link:hover,
.product-customization__help-link:focus-visible {
    text-decoration: underline;
}

.product-customization__input-group {
    position: relative;

    width: 100%;
}

.product-customization__input {
    width: 100%;
    min-height: 46px;

    padding: 0 52px 0 13px;

    color: #222222;
    background-color: #fffdf8;

    border: 1px solid rgba(139, 107, 71, 0.24);
    border-radius: 7px;

    font-family: "Inter", sans-serif;
    font-size: 0.95rem;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.product-customization__input:focus {
    border-color: #8b6b47;
    outline: none;

    box-shadow:
        0 0 0 3px rgba(139, 107, 71, 0.1);
}

.product-customization__unit {
    position: absolute;
    top: 50%;
    right: 14px;

    color: rgba(34, 34, 34, 0.55);

    font-size: 0.85rem;
    font-weight: 500;

    transform: translateY(-50%);

    pointer-events: none;
}

.product-customization__help {
    margin: 9px 0 0;

    color: rgba(34, 34, 34, 0.62);

    font-size: 0.78rem;
    line-height: 1.55;
}

.product-customization__fieldset {
    min-width: 0;

    margin: 0;
    padding: 0;

    border: 0;
}

.product-customization__legend {
    margin: 0 0 12px;
    padding: 0;

    color: #222222;

    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
}


/* ==========================================================
   Auswahlkarten
========================================================== */

.selection-cards,
.product-customization__options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.selection-card,
.product-customization__option {
    position: relative;

    display: block;

    min-width: 0;

    cursor: pointer;
}

.selection-card__input,
.product-customization__radio {
    position: absolute;

    width: 1px;
    height: 1px;

    margin: -1px;
    padding: 0;

    overflow: hidden;

    border: 0;

    clip: rect(0 0 0 0);
    clip-path: inset(50%);

    white-space: nowrap;
}

.selection-card__content,
.product-customization__option-content {
    position: relative;

    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;

    min-height: 76px;

    padding: 14px 42px 14px 15px;

    background-color: #fffdf8;

    border: 1px solid rgba(139, 107, 71, 0.18);
    border-radius: 8px;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.selection-card__content::before,
.product-customization__option-content::before {
    position: absolute;
    top: 15px;
    right: 15px;

    width: 17px;
    height: 17px;

    background-color: #ffffff;

    border: 1px solid rgba(139, 107, 71, 0.4);
    border-radius: 50%;

    content: "";

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.selection-card:hover
.selection-card__content,
.product-customization__option:hover
.product-customization__option-content {
    background-color: rgba(245, 241, 232, 0.45);

    border-color: rgba(139, 107, 71, 0.42);

    transform: translateY(-1px);
}

.selection-card__input:checked
+ .selection-card__content,
.product-customization__radio:checked
+ .product-customization__option-content {
    background-color: rgba(245, 241, 232, 0.78);

    border-color: #8b6b47;

    box-shadow:
        0 0 0 2px rgba(139, 107, 71, 0.08);
}

.selection-card__input:checked
+ .selection-card__content::before,
.product-customization__radio:checked
+ .product-customization__option-content::before {
    background-color: #8b6b47;

    border-color: #8b6b47;

    box-shadow:
        inset 0 0 0 4px #ffffff;
}

.selection-card__input:focus-visible
+ .selection-card__content,
.product-customization__radio:focus-visible
+ .product-customization__option-content {
    outline: 3px solid rgba(139, 107, 71, 0.16);
    outline-offset: 2px;
}

.selection-card__title,
.product-customization__option-label {
    display: block;

    color: #222222;

    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
}

.selection-card__description {
    display: block;

    color: rgba(34, 34, 34, 0.6);

    font-size: 0.76rem;
    font-weight: 400;
    line-height: 1.45;
}

.product-customization__option-price {
    display: none;
}


/* ==========================================================
   Wunschlänge
========================================================== */

.product-customization__custom-length {
    margin-top: 16px;
    padding-top: 16px;

    border-top: 1px solid rgba(139, 107, 71, 0.12);
}

.product-customization__custom-length[hidden] {
    display: none;
}

.product-customization__calculated-price {
    margin: 12px 0 0;

    color: #8b6b47;

    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.5;
}


/* ==========================================================
   Warenkorb-Bereich
========================================================== */

.single-product
div.product
form.cart {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);

    column-gap: 12px;
    row-gap: 16px;

    width: 100%;

    margin: 0;
    padding: 0;
}

.single-product
div.product
form.cart::before,
.single-product
div.product
form.cart::after {
    display: none;

    content: none;
}

.single-product
div.product
form.cart
.product-customization {
    grid-column: 1 / -1;

    margin-bottom: 0;
}


/* ==========================================================
   Mengenangabe
========================================================== */

.single-product
div.product
form.cart
.quantity {
    float: none;

    width: 82px;

    margin: 0;
}

.single-product
div.product
form.cart
.quantity
.qty {
    width: 100%;
    height: 52px;
    min-height: 52px;

    margin: 0;
    padding: 0 10px;

    color: #222222;
    background-color: #ffffff;

    border: 1px solid rgba(139, 107, 71, 0.24);
    border-radius: 7px;

    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    text-align: center;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.single-product
div.product
form.cart
.quantity
.qty:focus {
    border-color: #8b6b47;
    outline: none;

    box-shadow:
        0 0 0 3px rgba(139, 107, 71, 0.1);
}


/* ==========================================================
   Warenkorb-Button
========================================================== */

.single-product
div.product
.single_add_to_cart_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 52px;
    min-height: 52px;

    margin: 0;
    padding: 12px 22px;

    color: #ffffff;
    background-color: #8b6b47;

    border: 1px solid #8b6b47;
    border-radius: 7px;

    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.single-product
div.product
.single_add_to_cart_button:hover,
.single-product
div.product
.single_add_to_cart_button:focus-visible {
    background-color: #725538;
    border-color: #725538;

    box-shadow:
        0 7px 18px rgba(139, 107, 71, 0.22);

    transform: translateY(-1px);
}

.single-product
div.product
.single_add_to_cart_button:focus-visible {
    outline: 3px solid rgba(139, 107, 71, 0.18);
    outline-offset: 2px;
}


/* ==========================================================
   Produktbeschreibung
========================================================== */

.product-description {
    grid-column: 1 / -1;

    width: 100%;
    max-width: 900px;

    margin: 0 auto;
    padding-top: 34px;
    padding-bottom: 44px;

    border-top: 1px solid rgba(139, 107, 71, 0.14);
}

.product-description__title {
    margin: 0 0 14px;

    color: #222222;

    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2rem, 3vw, 2.7rem);
    font-weight: 500;
    line-height: 1.15;
}

.product-description__content {
    padding: 22px 28px;

    color: rgba(34, 34, 34, 0.78);
    background-color: rgba(245, 241, 232, 0.72);

    border: 1px solid rgba(139, 107, 71, 0.1);
    border-radius: 10px;

    font-size: 0.98rem;
    line-height: 1.8;
}

.product-description__content
> :first-child {
    margin-top: 0;
}

.product-description__content
> :last-child {
    margin-bottom: 0;
}

.product-description__content
p {
    margin: 0 0 16px;
}


/* ==========================================================
   Hersteller- und Sicherheitsinformationen
========================================================== */

.product-safety {
    grid-column: 1 / -1;

    width: 100%;
    max-width: 900px;

    margin: 0 auto;
    padding-bottom: 46px;
}

.product-safety__title {
    margin: 0 0 14px;

    color: #222222;

    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2rem, 3vw, 2.7rem);
    font-weight: 500;
    line-height: 1.15;
}

.product-safety__content {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.4fr);
    gap: 28px;

    padding: 26px 28px;

    color: rgba(34, 34, 34, 0.78);
    background-color: rgba(245, 241, 232, 0.72);

    border: 1px solid rgba(139, 107, 71, 0.14);
    border-radius: 10px;
}

.product-safety__manufacturer {
    padding-right: 28px;

    border-right: 1px solid rgba(139, 107, 71, 0.16);
}

.product-safety__subtitle {
    margin: 0 0 12px;

    color: #222222;

    font-family: "Cormorant Garamond", serif;
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.2;
}

.product-safety__address {
    margin: 0;

    font-style: normal;
    line-height: 1.7;
}

.product-safety__address a {
    color: #8b6b47;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.product-safety__identification {
    margin: 22px 0 0;
}

.product-safety__identification div {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 10px;

    padding: 8px 0;

    border-top: 1px solid rgba(139, 107, 71, 0.13);
}

.product-safety__identification dt {
    color: #8b6b47;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product-safety__identification dd {
    margin: 0;

    color: #222222;
}

.product-safety__list {
    margin: 0;
    padding-left: 0;

    list-style: none;
}

.product-safety__list li {
    margin-bottom: 10px;
    padding-left: 0;

    line-height: 1.65;
}

.product-safety__list li:last-child {
    margin-bottom: 0;
}

.product-safety__additional {
    margin-top: 20px;
    padding-top: 18px;

    border-top: 1px solid rgba(139, 107, 71, 0.16);
}

.product-safety__additional h4 {
    margin: 0 0 7px;

    color: #6f5539;

    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.product-safety__additional p {
    margin: 0;

    line-height: 1.65;
}


/* ==========================================================
   Kompakte Halsband-Konfiguration
========================================================== */

.single-product
.product-customization--closure
.selection-cards,
.single-product
.product-customization--dorn
.selection-cards {
    gap: 8px;
}

.single-product
.product-customization--closure
.selection-card__content,
.single-product
.product-customization--dorn
.selection-card__content {
    min-height: 0;
    padding: 10px 12px;
}

.single-product
.product-customization--closure
.selection-card__title,
.single-product
.product-customization--dorn
.selection-card__title {
    font-size: 0.95rem;
    line-height: 1.25;
}

.single-product
.product-customization--closure
.selection-card__description,
.single-product
.product-customization--dorn
.selection-card__description {
    margin-top: 3px;

    font-size: 0.82rem;
    line-height: 1.35;
}


/* ==========================================================
   Abstände der Halsband-Konfiguration
========================================================== */

.single-product
.product-customization--closure {
    margin-bottom: 12px;
}

.single-product
.product-customization--dorn,
.single-product
.product-customization--collar {
    margin-top: 0;
    margin-bottom: 12px;
}

.single-product
.product-customization--dorn
.product-customization__dorn-measurement {
    margin-top: 18px;
    padding-top: 16px;

    border-top: 1px solid rgba(139, 107, 71, 0.14);
}


/* ==========================================================
   WooCommerce-Hinweise
========================================================== */

.single-product
.woocommerce-message,
.single-product
.woocommerce-info,
.single-product
.woocommerce-error {
    grid-column: 1 / -1;

    width: 100%;

    margin: 0 0 28px;
}


/* ==========================================================
   Warenkorb-Erfolgsmeldung
========================================================== */

.single-product
.woocommerce-message {
    position: relative;

    display: flex;
    align-items: center;
    gap: 20px;

    padding: 16px 18px 16px 48px;

    color: #222222;
    background-color: rgba(245, 241, 232, 0.72);

    border: 1px solid rgba(139, 107, 71, 0.22);
    border-left: 3px solid #8b6b47;
    border-radius: 8px;

    box-shadow: none;

    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.5;
}


/* ==========================================================
   Erfolgssymbol
========================================================== */

.single-product
.woocommerce-message::before {
    position: absolute;
    top: 50%;
    left: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 18px;
    height: 18px;

    color: #ffffff;
    background-color: #8b6b47;

    border-radius: 50%;

    content: "✓";

    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1;

    transform: translateY(-50%);
}


/* ==========================================================
   Warenkorb-anzeigen-Button
========================================================== */

.single-product
.woocommerce-message
.button {
    order: 2;
    float: none !important;

    flex-shrink: 0;

    margin: 0 0 0 auto !important;
    padding: 10px 16px;

    color: #ffffff;
    background-color: #8b6b47;

    border: 1px solid #8b6b47;
    border-radius: 6px;

    font-family: "Inter", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.single-product
.woocommerce-message
.button:hover,
.single-product
.woocommerce-message
.button:focus-visible {
    color: #ffffff;
    background-color: #725538;
    border-color: #725538;

    box-shadow:
        0 5px 14px rgba(139, 107, 71, 0.18);

    transform: translateY(-1px);
}

.single-product
.woocommerce-message
.button:focus-visible {
    outline: 3px solid rgba(139, 107, 71, 0.16);
    outline-offset: 2px;
}


/* ==========================================================
   Ähnliche Produkte
========================================================== */

.single-product
.related.products {
    grid-column: 1 / -1;

    width: 100%;

    margin-top: 20px;
    margin-bottom: 24px;
    padding-top: 24px;

    border-top: 1px solid rgba(139, 107, 71, 0.14);
}


/* ==========================================================
   Ähnliche Produkte – Überschrift
========================================================== */

.single-product
.related.products
> h2 {
    margin: 0 0 18px;

    color: #222222;

    font-family: "Cormorant Garamond", serif;
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1.15;
}


/* ==========================================================
   Ähnliche Produkte – WooCommerce Clearfix entfernen
========================================================== */

.single-product
.related.products
ul.products::before,
.single-product
.related.products
ul.products::after {
    display: none !important;

    content: none !important;
}


/* ==========================================================
   Ähnliche Produkte – Grid
========================================================== */

.single-product
.related.products
ul.products {
    display: grid;

    grid-template-columns: repeat(3, 185px);
    gap: 18px;

    justify-content: start;
    justify-items: start;

    width: 100%;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none;
}


/* ==========================================================
   Ähnliche Produkte – Produktkarte
========================================================== */

.single-product
.related.products
ul.products
li.product {
    display: flex;
    flex-direction: column;

    float: none !important;

    width: 185px !important;
    max-width: 185px;

    margin: 0 !important;
    padding: 8px;

    background-color: #faf7f0;

    border: 1px solid rgba(139, 107, 71, 0.22);
    border-radius: 9px;

    box-shadow:
        0 3px 10px rgba(34, 34, 34, 0.035);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.single-product
.related.products
ul.products
li.product:hover {
    border-color: rgba(139, 107, 71, 0.42);

    box-shadow:
        0 6px 16px rgba(34, 34, 34, 0.07);

    transform: translateY(-2px);
}


/* ==========================================================
   Ähnliche Produkte – Produktlink
========================================================== */

.single-product
.related.products
ul.products
li.product
.woocommerce-LoopProduct-link {
    display: flex;
    flex: 1;
    flex-direction: column;

    color: inherit;
    text-decoration: none;
}


/* ==========================================================
   Ähnliche Produkte – Produktbild
========================================================== */

.single-product
.related.products
ul.products
li.product
img {
    display: block;

    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;

    margin: 0 0 9px;

    background-color: #faf7f0;

    border-radius: 7px;

    object-fit: cover;
}


/* ==========================================================
   Ähnliche Produkte – Produktname
========================================================== */

.single-product
.related.products
.woocommerce-loop-product__title {
    margin: 0 0 5px;
    padding: 0;

    color: #222222;

    font-family: "Cormorant Garamond", serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.25;
}


/* ==========================================================
   Ähnliche Produkte – Preis
========================================================== */

.single-product
.related.products
.price {
    margin: 0 0 9px !important;

    color: #8b6b47 !important;

    font-family: "Inter", sans-serif !important;
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    line-height: 1.35;
}


/* ==========================================================
   Ähnliche Produkte – Button
========================================================== */

.single-product
.related.products
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    margin: auto 0 0 !important;
    padding: 7px 10px !important;

    color: #ffffff !important;
    background-color: #8b6b47 !important;

    border: 1px solid #8b6b47 !important;
    border-radius: 6px !important;

    font-family: "Inter", sans-serif;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.single-product
.related.products
.button:hover,
.single-product
.related.products
.button:focus-visible {
    color: #ffffff !important;
    background-color: #725538 !important;
    border-color: #725538 !important;

    transform: translateY(-1px);
}

.single-product
.related.products
.button:focus-visible {
    outline: 3px solid rgba(139, 107, 71, 0.16);
    outline-offset: 2px;
}


/* ==========================================================
   Tablets
========================================================== */

@media (max-width: 1024px) {

    .single-product
    .shop-archive__container {
        padding-right: 20px;
        padding-left: 20px;
    }

    .single-product
    div.product {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(340px, 420px);

        gap: 48px;
    }

    .single-product
    div.product
    .summary {
        max-width: 420px;
    }


    /* ======================================================
       Ähnliche Produkte
    ====================================================== */

    .single-product
    .related.products
    ul.products {
        grid-template-columns: repeat(2, 185px);
    }

}


/* ==========================================================
   Mobile Geräte
========================================================== */

@media (max-width: 768px) {

    .single-product
    .shop-archive__container {
        padding: 22px 16px 8px;
    }

    .product-back-navigation {
        margin-bottom: 16px;
    }

    .single-product
    div.product {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .single-product
    div.product
    .summary {
        top: 0;

        max-width: none;

        padding-top: 0;
    }

    .single-product
    .product_title {
        font-size: clamp(2.2rem, 10vw, 3rem);
    }

    .product-description {
        grid-column: auto;

        width: 100%;
        max-width: none;

        margin-top: 0;
        padding-top: 28px;
        padding-bottom: 36px;
    }

    .product-description__title {
        margin-bottom: 12px;

        font-size: clamp(1.85rem, 8vw, 2.25rem);
    }

    .product-description__content {
        padding: 18px 18px;

        font-size: 0.95rem;
        line-height: 1.75;
    }

    .product-description__content p {
        margin-bottom: 14px;
    }

    .product-safety {
        grid-column: auto;

        max-width: none;

        padding-bottom: 36px;
    }

    .product-safety__title {
        margin-bottom: 12px;

        font-size: clamp(1.85rem, 8vw, 2.25rem);
    }

    .product-safety__content {
        grid-template-columns: 1fr;
        gap: 22px;

        padding: 20px 18px;

        font-size: 0.92rem;
    }

    .product-safety__manufacturer {
        padding-right: 0;
        padding-bottom: 22px;

        border-right: 0;
        border-bottom: 1px solid rgba(139, 107, 71, 0.16);
    }


    /* ======================================================
       Warenkorb-Erfolgsmeldung
    ====================================================== */

    .single-product
    .woocommerce-message {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;

        padding: 14px 14px 14px 44px;

        font-size: 0.86rem;
    }

    .single-product
    .woocommerce-message::before {
        top: 16px;
        left: 15px;

        transform: none;
    }

    .single-product
    .woocommerce-message
    .button {
        order: 2;

        width: 100%;

        margin-left: 0 !important;

        text-align: center;
    }


    /* ======================================================
       Ähnliche Produkte
    ====================================================== */

    .single-product
    .related.products {
        margin-top: 20px;
        margin-bottom: 24px;
        padding-top: 22px;
    }

    .single-product
    .related.products
    > h2 {
        margin-bottom: 16px;

        font-size: 1.65rem;
    }

    .single-product
    .related.products
    ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .single-product
    .related.products
    ul.products
    li.product {
        width: 100% !important;
        max-width: none;
    }

}


/* ==========================================================
   Kleine Smartphones
========================================================== */

@media (max-width: 480px) {

    .single-product
    .shop-archive__container {
        padding-right: 14px;
        padding-left: 14px;
    }

    .product-notice {
        padding: 9px 12px;
    }

    .product-customization {
        padding: 16px;
    }

    .product-customization__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .selection-cards,
    .product-customization__options {
        grid-template-columns: 1fr;
    }

    .selection-card__content,
    .product-customization__option-content {
        min-height: 68px;
    }

    .single-product
    div.product
    form.cart {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 10px;
    }

    .single-product
    div.product
    form.cart
    .quantity {
        width: 72px;
    }

    .single-product
    div.product
    .single_add_to_cart_button {
        width: 100%;
    }


    /* ======================================================
       Ähnliche Produkte
    ====================================================== */

    .single-product
    .related.products
    ul.products {
        grid-template-columns: 1fr;
    }

    .single-product
    .related.products
    ul.products
    li.product {
        width: 100% !important;
        max-width: 185px;

        margin-right: auto !important;
    }

}
