/* ===== PRODUCT PAGE ===== */
.product-page {
    padding: 16px 0 48px;
}
@media (min-width: 768px) {
    .product-page { padding: 24px 0 64px; }
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.05em;
    color: #999;
    margin-bottom: 16px;
}
@media (min-width: 768px) {
    .breadcrumb { margin-bottom: 24px; }
}
.breadcrumb a:hover { color: var(--color-gold); }
.breadcrumb__current { color: var(--color-dark); }

/* Product Layout */
.product-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
@media (min-width: 768px) {
    .product-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: start;
    }
}
@media (min-width: 1024px) {
    .product-layout { gap: 56px; }
}

/* ===== PRODUCT INFO ===== */
.product-info {
    padding: 0;
}
.product-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 300;
    color: var(--color-dark);
    margin-bottom: 8px;
    line-height: 1.2;
}
@media (min-width: 768px) {
    .product-title { font-size: 28px; margin-bottom: 12px; }
}
.product-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.product-price__current {
    font-size: 18px;
    color: var(--color-dark);
}
.product-price__current--sale { color: #c41230; }
.product-price__old {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}
.product-sku {
    font-size: 11px;
    color: #999;
    margin-bottom: 20px;
}

/* Options */
.product-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}
.option-group { margin-bottom: 0; }
.option-label {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #777;
    margin-bottom: 8px;
}
.option-selected {
    color: var(--color-dark);
    font-weight: 500;
}

/* Size Buttons */
.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.size-btn {
    min-width: 40px;
    height: 38px;
    padding: 0 12px;
    font-size: 12px;
    color: #777;
    background: none;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-main);
}
.size-btn:hover {
    border-color: var(--color-dark);
    color: var(--color-dark);
}
.size-btn.active {
    background: var(--color-dark);
    border-color: var(--color-dark);
    color: #fff;
}

/* Color Buttons */
.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.color-btn {
    width: 32px;
    height: 32px;
    padding: 2px;
    border: 2px solid transparent;
    background: none;
    cursor: pointer;
    transition: border-color 0.2s;
}
.color-btn:hover,
.color-btn.active { border-color: var(--color-dark); }
.color-btn__inner {
    display: block;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.1);
}

/* Quantity */
.quantity-wrap { margin-bottom: 16px; }
.quantity-control {
    display: inline-flex;
    border: 1px solid #ddd;
}
.quantity-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #777;
    background: none;
    border: none;
    cursor: pointer;
}
.quantity-btn:hover { color: var(--color-dark); background: #f5f5f5; }
.quantity-input {
    width: 44px;
    height: 38px;
    text-align: center;
    font-size: 13px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    outline: none;
    font-family: var(--font-main);
}

/* Actions */
.product-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}
.product-actions .btn-primary { flex: 2; }
.product-actions .btn-secondary { flex: 1; }

.btn-primary {
    height: 46px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: var(--color-dark);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    font-family: var(--font-main);
}
.btn-primary:hover { background: #333; }
.btn-primary:disabled { background: #ccc; cursor: not-allowed; }

.btn-secondary {
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-dark);
    background: none;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-main);
}
.btn-secondary:hover { border-color: var(--color-dark); }
.btn-secondary svg { width: 16px; height: 16px; }
.btn-secondary.active svg { fill: var(--color-gold); color: var(--color-gold); }

/* Stylist Banner */
.stylist-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #f8f6f3;
    margin-bottom: 12px;
}
.stylist-banner svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--color-gold); }
.stylist-banner span { font-size: 11px; color: var(--color-dark); }

/* One Click */
.btn-oneclick {
    width: 100%;
    height: 38px;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--color-gold);
    background: none;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    cursor: pointer;
    font-family: var(--font-main);
    margin-bottom: 20px;
}
.btn-oneclick:hover { color: var(--color-dark); }

/* Description */
.product-description {
    font-size: 12px;
    line-height: 1.8;
    color: #777;
    margin-bottom: 20px;
}

/* Details Accordion */
.product-details {
    border-top: 1px solid rgba(0,0,0,0.08);
}
.detail-item {
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}
.detail-header:hover { color: var(--color-gold); }
.detail-title {
    font-size: 12px;
    letter-spacing: 0.03em;
    font-family: var(--font-main);
}
.detail-icon {
    width: 12px;
    height: 12px;
    transition: transform 0.3s;
}
.detail-item.open .detail-icon { transform: rotate(45deg); }
.detail-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}
.detail-item.open .detail-content { max-height: 500px; }
.detail-inner { padding-bottom: 16px; }
.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 11px;
}
.detail-row__label { color: #777; }
.detail-row__value { color: var(--color-dark); }

/* Related Products */
.related-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(0,0,0,0.08);
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.section-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 300;
}
@media (min-width: 768px) {
    .section-title { font-size: 24px; }
}
.swiper-nav { display: none; gap: 8px; }
@media (min-width: 768px) {
    .swiper-nav { display: flex; }
}
.swiper-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
}
.swiper-btn svg { width: 14px; height: 14px; }
.swiper-btn:hover:not(:disabled) { background: var(--color-dark); border-color: var(--color-dark); color: #fff; }
.swiper-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.related-swiper { overflow: hidden; }
.related-track {
    display: flex;
    gap: 12px;
    transition: transform 0.4s;
}
@media (min-width: 768px) {
    .related-track { gap: 16px; }
}
.related-card {
    flex: 0 0 calc(50% - 6px);
    min-width: calc(50% - 6px);
}
@media (min-width: 768px) {
    .related-card { flex: 0 0 calc(25% - 12px); min-width: calc(25% - 12px); }
}
.related-image {
    aspect-ratio: 3/4;
    background: #f5f5f5;
    overflow: hidden;
    margin-bottom: 8px;
}
.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.related-card:hover .related-image img { transform: scale(1.03); }
.related-name { font-size: 11px; color: var(--color-dark); margin-bottom: 4px; }
.related-price { font-size: 11px; color: #777; }

/* Fancybox */
.fancybox__container { --fancybox-bg: rgba(0,0,0,0.95); }
.fancybox__slide { padding: 24px; }
@media (min-width: 768px) { .fancybox__slide { padding: 48px; } }
.fancybox__nav .f-button { background: rgba(255,255,255,0.9) !important; color: #1a1a1a !important; }
.fancybox__thumbs { --f-thumb-width: 48px; --f-thumb-height: 60px; }

/* Size Table */
.size-table-wrap {
    overflow-x: auto;
    margin-bottom: 12px;
}
.size-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}
.size-table th,
.size-table td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    font-weight: normal;
}
.size-table th {
    font-size: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #999;
    background: #fafafa;
}
.size-table td {
    color: #555;
}
.size-table tbody tr:hover {
    background: #fafafa;
}
.size-note {
    font-size: 10px;
    color: #999;
    line-height: 1.5;
    margin-top: 8px;
}

/* Delivery Text */
.delivery-text {
    font-size: 11px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 6px;
}
.delivery-text:last-child {
    margin-bottom: 0;
}

/* Size Table */
.size-table-wrap {
    overflow-x: auto;
    margin-bottom: 12px;
}
.size-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}
.size-table th,
.size-table td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    font-weight: normal;
}
.size-table th {
    font-size: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #999;
    background: #fafafa;
}
.size-table td {
    color: #555;
}
.size-table tbody tr:hover {
    background: #fafafa;
}
.size-note {
    font-size: 10px;
    color: #999;
    line-height: 1.5;
    margin-top: 8px;
}

/* Delivery Text */
.delivery-text {
    font-size: 11px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 6px;
}
.delivery-text:last-child {
    margin-bottom: 0;
}
