/* ==========================================================================
   Tara Single Product Page Styles
   Matching containers, margins, and paddings of index.blade.php
   ========================================================================== */

/* Main Container */
.tara-product {
    --hero-gap: 24px;
    --gallery-width: calc((100% - var(--hero-gap)) * 0.668);
    width: 100%;
    max-width: var(--container, 1720px);
    margin: 0 auto;
    padding: 2.5rem var(--page-gutter, 60px) 5rem;
    box-sizing: border-box;
    color: #20251f;
}

/* Breadcrumb */
.tara-product__breadcrumb {
    display: flex;
    gap: 12px;
    align-items: center;
    color: #88877f;
    font-size: 13px;
    margin: 0 0 2rem;
}

.tara-product__breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.tara-product__breadcrumb a:hover {
    color: var(--tara-ink, #181818);
}

/* Product Hero (Visual + Summary) */
.tara-product__hero {
    display: grid;
    grid-template-columns: minmax(0, var(--gallery-width)) minmax(0, 1fr);
    gap: var(--hero-gap);
    align-items: start;
    margin-bottom: 4.5rem;
}

/* Gallery & Visuals */
.tara-product__visual {
    display: block;
    min-width: 0;
}

/* Product Gallery & Slider (Lumiarc style) */
.tara-product__gallery,
.lumi-product__gallery {
    position: relative;
    width: 100%;
    min-width: 0;
}

.tara-product__main-image,
.lumi-product__main-media {
    margin: 0;
    aspect-ratio: 1060 / 770;
    background: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.tara-product__main-image img,
.lumi-product__main-media img,
#main-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block;
}

.tara-product__thumbs-wrapper,
.lumi-product__thumbs-wrapper {
    position: relative;
    margin-top: 12px;
    width: 100%;
}

.tara-product__thumbs,
.lumi-product__thumbs {
    --thumb-gap: 8px;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: var(--thumb-gap) !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 2px 0 !important;
    margin: 0 !important;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
}

.tara-product__thumbs::-webkit-scrollbar,
.lumi-product__thumbs::-webkit-scrollbar {
    display: none !important;
}

.tara-product__thumbs button,
.lumi-product__thumbs button {
    flex: 0 0 calc((100% - (3 * var(--thumb-gap))) / 4) !important;
    width: calc((100% - (3 * var(--thumb-gap))) / 4) !important;
    max-width: calc((100% - (3 * var(--thumb-gap))) / 4) !important;
    min-width: calc((100% - (3 * var(--thumb-gap))) / 4) !important;
    aspect-ratio: 1 / 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: 1.5px solid transparent !important;
    border-radius: 2px !important;
    background: #f5f5f2 !important;
    cursor: pointer !important;
    scroll-snap-align: start !important;
    transition: border-color 0.2s ease, opacity 0.2s ease !important;
    box-sizing: border-box !important;
    position: relative;
}

.tara-product__thumbs button:hover,
.lumi-product__thumbs button:hover {
    border-color: #999 !important;
    opacity: 1 !important;
}

.tara-product__thumbs button.is-active,
.tara-product__thumbs button.active,
.lumi-product__thumbs button.active,
.lumi-product__thumbs button.is-active {
    border-color: #1a1a19 !important;
    opacity: 1 !important;
}

.tara-product__thumbs button img,
.lumi-product__thumbs button img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    pointer-events: none !important;
}

.tara-product__thumbs-arrow,
.lumi-product__thumbs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: #1a1a19;
    padding: 0;
    transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.tara-product__thumbs-arrow:hover:not(.is-disabled),
.lumi-product__thumbs-arrow:hover:not(.is-disabled) {
    background: #1a1a19;
    color: #fff;
    border-color: #1a1a19;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.tara-product__thumbs-arrow.is-disabled,
.lumi-product__thumbs-arrow.is-disabled {
    opacity: 0.25 !important;
    cursor: default !important;
    pointer-events: none !important;
}

.tara-product__thumbs-arrow--prev,
.lumi-product__thumbs-arrow--prev {
    left: -14px;
}

.tara-product__thumbs-arrow--next,
.lumi-product__thumbs-arrow--next {
    right: -14px;
}

@media (max-width: 767px) {
    .tara-product__thumbs,
    .lumi-product__thumbs {
        --thumb-gap: 6px;
    }

    .tara-product__thumbs-arrow,
    .lumi-product__thumbs-arrow {
        width: 28px;
        height: 28px;
    }

    .tara-product__thumbs-arrow--prev,
    .lumi-product__thumbs-arrow--prev {
        left: 2px;
    }

    .tara-product__thumbs-arrow--next,
    .lumi-product__thumbs-arrow--next {
        right: 2px;
    }
}

/* Summary Column (Sticky) */
.tara-product__summary {
    padding: 0 0 18px;
    text-align: right;
    position: sticky;
    top: 96px;
    align-self: start;
    z-index: 10;
    max-height: calc(100vh - 100px);
    overflow-y: visible;
    scrollbar-width: none;
}

.tara-product__summary::-webkit-scrollbar {
    display: none;
}

.tara-product__main-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

.tara-product__main-col .tara-product__details {
    width: 100%;
    max-width: 60%;
    margin: 3rem 0 2.5rem auto;
}

.tara-product__main-col .tara-bulk-order {
    width: 100%;
    max-width: 100%;
    margin: 2rem 0 0;
}

.tara-product__summary h1 {
    font-size: clamp(28px, 2.2vw, 36px);
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 8px;
    color: var(--tara-ink, #181818);
}

.tara-product__taxonomy {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 6px;
    margin-bottom: 20px;
}

.tara-product__taxonomy a {
    font-size: 13.5px;
    color: #888880;
    text-decoration: none;
    transition: color 0.15s ease;
}

.tara-product__taxonomy a:hover {
    color: #181818;
}

.tara-product__taxonomy a span {
    color: #aaa;
}

.tara-product__eyebrow {
    display: none;
}

.tara-product__collection {
    font-size: 12px;
    color: #8d8d86;
    text-decoration: underline;
}

.tara-product__description {
    color: #696b65;
    font-size: 14px;
    line-height: 2;
    margin-top: 20px;
}

/* Finishes & Swatches */
.tara-product__finishes {
    border: 0;
    margin-top: 24px;
    padding-top: 0;
}

.tara-product__finishes h2 {
    font-size: 14.5px;
    font-weight: 500;
    margin: 0 0 14px;
    color: #20251f;
}

.tara-product__finishes h2 span {
    font-weight: 500;
}

.tara-product__swatches {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.tara-product__swatch {
    width: 26px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

.tara-product__swatch > span {
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--swatch-gradient, var(--swatch-color));
    border: none !important;
    box-shadow: none;
    transition: transform 0.15s ease;
}

.tara-product__swatch.is-white > span,
.tara-product__swatch[data-variant-finish*="سفید"] > span,
.tara-product__swatch[data-variant-finish*="white"] > span {
    border: 1px solid #d5d5cf !important;
}

.tara-product__swatch.is-selected:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 3px;
    left: 3px;
    height: 1px;
    background: #181818;
}

.tara-product__swatch small {
    display: none;
}

/* Variation Filters */
.tara-product__variation-filters {
    background: transparent;
    padding: 0;
    margin-top: 24px;
}

.tara-product__variation-filters h2 {
    display: none;
}

.tara-product__filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    border-bottom: 1px solid #e7e7e3;
    min-height: 48px;
    box-sizing: border-box;
}

.tara-product__filter-label,
.tara-product__filter > span:not(.tara-product__filter-val) {
    font-size: 14px;
    color: #181818;
    margin: 0;
    font-weight: 400;
}

.tara-product__filter-dropdown {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
}

.tara-product__filter-control {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    cursor: pointer;
    min-height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    font-family: inherit;
    color: inherit;
}

.tara-product__filter-val {
    font-size: 14px;
    color: #444;
    font-weight: 400;
    user-select: none;
    -webkit-user-select: none;
    white-space: nowrap;
}

.tara-product__filter-icon {
    width: 10px;
    height: 6px;
    flex-shrink: 0;
    pointer-events: none;
    display: block;
    transition: transform 0.15s ease;
}

.tara-product__filter-dropdown.is-open .tara-product__filter-icon {
    transform: rotate(180deg);
}

.tara-product__filter-menu {
    position: absolute !important;
    top: calc(100% + 4px) !important;
    left: 0 !important;
    right: auto !important;
    min-width: 160px !important;
    max-width: 100% !important;
    width: max-content !important;
    background: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    padding: 0 !important;
    z-index: 60 !important;
    display: none;
    flex-direction: column !important;
    gap: 0 !important;
    box-sizing: border-box !important;
}

.tara-product__filter-menu[hidden] {
    display: none !important;
}

.tara-product__filter-dropdown.is-open .tara-product__filter-menu {
    display: flex !important;
}

.tara-product__filter-menu .tara-sort-item {
    display: block !important;
    width: 100% !important;
    padding: 11px 16px !important;
    font-size: 13px !important;
    color: #1c1917 !important;
    text-decoration: none !important;
    border: none !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #e8e8e8 !important;
    background: #ffffff !important;
    transition: background 0.15s ease, color 0.15s ease !important;
    text-align: right !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
    white-space: nowrap !important;
}

.tara-product__filter-menu .tara-sort-item:last-child {
    border-bottom: none !important;
}

.tara-product__filter-menu .tara-sort-item:hover {
    background: #17171f !important;
    color: #ffffff !important;
    border-bottom-color: #2a2a38 !important;
}

.tara-product__filter-menu .tara-sort-item.is-active {
    font-weight: 500 !important;
    background: #17171f !important;
    color: #ffffff !important;
    border-bottom-color: #2a2a38 !important;
}

.tara-product__filter-menu .tara-sort-item.is-active:hover {
    background: #2a2a38 !important;
    color: #ffffff !important;
}

.tara-product__filter-select,
.tara-product__filter select {
    display: none !important;
}

.tara-product__order-code {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    border: 0;
    margin-top: 24px;
    padding: 0;
    font-size: 13px;
    color: #767676;
}

.tara-product__order-code strong {
    font-weight: 500;
    color: #555;
    direction: ltr;
}

/* Price */
.tara-product__price {
    font-size: 24px;
    font-weight: 700;
    color: #181818;
    margin: 24px 0 20px;
    display: flex;
    align-items: baseline;
    gap: 6px;
    text-align: right;
}

.tara-product__price strong {
    font-weight: 700;
}

.tara-product__price span {
    font-size: 15px;
    font-weight: 500;
    color: #555;
}

/* Stock & Purchase */
.tara-product__out-of-stock {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 24px 0 20px;
    text-align: right;
    letter-spacing: -0.2px;
}

.tara-product__stock-status {
    text-align: right;
    margin: 20px 0 16px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

.tara-product__purchase {
    display: flex;
    gap: 10px;
    align-items: center;
    direction: rtl;
    width: 100%;
    max-width: 100%;
}

.tara-product__quantity {
    display: inline-flex;
    align-items: center;
    direction: rtl;
    flex: 0 0 88px;
    width: 88px;
    height: 50px;
}

.tara-product__quantity select {
    width: 100%;
    height: 100%;
    border: 1px solid #d5d5cf;
    border-radius: 0;
    background: #fff;
    padding: 0 14px 0 26px;
    font-size: 14px;
    font-family: inherit;
    color: #111;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("icons/chevron-down.png");
    background-position: left 14px center;
    background-size: 10px 6px;
    background-repeat: no-repeat;
    text-align: center;
}

.tara-product__quantity select:disabled {
    opacity: 0.45;
    cursor: not-allowed !important;
    pointer-events: none !important;
    background-color: #f7f7f5;
}

.tara-product__purchase button {
    height: 50px;
    border: 0;
    border-radius: 0;
    background: #1c1d24;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    font-weight: 500;
    flex: 1;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
    white-space: nowrap;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tara-product__purchase button:hover {
    background: #000;
}

.tara-product__purchase button:disabled,
.tara-product__purchase button.is-disabled {
    opacity: 0.45;
    background: #444 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

.tara-product__actions {
    display: none;
}

/* Product Details & Specifications */
.tara-product__details {
    display: block;
    max-width: 620px;
    margin: 2.5rem 0 3.5rem auto;
    padding-top: 0;
    border-top: none;
}

.tara-product__details-copy {
    font-size: 14px;
    line-height: 2;
    color: #494a46;
    margin-bottom: 2.5rem;
}

.tara-product__details-copy p {
    margin: 0 0 12px;
}

.tara-product__specifications {
    border-top: 1px solid #e5e5e1;
}

.tara-product__specification {
    border-bottom: 1px solid #e5e5e1;
    min-height: 48px;
    font-size: 14px;
}

.tara-product__specification summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    cursor: pointer;
    user-select: none;
}

.tara-product__specification summary::-webkit-details-marker {
    display: none;
}

.tara-product__spec-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    color: #899183;
    transition: transform 0.25s ease, color 0.2s ease;
    flex-shrink: 0;
}

.tara-product__spec-arrow svg,
.tara-product__spec-arrow .tara-sort-chevron {
    width: 12px;
    height: 7px;
    display: block;
}

.tara-product__specification[open] .tara-product__spec-arrow {
    transform: rotate(180deg);
}

.tara-product__specification summary:hover .tara-product__spec-arrow {
    color: #181818;
}

.tara-product__specification > div,
.tara-product__specification dl {
    margin: 0;
    padding: 0 0 16px;
    color: #686a64;
    line-height: 1.9;
}

.tara-product__specification dl > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 6px 0;
}

.tara-product__specification dt {
    color: #777;
}

.tara-product__specification dd {
    margin: 0;
    color: #343630;
}

.tara-product__specification--download {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    min-height: 48px;
}

.tara-product__specification--download a {
    color: #181818;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 500;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.tara-product__specification--download a:hover {
    color: #000;
    opacity: 0.7;
}

.tara-product__specification--download a svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.tara-product__specification--download .is-unavailable {
    font-size: 13px;
    color: #88877f;
}

/* Bulk Order Banner */
.tara-bulk-order {
    width: var(--gallery-width);
    max-width: 100%;
    margin: 3.5rem 0 4.5rem auto;
    padding: 24px 32px;
    min-height: 108px;
    display: flex;
    align-items: center;
    gap: 24px;
    background: #f5f5f3;
    border: 1px solid #d1d1cc;
    box-sizing: border-box;
}

.tara-bulk-order__icon {
    width: 42px;
    height: 42px;
    flex: none;
    color: #648746;
}

.tara-bulk-order__icon svg {
    width: 100%;
    height: 100%;
}

.tara-bulk-order__copy {
    flex: 1;
}

.tara-bulk-order__copy h2 {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 7px;
}

.tara-bulk-order__copy p {
    font-size: 12px;
    line-height: 1.9;
    color: #777;
    margin: 0;
}

.tara-bulk-order > a {
    flex: none;
    color: #30322f;
    border: 1px solid #73756f;
    text-decoration: none;
    padding: 12px 24px;
    font-size: 12px;
    transition: background 0.2s ease, color 0.2s ease;
}

.tara-bulk-order > a:hover {
    background: #30322f;
    color: #fff;
}

/* Related Products (Matching index.blade.php product sections) */
.tara-related-products {
    width: 100%;
    border-top: 1px solid #000;
    padding-top: 3.5rem;
    padding-bottom: 4rem;
    direction: rtl;
    background: transparent;
    box-sizing: border-box;
}

.tara-related-products__inner {
    width: 100%;
    max-width: var(--container, 1720px);
    margin: 0 auto;
    padding: 0 var(--page-gutter, 60px);
    box-sizing: border-box;
}

.tara-related-products header,
.tara-related-products > header,
.tara-related-products__inner > header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.tara-related-products h2 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 500;
    color: var(--tara-ink, #181818);
    margin: 0;
}

.tara-related-products__controls {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    direction: ltr !important;
}

.tara-related-products__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--tara-ink, #181818);
    padding: 4px;
    cursor: pointer;
    transition: opacity 0.2s ease, color 0.2s ease;
    line-height: 1;
}

.tara-related-products__arrow svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    display: block;
}

.tara-related-products__arrow img {
    width: 20px;
    height: 20px;
    display: block;
    object-fit: contain;
}

.tara-related-products__arrow.is-disabled,
.tara-related-products__arrow:disabled {
    color: #c4c4c4;
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.tara-related-products__arrow:not(.is-disabled):hover {
    color: #000;
}

.tara-related-products__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 4 * 1.25rem) / 5);
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 10px;
}

.tara-related-products__track::-webkit-scrollbar {
    display: none;
}

.tara-related-products .tara-product-card {
    min-width: 0;
    scroll-snap-align: start;
}

.tara-related-products .tara-product-card__link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.tara-related-products .tara-product-card__image {
    display: grid;
    place-items: center;
    aspect-ratio: 382 / 478;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 0;
}

.tara-related-products .tara-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.3s ease;
}

.tara-related-products .tara-product-card:hover .tara-product-card__image img {
    transform: scale(1.04);
}

.tara-related-products .tara-product-card__details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 12px;
}

.tara-related-products .tara-product-card__meta {
    min-height: 22px;
}

.tara-related-products .tara-product-card__title {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--tara-ink, #181818);
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.5;
}

.tara-related-products .tara-product-card__separator {
    color: var(--tara-ink, #181818);
    font-weight: 400;
}

.tara-related-products .tara-product-card__subtitle {
    color: var(--tara-ink, #181818);
    font-size: 13.5px;
    font-weight: 400;
}

.tara-related-products .tara-product-card__bottom,
.tara-related-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    direction: rtl;
    gap: 12px;
    min-height: 22px;
    width: 100%;
}

.tara-related-products .tara-product-card__swatches,
.tara-related-card__colors {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    direction: ltr;
    margin-right: auto !important;
    margin-inline-start: auto !important;
    margin-left: 0 !important;
    margin-inline-end: 0 !important;
}

.tara-related-card__colors i {
    display: block;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--related-color);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.tara-related-products .tara-product-card__swatch-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.tara-related-products .tara-product-card__swatch-more {
    font-size: 11px;
    color: var(--tara-muted, #737373);
    direction: ltr;
}

.tara-related-products .tara-product-card__price {
    font-size: 12.5px;
    color: var(--tara-muted, #737373);
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
}

.tara-related-products .tara-product-card__price strong {
    font-weight: 400;
    color: var(--tara-muted, #737373);
}

.tara-related-products .tara-product-card__price small {
    font-size: 11px;
    color: var(--tara-muted, #737373);
}

/* ==========================================================================
   Responsive Breakpoints (Matching index.blade.php & app.css)
   ========================================================================== */

/* Laptop / Medium Desktop Screens (1440px) */
@media (max-width: 1440px) {
    .tara-product {
        --hero-gap: 3rem;
        --gallery-width: calc((100% - var(--hero-gap)) * 0.58);
    }

    .tara-product__details {
        max-width: 560px;
        margin: 2rem 0 3rem auto;
    }

    .tara-bulk-order {
        width: 100%;
        max-width: 100%;
        margin: 3.5rem 0 4.5rem;
        padding: 26px 36px;
    }

    .tara-related-products__track {
        grid-auto-columns: calc((100% - 3 * 1.25rem) / 4);
        gap: 1.25rem;
    }
}

/* Tablet & Medium Screens (920px -> 3 products) */
@media (max-width: 920px) {
    .tara-product {
        padding: 2rem var(--page-gutter, 48px) 4rem;
        --gallery-width: 100%;
    }

    .tara-product__hero {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 3.5rem;
    }

    .tara-product__main-col {
        display: contents;
    }

    .tara-product__visual {
        display: block;
        order: 1;
    }

    .tara-product__main-image {
        aspect-ratio: 1.25;
    }

    .tara-product__summary {
        padding-top: 10px;
        position: static;
        top: auto;
        max-height: none;
        overflow-y: visible;
        order: 2;
    }

    .tara-product__purchase {
        max-width: 500px;
    }

    .tara-product__variation-filters {
        max-width: 500px;
        margin-right: 0;
        margin-left: auto;
    }

    .tara-product__main-col .tara-product__details,
    .tara-product__details {
        max-width: 100%;
        margin: 2rem 0;
        padding-top: 0;
        order: 3;
    }

    .tara-product__specifications {
        max-width: 500px;
        margin-right: 0;
        margin-left: auto;
    }

    .tara-bulk-order {
        width: 100%;
        max-width: 100%;
        margin: 2.5rem 0 3.5rem;
        padding: 28px 32px;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 16px 20px;
        order: 4;
    }

    .tara-bulk-order__icon {
        flex: 0 0 44px;
        height: 44px;
        order: 1;
    }

    .tara-bulk-order__copy {
        flex: 1 1 calc(100% - 70px);
        order: 2;
    }

    .tara-bulk-order > a {
        order: 3;
        margin-right: 64px;
        margin-top: 4px;
    }

    .tara-related-products {
        padding-top: 3rem;
        padding-bottom: 3.5rem;
    }

    .tara-related-products__inner {
        padding: 0 var(--page-gutter, 48px);
    }

    .tara-related-products header,
    .tara-related-products > header,
    .tara-related-products__inner > header {
        margin-bottom: 1.75rem;
    }

    .tara-related-products__track {
        grid-auto-columns: calc((100% - 2 * 1rem) / 3);
        gap: 1rem;
    }
}

/* Mobile Screens */
@media (max-width: 640px) {
    .tara-product {
        padding: 1.5rem var(--page-gutter, 20px) 3.5rem;
        --gallery-width: 100%;
    }

    .tara-product__breadcrumb {
        margin-bottom: 1.25rem;
        font-size: 12px;
        gap: 8px;
    }

    .tara-product__hero {
        gap: 2rem;
        margin-bottom: 2.5rem;
    }

    .tara-product__main-image {
        aspect-ratio: 1;
    }

    .tara-product__main-col .tara-product__details,
    .tara-product__details {
        max-width: 100%;
        margin: 1.5rem 0;
        padding-top: 0;
    }

    .tara-product__details-copy {
        margin-bottom: 1.5rem;
        font-size: 13.5px;
    }

    .tara-product__variation-filters {
        max-width: 100%;
    }

    .tara-product__specifications {
        max-width: 100%;
        margin: 0;
    }

    .tara-bulk-order {
        width: 100%;
        margin: 2rem 0 2.5rem;
        padding: 24px 20px;
        display: grid;
        grid-template-columns: 42px 1fr;
        column-gap: 16px;
        row-gap: 18px;
        align-items: start;
        box-sizing: border-box;
    }

    .tara-bulk-order__icon {
        grid-column: 1;
        grid-row: 1;
        width: 42px;
        height: 42px;
        margin-top: 2px;
    }

    .tara-bulk-order__copy {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
    }

    .tara-bulk-order__copy h2 {
        font-size: 15.5px;
        font-weight: 500;
        margin: 0 0 10px;
        line-height: 1.5;
        color: #181818;
    }

    .tara-bulk-order__copy p {
        font-size: 12px;
        line-height: 1.9;
        color: #555;
        margin: 0;
    }

    .tara-bulk-order > a {
        grid-column: 2;
        grid-row: 2;
        width: 100%;
        height: 42px;
        min-height: 42px;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        padding: 0 16px;
        font-size: 13px;
        font-weight: 500;
        line-height: 1;
        color: #181818;
        border: 1px solid #181818;
        background: transparent;
        border-radius: 0;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .tara-bulk-order > a:hover {
        background: #181818;
        color: #fff;
    }

    .tara-related-products {
        padding-top: 2rem;
        padding-bottom: 2.5rem;
    }

    .tara-related-products__inner {
        padding: 0 var(--page-gutter, 20px);
    }

    .tara-related-products header,
    .tara-related-products > header,
    .tara-related-products__inner > header {
        margin-bottom: 1.25rem;
    }

    .tara-related-products h2 {
        font-size: 1.25rem;
    }

    .tara-related-products__track {
        grid-auto-columns: 100%;
        gap: 1rem;
        scroll-snap-type: x mandatory;
    }

    .tara-related-products .tara-product-card {
        scroll-snap-align: center;
    }

    .tara-related-products .tara-product-card__title {
        font-size: 13.5px;
    }

    .tara-related-products .tara-product-card__subtitle {
        font-size: 13.5px;
    }

    .tara-related-products .tara-product-card__price {
        font-size: 13px;
    }

    .tara-related-products .tara-product-card__swatch-dot {
        width: 12px;
        height: 12px;
    }

    .tara-related-products .tara-product-card__swatch-more {
        font-size: 11px;
    }
}
