.product-page { max-width: 1320px; margin: auto; padding: 28px 5vw 65px; }
.product-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 28px; color: var(--muted); font-size: 13px; }
.product-breadcrumb a:hover { text-decoration: underline; }
.single-product { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.product-gallery { min-width: 0; }
.product-main-image { position: relative; display: block; width: 100%; aspect-ratio: 1.1; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #f2efe9; cursor: zoom-in; }
.product-main-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.product-main-image img[hidden] { display: none; }
.product-main-image:disabled { cursor: default; }
.zoom-hint { position: absolute; bottom: 14px; right: 14px; background: rgba(255,253,248,.94); color: var(--ink); border-radius: 30px; padding: 8px 12px; font-size: 12px; }
.product-thumbnails { display: flex; gap: 12px; margin-top: 15px; }
.product-thumbnails button { width: 82px; height: 70px; border: 2px solid transparent; border-radius: 10px; padding: 3px; background: var(--sand); cursor: pointer; }
.product-thumbnails button[aria-pressed="true"] { border-color: var(--forest); }
.product-thumbnails img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.product-facts { padding-top: 18px; }
.product-facts h1 { font-size: clamp(32px, 4vw, 54px); line-height: 1.12; overflow-wrap: anywhere; }
.product-specification { margin: 28px 0; }
.product-specification > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.product-specification dt { color: var(--muted); }
.product-specification dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.product-comment dd { font-weight: 400; }
.product-order { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; }
.product-order label { grid-column: 1 / -1; }
.product-order .button { padding-inline: 14px; }
.product-footnote { font-size: 12px; color: var(--muted); margin: 14px 0 26px; }
.product-editor { margin-top: 45px; padding: 20px 24px; background: var(--sand); border-radius: 16px; }
.product-editor summary { cursor: pointer; font-weight: 700; }
.product-editor p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.editor-grid input { min-width: 0; }
.editor-comment { grid-column: 1 / -1; }
.remove-second { border: 1px solid var(--line); border-radius: 20px; background: white; padding: 9px 16px; cursor: pointer; color: var(--ink); }
.remove-second:disabled { opacity: .5; cursor: default; }
.image-lightbox { border: 0; padding: 0; max-width: 94vw; max-height: 92vh; border-radius: 14px; background: var(--paper); }
.image-lightbox::backdrop { background: rgba(0,0,0,.8); }
.image-lightbox img { display: block; max-width: 94vw; max-height: 90vh; object-fit: contain; }
.image-lightbox button { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: white; color: black; font-size: 28px; cursor: pointer; }
@media (max-width: 820px) { .single-product { grid-template-columns: 1fr; gap: 10px; } .product-page { padding-inline: 20px; } }
@media (max-width: 480px) { .editor-grid { grid-template-columns: 1fr; } .editor-comment { grid-column: auto; } .product-order { grid-template-columns: 90px minmax(0, 1fr); } .product-order .button { font-size: 13px; } }

.product-image-navigation { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; align-items: center; }
.product-arrow { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 32px; line-height: 1; cursor: pointer; }
.product-arrow:hover:not(:disabled) { background: var(--sand); }
.product-arrow:disabled { opacity: .3; cursor: default; }
.product-arrow:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; }
.product-position { text-align: center; color: var(--muted); font-size: 14px; margin: 12px 0; }
.product-order-status { color: #1749a0; font-size: 1.25rem; line-height: 1.45; font-weight: 700; min-height: 29px; margin: 12px 0; overflow-wrap: anywhere; }
.product-order-status:not(:empty) { padding: 14px 16px; background: #eaf2ff; border-left: 4px solid #2563eb; border-radius: 8px; }
