.product-mobile-workspace { width: 100%; min-width: 0; }
.product-mobile-workspace .breadcrumb { max-width: 1280px; width: 100%; margin: 0 auto; padding: 1rem; height: auto; box-sizing: border-box; }
.product-mobile-workspace .breadcrumb-item { display: flex; flex-wrap: wrap; gap: .35rem .5rem; padding: 0; min-width: 0; }
.product-mobile-workspace .breadcrumb-text, .product-mobile-workspace .breadcrumb-separator { font: .75rem/1.6 Raleway, sans-serif; overflow-wrap: anywhere; }
.product-mobile-workspace .product-detail-container { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; width: 100%; max-width: 1280px; height: auto; margin: 0 auto 2rem; padding: .5rem 1rem 1.5rem; box-sizing: border-box; align-items: start; }
.product-mobile-workspace .product-detail-column { display: flex; flex-direction: column; gap: 1rem; width: 100%; min-width: 0; }
.product-mobile-workspace .product-detail-image { width: 100%; max-width: 280px; margin: 0 auto; }
.product-mobile-workspace .product-detail-image:hover { transform: none; }
.product-mobile-workspace .product-detail-image > img { width: 100%; max-height: 280px; aspect-ratio: 1; object-fit: contain; }
.product-mobile-workspace .product-detail-info .title { margin: 0 0 .65rem; text-align: left; color: #0066cc; font: 400 clamp(1.5rem, 3vw, 2rem)/1.4 Anton, sans-serif; overflow-wrap: anywhere; }
.product-mobile-workspace .price-container { margin: 0 0 .85rem; }
.product-mobile-workspace .product-detail-info .price { font: 700 1.4rem/1.5 Raleway, sans-serif; color: #24364b; }
.product-mobile-workspace .product-detail-info .description { display: block; color: #596575; font: .875rem/1.8 Raleway, sans-serif; overflow-wrap: anywhere; }
.product-mobile-workspace .product-detail-divider { width: 100%; height: 0; margin: 0; border: 0; border-top: 1px solid #e1e7ef; }
.product-mobile-workspace .product-detail-condition { gap: .65rem; }
.product-mobile-workspace .product-detail-condition > span, .product-mobile-workspace .product-detail-span { color: #344054; font: 600 .85rem/1.5 Raleway, sans-serif; }
.product-mobile-workspace .product-detail-condition-options { display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; width: 100%; }
.product-mobile-workspace .product-detail-condition-option { width: 100%; min-height: 48px; margin: 0; padding: .75rem 1rem; border: 1px solid #d4dfeb; border-radius: 8px; background: #f8fafc; text-align: left; }
.product-mobile-workspace .product-detail-condition-option span { color: #42536a; font: .8rem/1.6 Raleway, sans-serif; }
.product-mobile-workspace .product-detail-condition-option.active { border-color: #0066cc; background: #0066cc; }
.product-mobile-workspace .product-detail-condition-option.active span { color: white; }
.product-mobile-workspace .product-detail-condition-option:disabled { opacity: .5; }
.product-mobile-workspace .product-detail-expiration-container { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; width: 100%; margin: 0; }
.product-mobile-workspace .product-detail-expiration, .product-mobile-workspace .product-detail-expiration-options { width: 100%; min-width: 0; display: grid; gap: .5rem; margin: 0; }
.product-mobile-workspace .custom-radio { display: flex; align-items: center; gap: .65rem; min-height: 44px; margin: 0; }
.product-mobile-workspace .custom-radio input[type="radio"] { position: static; appearance: auto; opacity: 1; width: 20px; height: 20px; margin: 0; flex: 0 0 20px; accent-color: #0066cc; }
.product-mobile-workspace .custom-radio label { display: flex; align-items: center; min-height: 44px; margin: 0; padding: 0; color: #42536a; font: .875rem/1.5 Raleway, sans-serif; }
.product-mobile-workspace .custom-radio label::before, .product-mobile-workspace .custom-radio label::after { display: none; }
.product-mobile-workspace .product-detail-expiration-table { width: 100%; min-width: 0; margin: 0; overflow-x: auto; border: 1px solid #e1e7ef; border-radius: 8px; }
.product-mobile-workspace .product-detail-expiration-table table { width: 100%; margin: 0; border-collapse: collapse; }
.product-mobile-workspace .product-detail-expiration-table td { padding: .65rem .75rem; color: #42536a; font: .8rem/1.5 Raleway, sans-serif; border: 0; border-bottom: 1px solid #e1e7ef; overflow-wrap: anywhere; }
.product-mobile-workspace .product-detail-expiration-table tr:last-child td { border-bottom: 0; }
.product-mobile-workspace .product-detail-expiration-table .expiration-option { font-weight: 600; }
.product-mobile-workspace .form-check { display: flex; align-items: center; gap: .6rem; padding: 0; margin: 0; font: .85rem/1.6 Raleway, sans-serif; }
.product-mobile-workspace .form-check-input { float: none; margin: 0; width: 20px; height: 20px; flex-shrink: 0; }
.product-mobile-workspace .product-detail-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: .85rem; width: 100%; padding: 0; }
.product-mobile-workspace .product-detail-quantity { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: 0; border-radius: 0; background: transparent; }
.product-mobile-workspace .quantity-label { color: #344054; font: 600 .85rem/1.5 Raleway, sans-serif; }
.product-mobile-workspace #quantity { width: 96px; min-height: 44px; margin: 0; padding: .6rem .75rem; border: 1px solid #cad7e6; border-radius: 8px; background-color: white; color: #24364b; font-size: 1rem; }
.product-mobile-workspace .product-detail-add-to-cart { width: 100%; min-width: 0; }
.product-mobile-workspace #addToCartForm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; width: 100%; }
.product-mobile-workspace #addToCartForm > button { display: inline-flex; align-items: center; justify-content: center; min-width: 0; width: 100%; min-height: 48px; height: auto; margin: 0; padding: .75rem .65rem; border-radius: 8px; font: 600 .8rem/1.5 Raleway, sans-serif; }
.product-mobile-workspace #addToCartButton { grid-column: 1 / -1; }
.product-mobile-workspace #addAnotherItemButton { border: 1px solid #cad7e6; background: #f4f8fe; color: #0054aa; }
.product-mobile-workspace .error-message, .product-mobile-workspace .expired-message { font: .8rem/1.6 Raleway, sans-serif; }
.product-mobile-workspace button:focus:not(:focus-visible), .product-mobile-workspace select:focus:not(:focus-visible) { outline: none; }
.product-mobile-workspace button:focus-visible, .product-mobile-workspace select:focus-visible, .product-mobile-workspace input:focus-visible { outline: 2px solid #667085; outline-offset: 3px; }
@media (min-width: 600px) {
    .product-mobile-workspace .product-detail-container { padding-inline: 1.5rem; }
    .product-mobile-workspace .product-detail-image { max-width: 360px; }
    .product-mobile-workspace .product-detail-image > img { max-height: 360px; }
    .product-mobile-workspace .product-detail-expiration-container { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .product-mobile-workspace #addToCartForm { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .product-mobile-workspace #addToCartButton { grid-column: auto; }
}
@media (min-width: 1000px) {
    .product-mobile-workspace .product-detail-container { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 3rem; padding-top: 1.5rem; }
    .product-mobile-workspace .product-detail-image { max-width: 438px; }
    .product-mobile-workspace .product-detail-image > img { max-height: 438px; }
    .product-mobile-workspace .product-detail-condition-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.product-mobile-workspace .product-detail-info { text-align: left; }
.product-mobile-workspace .price-container { justify-content: flex-start; }
.product-mobile-workspace .product-detail-info .description { text-align: left; }
.product-mobile-workspace .custom-radio { justify-content: flex-start; padding: 0; }
.product-mobile-workspace .product-detail-condition-option { appearance: none; }
.product-mobile-workspace .product-detail-condition-option.active { background-image: none; background-color: #0066cc; }
.product-mobile-workspace #addToCartButton { appearance: none; background: #0066cc; color: white; }
.product-mobile-workspace #quickCheckoutButton { appearance: none; background: #4da6ff; color: white; }
.product-mobile-workspace #addToCartButton.is-added { background: #23653d; }
.product-mobile-workspace .product-detail-actions .product-detail-quantity { margin: 0; }

.product-mobile-workspace .product-detail-condition-options { align-items: stretch; }
.product-mobile-workspace .product-detail-condition-option { display: flex; align-items: center; justify-content: flex-start; height: 100%; }
.product-mobile-workspace .product-detail-condition-option span { width: 100%; text-align: left; text-wrap: pretty; }

/* Native radio controls provide their own checked indicator. */
.product-mobile-workspace .custom-radio input[type="radio"]::before,
.product-mobile-workspace .custom-radio input[type="radio"]::after { content: none; display: none; }

.product-mobile-workspace button:focus-visible,
.product-mobile-workspace select:focus-visible,
.product-mobile-workspace input:focus-visible { outline: none; box-shadow: none; }
.product-mobile-workspace .product-detail-condition-option:focus-visible { background: #e6eff9; }
.product-mobile-workspace .product-detail-condition-option.active:focus-visible { background: #0054aa; }
.product-mobile-workspace #quantity:focus { outline: none; box-shadow: none; background-color: #edf3fa; }
.product-mobile-workspace #addToCartButton:focus-visible { background: #0054aa; }
.product-mobile-workspace #quickCheckoutButton:focus-visible { background: #338fe8; }
.product-mobile-workspace #addAnotherItemButton:focus-visible { background: #e0edfc; }
.product-mobile-workspace .custom-radio:focus-within { background: transparent; }

.product-mobile-workspace .product-detail-expiration,
.product-mobile-workspace .product-detail-expiration-options { grid-template-columns: minmax(0, 1fr); justify-content: stretch; justify-items: stretch; align-items: start; padding: 0; margin: 0; text-align: left; }
.product-mobile-workspace .custom-radio { width: 100%; justify-self: stretch; justify-content: flex-start; padding: 0; margin: 0; }

@media (max-width: 599px) {
    .product-mobile-workspace .product-detail-expiration-container { grid-template-columns: minmax(90px, .8fr) minmax(0, 1.6fr); gap: .65rem; align-items: start; }
    .product-mobile-workspace .product-detail-expiration-options { display: grid; grid-template-columns: minmax(0, 1fr); gap: .25rem; }
    .product-mobile-workspace .custom-radio { gap: .4rem; }
    .product-mobile-workspace .custom-radio label { font-size: .75rem; }
    .product-mobile-workspace .product-detail-expiration-table td { padding: .65rem .4rem; font-size: .7rem; }
}

@media (max-width: 599px) { .product-mobile-workspace .price-container { justify-content: center; text-align: center; } }

.product-mobile-workspace .product-detail-image { aspect-ratio: 1; }
.product-detail-photo-fallback { position: absolute; inset: 3px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .85rem; border-radius: 7px; background: #f8fafc; color: #7791ad; }
.product-detail-photo-fallback span { color: #617185; font: 500 .875rem/1.5 Raleway, sans-serif; }
.product-mobile-workspace .product-detail-image > img { position: relative; z-index: 1; }
.product-mobile-workspace .product-detail-image > img[hidden] { display: none; }

.product-mobile-workspace .product-detail-condition-option { min-width: 0; max-width: 100%; white-space: normal; }
.product-mobile-workspace .product-detail-condition-option span { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.product-mobile-workspace .product-detail-expiration-container > * { min-width: 0; }

/* Override the legacy image-wrapper rule that makes nested divs relative. */
.product-mobile-workspace .product-detail-image > .product-detail-photo-fallback { position: absolute; inset: 3px; width: auto; height: auto; margin: 0; padding: 1rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .85rem; border-radius: 7px; background: #f8fafc; }

.product-mobile-workspace .product-detail-image > img { position: absolute; inset: 3px; display: block; width: calc(100% - 6px); height: calc(100% - 6px); max-width: none; max-height: none; aspect-ratio: auto; margin: 0; padding: 0; object-fit: contain; background: #fff; border-radius: 7px; }
.product-mobile-workspace .product-detail-image > img[hidden] { display: none; }
