/* =====================================================
   GARDEN OF ABI — SINGLE PRODUCT TEMPLATE
   Add "goa-product-template" to the outer Elementor container.
===================================================== */

body.single-product {
    --goa-cream: #FAFAF8;
    --goa-cream-2: #F5F3EE;
    --goa-ink: #111111;
    --goa-muted: #9A9790;
    --goa-green: #2B4B3A;
    --goa-ground-bg: #EEF5E8;
    --goa-ground-ink: #085041;
    --goa-grow-bg: #FBF1E3;
    --goa-grow-ink: #633806;
    --goa-glow-bg: #FAF0F4;
    --goa-glow-ink: #72243E;
    --goa-serif: "Cormorant Infant", Georgia, serif;
    --goa-sans: "Quicksand", Arial, sans-serif;
}

.goa-product-template {
    --goa-cream: #FAFAF8;
    --goa-cream-2: #F5F3EE;
    --goa-ink: #111111;
    --goa-muted: #9A9790;
    --goa-green: #2B4B3A;
    --goa-ground-bg: #EEF5E8;
    --goa-ground-ink: #085041;
    --goa-grow-bg: #FBF1E3;
    --goa-grow-ink: #633806;
    --goa-glow-bg: #FAF0F4;
    --goa-glow-ink: #72243E;
    --goa-serif: "Cormorant Infant", Georgia, serif;
    --goa-header-height: 68px;
    --goa-sans: "Quicksand", Arial, sans-serif;

    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: var(--goa-cream);
    color: var(--goa-ink);
    font-family: var(--goa-sans);
    overflow: visible;
}

.goa-product-template,
.goa-product-template * {
    box-sizing: border-box;
}

.goa-product-template > .e-con-inner,
.goa-product-template .goa-pdp > .e-con-inner {
    width: 100% !important;
    max-width: none !important;
}

/* =====================================================
   TOP PRODUCT AREA
===================================================== */

.goa-product-template .goa-pdp {
    width: 100% !important;
    max-width: 1640px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 48%) minmax(0, 52%) !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 auto !important;
    align-items: start !important;
    background: var(--goa-cream);
}

.goa-product-template .goa-pdp > .e-con-inner {
    display: contents !important;
}

.goa-product-template .goa-pdp-gallery,
.goa-product-template .goa-pdp-info {
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
}

.goa-product-template .goa-pdp-gallery {
    padding: 0 !important;
    overflow: hidden;
}

.goa-product-template .goa-pdp-info {
    position: sticky !important;
    top: var(--goa-header-height) !important;
    align-self: start !important;
    min-height: calc(100vh - var(--goa-header-height));
    padding: 72px 64px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 0 !important;
    background: var(--goa-cream);
}

.goa-product-template .goa-pdp-info > .e-con-inner {
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 !important;
}

.goa-product-template .goa-pdp-info .elementor-widget {
    margin: 0 !important;
}

/* =====================================================
   PRODUCT GALLERY
===================================================== */

.goa-product-template .goa-pdp-gallery .elementor-widget-woocommerce-product-images,
.goa-product-template .goa-pdp-gallery .elementor-widget-container,
.goa-product-template .goa-pdp-gallery .woocommerce-product-gallery {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.goa-product-template .woocommerce-product-gallery__trigger {
    display: none !important;
}

.goa-product-template .woocommerce-product-gallery figure,
.goa-product-template .woocommerce-product-gallery__wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

.goa-product-template .woocommerce-product-gallery .flex-viewport {
    width: 100% !important;
    aspect-ratio: 4 / 5;
    overflow: hidden !important;
    background: var(--goa-cream-2);
}

.goa-product-template .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__wrapper,
.goa-product-template .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image,
.goa-product-template .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image > a {
    height: 100% !important;
}

.goa-product-template .woocommerce-product-gallery__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    margin: 0 !important;
}

.goa-product-template .woocommerce-product-gallery .flex-control-thumbs {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 2px !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.goa-product-template .woocommerce-product-gallery .flex-control-thumbs li {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--goa-cream-2);
}

.goa-product-template .woocommerce-product-gallery .flex-control-thumbs img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: .48 !important;
    filter: brightness(.95);
    transition: opacity .25s ease, filter .25s ease;
}

.goa-product-template .woocommerce-product-gallery .flex-control-thumbs img.flex-active,
.goa-product-template .woocommerce-product-gallery .flex-control-thumbs img:hover {
    opacity: 1 !important;
    filter: brightness(1.03);
}

/* =====================================================
   PRODUCT INFORMATION
===================================================== */

.goa-product-template .goa-pdp-brand {
    margin: 0 0 18px !important;
    font-family: var(--goa-sans) !important;
    font-size: 9px !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    color: var(--goa-muted) !important;
}

.goa-product-template .goa-pdp-name {
    margin: 0 0 20px !important;
    padding: 0 !important;
    font-family: var(--goa-serif) !important;
    font-size: clamp(38px, 3.5vw, 52px) !important;
    line-height: 1.02 !important;
    font-weight: 300 !important;
    letter-spacing: 0 !important;
    color: var(--goa-ink) !important;
}

.goa-product-template .goa-pdp-name em {
    font-style: italic !important;
    font-weight: 300 !important;
}

.goa-product-template .elementor-widget-woocommerce-product-price {
    margin-bottom: 8px !important;
}

.goa-product-template .elementor-widget-woocommerce-product-price .price,
.goa-product-template .elementor-widget-woocommerce-product-price .price * {
    font-family: var(--goa-serif) !important;
    font-size: 26px !important;
    line-height: 1.2 !important;
    font-weight: 300 !important;
    color: var(--goa-ink) !important;
}

.goa-product-template .elementor-widget-woocommerce-product-price del {
    opacity: .42 !important;
    margin-right: 7px !important;
}

.goa-product-template .elementor-widget-woocommerce-product-price ins {
    text-decoration: none !important;
}

.goa-product-template .goa-pdp-cycle {
    align-self: flex-start;
    display: inline-block !important;
    width: auto !important;
    margin: 0 0 32px !important;
    padding: 5px 12px !important;
    font-family: var(--goa-sans) !important;
    font-size: 8px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    background: var(--goa-grow-bg);
    color: var(--goa-grow-ink);
}

.goa-product-template .goa-cycle--ground {
    background: var(--goa-ground-bg) !important;
    color: var(--goa-ground-ink) !important;
}

.goa-product-template .goa-cycle--grow {
    background: var(--goa-grow-bg) !important;
    color: var(--goa-grow-ink) !important;
}

.goa-product-template .goa-cycle--glow {
    background: var(--goa-glow-bg) !important;
    color: var(--goa-glow-ink) !important;
}

.goa-product-template .elementor-widget-woocommerce-product-short-description {
    margin: 0 0 30px !important;
}

.goa-product-template .elementor-widget-woocommerce-product-short-description,
.goa-product-template .elementor-widget-woocommerce-product-short-description p {
    font-family: var(--goa-sans) !important;
    font-size: 12px !important;
    line-height: 2 !important;
    font-weight: 400 !important;
    letter-spacing: .03em !important;
    color: rgba(17, 17, 17, .84) !important;
}

.goa-product-template .elementor-widget-woocommerce-product-short-description p {
    margin: 0 0 16px !important;
}

.goa-product-template .elementor-widget-woocommerce-product-short-description p:first-child,
.goa-product-template .elementor-widget-woocommerce-product-short-description .goa-product-lead {
    margin: 0 0 16px !important;
    font-family: var(--goa-serif) !important;
    font-size: 17px !important;
    line-height: 1.5 !important;
    font-weight: 300 !important;
    font-style: italic !important;
    letter-spacing: 0 !important;
    color: var(--goa-ink) !important;
}

/* =====================================================
   ADD TO CART + BUY NOW
===================================================== */

.goa-product-template .elementor-widget-woocommerce-product-add-to-cart {
    width: 100% !important;
    margin: 0 0 0 !important;
}

.goa-product-template form.cart {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 128px minmax(0, 1fr) !important;
    column-gap: 20px !important;
    row-gap: 10px !important;
    align-items: stretch !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Elementor Pro places quantity + button inside this holder. */
.goa-product-template form.cart > .e-atc-qty-button-holder,
.goa-product-template form.cart .e-atc-qty-button-holder {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 128px minmax(0, 1fr) !important;
    column-gap: 20px !important;
    row-gap: 0 !important;
    align-items: stretch !important;
    margin: 0 !important;
    padding: 0 !important;
}

.goa-product-template form.cart > .quantity,
.goa-product-template form.cart .e-atc-qty-button-holder > .quantity {
    grid-column: 1 !important;
}

.goa-product-template form.cart > .single_add_to_cart_button,
.goa-product-template form.cart .e-atc-qty-button-holder > .single_add_to_cart_button {
    grid-column: 2 !important;
}

.goa-product-template form.cart .quantity {
    width: 128px !important;
    height: 48px !important;
    display: grid !important;
    grid-template-columns: 40px 48px 40px !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(43, 75, 58, .22) !important;
    background: transparent !important;
}

.goa-product-template form.cart .quantity .goa-qty-button {
    width: 40px !important;
    height: 46px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--goa-ink) !important;
    font-family: var(--goa-sans) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    cursor: pointer;
    box-shadow: none !important;
}

.goa-product-template form.cart .quantity .qty {
    width: 48px !important;
    min-width: 0 !important;
    height: 46px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--goa-ink) !important;
    font-family: var(--goa-sans) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-align: center !important;
    box-shadow: none !important;
    -moz-appearance: textfield;
}

.goa-product-template form.cart .quantity .qty::-webkit-inner-spin-button,
.goa-product-template form.cart .quantity .qty::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.goa-product-template form.cart .single_add_to_cart_button,
.goa-product-template form.cart .button.single_add_to_cart_button {
    width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 22px !important;
    border: 1px solid var(--goa-ink) !important;
    border-radius: 0 !important;
    background: var(--goa-ink) !important;
    color: #FFFFFF !important;
    font-family: var(--goa-sans) !important;
    font-size: 9px !important;
    line-height: 46px !important;
    font-weight: 600 !important;
    letter-spacing: .20em !important;
    text-transform: uppercase !important;
    text-align: center !important;
    box-shadow: none !important;
    transition: background .25s ease, border-color .25s ease !important;
}

.goa-product-template form.cart .single_add_to_cart_button:hover {
    background: var(--goa-green) !important;
    border-color: var(--goa-green) !important;
}

.goa-product-template form.cart .goa-buy-now {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    height: 48px !important;
    margin: 0 0 0 !important;
    padding: 0 22px !important;
    border: 1px solid rgba(43, 75, 58, .30) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--goa-ink) !important;
    font-family: var(--goa-sans) !important;
    font-size: 9px !important;
    line-height: 46px !important;
    font-weight: 600 !important;
    letter-spacing: .20em !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
    transition: background .25s ease, color .25s ease, border-color .25s ease !important;
}

.goa-product-template form.cart .goa-buy-now:hover {
    background: var(--goa-ink) !important;
    border-color: var(--goa-ink) !important;
    color: #FFFFFF !important;
}

/* Variable and grouped products */
.goa-product-template form.variations_form.cart,
.goa-product-template form.grouped_form.cart {
    display: block !important;
}

.goa-product-template form.variations_form.cart table.variations,
.goa-product-template form.grouped_form.cart table.group_table {
    width: 100% !important;
    margin: 0 0 22px !important;
    border-collapse: collapse !important;
}

.goa-product-template form.variations_form.cart .single_variation_wrap {
    width: 100% !important;
}

.goa-product-template form.variations_form.cart .woocommerce-variation-add-to-cart,
.goa-product-template form.grouped_form.cart .woocommerce-grouped-product-list + .single_add_to_cart_button {
    display: grid !important;
    grid-template-columns: 128px minmax(0, 1fr) !important;
    gap: 20px !important;
}

.goa-product-template form.variations_form.cart .goa-buy-now {
    margin-top: 20px !important;
}

.goa-product-template form.cart select {
    min-height: 46px !important;
    border: 1px solid rgba(43, 75, 58, .22) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--goa-ink) !important;
    font-family: var(--goa-sans) !important;
    font-size: 11px !important;
}

/* =====================================================
   ATTRIBUTE META ROWS
===================================================== */

.goa-product-template .goa-pdp-meta {
    width: 100% !important;
    margin: 36px 0 0 !important;
    padding: 18px 0 0 !important;
    border-top: 1px solid rgba(17, 17, 17, .10);
}

.goa-product-template .goa-pdp-meta-row {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 120px minmax(0, 1fr) !important;
    gap: 16px !important;
    align-items: baseline !important;
    padding: 14px 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(17, 17, 17, .07);
}

.goa-product-template .goa-pdp-meta-k {
    font-family: var(--goa-sans) !important;
    font-size: 9px !important;
    line-height: 1.5 !important;
    font-weight: 600 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: var(--goa-muted) !important;
}

.goa-product-template .goa-pdp-meta-v {
    font-family: var(--goa-sans) !important;
    font-size: 11px !important;
    line-height: 1.7 !important;
    font-weight: 400 !important;
    color: var(--goa-ink) !important;
}

/* =====================================================
   STORY SECTION
===================================================== */

body.single-product .goa-pdp-story {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: stretch !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: var(--goa-cream);
}

/*
 * Chrome/Safari need the grid children explicitly shrinkable. Without these
 * rules the image item's aspect ratio/intrinsic width can overflow its 50%
 * track and paint across the text column.
 */
body.single-product .goa-pdp-story > .goa-pdp-story-img,
body.single-product .goa-pdp-story > .goa-pdp-story-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

body.single-product .goa-pdp-story-img {
    position: relative !important;
    isolation: isolate;
    min-height: 620px;
    height: auto !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    background: var(--goa-cream-2);
}

body.single-product .goa-pdp-story-img img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    margin: 0 !important;
}

body.single-product .goa-pdp-story-content {
    min-width: 0 !important;
    overflow-wrap: anywhere;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 96px 72px !important;
}

body.single-product .goa-pdp-story-label {
    margin: 0 0 24px !important;
    font-family: var(--goa-sans) !important;
    font-size: 9px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    letter-spacing: .20em !important;
    text-transform: uppercase !important;
    color: var(--goa-muted) !important;
}

body.single-product .goa-pdp-story-h {
    max-width: 520px;
    margin: 0 0 20px !important;
    font-family: var(--goa-serif) !important;
    font-size: clamp(26px, 2.4vw, 34px) !important;
    line-height: 1.15 !important;
    font-weight: 300 !important;
    color: var(--goa-ink) !important;
}

body.single-product .goa-pdp-story-h em {
    font-style: italic !important;
}

body.single-product .goa-pdp-story-body,
body.single-product .goa-pdp-story-body p {
    max-width: 440px;
    margin-top: 0 !important;
    font-family: var(--goa-sans) !important;
    font-size: 11px !important;
    line-height: 2 !important;
    font-weight: 400 !important;
    letter-spacing: .03em !important;
    color: rgba(17, 17, 17, .84) !important;
}

body.single-product .goa-pdp-story-body p:last-child {
    margin-bottom: 0 !important;
}


/* Prevent Elementor shortcode wrappers from creating horizontal overflow. */
body.single-product .elementor-widget-shortcode .goa-pdp-story,
body.single-product .elementor-widget-shortcode .goa-pdp-story * {
    box-sizing: border-box;
}

/* =====================================================
   RELATED PRODUCTS
   Add "goa-related" to the related-products container.
===================================================== */

body.single-product .goa-related {
    width: 100% !important;
    padding: 78px 48px !important;
    margin: 0 !important;
    background: var(--goa-cream);
}

body.single-product .goa-related-title,
body.single-product .goa-related-title .elementor-heading-title {
    margin: 0 0 38px !important;
    font-family: var(--goa-serif) !important;
    font-size: clamp(24px, 2.2vw, 32px) !important;
    line-height: 1.2 !important;
    font-weight: 300 !important;
    text-align: center !important;
    color: var(--goa-ink) !important;
}

body.single-product .goa-related-title em {
    font-style: italic !important;
}

body.single-product .goa-related-grid {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.single-product .goa-related-card {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.single-product .goa-related-image {
    position: relative;
    display: block !important;
    width: 100% !important;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    margin: 0 0 16px !important;
    background: var(--goa-cream-2);
}

body.single-product .goa-related-image img {
    position: absolute;
    inset: 0;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    margin: 0 !important;
    filter: brightness(.94);
    transition: transform .7s ease, filter .25s ease;
}

body.single-product .goa-related-card:hover .goa-related-image img {
    transform: scale(1.025);
    filter: brightness(1);
}

body.single-product .goa-related-name-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 18px !important;
    align-items: baseline !important;
    margin: 0 0 6px !important;
}

body.single-product .goa-related-name,
body.single-product .goa-related-name a,
body.single-product .goa-related-price,
body.single-product .goa-related-price * {
    margin: 0 !important;
    padding: 0 !important;
    font-family: var(--goa-serif) !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    font-weight: 400 !important;
    color: var(--goa-ink) !important;
    text-decoration: none !important;
}

body.single-product .goa-related-price,
body.single-product .goa-related-price * {
    font-weight: 300 !important;
    white-space: nowrap !important;
}

body.single-product .goa-related-meta {
    font-family: var(--goa-sans) !important;
    font-size: 8px !important;
    line-height: 1.5 !important;
    font-weight: 600 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: var(--goa-muted) !important;
}

body.single-product .goa-related ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.single-product .goa-related ul.products::before,
body.single-product .goa-related ul.products::after {
    display: none !important;
}

body.single-product .goa-related ul.products li.product > a.woocommerce-LoopProduct-link {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    column-gap: 18px !important;
    align-items: baseline !important;
    text-decoration: none !important;
}

body.single-product .goa-related ul.products li.product > a.woocommerce-LoopProduct-link > img {
    grid-column: 1 / -1 !important;
}

body.single-product .goa-related ul.products li.product > a.woocommerce-LoopProduct-link > .woocommerce-loop-product__title {
    grid-column: 1 !important;
}

body.single-product .goa-related ul.products li.product > a.woocommerce-LoopProduct-link > .price {
    grid-column: 2 !important;
    white-space: nowrap !important;
}

body.single-product .goa-related ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    background: transparent !important;
}

body.single-product .goa-related ul.products li.product a img {
    width: 100% !important;
    aspect-ratio: 4 / 5;
    object-fit: cover !important;
    margin: 0 0 16px !important;
    filter: brightness(.94);
    transition: transform .7s ease, filter .25s ease;
}

body.single-product .goa-related ul.products li.product:hover a img {
    transform: scale(1.025);
    filter: brightness(1);
}

body.single-product .goa-related ul.products li.product .woocommerce-loop-product__title {
    margin: 0 0 5px !important;
    padding: 0 !important;
    font-family: var(--goa-serif) !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    font-weight: 400 !important;
    color: var(--goa-ink) !important;
}

body.single-product .goa-related ul.products li.product .price,
body.single-product .goa-related ul.products li.product .price * {
    margin: 0 !important;
    font-family: var(--goa-serif) !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    font-weight: 300 !important;
    color: var(--goa-ink) !important;
}

body.single-product .goa-related ul.products li.product .button,
body.single-product .goa-related ul.products li.product .added_to_cart,
body.single-product .goa-related .related > h2 {
    display: none !important;
}

/* Hide the old WooCommerce tab table when using the custom attribute rows. */
.goa-product-template .woocommerce-tabs {
    display: none !important;
}

/* Keep the desktop product area comfortable on wide screens. */
@media (min-width: 1025px) {
    .goa-product-template .goa-pdp {
        padding-inline: clamp(18px, 2.25vw, 42px) !important;
    }
}

@media (max-width: 1180px) and (min-width: 768px) {
    body.single-product .goa-related-grid,
    body.single-product .goa-related ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 22px !important;
    }
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1024px) {
    .goa-product-template {
        --goa-header-height: 62px;
    }

    .goa-product-template .goa-pdp {
        grid-template-columns: minmax(0, 50%) minmax(0, 50%) !important;
    }

    .goa-product-template .goa-pdp-info {
        min-height: calc(100vh - var(--goa-header-height));
        padding: 58px 40px !important;
    }

    body.single-product .goa-pdp-story-img {
        min-height: 520px;
    }

    body.single-product .goa-pdp-story-content {
        padding: 72px 48px !important;
    }

    body.single-product .goa-related {
        padding: 76px 38px !important;
    }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {
    .goa-product-template .goa-pdp {
        display: flex !important;
        flex-direction: column !important;
    }

    .goa-product-template .goa-pdp-gallery,
    .goa-product-template .goa-pdp-info {
        width: 100% !important;
    }

    .goa-product-template .goa-pdp-info {
        position: relative !important;
        top: auto !important;
        min-height: 0 !important;
        padding: 44px 22px 58px !important;
    }

    .goa-product-template .goa-pdp-info > .e-con-inner {
        max-width: none !important;
    }

    .goa-product-template .goa-pdp-name {
        font-size: 40px !important;
    }

    .goa-product-template form.cart {
        grid-template-columns: 118px minmax(0, 1fr) !important;
        column-gap: 12px !important;
        row-gap: 10px !important;
    }

    .goa-product-template form.cart > .e-atc-qty-button-holder,
    .goa-product-template form.cart .e-atc-qty-button-holder {
        grid-template-columns: 118px minmax(0, 1fr) !important;
        column-gap: 12px !important;
    }

    .goa-product-template form.cart .quantity {
        width: 118px !important;
        grid-template-columns: 36px 46px 36px !important;
    }

    .goa-product-template form.cart .quantity .goa-qty-button {
        width: 36px !important;
    }

    .goa-product-template .goa-pdp-meta-row {
        grid-template-columns: 92px minmax(0, 1fr) !important;
        gap: 12px !important;
    }

    body.single-product .goa-pdp-story {
        grid-template-columns: 1fr !important;
    }

    body.single-product .goa-pdp-story-img {
        min-height: 0;
        aspect-ratio: 1 / 1;
    }

    body.single-product .goa-pdp-story-content {
        padding: 58px 22px 68px !important;
    }

    body.single-product .goa-related {
        padding: 66px 22px !important;
    }

    body.single-product .goa-related-grid,
    body.single-product .goa-related ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 28px 16px !important;
    }

    body.single-product .goa-related-image,
    body.single-product .goa-related ul.products li.product a img {
        margin-bottom: 11px !important;
    }

    body.single-product .goa-related-name-row {
        grid-template-columns: 1fr !important;
        gap: 3px !important;
    }

    body.single-product .goa-related-name,
    body.single-product .goa-related-name a,
    body.single-product .goa-related-price,
    body.single-product .goa-related-price * {
        font-size: 14px !important;
    }
}
