html {
    font-size: 15px;
}

body {
      font-family: 'Inter', sans-serif;
      background-color: #FAF6F0;
      color: #1F1A1C;
      overflow-x: hidden;
    }
    .font-editorial {
      font-family: 'Cormorant Garamond', Georgia, serif;
    }
    /* Smooth transition for Desktop vs Mobile preview frame */
    #viewport-wrapper {
      transition: max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1), margin 0.35s ease, box-shadow 0.35s ease, border-radius 0.35s ease;
    }
    .mobile-Simulated-Frame {
      max-width: 412px !important;
      margin: 1.5rem auto 3rem auto !important;
      border: 10px solid #280810 !important;
      border-radius: 36px !important;
      box-shadow: 0 25px 60px -15px rgba(40, 8, 16, 0.45) !important;
      overflow-x: hidden !important;
      background: #FAF6F0;
    }
    /* Force mobile-friendly grid adjustments when mobile simulation mode is active */
    .mobile-Simulated-Frame .sim-grid-cols-1 {
      grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
    .mobile-Simulated-Frame .sim-grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .mobile-Simulated-Frame .sim-hide-desktop {
      display: none !important;
    }
    .mobile-Simulated-Frame .sim-show-mobile {
      display: flex !important;
    }
    .mobile-Simulated-Frame .sim-stack {
      flex-direction: column !important;
    }
    .mobile-Simulated-Frame .sim-text-hero {
      font-size: 2.1rem !important;
      line-height: 1.15 !important;
    }
    .mobile-Simulated-Frame .sim-p-compact {
      padding-left: 1rem !important;
      padding-right: 1rem !important;
    }
    .gold-shimmer-border {
      border-color: rgba(197, 160, 89, 0.35);
    }
    .product-card-img {
      transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    .product-card:hover .product-card-img {
      transform: scale(1.04);
    }
    ::-webkit-scrollbar {
      width: 8px;
      height: 8px;
    }
    ::-webkit-scrollbar-track {
      background: #FAF6F0;
    }
    ::-webkit-scrollbar-thumb {
      background: #C5A059;
      border-radius: 4px;
    }

    /* Global Success/Error Notification */
.admin-toast {
    position: fixed !important;
    top: auto !important;
    right: auto !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;

    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;

    width: max-content !important;
    height: auto !important;
    min-height: 0 !important;

    padding: 8px 14px !important;

    background: #280810;
    color: #FDFBF7;
    border: 1px solid #C5A059;
    border-radius: 10px;

    font-family: 'Inter', sans-serif;
    font-size: 12px !important;
    font-weight: 500;

    line-height: 1.4 !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);

    z-index: 99999;
    opacity: 1;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
}

.admin-toast-icon {
    color: #D2B16D;
    font-size: 13px;
    flex-shrink: 0;
}

.admin-toast.hide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.site-nav-link,
.site-nav-chip {
    position: relative;
    transition: none !important;
}

.site-header-brand-row {
    height: 4.5rem;
}

.site-brand-subtitle {
    text-align: center;
}

.site-header {
    position: sticky;
}

.header-search-panel {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 60;
    border-bottom: 1px solid #e5d5c0;
    box-shadow: 0 10px 20px rgba(40, 8, 16, .12);
}

.site-primary-nav {
    gap: 1.5rem !important;
    padding-top: .5rem !important;
    padding-bottom: .5rem !important;
}

.site-nav-link::after {
    position: absolute;
    right: 6px;
    bottom: 1px;
    left: 6px;
    height: 1px;
    background: #C5A059;
    content: '';
    transform: scaleX(0);
    transform-origin: center;
    transition: none;
}

.site-nav-link:hover,
.site-nav-link.is-active {
    color: #A6823D !important;
}

.site-nav-link.is-active {
    background-color: transparent;
}

.site-nav-link.is-active::after {
    transform: scaleX(1);
}

.site-nav-chip.is-active {
    border-radius: 6px;
    background-color: #F3E9D4 !important;
    color: #3D0E19 !important;
}

.site-nav-chip:hover {
    filter: brightness(1.08);
}

.site-nav-link:focus-visible,
.site-nav-chip:focus-visible {
    outline: 2px solid #C5A059;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .site-nav-link,
    .site-nav-chip,
    .site-nav-link::after {
        transition: none;
    }
}
.shop-catalogue {
    box-sizing: border-box;
    width: calc(100% - 48px);
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-top: 12px !important;
    container-type: inline-size;
}

.shop-catalogue-heading {
    margin-bottom: 24px;
}

.shop-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 12px;
    color: #887a72;
    font-size: 12px;
}

.shop-breadcrumb a {
    color: #6e1d30;
    text-decoration: none;
}

.shop-breadcrumb a:hover {
    text-decoration: underline;
}

.shop-catalogue-heading h1 {
    margin: 0;
    font-size: 1.7rem !important;
    line-height: 1.1;
}

.shop-catalogue-description {
    margin: 6px 0 0;
    color: #6b7280;
    font-size: 13px;
}

.shop-filter-panel {
    margin: 20px 0 24px;
    padding: 14px 16px 10px;
    border: 1px solid #e5d5c0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(61, 14, 25, .035);
}

.shop-filter-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 14px;
}

.shop-filter-field {
    min-width: 0;
}

.shop-filter-field label {
    display: block;
    margin-bottom: 4px;
    color: #806f64;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.shop-filter-field input,
.shop-filter-field select {
    width: 100%;
    height: 30px !important;
    min-height: 30px !important;
    box-sizing: border-box;
    padding: 4px 9px !important;
    border: 1px solid #e5d5c0;
    border-radius: 9px;
    background: #fff;
    color: #3d0e19;
    font: inherit;
    font-size: 12px !important;
    line-height: 1.2;
}

.shop-filter-field input:focus,
.shop-filter-field select:focus {
    border-color: #c5a059;
    outline: 2px solid rgba(197, 160, 89, .18);
}

.shop-filter-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #f0e9e1;
}

.shop-filter-toggles {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.shop-filter-toggles label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #5e514a;
    font-size: 13px;
}

.shop-filter-toggles input {
    accent-color: #6e1d30;
}

.shop-filter-toggles button {
    border: 0;
    background: transparent;
    color: #6e1d30;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

.shop-filter-toggles button:hover {
    text-decoration: underline;
}

.shop-result-counter {
    flex: 0 0 auto;
    color: #73665d;
    font-size: 13px;
}

.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

@container (max-width: 520px) {
    .shop-filter-main {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .shop-search-field {
        display: none !important;
    }

    .shop-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-filter-field label {
        margin-bottom: 3px;
        font-size: 8px;
        letter-spacing: .03em;
        white-space: nowrap;
    }

    .shop-filter-field select {
        height: 30px !important;
        min-height: 30px !important;
        padding: 3px 5px !important;
        font-size: 10px !important;
    }
}

@media (max-width: 1100px) {
    .shop-filter-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-search-field {
        grid-column: auto;
    }

    .shop-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .shop-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .shop-filter-panel {
        padding: 12px;
    }

    .shop-filter-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .shop-catalogue {
        width: calc(100% - 32px);
    }

    .shop-filter-main {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .shop-search-field {
        display: none;
    }

    .shop-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-filter-panel {
        margin: 16px 0 20px;
        padding: 9px;
    }

    .shop-filter-field label {
        margin-bottom: 3px;
        font-size: 8px;
        letter-spacing: .03em;
        white-space: nowrap;
    }

    .shop-filter-field select {
        height: 30px !important;
        min-height: 30px !important;
        padding: 3px 5px !important;
        font-size: 10px !important;
    }

    .shop-filter-footer {
        align-items: stretch;
        gap: 6px;
        margin-top: 7px;
        padding-top: 6px;
    }

    .shop-filter-toggles {
        display: grid;
        grid-template-columns: auto auto 1fr;
        align-items: center;
        gap: 5px;
    }

    .shop-filter-toggles label {
        gap: 4px;
        font-size: 10px;
        white-space: nowrap;
    }

    .shop-filter-toggles input {
        width: 12px;
        height: 12px;
        margin: 0;
    }

    .shop-filter-toggles button {
        justify-self: end;
        padding: 2px 0;
        font-size: 10px;
        white-space: nowrap;
    }

    .shop-result-counter {
        text-align: right;
        font-size: 10px;
    }

    .site-header-brand-row {
        height: 4rem;
    }

    .site-brand-wordmark {
        font-size: 1.3rem !important;
        letter-spacing: .1em !important;
        white-space: nowrap;
    }

    .site-brand-wordmark span {
        font-size: .9rem !important;
    }

    .site-brand-subtitle {
        max-width: 160px;
        margin-right: auto;
        margin-left: auto;
        font-size: 7px !important;
        letter-spacing: .14em !important;
        line-height: 1.2;
    }
}

.mobile-Simulated-Frame .shop-search-field {
    display: none !important;
}

.mobile-Simulated-Frame footer .footer-inner {
    padding: 28px 14px !important;
}

.mobile-Simulated-Frame footer .footer-content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px 16px !important;
    padding-bottom: 22px !important;
}

.mobile-Simulated-Frame footer .footer-content-grid > :first-child,
.mobile-Simulated-Frame footer .footer-content-grid > :last-child {
    grid-column: 1 / -1;
}

.mobile-Simulated-Frame footer .footer-content-grid > :nth-child(2) li button,
.mobile-Simulated-Frame footer .footer-content-grid > :nth-child(3) li button {
    display: block;
    width: 100%;
    padding: 0;
    text-align: left;
    font-size: 11px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.mobile-Simulated-Frame #promo-bar {
    position: fixed;
    top: 0;
    right: auto;
    left: 50%;
    width: min(412px, 100vw);
    transform: translateX(-50%);
    z-index: 100;
    height: 24px;
    padding: 0 8px !important;
}

.mobile-Simulated-Frame .site-header {
    position: fixed !important;
    top: 24px !important;
    right: auto;
    left: 50%;
    width: min(412px, 100vw);
    margin-top: 0;
    transform: translateX(-50%);
    z-index: 90;
}

.mobile-Simulated-Frame {
    padding-top: 85px !important;
}

.mobile-Simulated-Frame .site-header-brand-row {
    height: 60px !important;
}

@media (max-width: 600px) {
    html,
    body {
        width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }

    body > #promo-bar,
    body > header,
    body > main,
    body > footer {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    footer .footer-inner {
        padding: 28px 14px !important;
    }

    footer .footer-content-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 22px 16px !important;
        padding-bottom: 22px !important;
    }

    footer .footer-content-grid > :first-child,
    footer .footer-content-grid > :last-child {
        grid-column: 1 / -1;
    }

    footer .footer-content-grid > :nth-child(2),
    footer .footer-content-grid > :nth-child(3) {
        min-width: 0;
    }

    footer .footer-content-grid > :nth-child(2) ul,
    footer .footer-content-grid > :nth-child(3) ul {
        line-height: 1.4;
    }

    footer .footer-content-grid > :nth-child(2) li,
    footer .footer-content-grid > :nth-child(3) li {
        min-width: 0;
    }

    footer .footer-content-grid > :nth-child(2) li button,
    footer .footer-content-grid > :nth-child(3) li button {
        display: block;
        width: 100%;
        padding: 0;
        text-align: left;
        font-size: 11px;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    footer .footer-content-grid > :nth-child(4) > div {
        gap: 5px;
        font-size: 9px !important;
    }

    footer .footer-content-grid > :nth-child(4) > div span {
        padding: 4px 7px;
    }

    #promo-bar {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 50;
        width: 100%;
        box-sizing: border-box;
        height: 24px;
        padding: 0 8px !important;
    }

    .site-header {
        position: fixed !important;
        top: 24px !important;
        right: 0;
        left: 0;
        width: 100%;
        margin-top: 0;
        z-index: 90;
    }

    body {
        padding-top: 85px !important;
    }

    #promo-bar .promo-bar-content {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: center;
        gap: 10px;
        font-size: 9px;
        line-height: 1.2;
        white-space: nowrap;
    }

    #promo-bar .promo-desktop-copy,
    #promo-bar .promo-bar-content > span:nth-of-type(3) {
        display: none !important;
    }

    #promo-bar .promo-mobile-copy,
    #promo-bar .promo-mobile-cta {
        display: inline !important;
        flex: 0 0 auto;
        font-size: 9px;
        white-space: nowrap;
    }

    #promo-bar .promo-mobile-cta {
        padding: 0;
    }

    #promo-bar > .promo-bar-content > button:not(.promo-mobile-cta) {
        display: none !important;
    }

    .site-header > div {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
        padding-right: 12px !important;
        padding-left: 12px !important;
    }

    .site-header-brand-row {
        display: grid !important;
        grid-template-columns: 76px minmax(0, 1fr) 98px;
        column-gap: 4px;
        height: 60px !important;
    }

    .site-header-brand-row > div:first-child {
        min-width: 0;
        gap: 4px;
    }

    .site-header-brand-row > div:last-child {
        justify-content: flex-end;
        gap: 2px;
    }

    .header-search-panel {
        padding: 10px 12px !important;
    }

    .header-search-panel-inner {
        display: grid !important;
        width: 100%;
        max-width: none;
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 6px;
    }

    .header-search-panel-inner input {
        min-width: 0;
        padding: 8px 10px !important;
        font-size: 12px !important;
    }

    .header-search-panel-inner button {
        padding: 8px 9px !important;
        white-space: nowrap;
        font-size: 10px !important;
    }

    .site-brand {
        min-width: 0;
        overflow: hidden;
    }

    .site-brand-wordmark {
        font-size: 1.08rem !important;
        letter-spacing: .05em !important;
        white-space: nowrap;
    }

    .site-brand-wordmark span {
        font-size: .74rem !important;
    }

    .site-brand-subtitle {
        max-width: 165px;
        margin-right: auto;
        margin-left: auto;
        font-size: 6.5px !important;
        letter-spacing: .12em !important;
        line-height: 1.2;
    }

    #view-home > [data-home-section="hero"] > div > div:first-child {
        box-sizing: border-box;
        padding: 20px !important;
    }

    #view-home > [data-home-section="hero"] h1 {
        font-size: 1.9rem !important;
        line-height: 1.12 !important;
    }
}

.mobile-Simulated-Frame .shop-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

/* Keep two-column product cards readable on narrow phone screens. */
@media (max-width: 520px) {
    #home-new-arrivals-grid,
    #home-bestsellers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    #home-new-arrivals-grid .product-card,
    #home-bestsellers-grid .product-card {
        min-width: 0;
        border-radius: 10px;
    }

    #home-new-arrivals-grid .product-card-content,
    #home-bestsellers-grid .product-card-content {
        padding: 9px !important;
    }

    #home-new-arrivals-grid .product-card-meta,
    #home-bestsellers-grid .product-card-meta {
        gap: 4px;
        margin-bottom: 4px !important;
        font-size: 8px !important;
        letter-spacing: .035em !important;
        line-height: 1.2;
    }

    #home-new-arrivals-grid .product-card-meta > span:first-child,
    #home-bestsellers-grid .product-card-meta > span:first-child {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #home-new-arrivals-grid .product-card-meta > span:last-child,
    #home-bestsellers-grid .product-card-meta > span:last-child {
        flex: 0 0 auto;
        margin-left: auto;
        font-size: 7px !important;
        letter-spacing: .01em !important;
        white-space: nowrap;
    }

    #home-new-arrivals-grid .product-card-title,
    #home-bestsellers-grid .product-card-title {
        font-size: 14px !important;
        line-height: 1.2 !important;
    }

    #home-new-arrivals-grid .product-card-actions,
    #home-bestsellers-grid .product-card-actions {
        gap: 6px !important;
        padding: 2px 9px 9px !important;
    }

    #home-new-arrivals-grid .product-card-view,
    #home-new-arrivals-grid .product-card-add,
    #home-bestsellers-grid .product-card-view,
    #home-bestsellers-grid .product-card-add {
        min-width: 0;
        padding: 7px 5px !important;
        font-size: 9px !important;
        letter-spacing: .025em !important;
        line-height: 1.1 !important;
        white-space: nowrap;
    }

    #home-new-arrivals-grid .product-card-add,
    #home-bestsellers-grid .product-card-add {
        flex: 0 0 auto;
        padding-right: 8px !important;
        padding-left: 8px !important;
    }

    .shop-products-grid {
        gap: 10px;
    }

    .shop-products-grid .product-card {
        min-width: 0;
        border-radius: 10px;
    }

    .shop-products-grid .product-card-content {
        padding: 9px !important;
    }

    .shop-products-grid .product-card-meta {
        gap: 4px;
        width: 100%;
        margin-bottom: 4px !important;
        font-size: 8px !important;
        letter-spacing: .035em !important;
        line-height: 1.2;
    }

    .shop-products-grid .product-card-meta > span:first-child {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .shop-products-grid .product-card-meta > span:last-child {
        flex: 0 0 auto;
        margin-left: auto;
        text-align: right;
        font-size: 7px !important;
        letter-spacing: .01em !important;
        line-height: 1.1;
        white-space: nowrap;
    }

    .shop-products-grid .product-card-title {
        font-size: 14px !important;
        line-height: 1.2 !important;
    }

    .shop-products-grid .product-card-pricing {
        gap: 3px;
        margin-top: 6px !important;
        flex-wrap: wrap;
    }

    .shop-products-grid .product-card-current-price {
        font-size: 12px !important;
        white-space: nowrap;
    }

    .shop-products-grid .product-card-pricing > span:not(.product-card-current-price) {
        margin-left: 0 !important;
        font-size: 9px !important;
        white-space: nowrap;
    }

    .shop-products-grid .product-card-actions {
        gap: 6px !important;
        padding: 2px 9px 9px !important;
    }

    .shop-products-grid .product-card-view,
    .shop-products-grid .product-card-add {
        min-width: 0;
        padding: 8px 6px !important;
        font-size: 9px !important;
        letter-spacing: .035em !important;
        line-height: 1.15;
        white-space: nowrap;
    }

    .shop-products-grid .product-card-add {
        flex: 0 0 auto;
        padding-right: 9px !important;
        padding-left: 9px !important;
    }
}

.mobile-Simulated-Frame #home-new-arrivals-grid,
.mobile-Simulated-Frame #home-bestsellers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

.mobile-Simulated-Frame #home-new-arrivals-grid .product-card-content,
.mobile-Simulated-Frame #home-bestsellers-grid .product-card-content {
    padding: 9px !important;
}

.mobile-Simulated-Frame #home-new-arrivals-grid .product-card-title,
.mobile-Simulated-Frame #home-bestsellers-grid .product-card-title {
    font-size: 14px !important;
    line-height: 1.2 !important;
}

.mobile-Simulated-Frame #home-new-arrivals-grid .product-card-actions,
.mobile-Simulated-Frame #home-bestsellers-grid .product-card-actions {
    gap: 6px !important;
    padding: 2px 9px 9px !important;
}

.mobile-Simulated-Frame #home-new-arrivals-grid .product-card-view,
.mobile-Simulated-Frame #home-new-arrivals-grid .product-card-add,
.mobile-Simulated-Frame #home-bestsellers-grid .product-card-view,
.mobile-Simulated-Frame #home-bestsellers-grid .product-card-add {
    min-width: 0;
    padding: 7px 5px !important;
    font-size: 9px !important;
    letter-spacing: .025em !important;
    white-space: nowrap;
}

.mobile-Simulated-Frame .shop-products-grid {
    gap: 10px !important;
}

.mobile-Simulated-Frame .shop-products-grid .product-card-content {
    padding: 9px !important;
}

.mobile-Simulated-Frame .shop-products-grid .product-card-title {
    font-size: 14px !important;
    line-height: 1.2 !important;
}

.mobile-Simulated-Frame .shop-products-grid .product-card-actions {
    gap: 6px !important;
    padding: 2px 9px 9px !important;
}

.mobile-Simulated-Frame .shop-products-grid .product-card-view,
.mobile-Simulated-Frame .shop-products-grid .product-card-add {
    min-width: 0;
    padding: 8px 6px !important;
    font-size: 9px !important;
    letter-spacing: .035em !important;
    line-height: 1.15;
    white-space: nowrap;
}

.mobile-Simulated-Frame .shop-products-grid .product-card-add {
    flex: 0 0 auto;
    padding-right: 9px !important;
    padding-left: 9px !important;
}

.mobile-Simulated-Frame .site-brand-wordmark {
    font-size: 1.3rem !important;
    letter-spacing: .1em !important;
    white-space: nowrap;
}

.mobile-Simulated-Frame .site-brand-wordmark span {
    font-size: .9rem !important;
}

.mobile-Simulated-Frame .site-brand-subtitle {
    display: none;
}


.product-related-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.product-related-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 2px 1px 12px;
}

.product-related-track::-webkit-scrollbar {
    display: none;
}

.product-related-track > .product-card {
    flex: 0 0 calc((100% - 54px) / 4);
    min-width: 0;
    scroll-snap-align: start;
}

.product-related-controls {
    display: flex;
    gap: 8px;
}

.product-related-controls button {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid #e7cfb6;
    border-radius: 999px;
    background: #fff;
    color: #6e1d30;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.product-related-controls button:hover {
    background: #f7efe6;
}

/* Product detail: retain the desktop presentation while tightening it for phones. */
@media (max-width: 640px) {
    .product-detail-page {
        width: 100%;
        padding: 12px 12px 28px !important;
    }

    .product-detail-breadcrumb {
        margin-bottom: 10px !important;
        font-size: 10px;
    }

    .product-detail-breadcrumb > a {
        font-size: 10px;
    }

    .product-detail-panel {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
        padding: 10px !important;
        border-radius: 14px !important;
    }

    .product-detail-gallery {
        display: flex;
        flex-direction: column-reverse;
        gap: 8px !important;
        min-width: 0;
    }

    .product-detail-thumbnails {
        width: 100%;
        max-width: 100%;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 7px !important;
        padding-bottom: 2px;
    }

    .product-detail-thumbnails > * {
        width: 48px !important;
        height: 62px !important;
        flex: 0 0 48px;
    }

    .product-detail-main-image {
        width: 100%;
        max-height: min(62vh, 520px);
        aspect-ratio: 4 / 5 !important;
    }

    .product-detail-information {
        min-width: 0;
        gap: 12px !important;
    }

    #pdp-collection-tag,
    #pdp-stock-badge {
        font-size: 9px !important;
        letter-spacing: .1em !important;
    }

    #pdp-title {
        font-size: 1.55rem !important;
        line-height: 1.15 !important;
    }

    #pdp-price {
        font-size: 1.55rem !important;
        line-height: 1.1;
    }

    #pdp-description {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        font-size: 12px !important;
        line-height: 1.55 !important;
    }

    .product-option-block > div:first-child {
        gap: 8px;
        font-size: 10px !important;
        line-height: 1.35;
    }

    #pdp-color-options,
    #pdp-size-options {
        gap: 6px !important;
    }

    #pdp-color-options button,
    #pdp-size-options button {
        min-height: 34px;
        padding: 7px 10px !important;
        font-size: 11px !important;
    }

    #pdp-size-options button {
        min-height: 30px;
        padding: 5px 9px !important;
        border-radius: 7px !important;
        font-size: 10px !important;
        line-height: 1.15;
        white-space: nowrap;
    }

    .product-purchase-actions {
        padding-top: 0 !important;
        gap: 8px !important;
    }

    .product-purchase-actions > div {
        gap: 7px !important;
    }

    .product-purchase-actions > div > button,
    .product-purchase-actions > button {
        min-height: 42px;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        font-size: 10px !important;
        letter-spacing: .08em !important;
        line-height: 1.25;
    }

    .product-purchase-actions > div > button[aria-label="Save to Wishlist"] {
        min-width: 42px;
        padding: 9px !important;
    }

    .product-purchase-actions > div > div button,
    .product-purchase-actions > div > div span {
        padding: 10px !important;
    }

    .product-assurance-panel {
        padding: 12px !important;
        font-size: 10px !important;
        line-height: 1.45;
    }

    .product-related-section {
        margin-top: 26px !important;
    }

    .product-related-section > h2 {
        margin-bottom: 12px !important;
        font-size: 1.4rem !important;
    }

    .product-related-header {
        margin-bottom: 10px;
    }

    .product-related-track {
        gap: 10px;
        padding-bottom: 10px;
        scroll-snap-type: x mandatory;
    }

    .product-related-track > .product-card {
        flex-basis: calc((100% - 10px) / 2);
    }

    .product-related-track .product-card-content {
        padding: 9px !important;
    }

    .product-related-track .product-card-meta {
        gap: 4px;
        width: 100%;
        font-size: 8px !important;
        letter-spacing: .035em !important;
    }

    .product-related-track .product-card-meta > span:first-child {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .product-related-track .product-card-meta > span:last-child {
        flex: 0 0 auto;
        margin-left: auto;
        text-align: right;
        font-size: 7px !important;
        letter-spacing: .01em !important;
        line-height: 1.1;
        white-space: nowrap;
    }

    .product-related-track .product-card-title {
        font-size: 14px !important;
        line-height: 1.2 !important;
    }

    .product-related-track .product-card-pricing {
        gap: 3px;
        margin-top: 6px !important;
    }

    .product-related-track .product-card-current-price {
        font-size: 12px !important;
    }

    .product-related-track .product-card-actions {
        gap: 6px !important;
        padding: 2px 9px 9px !important;
    }

    .product-related-track .product-card-view,
    .product-related-track .product-card-add {
        min-height: 34px;
        min-width: 0;
        padding: 6px 5px !important;
        font-size: 9px !important;
        letter-spacing: .02em !important;
        line-height: 1.1 !important;
        white-space: nowrap;
    }

    .product-related-track .product-card-add {
        flex: 0 0 auto;
        padding-right: 8px !important;
        padding-left: 8px !important;
    }

    .product-related-controls {
        display: none;
    }
}

.mobile-Simulated-Frame .product-detail-page {
    width: 100%;
    padding: 12px !important;
}

.mobile-Simulated-Frame .product-detail-panel {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 10px !important;
}

.mobile-Simulated-Frame .product-detail-gallery {
    flex-direction: column-reverse;
    gap: 8px !important;
}

.mobile-Simulated-Frame .product-detail-thumbnails {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
}

.mobile-Simulated-Frame #pdp-title {
    font-size: 1.55rem !important;
}

.mobile-Simulated-Frame #pdp-price {
    font-size: 1.55rem !important;
}

.mobile-Simulated-Frame #pdp-size-options button {
    min-height: 30px;
    padding: 5px 9px !important;
    border-radius: 7px !important;
    font-size: 10px !important;
    line-height: 1.15;
    white-space: nowrap;
}

.mobile-Simulated-Frame .product-related-track {
    gap: 10px;
    overflow-x: auto;
}

.mobile-Simulated-Frame .product-related-track > .product-card {
    flex: 0 0 calc((100% - 10px) / 2);
}

.mobile-Simulated-Frame .product-related-track .product-card-actions {
    gap: 6px !important;
    padding: 2px 9px 9px !important;
}

.mobile-Simulated-Frame .product-related-track .product-card-view,
.mobile-Simulated-Frame .product-related-track .product-card-add {
    min-height: 34px;
    min-width: 0;
    padding: 6px 5px !important;
    font-size: 9px !important;
    letter-spacing: .02em !important;
    line-height: 1.1 !important;
    white-space: nowrap;
}

.mobile-Simulated-Frame .product-related-track .product-card-add {
    flex: 0 0 auto;
    padding-right: 8px !important;
    padding-left: 8px !important;
}

.mobile-Simulated-Frame .product-related-track .product-card-meta {
    width: 100%;
    gap: 4px;
    font-size: 8px !important;
    letter-spacing: .035em !important;
}

.mobile-Simulated-Frame .product-related-track .product-card-meta > span:first-child {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-Simulated-Frame .product-related-track .product-card-meta > span:last-child {
    flex: 0 0 auto;
    margin-left: auto;
    text-align: right;
    font-size: 7px !important;
    letter-spacing: .01em !important;
    line-height: 1.1;
    white-space: nowrap;
}
