.single-product {
    --gsf-gold: #d6b76d;
    --gsf-gold-dark: #c9a450;
    --gsf-ink: #433d2f;
    --gsf-muted: #7a7a7a;
    --gsf-line: #d6b76d;
}

body.single-product #left-area > div.product {
    display: block;
    max-width: 1320px;
    margin: 0 auto;
    padding: 1.5rem 0 3rem;
}

body.single-product #left-area > div.product > .clearfix,
body.single-product #left-area > div.product {
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2rem 3rem;
}

body.single-product #left-area > div.product > .clearfix {
    flex: 1 1 100%;
    width: 100%;
}

body.single-product #left-area > div.product > .woocommerce-product-gallery,
body.single-product #left-area > div.product > .images,
body.single-product #left-area > div.product > .clearfix > .woocommerce-product-gallery,
body.single-product #left-area > div.product > .clearfix > .images {
    flex: 1 1 52%;
    float: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0;
    min-width: 0;
}

body.single-product #left-area > div.product > .summary,
body.single-product #left-area > div.product > .clearfix > .summary {
    flex: 1 1 38%;
    float: none !important;
    width: auto !important;
    max-width: 36rem;
    margin: 0;
    min-width: 0;
}

body.single-product #left-area > div.product > .woocommerce-tabs,
body.single-product #left-area > div.product > .related,
body.single-product #left-area > div.product > .upsells {
    flex: 1 1 100%;
    width: 100% !important;
    max-width: none;
    float: none !important;
    clear: both;
}

.single-product .woocommerce-breadcrumb {
    max-width: 1320px;
    margin: 1rem auto 0;
    padding: 0 24px;
    color: var(--gsf-muted);
    font-size: 0.85rem;
}

.single-product .woocommerce-breadcrumb a {
    color: var(--gsf-ink);
}

.single-product .summary .product_title {
    margin: 0 0 0.65rem;
    color: var(--gsf-ink);
    font-family: Raleway, sans-serif;
    font-size: clamp(1.45rem, 2vw, 1.9rem);
    font-weight: 500;
    line-height: 1.25;
}

.single-product .summary .price {
    margin: 0 0 0.35rem;
    color: var(--gsf-ink);
    font-family: Raleway, sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
}

.single-product .summary .legacy-itemprop-offers,
.single-product .summary .legacy-itemprop-offers-not-single {
    margin: 0 0 1.1rem;
}

.single-product .summary .wgm-info {
    color: var(--gsf-ink);
    font-size: 14px;
    line-height: 1.45;
    margin: 0.15rem 0;
}

.single-product .summary .shipping_de small {
    font-size: inherit;
}

.single-product .summary .variations {
    width: 100%;
    margin: 0 0 1.15rem;
    border: 0;
}

.single-product .summary .variations th,
.single-product .summary .variations td {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
}

.single-product .summary .variations th.label {
    padding: 0 0 0.3rem;
    color: var(--gsf-ink);
    font-size: 0.8rem;
    font-weight: 500;
}

.single-product .summary .variations td.value {
    padding: 0 0 0.85rem;
}

.single-product .summary .variations select {
    width: 100%;
    min-height: 2.6rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--gsf-line);
    border-radius: 2px;
    background: #fff;
    color: var(--gsf-muted);
    font-family: Raleway, sans-serif;
    font-size: 0.95rem;
}

.single-product .summary .reset_variations {
    display: inline-block;
    margin-top: 0.35rem;
    color: var(--gsf-ink);
    font-size: 0.85rem;
}

.single-product .summary .woocommerce-variation-add-to-cart,
.single-product .summary .cart {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.75rem;
}

.single-product .summary .quantity {
    display: none;
}

.single-product .single_add_to_cart_button.button,
.single-product .single_add_to_cart_button.button.alt,
.single-product .single_add_to_cart_button.button.alt.disabled,
.single-product .single_add_to_cart_button.button:disabled,
.single-product .elementor-element-6fba27d .elementor-widget-woocommerce-product-add-to-cart .single_add_to_cart_button.button,
.single-product .elementor-element-6fba27d .elementor-widget-woocommerce-product-add-to-cart .single_add_to_cart_button.button.alt,
.single-product .elementor-element-6fba27d .elementor-widget-woocommerce-product-add-to-cart .single_add_to_cart_button.button.alt.disabled,
.single-product .elementor-element-6fba27d .elementor-widget-woocommerce-product-add-to-cart .single_add_to_cart_button.button:disabled {
    min-height: 44px !important;
    padding: 15px 28px !important;
    border: 0 !important;
    border-radius: 2px !important;
    background: var(--gsf-gold) !important;
    box-shadow: none !important;
    color: #fff !important;
    font-family: Raleway, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 14px !important;
    text-shadow: none !important;
    transition: background-color 0.2s ease;
}

.single-product .single_add_to_cart_button.button:hover,
.single-product .single_add_to_cart_button.button.alt:hover,
.single-product .elementor-element-6fba27d .elementor-widget-woocommerce-product-add-to-cart .single_add_to_cart_button.button:hover,
.single-product .elementor-element-6fba27d .elementor-widget-woocommerce-product-add-to-cart .single_add_to_cart_button.button.alt:hover,
.single-product .elementor-element-6fba27d .elementor-widget-woocommerce-product-add-to-cart .single_add_to_cart_button.button.alt.disabled:hover {
    background: var(--gsf-gold-dark) !important;
    color: #fff !important;
}

.single-product .single_add_to_cart_button.button::after,
.single-product .single_add_to_cart_button.button::before {
    content: none;
}

.single-product .summary .product_meta {
    margin-top: 1.25rem;
    color: var(--gsf-muted);
    font-size: 0.85rem;
}

.single-product .summary .product_meta a {
    color: var(--gsf-ink);
}

body.woocommerce.single-product .woocommerce-tabs,
body.woocommerce.single-product div.product .woocommerce-tabs {
    border: 0;
    margin: 1rem 0 2.5rem;
}

body.woocommerce.single-product div.product .woocommerce-tabs ul.tabs,
body.woocommerce.single-product #content-area div.product .woocommerce-tabs ul.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0 0 1.25rem !important;
    padding: 0 !important;
    border-bottom: 1px solid #eadfca;
    background: none;
}

body.woocommerce.single-product div.product .woocommerce-tabs ul.tabs li,
body.woocommerce.single-product #content-area div.product .woocommerce-tabs ul.tabs li,
body.woocommerce.single-product div.product .woocommerce-tabs ul.tabs li.active,
body.woocommerce.single-product #content-area div.product .woocommerce-tabs ul.tabs li.active {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none !important;
    box-shadow: none;
}

body.woocommerce.single-product div.product .woocommerce-tabs ul.tabs li a,
body.woocommerce.single-product #content-area div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--gsf-muted);
    font-family: Raleway, sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
}

body.woocommerce.single-product div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--gsf-ink);
    box-shadow: inset 0 -2px 0 var(--gsf-gold);
}

.single-product .woocommerce-Tabs-panel {
    color: var(--gsf-ink);
    font-size: 1rem;
    line-height: 1.7;
}

.single-product .woocommerce-Tabs-panel h1,
.single-product .woocommerce-Tabs-panel h2 {
    color: var(--gsf-ink);
    font-family: Raleway, sans-serif;
    font-weight: 500;
}

.single-product .woocommerce-Tabs-panel table {
    width: 100%;
    border: 0;
}

.single-product .woocommerce-Tabs-panel table th,
.single-product .woocommerce-Tabs-panel table td {
    padding: 0.65rem 0;
    border-bottom: 1px solid #eadfca;
    text-align: left;
}

.single-product .related > h2,
.single-product .upsells > h2 {
    margin: 0 0 1.25rem;
    color: var(--gsf-ink);
    font-family: Raleway, sans-serif;
    font-size: 1.35rem;
    font-weight: 500;
}

.single-product .related ul.products,
.single-product .upsells ul.products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.single-product .related ul.products::before,
.single-product .related ul.products::after,
.single-product .upsells ul.products::before,
.single-product .upsells ul.products::after {
    display: none;
}

.single-product .related ul.products li.product,
.single-product .upsells ul.products li.product,
.single-product .gsf-card {
    width: auto;
    margin: 0;
    padding: 0;
    float: none;
    overflow: hidden;
    background: #1a1a1a;
}

.single-product .gsf-card__link {
    position: relative;
    display: block;
    height: 20rem;
    color: #fff;
    text-decoration: none;
}

.single-product .gsf-card__media,
.single-product .gsf-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.single-product .gsf-card__media img {
    object-fit: cover;
    transition: transform 0.45s ease;
}

.single-product .gsf-card__link::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 48%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.58) 100%);
    pointer-events: none;
}

.single-product .gsf-card__meta {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 0.85rem;
}

.single-product .gsf-card__title,
.single-product .gsf-card__price,
.single-product .gsf-card__price .amount,
.single-product .gsf-card__price bdi {
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
}

.single-product .gsf-card__title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.single-product .gsf-card__price {
    flex: 0 0 auto;
    text-align: right;
    white-space: nowrap;
}

.single-product .gsf-card__price del,
.single-product .gsf-card__price .screen-reader-text {
    display: none;
}

.single-product .gsf-card__link:hover .gsf-card__media img {
    transform: scale(1.04);
}

.single-product .woocommerce-notices-wrapper,
.single-product .elementor-element-6fba27d .ruven-single-product-notices {
    margin: 0 0 1.15rem;
}

.single-product .woocommerce-notices-wrapper {
    max-width: 1320px;
    margin: 1.25rem auto 2rem;
    padding: 0 24px;
}

.single-product .woocommerce-notices-wrapper:empty {
    display: none;
}

.single-product .woocommerce-notices-wrapper .ruven-single-product-notices {
    margin: 0;
}

.single-product .woocommerce-notices-wrapper .woocommerce-message,
.single-product .woocommerce-notices-wrapper .woocommerce-error,
.single-product .woocommerce-notices-wrapper .woocommerce-info,
.single-product .elementor-element-6fba27d .ruven-single-product-notices .woocommerce-message,
.single-product .elementor-element-6fba27d .ruven-single-product-notices .woocommerce-error,
.single-product .elementor-element-6fba27d .ruven-single-product-notices .woocommerce-info {
    align-items: center;
    border: 0;
    border-radius: 0;
    box-shadow: 0 18px 38px rgba(26, 43, 31, 0.12);
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1rem;
    justify-content: space-between;
    margin: 0;
    padding: 1rem 1.15rem;
    position: relative;
}

#goldschmiede-add-to-cart-notice {
    scroll-margin-top: 140px;
}

.single-product .woocommerce-notices-wrapper .woocommerce-message,
.single-product .elementor-element-6fba27d .ruven-single-product-notices .woocommerce-message {
    background: linear-gradient(135deg, #123520 0%, #199942 100%) !important;
    color: #fff !important;
    padding-left: 3rem;
}

.single-product .woocommerce-notices-wrapper .woocommerce-message::before,
.single-product .elementor-element-6fba27d .ruven-single-product-notices .woocommerce-message::before {
    color: #d7ffe6 !important;
    content: "\2713";
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    left: 1.1rem;
    line-height: 1;
    position: absolute;
    top: 1.15rem;
}

.single-product .woocommerce-notices-wrapper .woocommerce-error,
.single-product .elementor-element-6fba27d .ruven-single-product-notices .woocommerce-error {
    background: linear-gradient(135deg, #fff0ec 0%, #ffe3db 100%);
    color: #8a3b26;
}

.single-product .woocommerce-notices-wrapper .woocommerce-info,
.single-product .elementor-element-6fba27d .ruven-single-product-notices .woocommerce-info {
    background: linear-gradient(135deg, #f3f6fb 0%, #e8eef8 100%);
    color: #2f4f73;
}

.single-product .woocommerce-notices-wrapper .woocommerce-message a.button.wc-forward,
.single-product .elementor-element-6fba27d .ruven-single-product-notices .woocommerce-message a.button.wc-forward {
    align-items: center;
    background: #ecf3f0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #000 !important;
    display: inline-flex;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    line-height: 1 !important;
    margin: 0 0 0 auto;
    min-height: 40px !important;
    padding: 7px 30px !important;
    text-decoration: none !important;
    text-transform: none !important;
}

.single-product .woocommerce-notices-wrapper .button.wc-forward::before,
.single-product .woocommerce-notices-wrapper .button.wc-forward::after,
.single-product .elementor-element-6fba27d .ruven-single-product-notices .button.wc-forward::before,
.single-product .elementor-element-6fba27d .ruven-single-product-notices .button.wc-forward::after {
    content: none;
}

.single-product .woocommerce-variation-add-to-cart .added_to_cart.wc-forward {
    display: none !important;
}

@media (max-width: 991px) {
    body.single-product #left-area > div.product > .woocommerce-product-gallery,
    body.single-product #left-area > div.product > .images,
    body.single-product #left-area > div.product > .summary,
    body.single-product #left-area > div.product > .clearfix > .woocommerce-product-gallery,
    body.single-product #left-area > div.product > .clearfix > .images,
    body.single-product #left-area > div.product > .clearfix > .summary {
        flex: 1 1 100%;
        max-width: none;
    }
}

@media (max-width: 767px) {
    .single-product .woocommerce-notices-wrapper {
        margin: 1rem auto 1.5rem;
        padding: 0 16px;
    }

    .single-product .related ul.products,
    .single-product .upsells ul.products {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .single-product .gsf-card__link {
        height: 16.5rem;
    }

    .single-product .woocommerce-notices-wrapper .button.wc-forward,
    .single-product .elementor-element-6fba27d .ruven-single-product-notices .button.wc-forward {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .single-product .related ul.products,
    .single-product .upsells ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
