/* Dawn product page — demo overrides for Conway Kitchen clone */
.section-tks-pdp-padding {
    padding-top: 1.25rem;
    padding-bottom: 9px;
}

@media screen and (min-width: 750px) {
    .section-tks-pdp-padding {
        padding-top: 1.5rem;
        padding-bottom: 12px;
    }
}

body.store-theme-active #productMain {
    display: block;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

body.store-theme-active #productMain .page-width {
    max-width: var(--page-width, 140rem);
    margin: 0 auto;
    padding-left: max(1.5rem, var(--page-padding, 5rem));
    padding-right: max(1.5rem, var(--page-padding, 5rem));
}

body.store-theme-active .tks-product-section .product.grid {
    align-items: start;
    column-gap: clamp(2rem, 4vw, 4rem);
    row-gap: 2rem;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

body.store-theme-active .tks-product-section .product__media-wrapper,
body.store-theme-active .tks-product-section .product__info-wrapper {
    align-self: start;
}

body.store-theme-active .tks-product-section .product__media img {
    opacity: 1 !important;
    visibility: visible !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.store-theme-active .tks-product-section .product__media-item {
    cursor: pointer;
}

body.store-theme-active .product-form__submit.button--primary {
    cursor: pointer;
}

body.store-theme-active .product-form__submit.button--primary:disabled,
body.store-theme-active .product-form__submit.button--secondary {
    opacity: 0.55;
    cursor: not-allowed;
}

body.store-theme-active .shopify-payment-button,
body.store-theme-active [data-shopify-buttoncontainer],
body.store-theme-active form[action*="cart/add"] {
    /* hide native Shopify cart form if mirrored HTML includes one */
}

body.store-theme-active .product__description.rte {
    margin-top: 2rem;
    line-height: 1.7;
}

body.store-theme-active .product__description.rte ul {
    padding-left: 1.25rem;
    margin: 0.75rem 0;
}

/* Product price — always visible */
.tks-product-section .tks-price-display,
.tks-product-section .tks-price-visible,
.tks-product-section .tks-price-visible .price__container,
.tks-product-section .tks-price-visible .price__regular,
.tks-product-section .tks-price-visible .price__sale,
.tks-product-section .tks-price-visible .price-item {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.tks-product-section .tks-price-visible .price-item--regular,
.tks-product-section .tks-price-visible .price-item--sale {
    display: inline-block !important;
    font-size: 1.6rem;
    letter-spacing: 0.1rem;
    color: rgb(var(--color-foreground, 18 18 18));
}

.tks-product-section .tks-price-visible.price--sold-out .price__regular,
.tks-product-section .tks-price-visible.price--sold-out .price-item--regular {
    display: inline-block !important;
}

.tks-product-section .tks-price-visible.price--on-sale .price__sale {
    display: block !important;
}

@media (max-width: 749px) {
    body.store-theme-active .product__media-list.slider--mobile {
        scroll-snap-type: x mandatory;
        overflow-x: auto;
        flex-wrap: nowrap;
        display: flex;
    }

    body.store-theme-active .product__media-item.slider__slide {
        scroll-snap-align: start;
        min-width: 85%;
    }
}
