/* Ürün detay — Trendyol tarzı (pd-) */
.pd-page {
    padding: 1rem 0 2.5rem;
    margin-top: 56px;
    background: #f5f5f5;
}

.pd-page .container {
    max-width: 1180px;
}

.pd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.pd-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: none;
    background: #fff;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: box-shadow 0.2s, color 0.2s;
}

.pd-back:hover {
    color: var(--primary-color, #8b0000);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pd-back svg {
    width: 18px;
    height: 18px;
}

.pd-breadcrumb-sep {
    color: #ccc;
}

.pd-breadcrumb-cat {
    font-size: 0.875rem;
    color: #666;
    text-decoration: none;
}

.pd-breadcrumb-cat:hover {
    color: var(--primary-color, #8b0000);
}

.pd-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 1.5rem;
    align-items: start;
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
}

.pd-gallery-inner {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.pd-thumbs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
    width: 72px;
}

.pd-thumb {
    width: 72px;
    height: 72px;
    padding: 2px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s;
}

.pd-thumb.is-active,
.pd-thumb:hover {
    border-color: var(--primary-color, #8b0000);
}

.pd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.pd-main-wrap {
    flex: 1;
    min-width: 0;
    position: relative;
    background: #fafafa;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    user-select: none;
}

.pd-main-image-btn {
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: zoom-in;
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    touch-action: pan-y;
}

.pd-main-image-stage {
    display: block;
    width: 100%;
    height: 100%;
    transition: transform 0.25s ease;
}

.pd-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    opacity: 0;
    transition: background 0.2s, color 0.2s, opacity 0.2s, transform 0.15s;
}

.pd-main-wrap:hover .pd-gallery-arrow,
.pd-gallery-arrow:focus-visible {
    opacity: 1;
}

@media (hover: none) {
    .pd-gallery-arrow { opacity: 1; }
}

.pd-gallery-arrow:hover {
    background: var(--primary-color, #8b0000);
    color: #fff;
}

.pd-gallery-arrow:active { transform: translateY(-50%) scale(0.94); }

.pd-gallery-arrow--prev { left: 10px; }
.pd-gallery-arrow--next { right: 10px; }

.pd-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease, opacity 0.25s ease;
    transform-origin: center center;
    -webkit-user-drag: none;
}

@media (hover: hover) and (pointer: fine) {
    .pd-main-image-btn.is-hover-zoom .pd-main-image {
        transform: scale(1.9);
        cursor: zoom-in;
    }
}

.pd-zoom-hint {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.25s, transform 0.25s;
    z-index: 2;
}

.pd-main-image-btn:hover .pd-zoom-hint,
.pd-main-image-btn:focus-visible .pd-zoom-hint {
    opacity: 1;
    transform: translateY(0);
}

.pd-main-image-btn.is-hover-zoom .pd-zoom-hint { opacity: 0; }

@media (hover: none) {
    .pd-zoom-hint { display: none; }
}

.pd-main-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    display: none;
    justify-content: center;
    gap: 6px;
    z-index: 2;
    pointer-events: auto;
}

.pd-main-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
    transition: width 0.2s, background 0.2s;
    cursor: pointer;
}

.pd-main-dot.is-active {
    background: var(--primary-color, #8b0000);
    width: 22px;
    border-radius: 4px;
}

.pd-main-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-main-placeholder img {
    max-width: 200px;
    opacity: 0.4;
}

.pd-badge-discount {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e53935;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.pd-fav-float {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
}

.pd-fav-float.is-active,
.pd-fav-float:hover {
    color: #e53935;
}

.pd-fav-float.is-active svg {
    fill: #e53935;
    stroke: #e53935;
}

.pd-buy {
    padding: 0 0.25rem;
}

.pd-brand {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color, #8b0000);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pd-brand:hover {
    text-decoration: underline;
}

.pd-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.35;
    color: #1a1a1a;
    margin: 0.5rem 0 0.75rem;
    letter-spacing: -0.02em;
}

.pd-rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.pd-stars {
    display: flex;
    gap: 1px;
}

.pd-star {
    color: #ddd;
    font-size: 1rem;
    line-height: 1;
}

.pd-star.is-filled,
.pd-star.is-half {
    color: #ffc107;
}

.pd-rating-val {
    font-weight: 700;
    font-size: 0.9rem;
}

.pd-review-link {
    font-size: 0.875rem;
    color: #666;
    text-decoration: none;
}

.pd-review-link:hover {
    color: var(--primary-color, #8b0000);
    text-decoration: underline;
}

.pd-price-block {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.pd-price-old {
    font-size: 0.95rem;
    color: #999;
    text-decoration: line-through;
    display: block;
    margin-bottom: 0.15rem;
}

.pd-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color, #8b0000);
    line-height: 1.1;
}

.pd-price small {
    font-size: 1rem;
    font-weight: 600;
}

.pd-price-note,
.pd-price-alt {
    display: block;
    font-size: 0.875rem;
    color: #888;
    margin-top: 0.25rem;
}

.pd-perks {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.pd-perks li {
    font-size: 0.875rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pd-perks i {
    color: #22c55e;
    font-size: 1rem;
}

.pd-variants {
    margin-bottom: 1.25rem;
}

.pd-variants-label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.pd-variants-label span {
    font-weight: 400;
    color: #666;
}

.pd-swatch-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.pd-swatch {
    position: relative;
    width: 56px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    padding: 2px;
    text-decoration: none;
    transition: border-color 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
}

.pd-swatch--labeled {
    width: 72px;
    height: auto;
    padding-bottom: 4px;
}

.pd-swatch.is-active {
    border-color: var(--primary-color, #8b0000);
    box-shadow: 0 0 0 1px var(--primary-color, #8b0000);
}

.pd-swatch-media {
    position: relative;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.pd-swatch--labeled .pd-swatch-media {
    width: 64px;
    height: 64px;
}

.pd-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.pd-swatch-label {
    display: block;
    margin-top: 4px;
    padding: 0 2px;
    font-size: 0.875rem;
    line-height: 1.2;
    font-weight: 600;
    color: #444;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pd-swatch.is-active .pd-swatch-label {
    color: var(--primary-color, #8b0000);
}

.pd-swatch-dot {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.pd-lightbox[hidden] {
    display: none !important;
}

body.pd-lightbox-open {
    overflow: hidden;
    touch-action: none;
}

.pd-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    max-height: 100dvh;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    overscroll-behavior: contain;
    margin: 0;
    padding: 0;
}

.pd-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.pd-lightbox-header {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.85rem;
    padding-top: max(0.65rem, env(safe-area-inset-top));
    color: #fff;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
    pointer-events: none;
}

.pd-lightbox-header > * { pointer-events: auto; }

.pd-lightbox-counter {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: rgba(0, 0, 0, 0.45);
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
}

.pd-lightbox-toolbar {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 999px;
    padding: 0.25rem;
}

.pd-lb-tool {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s, transform 0.15s;
}

.pd-lb-tool:hover { background: rgba(255, 255, 255, 0.16); }
.pd-lb-tool:active { transform: scale(0.92); }
.pd-lb-tool--close:hover { background: rgba(229, 57, 53, 0.85); }

.pd-lb-zoom-level {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    min-width: 44px;
    text-align: center;
    user-select: none;
}

.pd-lightbox-stage {
    position: relative;
    z-index: 1;
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
}

.pd-lightbox-loader {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.18);
    border-top-color: #fff;
    animation: pd-lb-spin 0.9s linear infinite;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

@keyframes pd-lb-spin {
    to { transform: rotate(360deg); }
}

.pd-lightbox-image {
    max-width: min(90vw, 1200px);
    max-height: min(72dvh, calc(100dvh - 11rem));
    width: auto;
    height: auto;
    object-fit: contain;
    transform: translate3d(0, 0, 0) scale(1);
    transition: transform 0.25s ease, opacity 0.2s ease;
    cursor: zoom-in;
    will-change: transform;
    user-select: none;
    -webkit-user-drag: none;
}

.pd-lightbox-image.is-zoomed {
    cursor: grab;
}

.pd-lightbox-stage.is-zoomed:active .pd-lightbox-image {
    cursor: grabbing;
}

.pd-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #1a1a1a;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.35rem;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}

.pd-lightbox-nav:hover {
    background: var(--primary-color, #8b0000);
    color: #fff;
}

.pd-lightbox-nav:active { transform: translateY(-50%) scale(0.92); }

.pd-lightbox-nav--prev { left: 1.25rem; }
.pd-lightbox-nav--next { right: 1.25rem; }

.pd-lightbox-hint {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%) translateY(8px);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    z-index: 5;
    white-space: nowrap;
    max-width: calc(100% - 2rem);
}

.pd-lightbox-hint.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.pd-lightbox-hint-mobile { display: none; }
@media (hover: none) {
    .pd-lightbox-hint-desktop { display: none; }
    .pd-lightbox-hint-mobile { display: inline; }
}

.pd-lightbox-thumbs {
    position: relative;
    z-index: 3;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.65rem 1rem;
    padding-bottom: max(0.65rem, env(safe-area-inset-bottom));
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
    justify-content: center;
}

.pd-lightbox-thumbs::-webkit-scrollbar { height: 6px; }
.pd-lightbox-thumbs::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.3); border-radius: 3px; }

.pd-lightbox-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 0;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.15s, opacity 0.2s;
    opacity: 0.65;
}

.pd-lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pd-lightbox-thumb:hover { opacity: 0.9; transform: translateY(-2px); }
.pd-lightbox-thumb.is-active {
    border-color: #fff;
    opacity: 1;
}

@media (max-width: 768px) {
    .pd-lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .pd-lightbox-nav--prev { left: 0.5rem; }
    .pd-lightbox-nav--next { right: 0.5rem; }

    .pd-lightbox-thumbs {
        justify-content: flex-start;
        padding: 0.5rem 0.75rem;
        padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
    }
    .pd-lightbox-thumb {
        width: 48px;
        height: 48px;
    }

    .pd-lb-zoom-level { display: none; }
    .pd-lightbox-image {
        max-width: 100vw;
        max-height: min(68dvh, calc(100dvh - 10rem));
    }
}

@media (max-width: 480px) {
    .pd-lightbox-header {
        padding: 0.5rem;
    }
    .pd-lightbox-counter { font-size: 0.875rem; }
    .pd-lb-tool { width: 34px; height: 34px; }
}

.pd-field {
    margin-bottom: 1rem;
}

.pd-field-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 0.35rem;
}

.pd-select,
.pd-input {
    border-radius: 8px;
    border-color: #ddd;
    font-size: 0.95rem;
}

.pd-qty-row {
    margin-bottom: 1rem;
}

.pd-qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.pd-qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #f5f5f5;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    color: #333;
}

.pd-qty-btn:hover {
    background: #eee;
}

.pd-qty-input {
    width: 52px;
    height: 40px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-weight: 600;
    -moz-appearance: textfield;
}

.pd-qty-input::-webkit-outer-spin-button,
.pd-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pd-actions {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.pd-btn-cart {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0 1.25rem;
    border: none;
    border-radius: 10px;
    background: var(--primary-color, #8b0000);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.pd-btn-cart:hover {
    background: #6b0000;
    color: #fff;
}

.pd-btn-fav {
    width: 48px;
    min-width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    color: #666;
    font-size: 1.25rem;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}

.pd-btn-fav.is-active,
.pd-btn-fav:hover {
    border-color: #e53935;
    color: #e53935;
}

.pd-marketplace {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.pd-marketplace-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #888;
    margin-bottom: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pd-marketplace-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.pd-marketplace .pd-channel-btn {
    flex: 1 1 auto;
    min-width: 90px;
    padding: 0.45rem 0.6rem !important;
    flex-direction: column;
    gap: 0.15rem;
}

.pd-tabs-wrap {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 2rem;
}

.pd-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pd-tab {
    flex: 1;
    min-width: max-content;
    padding: 1rem 1.25rem;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    white-space: nowrap;
}

.pd-tab.is-active {
    color: var(--primary-color, #8b0000);
    border-bottom-color: var(--primary-color, #8b0000);
}

.pd-tab-badge {
    display: inline-block;
    background: #eee;
    color: #555;
    font-size: 0.875rem;
    padding: 0.1rem 0.4rem;
    border-radius: 10px;
    margin-left: 0.25rem;
}

.pd-tab.is-active .pd-tab-badge {
    background: rgba(139, 0, 0, 0.12);
    color: var(--primary-color, #8b0000);
}

.pd-tab-panel {
    display: none;
    padding: 1.25rem 1.5rem;
}

.pd-tab-panel.is-active {
    display: block;
}

.pd-desc-content {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #444;
}

.pd-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pd-review-card {
    padding: 1rem;
    background: #fafafa;
    border-radius: 8px;
    border: 1px solid #eee;
}

.pd-review-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.pd-review-stars {
    color: #ffc107;
    font-size: 0.9rem;
}

.pd-review-date {
    font-size: 0.875rem;
    color: #999;
}

.pd-anchor {
    display: block;
    position: relative;
    top: -80px;
    visibility: hidden;
}

/* Mobil sabit sepet çubuğu */
.pd-sticky-bar {
    display: none;
}

@media (max-width: 991px) {
    .pd-layout {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .pd-gallery-inner {
        flex-direction: column-reverse;
    }

    .pd-thumbs {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 0.25rem;
        -webkit-overflow-scrolling: touch;
    }

    .pd-thumb {
        flex-shrink: 0;
        width: 60px;
        height: 60px;
    }

    .pd-main-wrap {
        aspect-ratio: 4 / 5;
        border-radius: 10px;
    }

    .pd-main-dots {
        display: flex;
    }

    .pd-title {
        font-size: 1.15rem;
    }

    .pd-price {
        font-size: 1.5rem;
    }

    body.pd-has-sticky {
        padding-bottom: 72px;
    }

    .pd-sticky-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1040;
        background: #fff;
        border-top: 1px solid #eee;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
        padding: 0.65rem 1rem;
        padding-bottom: max(0.65rem, env(safe-area-inset-bottom));
    }

    .pd-sticky-inner {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        max-width: 1180px;
        margin: 0 auto;
    }

    .pd-sticky-price {
        flex: 1;
        min-width: 0;
    }

    .pd-sticky-old {
        font-size: 0.875rem;
        color: #999;
        text-decoration: line-through;
        display: block;
    }

    .pd-sticky-current {
        font-size: 1.15rem;
        font-weight: 800;
        color: var(--primary-color, #8b0000);
    }

    .pd-sticky-cart {
        flex-shrink: 0;
        min-height: 44px;
        padding: 0 1.25rem;
        border: none;
        border-radius: 10px;
        background: var(--primary-color, #8b0000);
        color: #fff;
        font-weight: 700;
        font-size: 0.95rem;
        cursor: pointer;
    }
}

@media (min-width: 992px) {
    .pd-buy {
        position: sticky;
        top: 80px;
    }
}

.pd-related-section {
    background: #fff;
    margin-top: 0;
}

.pd-related-section .section-header-modern {
    margin-bottom: 1.25rem;
}
