/**
 * PDP Styles - Warm Dark Atelier
 * Production v2 - Polished
 * 
 * @package PiercingComTr
 * @version 2.0.0
 */

/* ========================================
   PDP LAYOUT - Mobile First
   ======================================== */

.wa-pdp-product {
    padding: 56px 16px 48px;
    background: var(--wa-bg-primary, #0f0d0c);
    max-width: 1200px;
    margin: 0 auto;
}

.wa-pdp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 1024px) {
    .wa-pdp-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 64px;
        padding-top: 40px;
    }
    
    .wa-pdp-product {
        padding: 72px 48px 64px;
    }
}

/* ========================================
   GALLERY - Polished & Clean
   ======================================== */

.wa-pdp-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wa-pdp-gallery-main {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background: var(--wa-surface-card, #141210);
    border: 1px solid var(--wa-border-subtle, #2a2826);
}

.wa-pdp-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.wa-pdp-gallery-trigger {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

.wa-pdp-gallery-zoom {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(15, 13, 12, 0.9);
    border: 1px solid var(--wa-border-subtle, #2a2826);
    color: var(--wa-text-body, #d8d4cc);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.wa-pdp-gallery-zoom:hover {
    border-color: var(--wa-gold, #c4a574);
    color: var(--wa-gold, #c4a574);
    transform: scale(1.05);
}

.wa-pdp-gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 9;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(196, 165, 116, 0.42);
    border-radius: 50%;
    color: #f2ede4;
    background: rgba(12, 10, 9, 0.76);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(7px);
    transform: translateY(-50%);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

body.single-product button.wa-pdp-gallery-nav,
body.single-product button.wa-pdp-lightbox-close,
body.single-product button.wa-pdp-lightbox-nav {
    color: #f4efe7 !important;
    border-color: rgba(196, 165, 116, 0.42) !important;
    background: rgba(12, 10, 9, 0.82) !important;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22) !important;
}

.wa-pdp-gallery-prev {
    left: 16px;
}

.wa-pdp-gallery-next {
    right: 16px;
}

.wa-pdp-gallery-nav:hover,
.wa-pdp-gallery-nav:focus-visible {
    color: #15110d;
    border-color: var(--wa-gold, #c4a574);
    background: var(--wa-gold, #c4a574);
    transform: translateY(-50%) scale(1.04);
}

body.single-product button.wa-pdp-gallery-nav:hover,
body.single-product button.wa-pdp-gallery-nav:focus-visible,
body.single-product button.wa-pdp-lightbox-close:hover,
body.single-product button.wa-pdp-lightbox-close:focus-visible,
body.single-product button.wa-pdp-lightbox-nav:hover,
body.single-product button.wa-pdp-lightbox-nav:focus-visible {
    color: #16110d !important;
    border-color: var(--wa-gold, #c4a574) !important;
    background: var(--wa-gold, #c4a574) !important;
}

.wa-pdp-gallery-count {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 8;
    min-width: 54px;
    padding: 7px 11px;
    border: 1px solid rgba(196, 165, 116, 0.3);
    border-radius: 999px;
    color: #e9e2d8;
    background: rgba(12, 10, 9, 0.76);
    font-size: 12px;
    line-height: 1;
    text-align: center;
    letter-spacing: 0.08em;
    backdrop-filter: blur(7px);
}

/* Thumbnails - Clean & Balanced */
.wa-pdp-gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.wa-pdp-gallery-thumbs::-webkit-scrollbar {
    display: none;
}

.wa-pdp-thumb {
    flex: 0 0 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    background: var(--wa-surface-card, #141210);
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
    position: relative;
}

/* Product lightbox */
body.wa-pdp-lightbox-open {
    overflow: hidden;
}

.wa-pdp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 4vw, 56px);
    color: #f4efe7;
    background: rgba(7, 6, 5, 0.96);
    backdrop-filter: blur(12px);
}

.wa-pdp-lightbox.is-open {
    display: flex;
}

.wa-pdp-lightbox-figure {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 14px;
    width: min(1040px, calc(100vw - 180px));
    height: min(85vh, 920px);
    margin: 0;
}

.wa-pdp-lightbox-image {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

.wa-pdp-lightbox-caption {
    color: rgba(244, 239, 231, 0.72);
    font-size: 12px;
    line-height: 1;
    text-align: center;
    letter-spacing: 0.12em;
}

.wa-pdp-lightbox-close,
.wa-pdp-lightbox-nav {
    z-index: 2;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(196, 165, 116, 0.42);
    border-radius: 50%;
    color: #f4efe7;
    background: rgba(18, 15, 13, 0.82);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.wa-pdp-lightbox-close:hover,
.wa-pdp-lightbox-close:focus-visible,
.wa-pdp-lightbox-nav:hover,
.wa-pdp-lightbox-nav:focus-visible {
    color: #16110d;
    border-color: var(--wa-gold, #c4a574);
    background: var(--wa-gold, #c4a574);
}

.wa-pdp-lightbox-close {
    position: absolute;
    top: clamp(18px, 3vw, 34px);
    right: clamp(18px, 3vw, 34px);
    width: 48px;
    height: 48px;
}

.wa-pdp-lightbox-nav {
    position: absolute;
    top: 50%;
    width: 54px;
    height: 54px;
    transform: translateY(-50%);
}

.wa-pdp-lightbox-prev {
    left: clamp(18px, 3vw, 40px);
}

.wa-pdp-lightbox-next {
    right: clamp(18px, 3vw, 40px);
}

@media (max-width: 640px) {
    .wa-pdp-gallery-nav {
        width: 40px;
        height: 40px;
    }

    .wa-pdp-gallery-prev {
        left: 10px;
    }

    .wa-pdp-gallery-next {
        right: 10px;
    }

    .wa-pdp-gallery-count {
        left: 10px;
        bottom: 10px;
    }

    .wa-pdp-gallery-zoom {
        right: 10px;
        bottom: 10px;
        width: 40px;
        height: 40px;
    }

    .wa-pdp-lightbox {
        padding: 70px 14px 28px;
    }

    .wa-pdp-lightbox-figure {
        width: 100%;
        height: min(76vh, 720px);
    }

    .wa-pdp-lightbox-nav {
        top: auto;
        bottom: 22px;
        width: 46px;
        height: 46px;
        transform: none;
    }

    .wa-pdp-lightbox-prev {
        left: calc(50% - 58px);
    }

    .wa-pdp-lightbox-next {
        right: calc(50% - 58px);
    }

    .wa-pdp-lightbox-caption {
        padding-bottom: 60px;
    }
}


.wa-pdp-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: border-color 0.25s ease;
    pointer-events: none;
}

.wa-pdp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: opacity 0.25s ease;
}

.wa-pdp-thumb:hover {
    transform: translateY(-2px);
}

.wa-pdp-thumb:hover img {
    opacity: 0.85;
}

.wa-pdp-thumb.is-active {
    border-color: var(--wa-gold, #c4a574);
    box-shadow: 0 2px 8px rgba(196, 165, 116, 0.15);
}

.wa-pdp-thumb.is-active::after {
    border-color: rgba(196, 165, 116, 0.3);
}

.wa-pdp-thumb.is-active img {
    opacity: 1;
}

@media (max-width: 640px) {
    .wa-pdp-thumb {
        flex: 0 0 56px;
        height: 56px;
    }
}

/* ========================================
   INFO COLUMN
   ======================================== */

.wa-pdp-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wa-pdp-brand {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--wa-gold, #c4a574);
    font-weight: 600;
    margin-bottom: -12px;
}

.wa-pdp-title {
    font-family: var(--wa-font-serif, 'Playfair Display', serif);
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 400;
    color: var(--wa-text-heading, #f5f0e8);
    line-height: 1.2;
    margin: 0;
}

.wa-pdp-price-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.wa-pdp-price {
    font-family: var(--wa-font-serif, 'Playfair Display', serif);
    font-size: 24px;
    color: var(--wa-gold, #c4a574);
    font-weight: 600;
}

.wa-pdp-price del {
    color: var(--wa-text-muted, #6b6862);
    font-size: 18px;
    margin-right: 8px;
}

.wa-pdp-price ins {
    text-decoration: none;
}

.wa-pdp-badge {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--wa-gold, #c4a574);
    color: var(--wa-bg-primary, #0f0d0c);
    padding: 4px 10px;
    border-radius: 100px;
    font-weight: 700;
}

.wa-pdp-short-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--wa-text-meta, #a8a49c);
}

.wa-pdp-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--wa-border-subtle, #2a2826);
    border-bottom: 1px solid var(--wa-border-subtle, #2a2826);
    font-size: 13px;
    color: var(--wa-text-body, #d8d4cc);
}

.wa-pdp-meta-item strong {
    color: var(--wa-text-muted, #6b6862);
    font-weight: 500;
    margin-right: 4px;
}

/* ========================================
   MATERIAL BENEFITS - 3 Card Structure
   ======================================== */

.wa-pdp-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 8px 0;
}

.wa-pdp-benefit-card {
    background: var(--wa-surface-card, #141210);
    border: 1px solid var(--wa-border-subtle, #2a2826);
    border-radius: 10px;
    padding: 14px 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.wa-pdp-benefit-card:hover {
    border-color: var(--wa-border-accent, rgba(196, 165, 116, 0.25));
    transform: translateY(-1px);
}

.wa-pdp-benefit-icon {
    width: 28px;
    height: 28px;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wa-gold, #c4a574);
    background: var(--wa-gold-alpha-10, rgba(196, 165, 116, 0.1));
    border-radius: 50%;
}

.wa-pdp-benefit-title {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--wa-text-heading, #f5f0e8);
    margin-bottom: 2px;
}

.wa-pdp-benefit-desc {
    display: block;
    font-size: 11px;
    color: var(--wa-text-muted, #6b6862);
}

@media (max-width: 640px) {
    .wa-pdp-benefits {
        gap: 8px;
    }
    
    .wa-pdp-benefit-card {
        padding: 12px 8px;
    }
    
    .wa-pdp-benefit-title {
        font-size: 11px;
    }
    
    .wa-pdp-benefit-desc {
        font-size: 10px;
    }
}

/* ========================================
   VARIATIONS & ADD TO CART - WooCommerce Native
   ======================================== */

.wa-pdp-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wa-pdp-variations {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wa-pdp-variation-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wa-pdp-variation-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--wa-text-meta, #a8a49c);
    font-weight: 500;
}

.wa-pdp-variation-select-wrap {
    position: relative;
}

.wa-pdp-variation-select {
    width: 100%;
    height: 48px;
    padding: 0 40px 0 16px;
    background: var(--wa-surface-card, #141210);
    border: 1px solid var(--wa-border-subtle, #2a2826);
    border-radius: 100px;
    color: var(--wa-text-body, #d8d4cc);
    font-size: 14px;
    font-family: var(--wa-font-sans, 'Inter', sans-serif);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c4a574' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wa-pdp-variation-select:focus {
    outline: none;
    border-color: var(--wa-gold, #c4a574);
    box-shadow: 0 0 0 3px rgba(196, 165, 116, 0.1);
}

.wa-pdp-variation-hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    padding: 6px 2px 2px;
    text-align: left;
}

.wa-pdp-size-guide {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: var(--wa-gold, #c4a574);
    text-decoration: none;
    margin-right: auto;
}

body.single-product .wa-pdp-variation-hint .reset_variations {
    flex: 0 0 auto;
    margin: 0 0 0 auto !important;
    text-align: right;
}

.wa-pdp-size-guide:hover,
.wa-pdp-size-guide:focus-visible {
    color: var(--wa-gold-hover, #d4b896);
    text-decoration: none;
}

.wa-pdp-selection-summary {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(196, 165, 116, 0.24);
    border-radius: 12px;
    background: rgba(196, 165, 116, 0.055);
}

.wa-pdp-selection-summary[hidden] {
    display: none;
}

.wa-pdp-selection-summary__label {
    flex: 0 0 auto;
    color: var(--wa-gold, #c4a574);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.wa-pdp-selection-summary__value {
    min-width: 0;
    color: var(--wa-text-body, #d8d4cc);
    font-size: 12px;
    line-height: 1.55;
}

.wa-pdp-cart-row {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.wa-pdp-quantity {
    display: flex;
    align-items: center;
    height: 52px;
    background: var(--wa-surface-card, #141210);
    border: 1px solid var(--wa-border-subtle, #2a2826);
    border-radius: 100px;
    overflow: hidden;
    flex-shrink: 0;
}

.wa-pdp-qty-btn {
    width: 44px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--wa-text-body, #d8d4cc);
    font-size: 18px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.wa-pdp-qty-btn:hover {
    color: var(--wa-gold, #c4a574);
    background: var(--wa-surface-hover, #1f1d1b);
}

.wa-pdp-qty-btn:active {
    transform: scale(0.95);
}

.wa-pdp-qty-input {
    width: 44px;
    height: 100%;
    border: none;
    background: transparent;
    color: var(--wa-text-heading, #f5f0e8);
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    -moz-appearance: textfield;
    appearance: textfield;
}

.wa-pdp-qty-input::-webkit-outer-spin-button,
.wa-pdp-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

body.single-product .woocommerce .wa-pdp-quantity input.wa-pdp-qty-input,
body.single-product .wa-pdp-quantity input.wa-pdp-qty-input,
body.single-product .woocommerce .wa-pdp-quantity input.wa-pdp-qty-input:hover,
body.single-product .woocommerce .wa-pdp-quantity input.wa-pdp-qty-input:focus,
body.single-product .woocommerce .wa-pdp-quantity input.wa-pdp-qty-input:focus-visible {
    width: 44px !important;
    min-width: 0 !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    color: var(--wa-text-heading, #f5f0e8) !important;
    background: transparent !important;
    box-shadow: none !important;
    appearance: textfield !important;
    -moz-appearance: textfield !important;
}

body.single-product .wa-pdp-quantity input.wa-pdp-qty-input::-webkit-inner-spin-button,
body.single-product .wa-pdp-quantity input.wa-pdp-qty-input::-webkit-outer-spin-button {
    margin: 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.wa-pdp-add-btn {
    flex: 1;
    height: 52px;
    border-radius: 100px;
    background: var(--wa-gold, #c4a574);
    border: 1px solid var(--wa-gold, #c4a574);
    color: var(--wa-bg-primary, #0f0d0c);
    font-family: var(--wa-font-sans, 'Inter', sans-serif);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    position: relative;
    overflow: hidden;
}

.wa-pdp-add-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.wa-pdp-add-btn:hover:not(:disabled)::after {
    left: 100%;
}

.wa-pdp-add-btn:hover:not(:disabled) {
    background: var(--wa-gold-hover, #d4b896);
    box-shadow: 0 4px 20px rgba(196, 165, 116, 0.15);
    transform: translateY(-1px);
}

.wa-pdp-add-btn:disabled,
.wa-pdp-add-btn.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(0.5);
}

.wa-pdp-add-price {
    font-weight: 700;
    opacity: 0.9;
}

.wa-pdp-wishlist {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--wa-border-subtle, #2a2826);
    border-radius: 100px;
    color: var(--wa-text-meta, #a8a49c);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wa-pdp-wishlist:hover,
.wa-pdp-wishlist.is-active {
    border-color: var(--wa-gold, #c4a574);
    color: var(--wa-gold, #c4a574);
    background: var(--wa-gold-alpha-10, rgba(196, 165, 116, 0.1));
}

.wa-pdp-wishlist.is-active svg {
    fill: var(--wa-gold, #c4a574);
}

.wa-pdp-trust {
    display: flex;
    gap: 20px;
    padding-top: 8px;
    flex-wrap: wrap;
}

.wa-pdp-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--wa-text-muted, #6b6862);
}

.wa-pdp-trust-item svg {
    color: var(--wa-gold, #c4a574);
    flex-shrink: 0;
}

/* ========================================
   TABS - Accordion Style
   ======================================== */

.wa-pdp-tabs-wrap {
    margin-top: 48px;
    border-top: 1px solid var(--wa-border-subtle, #2a2826);
    padding-top: 32px;
}

.wa-pdp-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wa-pdp-tab {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--wa-surface-card, #141210);
    border: 1px solid var(--wa-border-subtle, #2a2826);
    border-radius: 10px;
    color: var(--wa-text-body, #d8d4cc);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.wa-pdp-tab:hover {
    border-color: var(--wa-border-default, #3a3834);
}

.wa-pdp-tab.is-active {
    border-color: var(--wa-gold, #c4a574);
    color: var(--wa-gold, #c4a574);
}

.wa-pdp-tab svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    opacity: 0.7;
}

.wa-pdp-tab.is-active svg {
    transform: rotate(180deg);
    opacity: 1;
}

.wa-pdp-tab-content {
    display: none;
    padding: 20px;
    background: var(--wa-surface-card, #141210);
    border: 1px solid var(--wa-border-subtle, #2a2826);
    border-top: none;
    border-radius: 0 0 10px 10px;
    margin-top: -8px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--wa-text-meta, #a8a49c);
}

.wa-pdp-tab-content.is-active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.wa-pdp-content-inner h2,
.wa-pdp-content-inner h3 {
    color: var(--wa-text-heading, #f5f0e8);
    font-family: var(--wa-font-brand, 'Cormorant Garamond', serif);
    margin: 24px 0 12px;
    font-weight: 500;
}

.wa-pdp-content-inner a {
    color: var(--wa-gold, #c4a574);
    text-decoration: none;
}

.wa-pdp-content-inner a:hover,
.wa-pdp-content-inner a:focus-visible {
    color: var(--wa-gold-hover, #d4b896);
    text-decoration: none;
}

.wa-pdp-delivery-list {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.wa-pdp-delivery-list li {
    position: relative;
    padding-left: 20px;
}

.wa-pdp-delivery-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--wa-gold, #c4a574);
}

.wa-pdp-attributes-table {
    width: 100%;
    border-collapse: collapse;
}

.wa-pdp-attributes-table th,
.wa-pdp-attributes-table td {
    padding: 12px 0;
    text-align: left;
    border-bottom: 1px solid var(--wa-border-subtle, #2a2826);
    font-size: 14px;
}

.wa-pdp-attributes-table th {
    color: var(--wa-text-muted, #6b6862);
    font-weight: 500;
    width: 40%;
}

.wa-pdp-attributes-table td {
    color: var(--wa-text-body, #d8d4cc);
}

/* Installment Tab */
.wa-pdp-installment-banks {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.wa-pdp-bank-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: var(--wa-bg-primary, #0f0d0c);
    border: 1px solid var(--wa-border-subtle, #2a2826);
    border-radius: 8px;
}

.wa-pdp-bank-name {
    font-weight: 600;
    color: var(--wa-text-body, #d8d4cc);
}

.wa-pdp-installment-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.wa-pdp-installment-option {
    font-size: 12px;
    color: var(--wa-text-muted, #6b6862);
    background: var(--wa-surface-hover, #1f1d1b);
    padding: 4px 10px;
    border-radius: 100px;
}

.wa-pdp-installment-note {
    font-size: 12px;
    color: var(--wa-text-muted, #6b6862);
    font-style: italic;
    margin: 0;
}

/* ========================================
   KILL DEFAULT WOOCOMMERCE PDP STYLES
   ======================================== */

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .product_title,
.woocommerce div.product .price,
.woocommerce div.product div.images,
.woocommerce div.product div.summary,
.woocommerce-product-gallery {
    display: none !important;
}

.woocommerce div.product {
    position: relative;
}

.woocommerce-notices-wrapper {
    margin-bottom: 24px;
}

/* ========================================
   DESKTOP ENHANCEMENTS
   ======================================== */

@media (min-width: 1024px) {
    .wa-pdp-tabs {
        flex-direction: row;
        gap: 12px;
    }
    
    .wa-pdp-tab {
        width: auto;
        flex: 1;
        justify-content: center;
        border-radius: 100px;
        position: relative;
    }
    
    .wa-pdp-tab::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: var(--wa-gold, #c4a574);
        transition: width 0.3s ease;
        border-radius: 2px;
    }
    
    .wa-pdp-tab.is-active {
        background: var(--wa-surface-hover, #1f1d1b);
    }
    
    .wa-pdp-tab.is-active::after {
        width: 40%;
    }
    
    .wa-pdp-tab svg {
        display: none;
    }
    
    .wa-pdp-tab-content {
        margin-top: 24px;
        border: 1px solid var(--wa-border-subtle, #2a2826);
        border-radius: 12px;
    }
}
/* ========================================
   PDP TAB - Kadence Button Override + Shape
   ======================================== */

/* Base button tab - maximum specificity */
button.wa-pdp-tab,
.wa-pdp-tabs button,
.woocommerce-tabs button.wa-pdp-tab {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.875rem 1.5rem !important;
  margin: 0 !important;
  border-radius: 9999px !important;
  border: 1px solid var(--pc-border, #2a2a2a) !important;
  background: var(--pc-surface, #141414) !important;
  color: var(--pc-text-muted, #888) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: none !important;
  outline: none !important;
  transition: all 200ms ease !important;
}

/* INACTIVE hover - sadece hafif border accent */
button.wa-pdp-tab:hover:not(.is-active),
.wa-pdp-tabs button:hover:not(.is-active) {
  background: var(--pc-surface-elevated, #1a1a1a) !important;
  color: var(--pc-text, #f5f5f5) !important;
  border-color: var(--pc-accent, #c9a962) !important;
  box-shadow: none !important;
  outline: none !important;
}

/* FOCUS - accent ring, mavi değil */
button.wa-pdp-tab:focus,
button.wa-pdp-tab:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 2px var(--pc-accent, #c9a962) !important;
  border-color: var(--pc-accent, #c9a962) !important;
}

/* ACTIVE - kalıcı seçili, altın tema */
button.wa-pdp-tab.is-active,
button.wa-pdp-tab[aria-selected="true"],
.wa-pdp-tabs button.is-active {
  background: var(--pc-surface-elevated, #1a1a1a) !important;
  color: var(--pc-accent, #c9a962) !important;
  border-color: var(--pc-accent, #c9a962) !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  outline: none !important;
}

/* ACTIVE hover - maviye dönmesin, koru */
button.wa-pdp-tab.is-active:hover,
button.wa-pdp-tab[aria-selected="true"]:hover,
.wa-pdp-tabs button.is-active:hover {
  background: var(--pc-surface-elevated, #1a1a1a) !important;
  color: var(--pc-accent, #c9a962) !important;
  border-color: var(--pc-accent, #c9a962) !important;
  box-shadow: none !important;
  outline: none !important;
}

/* ACTIVE underline - temiz ve ortalı */
button.wa-pdp-tab.is-active::after,
button.wa-pdp-tab[aria-selected="true"]::after {
  content: '' !important;
  position: absolute !important;
  bottom: 6px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 20px !important;
  height: 2px !important;
  background: var(--pc-accent, #c9a962) !important;
  border-radius: 1px !important;
  opacity: 0.6 !important;
}

/* Kadence global button override - !important ile ez */
button.wa-pdp-tab:active,
button.wa-pdp-tab:hover:active,
.woocommerce-tabs button:active {
  background: var(--pc-surface-elevated, #1a1a1a) !important;
  color: var(--pc-accent, #c9a962) !important;
  border-color: var(--pc-accent, #c9a962) !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Kadence focus-visible override */
button.wa-pdp-tab:focus-visible,
button.wa-pdp-tab:-moz-focusring {
  outline: none !important;
  box-shadow: 0 0 0 2px var(--pc-accent, #c9a962) !important;
}

/* ========================================
   PDP RETOUCH — 17 JULY 2026
   Premium hierarchy + Kadence/WooCommerce
   conflict fixes. Kept page-scoped on purpose.
   ======================================== */

body.single-product .wa-pdp-product {
  width: min(100%, 1280px);
  box-sizing: border-box;
}

body.single-product .wa-pdp-header {
  display: grid;
  gap: 8px;
}

body.single-product .wa-pdp-title {
  max-width: 18ch;
  font-size: clamp(28px, 2.45vw, 38px);
  line-height: 1.08 !important;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

body.single-product .wa-pdp-price-wrap {
  margin-top: 0;
}

body.single-product .wa-pdp-price {
  font-size: clamp(24px, 2vw, 28px);
  line-height: 1;
}

body.single-product .wa-pdp-short-desc {
  max-width: 58ch;
  line-height: 1.75;
}

body.single-product .wa-pdp-short-desc > :first-child {
  margin-top: 0;
}

body.single-product .wa-pdp-short-desc > :last-child {
  margin-bottom: 0;
}

body.single-product .wa-pdp-benefit-card {
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(196, 165, 116, 0.035), transparent 55%),
    var(--wa-surface-card, #141210);
}

body.single-product .wa-pdp-benefit-card:hover {
  border-color: var(--wa-border-subtle, #2a2826);
  transform: none;
}

body.single-product .wa-pdp-benefit-icon {
  box-shadow: inset 0 0 0 1px rgba(196, 165, 116, 0.08);
}

body.single-product .wa-pdp-hygiene-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: -4px;
  padding: 10px 12px;
  border: 1px solid rgba(196, 165, 116, 0.14);
  border-radius: 8px;
  background: rgba(196, 165, 116, 0.045);
  color: var(--wa-text-meta, #a8a49c);
  font-size: 11px;
  line-height: 1.55;
}

body.single-product .wa-pdp-hygiene-note svg {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--wa-gold, #c4a574);
}

body.single-product .wa-pdp-hygiene-note a {
  margin-left: 4px;
  color: var(--wa-gold, #c4a574) !important;
  text-decoration: underline;
  text-decoration-color: rgba(196, 165, 116, 0.35);
  text-underline-offset: 3px;
}

body.single-product .wa-pdp-hygiene-note a:hover {
  color: var(--wa-gold-hover, #d4b896) !important;
  text-decoration-color: currentColor;
}

body.single-product .wa-pdp-curated-specs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 0;
  padding: 14px 0;
  border-top: 1px solid var(--wa-border-subtle, #2a2826);
  border-bottom: 1px solid var(--wa-border-subtle, #2a2826);
  color: var(--wa-text-body, #d8d4cc);
  font-size: 12px;
  line-height: 1.4;
}

body.single-product .wa-pdp-curated-specs span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

body.single-product .wa-pdp-curated-specs span + span::before {
  content: '';
  width: 3px;
  height: 3px;
  margin: 0 10px;
  border-radius: 50%;
  background: var(--wa-gold, #c4a574);
  opacity: 0.65;
}

body.single-product .wa-pdp-variation-row--pills .wa-pdp-variation-select--native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.single-product .wa-pdp-choice-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body.single-product button.wa-pdp-choice {
  min-width: 0;
  min-height: 54px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column;
  gap: 2px;
  margin: 0 !important;
  padding: 8px 12px !important;
  border: 1px solid var(--wa-border-default, #3a3834) !important;
  border-radius: 12px !important;
  background: var(--wa-surface-card, #141210) !important;
  color: var(--wa-text-body, #d8d4cc) !important;
  box-shadow: none !important;
  font-family: var(--wa-font-sans, 'Inter', sans-serif) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease !important;
}

body.single-product button.wa-pdp-choice:hover {
  border-color: var(--wa-border-accent-strong, rgba(196, 165, 116, 0.4)) !important;
  background: var(--wa-surface-hover, #1f1d1b) !important;
  color: var(--wa-text-heading, #f5f0e8) !important;
  transform: none !important;
}

body.single-product button.wa-pdp-choice.is-selected,
body.single-product button.wa-pdp-choice[aria-pressed="true"] {
  border-color: var(--wa-gold, #c4a574) !important;
  background: linear-gradient(180deg, rgba(196, 165, 116, 0.16), rgba(196, 165, 116, 0.07)) !important;
  color: var(--wa-text-heading, #f5f0e8) !important;
  box-shadow: inset 0 0 0 1px rgba(196, 165, 116, 0.08) !important;
}

body.single-product button.wa-pdp-choice:focus-visible {
  outline: none !important;
  border-color: var(--wa-gold, #c4a574) !important;
  box-shadow: 0 0 0 3px rgba(196, 165, 116, 0.14) !important;
}

body.single-product button.wa-pdp-choice small {
  color: var(--wa-gold, #c4a574);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.single-product .wa-pdp-studio-help {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--wa-border-subtle, #2a2826);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(196, 165, 116, 0.06), rgba(20, 18, 16, 0.7));
}

body.single-product .wa-pdp-studio-help__icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--wa-gold-alpha-10, rgba(196, 165, 116, 0.1));
  color: var(--wa-gold, #c4a574);
}

body.single-product .wa-pdp-studio-help__copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

body.single-product .wa-pdp-studio-help__copy strong {
  color: var(--wa-text-heading, #f5f0e8);
  font-size: 12px;
  font-weight: 600;
}

body.single-product .wa-pdp-studio-help__copy > span {
  color: var(--wa-text-muted, #6b6862);
  font-size: 10px;
  line-height: 1.4;
}

body.single-product .wa-pdp-studio-help > a {
  color: var(--wa-gold, #c4a574) !important;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

body.single-product .wa-pdp-studio-help > a:hover {
  color: var(--wa-gold-hover, #d4b896) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Keep native selects dark when Kadence or the browser applies focus styles. */
body.single-product .woocommerce .wa-pdp-variation-select,
body.single-product .wa-pdp-variation-select,
body.single-product .woocommerce .wa-pdp-variation-select:hover,
body.single-product .woocommerce .wa-pdp-variation-select:focus,
body.single-product .woocommerce .wa-pdp-variation-select:focus-visible {
  background-color: var(--wa-surface-card, #141210) !important;
  color: var(--wa-text-body, #d8d4cc) !important;
  border: 1px solid var(--wa-border-subtle, #2a2826) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  outline: none !important;
}

body.single-product .woocommerce .wa-pdp-variation-select:focus,
body.single-product .woocommerce .wa-pdp-variation-select:focus-visible {
  border-color: var(--wa-gold, #c4a574) !important;
  box-shadow: 0 0 0 3px rgba(196, 165, 116, 0.11) !important;
}

body.single-product .wa-pdp-variation-hint {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-height: 20px;
  padding: 0;
  text-align: right;
}

body.single-product .wa-pdp-variation-hint .reset_variations {
  display: inline-flex !important;
  float: none !important;
  clear: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--wa-gold, #c4a574) !important;
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
}

body.single-product .wa-pdp-variation-hint .reset_variations:hover {
  color: var(--wa-gold-hover, #d4b896) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.single-product .woocommerce button.wa-pdp-add-btn.single_add_to_cart_button.button.alt,
body.single-product .woocommerce .wa-pdp-add-btn,
body.single-product button.wa-pdp-add-btn {
  min-width: 0;
  height: 52px !important;
  min-height: 52px !important;
  padding: 0 24px !important;
  border: 1px solid #d4b896 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #d4b896 0%, #b99157 100%) !important;
  color: #100e0c !important;
  box-shadow: 0 10px 28px rgba(196, 165, 116, 0.18) !important;
  text-shadow: none !important;
}

body.single-product .woocommerce button.wa-pdp-add-btn.single_add_to_cart_button.button.alt:hover:not(:disabled),
body.single-product .woocommerce .wa-pdp-add-btn:hover:not(:disabled),
body.single-product button.wa-pdp-add-btn:hover:not(:disabled) {
  border-color: #e1c7a2 !important;
  background: linear-gradient(135deg, #e1c7a2 0%, #c4a574 100%) !important;
  color: #100e0c !important;
  box-shadow: 0 14px 34px rgba(196, 165, 116, 0.24) !important;
}

body.single-product .woocommerce button.wa-pdp-add-btn:disabled,
body.single-product .woocommerce button.wa-pdp-add-btn.disabled,
body.single-product .woocommerce button.wa-pdp-add-btn.is-disabled {
  border-color: var(--wa-border-default, #3a3834) !important;
  background: #27231e !important;
  color: var(--wa-text-muted, #6b6862) !important;
  box-shadow: none !important;
}

body.single-product .wa-pdp-add-price {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding-left: 10px;
  border-left: 1px solid rgba(16, 14, 12, 0.28);
  line-height: 1;
}

body.single-product .wa-pdp-add-price .amount {
  color: inherit !important;
  font: inherit !important;
}

body.single-product .wa-pdp-quantity {
  border-color: var(--wa-border-default, #3a3834);
}

body.single-product .wa-pdp-wishlist {
  min-height: 46px;
}

body.single-product .wa-pdp-tabs-wrap {
  margin-top: 64px;
}

body.single-product .wa-pdp-tab-content {
  background:
    linear-gradient(180deg, rgba(196, 165, 116, 0.025), transparent 180px),
    var(--wa-surface-card, #141210);
}

body.single-product .wa-pdp-content-inner {
  max-width: 76ch;
}

body.single-product .wa-pdp-content-inner > :first-child {
  margin-top: 0;
}

body.single-product .wa-pdp-content-inner > :last-child {
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  body.single-product .wa-pdp-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
    gap: clamp(48px, 5vw, 76px);
    align-items: start;
  }

  body.single-product .wa-pdp-gallery {
    position: sticky;
    top: 116px;
  }

  body.single-product .wa-pdp-info {
    gap: 18px;
  }

  body.single-product .wa-pdp-tab-content {
    padding: clamp(24px, 3vw, 36px);
  }
}

@media (max-width: 640px) {
  body.single-product .wa-pdp-product {
    padding: 28px 16px 44px;
  }

  body.single-product .wa-pdp-grid {
    gap: 30px;
  }

  body.single-product .wa-pdp-gallery-main {
    border-radius: 16px;
  }

  body.single-product .wa-pdp-info {
    gap: 18px;
  }

  body.single-product .wa-pdp-title {
    max-width: 19ch;
    font-size: clamp(26px, 7.4vw, 30px);
  }

  body.single-product .wa-pdp-short-desc {
    font-size: 13px;
    line-height: 1.7;
  }

  body.single-product .wa-pdp-benefit-card {
    min-height: 98px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  body.single-product .wa-pdp-cart-row {
    gap: 8px;
  }

  body.single-product .wa-pdp-quantity {
    flex: 0 0 136px;
  }

  body.single-product .woocommerce button.wa-pdp-add-btn.single_add_to_cart_button.button.alt,
  body.single-product .woocommerce .wa-pdp-add-btn,
  body.single-product button.wa-pdp-add-btn {
    padding: 0 14px !important;
    gap: 8px;
    font-size: 12px !important;
    letter-spacing: 0.035em !important;
  }

  body.single-product .wa-pdp-add-price {
    padding-left: 8px;
  }

  body.single-product .wa-pdp-tabs-wrap {
    margin-top: 48px;
  }

  body.single-product .wa-pdp-studio-help {
    grid-template-columns: auto minmax(0, 1fr);
  }

  body.single-product .wa-pdp-studio-help > a {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 359px) {
  body.single-product .wa-pdp-cart-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.single-product .wa-pdp-quantity {
    width: 100%;
  }

  body.single-product .wa-pdp-qty-btn,
  body.single-product .wa-pdp-qty-input {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.single-product .wa-pdp-product *,
  body.single-product .wa-pdp-product *::before,
  body.single-product .wa-pdp-product *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
