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

.product-breadcrumb {
    padding: 24px 0 0;
    margin-bottom: 20px;
    font-size: 14px;
}

.product-breadcrumb a {
    color: #333;
}

.product-overview {
    margin-bottom: 32px;
}

.product-main-figure {
    margin: 0;
}

.product-image-open {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: #f7f5f0;
    cursor: zoom-in;
}

.product-image-open:disabled {
    cursor: default;
}

.product-main-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 600px;
    min-height: 240px;
    object-fit: contain;
}

.product-image-hint {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 6px 10px;
    border-radius: 2px;
    color: #333;
    background: rgb(255 255 255 / 92%);
    font-size: 14px;
}

.product-image-caption {
    margin: 10px 0 0;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 3px 12px;
    margin-top: 16px;
}

.product-thumbnails button {
    flex: 0 0 80px;
    padding: 2px;
    border: 1px solid #dedbd4;
    background: #fff;
}

.product-thumbnails button[aria-current="true"] {
    border-color: var(--socal-orange);
    box-shadow: 0 0 0 1px var(--socal-orange);
}

.product-thumbnails img {
    width: 74px;
    height: 74px;
    object-fit: cover;
}

.product-summary h1 {
    margin-bottom: 12px;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.2;
    color: #333;
}

.product-detail-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
    color: var(--socal-navy);
}

.product-sale-label {
    padding: 4px 10px;
    color: #fff;
    background: var(--socal-orange);
    font-size: 14px;
}

.product-description,
.product-rich-text {
    overflow-wrap: anywhere;
    font-size: 16px;
    line-height: 1.45;
}

.product-description img,
.product-rich-text img {
    max-width: 100%;
    height: auto;
}

.product-description table,
.product-rich-text table {
    width: 100%;
}

.product-description h2,
.product-rich-text h2 {
    font-size: 22px;
}

.product-facts {
    margin: 24px 0 0;
    border-top: 1px solid #e5e5e5;
    font-size: 14px;
    line-height: 1.45;
}

.product-fact-row {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.product-fact-row dt {
    font-weight: 600;
}

.product-fact-row dd {
    margin: 0;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.product-fact-row a {
    color: var(--socal-navy);
}

.product-specification .accordion-button {
    padding: 24px;
    color: #333;
    background: #fff;
    font-size: 20px;
    font-weight: 600;
}

.product-specification .accordion-body {
    padding: 0 24px 24px;
    overflow-x: auto;
}

.product-rich-text td,
.product-rich-text th {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.product-related {
    margin: 40px 0;
}

.product-related h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.product-related-card {
    display: grid;
    gap: 6px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.product-related-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.product-related-card strong {
    font-size: 16px;
    font-weight: 600;
}

.product-inquiry {
    width: 100%;
    min-height: 640px;
    margin: 0 0 24px;
    border: 1px solid #dee2e6;
    background: #fff;
}

.product-inquiry h2 {
    padding: 24px;
    margin: 0;
    border-bottom: 1px solid #dee2e6;
    font-size: 20px;
    font-weight: 600;
}

.product-inquiry-body {
    padding: 24px;
}

.product-inquiry-body > p {
    margin-bottom: 24px;
    font-size: 16px;
}

.product-inquiry .form-label {
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
}

.product-inquiry .form-control {
    min-height: 42px;
    border-color: #dedbd4;
}

.product-inquiry textarea {
    resize: vertical;
}

.product-inquiry-submit .btn {
    min-height: 42px;
    padding: 8px 24px;
    color: #fff;
    background: var(--socal-orange);
    font-weight: 600;
}

.product-inquiry-submit p {
    margin: 10px 0 0;
    color: #666;
    font-size: 14px;
}

.product-lightbox .modal-title {
    font-size: 20px;
    font-weight: 600;
}

.product-lightbox figure {
    margin: 0;
    text-align: center;
}

.product-lightbox figure img {
    display: block;
    width: 100%;
    max-height: 68vh;
    object-fit: contain;
}

.product-lightbox figcaption {
    margin: 12px auto 0;
    max-width: 760px;
    color: #555;
    font-size: 16px;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.product-lightbox-controls:not([hidden]) {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    font-size: 14px;
}

@media (min-width: 992px) {
    .product-summary { padding-left: 40px; }
}

@media (max-width: 767.98px) {
    .product-summary h1 { font-size: 24px; }
    .product-fact-row { grid-template-columns: 120px minmax(0, 1fr); gap: 12px; }
    .product-inquiry-body { padding: 20px 16px; }
    .product-inquiry h2, .product-specification .accordion-button { padding: 20px 16px; }
    .product-specification .accordion-body { padding-inline: 16px; }
    .product-lightbox .modal-title { font-size: 18px; }
}
