.product-page {
    padding-bottom: 48px;
}

.product-breadcrumbs {
    padding-bottom: 20px;
}

.product-layout {
    padding: 0 60px;
    display: grid;
    grid-template-columns: minmax(0, 57.5%) minmax(0, 42.5%);
    gap: 60px;
    align-items: start;
}

.product-gallery {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 32px;
}

.product-gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-thumb {
    background: #fff;
    padding: 0;
    width: 110px;
    height: 110px;
    cursor: pointer;
    border: 1px solid var(--color-border-dark);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumb.is-active img {
    border: 4px solid var(--color-text-muted);
}

.product-gallery-main {
    border: 1px solid var(--color-border-light);
    background: #fff;
    min-height: 840px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    width: 100%;
    cursor: zoom-in;
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    color: inherit;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.product-summary {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 32px;
}

.product-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.product-badges .badge {
    padding: 4px 16px;
}

.product-title {
    text-transform: uppercase;
    margin: 0;
}

.product-subtitle {
    color: var(--color-text-secondary);
    margin: 0;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0;
    font-size: 36px;
    font-weight: 600;
}

.product-price-old {
    color: var(--color-text-secondary);
    text-decoration: line-through;
}

.product-price-discount {
    color: var(--color-text-accent-terracotta);
    background: var(--color-accent-terracotta-light);
    border-radius: 20px;
    padding: 2px 8px;
}

.product-credit-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    background: var(--color-bg-warm-gray);
    width: 100%;
}

.product-credit-strip-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-credit-strip a {
    color: var(--color-accent-terracotta);
    text-decoration: none;
}

.product-credit-flag {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-credit-flag img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 56px 1fr 227px;
    gap: 12px;
}

.product-actions button {
    height: 56px;
    width: 100%;
}

.product-actions .outline-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px 12px 12px;
}

.product-actions .product-favorite-btn {
    justify-content: center;
    padding: unset;
}

.product-favorite-btn {
    height: 56px;
    width: 56px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-favorite-btn.is-active svg path {
    fill: var(--color-accent-terracotta);
    stroke: var(--color-accent-terracotta);
}

.product-cart-btn {
    width: 100%;
    background: var(--color-accent-terracotta);
    border-color: var(--color-accent-terracotta);
    color: #fff;
}

.product-message-btn {
    width: 100%;
}

.product-shop {
    width: 100%;
}

.product-shop-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.product-shop-logo {
    width: 52px;
    height: 20px;
    object-fit: contain;
}

.product-shop-logo--placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-bg-warm-gray);
}

.product-shop-links {
    display: flex;
    gap: 24px;
}

.product-shop-links a {
    color: var(--color-accent-terracotta);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-info-rows {
    border-top: 1px solid var(--color-border-light);
    width: 100%;
}

.product-info-row {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--color-border-light);
    background: transparent;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-primary);
    cursor: pointer;
    text-align: left;
}

.product-info-row:disabled {
    cursor: default;
    opacity: 0.45;
}

.product-info-row:not(:disabled):hover {
    color: var(--color-accent-mustard-hover);
}

/* Characteristics drawer */
.product-drawer {
    position: fixed;
    inset: 0;
    z-index: 1200;
    pointer-events: none;
}

.product-drawer[hidden] {
    display: none !important;
}

.product-drawer.is-open {
    pointer-events: auto;
}

.product-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: var(--color-overlay);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.product-drawer.is-open .product-drawer__backdrop {
    opacity: 1;
}

.product-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(420px, 100%);
    height: 100%;
    background: #ffffff;
    box-shadow: -8px 0 32px rgba(22, 20, 18, 0.12);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.28s ease;
}

.product-drawer.is-open .product-drawer__panel {
    transform: translateX(0);
}

.product-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 24px;
    border-bottom: 1px solid var(--color-border-light);
    flex-shrink: 0;
}

.product-drawer__title {
    margin: 0;
}

.product-drawer__close {
    border: none;
    background: transparent;
    color: var(--color-text-primary);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.product-drawer__close:hover {
    color: var(--color-accent-mustard-hover);
}

.product-drawer__body {
    overflow-y: auto;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-attrs-accordion {
    border-bottom: 1px solid var(--color-border-light);
    padding: 0 24px;
}

.product-attrs-accordion__summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 24px 0;
    cursor: pointer;
    color: var(--color-text-primary);
}

.product-attrs-accordion__summary::-webkit-details-marker {
    display: none;
}

.product-attrs-accordion__chevron {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.product-attrs-accordion[open] .product-attrs-accordion__chevron {
    transform: rotate(180deg);
}

.product-attrs-list {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.product-attrs-list__row {
    width: 100%;
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    align-items: start;
    border-bottom: 1px solid var(--color-border-light);
}

.product-attrs-list .product-attrs-list__row:last-of-type {
    border-bottom: none;
}

.product-attrs-list__row dt {
    margin: 0;
    color: var(--color-text-secondary);
}

.product-attrs-list__row dd {
    margin: 0;
    color: var(--color-text-primary);
    text-align: right;
}

.product-attrs-note {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 16px;
    background: var(--color-bg-warm-gray);
    color: var(--color-text-secondary);
    justify-self: end;
}

.product-attrs-note__icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid var(--color-border-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-style: italic;
    font-family: Georgia, serif;
    color: var(--color-text-primary);
}

body.product-drawer-open {
    overflow: hidden;
}

.product-seller-brand {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
}

.product-seller-brand__logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--color-bg-warm-gray);
}

.product-seller-brand__logo--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 600;
    color: var(--color-text-primary);
}

.product-seller-brand__name {
    margin: 0;
}

.product-seller-actions {
    display: flex;
    flex-direction: column;
    padding: 0 24px;
}

.product-seller-action-form {
    margin: 0;
}

.product-seller-action {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid var(--color-border-light);
    background: transparent;
    color: var(--color-text-primary);
    text-decoration: none;
    cursor: pointer;
    text-align: left;
}

.product-seller-action:hover {
    color: var(--color-accent-mustard-hover);
}

.product-seller-action__left {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.product-attrs-list__row dd a {
    color: inherit;
    text-decoration: none;
}

.product-attrs-list__row dd a:hover {
    color: var(--color-accent-mustard-hover);
}

.product-drawer__options {
    padding: 0 24px;
}

.product-drawer__options .product-attrs-accordion {
    padding: 0;
}

.product-drawer__panel--finance {
    display: flex;
    flex-direction: column;
}

.product-drawer__footer {
    flex-shrink: 0;
    padding: 16px 24px 24px;
    background: #fff;
}

.product-finance-drawer-cta {
    width: 100%;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.product-finance-drawer-cta:disabled,
.product-finance-drawer-cta.is-disabled {
    opacity: var(--color-btn-disabled-opacity);
    cursor: not-allowed;
    pointer-events: none;
}

.product-finance-calc-header {
    justify-content: space-between;
}

.product-finance-calc-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    color: var(--color-text-primary);
}

.product-finance-calc-body {
    padding: 0 24px 24px;
    gap: 24px;
    justify-content: flex-start;
    scrollbar-width: thin;
    scrollbar-color: #B8AEA2 transparent;
}

.product-finance-calc-body::-webkit-scrollbar {
    width: 2px;
}

.product-finance-calc-body::-webkit-scrollbar-track {
    background: transparent;
}

.product-finance-calc-body::-webkit-scrollbar-thumb {
    background: #B8AEA2;
    border-radius: 0;
}

.product-finance-calc-intro {
    padding-top: 8px;
}

.product-finance-calc-title {
    margin: 0 0 8px;
    color: var(--color-text-primary);
}

.product-finance-calc-lead {
    margin: 0;
    color: var(--color-text-secondary);
}

.product-finance-calc-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-finance-calc-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-finance-calc-label {
    color: var(--color-text-primary);
}

.product-finance-calc-input,
.product-finance-calc-select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--color-border-medium);
    background: #fff;
    color: var(--color-text-primary);
    font: inherit;
    box-sizing: border-box;
    outline: none;
}

.product-finance-calc-input:focus,
.product-finance-calc-input:focus-visible,
.product-finance-calc-select:focus,
.product-finance-calc-select:focus-visible {
    border-color: var(--color-text-primary);
    border-width: 2px;
    padding: 0 13px;
}

.product-finance-calc-select:focus,
.product-finance-calc-select:focus-visible {
    padding-right: 39px;
}

.product-finance-calc-input.is-disabled,
.product-finance-calc-input:disabled {
    background: var(--color-bg-warm-gray);
    color: var(--color-text-secondary);
    border-color: var(--color-border-light);
}

.product-finance-calc-select-wrap {
    position: relative;
}

.product-finance-calc-select-wrap::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid var(--color-text-primary);
    border-bottom: 1.5px solid var(--color-text-primary);
    transform: translateY(-60%) rotate(45deg);
    pointer-events: none;
}

.product-finance-calc-select {
    appearance: none;
    padding-right: 40px;
    cursor: pointer;
}

.product-finance-calc-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.product-finance-calc-tab {
    border: none;
    background: transparent;
    padding: 12px 8px;
    cursor: pointer;
    color: var(--color-text-secondary);
    border-bottom: 3px solid var(--color-bg-warm-gray);
}

.product-finance-calc-tab.is-active {
    color: var(--color-text-primary);
    border-bottom-color: var(--color-border-dark);
    font-weight: 600;
}

.product-finance-calc-terms {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.product-finance-calc-term {
    height: 44px;
    border: 1px solid var(--color-border-medium);
    background: #fff;
    color: var(--color-text-primary);
    cursor: pointer;
    font: inherit;
}

.product-finance-calc-term.is-active {
    background: var(--color-bg-warm-gray);
    border-color: var(--color-border-dark);
}

.product-finance-calc-result {
    padding: 20px 16px;
    background: #E9EDDC;
}

.product-finance-calc-result.is-hidden,
.product-finance-calc-result[hidden] {
    display: none !important;
}

.product-finance-calc-result-label {
    margin-bottom: 8px;
    color: var(--color-text-secondary);
}

.product-finance-calc-result-monthly {
    margin: 0 0 16px;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.product-finance-calc-byn {
    display: inline-block;
    width: 15px;
    height: 16px;
    vertical-align: -2px;
    flex-shrink: 0;
}

.product-finance-calc-result-rows dd .product-finance-calc-byn {
    margin-left: 2px;
}

.product-finance-calc-result-rows {
    margin: 0;
}

.product-finance-calc-result-rows > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid rgba(22, 20, 18, 0.12);
}

.product-finance-calc-result-rows dt {
    margin: 0;
    color: var(--color-text-secondary);
}

.product-finance-calc-result-rows dd {
    margin: 0;
    text-align: right;
    color: var(--color-text-primary);
}

.product-finance-calc-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 24px 24px 24px 32px;
    background: var(--color-bg-warm-gray);
    color: var(--color-text-secondary);
    margin-top: auto;
}

.product-finance-calc-empty {
    color: var(--color-text-secondary);
    font-size: 14px;
}

@media (max-width: 600px) {
    .product-drawer__header,
    .product-drawer__body {
        padding-left: 20px;
        padding-right: 20px;
    }

    .product-drawer__footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .product-attrs-list__row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .product-attrs-list__row dd {
        text-align: left;
    }
}

.product-about {
    padding: 48px 60px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-about-text {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 24px;
}

.product-about-text h3 {
    text-transform: uppercase;
}

.product-about-text p {
    color: var(--color-text-secondary);
}

.product-about-media img {
    width: 100%;
    display: block;
    max-height: 480px;
    object-fit: cover;
}

.product-finance {
    padding: 48px 60px 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 32px;
}

.product-finance h2 {
    text-transform: uppercase;
}

.product-finance-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.product-finance-card {
    border: 1px solid var(--color-border-light);
    padding: 40px;
    display: flex;
    align-items: start;
    gap: 32px;
}

.product-finance-icon {
    width: 110px;
    height: 110px;
    min-width: 110px;
    border-radius: 100px;
    background: var(--color-bg-section);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
}

.product-finance-card h3 {
    margin-bottom: 6px;
}

.product-finance-card p {
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.product-finance-card a {
    color: var(--color-accent-terracotta);
    text-decoration: none;
}

.product-similar {
    padding: 48px 0 64px;
    overflow: hidden;
}

.product-similar h2 {
    margin: 0 0 16px;
    padding: 0 60px;
    text-transform: uppercase;
}

.product-similar-scroll {
    position: relative;
}

.product-similar-grid {
    display: flex;
    align-items: start;
    gap: 32px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 60px 16px;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product-similar-grid::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.product-similar-grid:active,
.product-similar-grid.is-dragging {
    cursor: grabbing;
}

.product-similar-grid .product-card {
    flex: 0 0 426px;
    width: 426px;
    min-width: 426px;
}

.product-similar-scrollbar {
    height: 3px;
    background: transparent;
    position: relative;
    margin: 8px 60px 0;
}

.product-similar-scrollbar-thumb {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    min-width: 40px;
    background: #B8AEA2;
    cursor: pointer;
}

.product-similar-scrollbar-thumb:hover {
    height: 7px;
    background: var(--color-btn-secondary-loading, #514940);
}

.product-similar-next,
.product-similar-prev {
    position: absolute;
    top: 213px;
    transform: translateY(-50%);
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 0;
    color: var(--color-bg-dark, #161412);
    transition: opacity .2s ease, color .2s ease;
    z-index: 2;
}

.product-similar-next {
    right: 0;
}

.product-similar-prev {
    left: 20px;
}

.product-similar-prev svg {
    transform: rotate(180deg);
}

.product-similar-next:hover,
.product-similar-prev:hover {
    color: var(--color-accent-mustard, #D7A556);
}

.product-similar-next:disabled,
.product-similar-next.is-hidden,
.product-similar-prev:disabled,
.product-similar-prev.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.product-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery-modal[hidden] {
    display: none;
}

.product-gallery-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(107, 97, 86, 0.55);
}

.product-gallery-modal__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100svw;
    height: 100svh;
    background: #fff;
    border: 32px solid rgba(126, 117, 107, 0.75);
}

.product-gallery-modal__toolbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    min-height: 72px;
    padding: 16px 24px;
}

.product-gallery-modal__title {
    margin: 0;
    color: var(--color-text-primary);
}

.product-gallery-modal__counter {
    margin: 0;
    text-align: center;
    color: var(--color-text-secondary);
}

.product-gallery-modal__tools {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.product-gallery-modal__tool {
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--color-text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-gallery-modal__tool:hover {
    color: var(--color-text-primary);
}

.product-gallery-modal__tool:disabled {
    opacity: 0.35;
    cursor: default;
}

.product-gallery-modal__body {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 32px;
    flex: 1;
    min-height: 0;
    padding: 0 24px 24px;
}

.product-gallery-modal__thumbs-wrap {
    position: relative;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.product-gallery-modal__thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    scrollbar-width: none;
}

.product-gallery-modal__thumbs::-webkit-scrollbar {
    display: none;
}

.product-gallery-modal__thumb {
    flex: 0 0 auto;
    width: 110px;
    height: 110px;
    padding: 4px;
    border: 1px solid var(--color-border-dark);
    background: #fff;
    cursor: pointer;
}

.product-gallery-modal__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-gallery-modal__thumb.is-active {
    border: 4px solid var(--color-text-muted);
}

.product-gallery-modal__thumbs-more {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%) rotate(90deg);
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--color-text-muted);
    cursor: pointer;
}

.product-gallery-modal__stage {
    position: relative;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery-modal__image-wrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E9E3D9;
    padding: 24px;
}

.product-gallery-modal__image-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform-origin: center center;
    transition: transform .2s ease;
}

.product-gallery-modal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--color-border-dark);
    background: #fff;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.product-gallery-modal__nav.is-prev {
    left: 8px;
}

.product-gallery-modal__nav.is-prev svg {
    transform: rotate(180deg);
}

.product-gallery-modal__nav.is-next {
    right: 8px;
}

.product-gallery-modal__nav:disabled,
.product-gallery-modal__thumbs-more[hidden] {
    display: none;
}

body.product-gallery-modal-open {
    overflow: hidden;
}

.product-attributes {
    margin-top: 24px;
}

.product-attributes h3 {
    margin: 20px 0 8px;
}

.product-attributes h3:first-child {
    margin-top: 0;
}

.product-credit-link {
    color: var(--color-accent-terracotta);
}

.favorites-form-mobile {
    display: none;
}

@media (max-width: 1919px) {
    .product-layout {
        grid-template-columns: 1fr 1fr;
    }

    .product-gallery {
       display: flex;
        flex-direction: column-reverse;
        gap: 16px;
    }

    .product-gallery-thumbs {
        flex-direction: row;
    }

    .product-credit-strip {
        flex-direction: column;
        align-items: start;
    }

    .product-finance-card {
        flex-direction: column;
    }

    .product-finance-card p {
        margin-bottom: 32px;
    }

    .product-gallery-main img {
        aspect-ratio: 1;
    }

    .product-gallery-main {
        min-height: unset;
    }

    .product-thumb {
        height: 90px;
        width: 90px;
    }

    .product-gallery-thumbs {
        gap: 16px;
    }

    .product-finance-data {
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 12px;
    }

    .product-finance-card {
        padding: 32px;
    }
}

@media (max-width: 1199px) {
    .product-layout {
        gap: 32px;
    }

    .product-actions {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .product-actions .product-favorite-btn {
        width: 56px;
    }

    .product-about {
        gap: 32px;
    }

    .product-similar h2 {
        padding: 0 32px;
    }

    .product-similar-grid {
        gap: 16px;
        padding-left: 32px;
        padding-right: 32px;
    }

    .product-similar-scrollbar {
        margin-left: 32px;
        margin-right: 32px;
    }

    .product-similar-grid .product-card {
        flex-basis: 280px;
        width: 280px;
        min-width: 280px;
    }

    .product-similar-next,
    .product-similar-prev {
        top: 140px;
        height: 25px;
        width: 25px;
    }
}

@media (max-width: 1023px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Flatten summary so gallery can sit between subtitle and price */
    .product-summary {
        display: contents;
    }

    .product-badges {
        order: 1;
    }

    .product-title {
        order: 2;
    }

    .product-subtitle {
        order: 3;
    }

    .product-gallery {
        order: 4;
        width: 100%;
    }

    .product-price {
        order: 5;
    }

    .product-credit-strip {
        order: 6;
    }

    .product-actions {
        order: 7;
        width: 100%;
    }

    .product-shop {
        order: 8;
        width: 100%;
    }

    .product-info-rows {
        order: 9;
        width: 100%;
    }

    .product-gallery-modal {
        order: 10;
    }

    .product-about {
        display: flex;
        flex-direction: column;
    }

    .product-finance-grid {
        grid-template-columns: 1fr;
    }

    .product-finance-card {
        flex-direction: row;
        padding: 20px;
        gap: 20px;
    }

    .product-finance-card h3 {
        margin-bottom: 0;
    }

    .product-finance-card p {
        margin-bottom: 24px;
    }

    .product-breadcrumbs.breadcrumbs {
        padding: 24px;
    }

    .product-layout {
        padding: 0 16px;
    }

    .product-about, .product-finance {
        padding: 40px 16px 0;
    }

    .product-similar h2 {
        padding: 0 16px;
    }

    .product-similar-grid {
        padding-left: 16px;
        padding-right: 16px;
    }

    .product-similar-scrollbar {
        margin-left: 16px;
        margin-right: 16px;
    }
}

@media (max-width: 767px) {
    .product-finance-card {
       flex-direction: column;
    }

    .favorites-form {
        display: none;
    }

    .favorites-form-mobile {
        display: block;
    }

    .product-cart-form, .outline-button {
        width: 275px;
    }

    .product-shop-links {
        gap: 12px;
    }
}
