/* ================================================
   PINGGALAXY PRODUCT PAGE - Galaxy Blue Theme
   PingGalaxy Product Page
   ================================================ */


.pg-product-page {
    background: var(--pg-bg-page);
    min-height: 100vh;
    padding-bottom: 120px;
}

/* Hide WordPress footer on product pages to avoid z-index conflicts */
.single-product .site-footer,
.single-product footer#colophon {
    display: none;
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

/* Ensure product page has proper padding for sticky footer */
body.single-product {
    padding-bottom: 80px !important;
}

/* ================================================
   TWO COLUMN LAYOUT
   ================================================ */

.pg-product-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 16px 24px 120px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 1024px) {
    .pg-product-container {
        padding-top: 20px;
    }
}

/* Back Navigation */
.pg-product-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--pg-grey);
    text-decoration: none;
    transition: color 0.2s;
}

.pg-product-back:hover {
    color: var(--pg-galaxy);
}

.pg-product-back svg {
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .pg-product-back {
        font-size: 13px;
    }
}

.pg-product-columns {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 1024px) {
    .pg-product-columns {
        flex-direction: row;
        gap: 80px;
        align-items: flex-start;
    }
}

/* ================================================
   LEFT: IMAGE GALLERY (STICKY)
   ================================================ */

.pg-product-gallery {
    width: 100%;
}

@media (min-width: 1024px) {
    .pg-product-gallery {
        width: 520px;
        flex-shrink: 0;
        position: sticky;
        top: 120px;
        align-self: flex-start;
        z-index: 10;
        height: fit-content;
    }
}

@media (min-width: 1400px) {
    .pg-product-gallery {
        width: 600px;
    }
}

/* Main Image Container */
.pg-product-main-image {
    width: 100%;
    aspect-ratio: 1;
    background: var(--pg-white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    position: relative;
    margin-bottom: 16px;
}

.pg-product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* ================================================
   IMAGE LIGHTBOX
   ================================================ */

.pg-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pg-lightbox.active {
    display: flex;
    opacity: 1;
}

.pg-lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    cursor: pointer;
}

.pg-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 1;
    animation: pgLightboxZoomIn 0.3s ease;
}

@keyframes pgLightboxZoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.pg-lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    height: auto;
    width: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.pg-lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: var(--pg-white);
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.8;
}

.pg-lightbox-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.pg-lightbox-close svg {
    width: 28px;
    height: 28px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .pg-lightbox-content {
        max-width: 95vw;
        max-height: 85vh;
    }

    .pg-lightbox-close {
        top: 10px;
        right: 10px;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        width: 36px;
        height: 36px;
    }

    .pg-lightbox-close svg {
        width: 20px;
        height: 20px;
    }
}

/* Thumbnail Gallery Container */
.pg-product-thumbs-container {
    position: relative;
    margin-top: 16px;
}

/* Thumbnail Gallery */
.pg-product-thumbs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 24px;
}

.pg-product-thumbs::-webkit-scrollbar {
    display: none;
}

.pg-product-thumb {
    flex: 0 0 auto;
    width: 63px;
    height: 63px;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    background: var(--pg-white);
    box-sizing: border-box;
}

.pg-product-thumb:hover {
    opacity: 0.8;
}

.pg-product-thumb.active {
    border-color: var(--pg-galaxy);
    border-width: 2px;
}

.pg-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation Buttons */
.pg-thumb-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s, background 0.2s;
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

.pg-thumb-nav-btn:hover {
    background: rgba(255, 255, 255, 1);
}

.pg-thumb-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.pg-thumb-nav-btn svg {
    display: block;
    pointer-events: none;
}

.pg-thumb-nav-left {
    left: 4px;
}

.pg-thumb-nav-right {
    right: 4px;
}

/* ================================================
   RIGHT: PRODUCT INFO
   ================================================ */

.pg-product-info {
    flex: 1;
    min-width: 0;
}

/* Breadcrumb */
.pg-product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    line-height: 1.4;
    color: var(--pg-dark);
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.pg-product-breadcrumb a {
    color: var(--pg-grey);
    text-decoration: none;
    transition: color 0.2s;
}

.pg-product-breadcrumb a:hover {
    color: var(--pg-galaxy);
}

.pg-product-breadcrumb svg {
    width: 12px;
    height: 12px;
    opacity: 0.5;
}

/* Product Meta Line (Stock + Brand + Categories) */
.pg-product-meta-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--pg-border);
    flex-wrap: wrap;
}

.pg-product-meta-separator {
    width: 1px;
    height: 16px;
    background: var(--pg-border);
}

/* Brand Badge */
.pg-product-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--pg-light-grey);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--pg-dark);
}

.pg-product-brand-logo {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--pg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pg-product-brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Categories in meta line */
.pg-product-categories {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.pg-product-cat-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    background: var(--pg-galaxy-light-bg);
    border: 1px solid rgba(79, 70, 229, 0.15);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--pg-galaxy);
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.pg-product-cat-badge:hover {
    background: rgba(79, 70, 229, 0.12);
    border-color: rgba(79, 70, 229, 0.25);
}

/* Playing style badge */
.pg-product-style-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    background: var(--pg-galaxy-light-bg);
    border: 1px solid rgba(79, 70, 229, 0.15);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--pg-galaxy);
    white-space: nowrap;
}

.pg-product-breadcrumb strong {
    font-weight: 700;
    color: var(--pg-galaxy);
}

.pg-breadcrumb-separator {
    margin: 0 8px;
    color: var(--pg-grey);
    font-weight: 400;
}

@media (max-width: 768px) {
    .pg-product-breadcrumb {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .pg-breadcrumb-separator {
        margin: 0 6px;
    }
}

/* Product Title */
.pg-product-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--pg-dark);
    line-height: 1.2;
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--pg-border);
}

@media (min-width: 768px) {
    .pg-product-title {
        font-size: 42px;
    }
}

@media (min-width: 1024px) {
    .pg-product-title {
        margin-bottom: 24px;
    }
}

/* Price */
.pg-product-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 24px;
}

.pg-product-price .woocommerce-Price-amount {
    font-size: 36px;
    font-weight: 800;
    color: var(--pg-dark);
    letter-spacing: -0.02em;
}

.pg-product-price del {
    opacity: 0.5;
    font-size: 24px;
}

.pg-product-price ins {
    text-decoration: none;
    color: var(--pg-galaxy);
}

/* Product page prefix size override */
.pg-product-price .pg-price-prefix {
    font-size: 14px;
}

/* Stock Status */
.pg-product-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
}

.pg-product-stock.in-stock {
    background: var(--pg-stock-in-bg);
    color: var(--pg-stock-in-text);
}

.pg-product-stock.out-of-stock {
    background: var(--pg-stock-out-bg);
    color: var(--pg-stock-out-text);
}

.pg-product-stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.pg-product-stock.in-stock .pg-product-stock-dot {
    background: var(--pg-stock-in-text);
}

.pg-product-stock.out-of-stock .pg-product-stock-dot {
    background: var(--pg-stock-out-text);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Delivery Estimate */
.pg-delivery-estimate {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 16px;
    background: var(--pg-bg-light);
    border: 1px solid var(--pg-border-light);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--pg-grey-medium);
}

.pg-delivery-icon {
    flex-shrink: 0;
    color: var(--pg-grey-medium);
}

.pg-delivery-estimate-text {
    line-height: 1.4;
}

/* Short Description */
.pg-product-short-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--pg-grey);
    margin-bottom: 40px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    max-width: 100%;
}

/* ================================================
   PRODUCT ATTRIBUTES
   ================================================ */

.pg-product-attributes {
    margin-bottom: 40px;
}

.pg-product-attribute {
    margin-bottom: 32px;
}

.pg-product-attribute-label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--pg-dark);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pg-product-attribute-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Attribute Option Button */
.pg-product-attribute-option {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    padding: 0 16px;
    max-width: 100%;
    border-radius: 4px;
    border: 1px solid var(--pg-border);
    background: var(--pg-white);
    font-size: 14px;
    font-weight: 500;
    color: var(--pg-dark);
    transition: all 0.2s ease;
    user-select: none;
}

@media (min-width: 1280px) {
    .pg-product-attribute-option {
        height: 45px;
        font-size: 15px;
    }
}

.pg-product-attribute-option:hover {
    border-color: var(--pg-galaxy);
    background: var(--pg-galaxy-light);
    color: var(--pg-galaxy);
}

.pg-product-attribute-option.active {
    border-color: var(--pg-galaxy);
    background: var(--pg-galaxy-light);
    color: var(--pg-galaxy);
}

.pg-product-attribute-option span {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

/* Out of Stock Options */
.pg-product-attribute-option.is-out-of-stock {
    opacity: 0.4;
    cursor: not-allowed;
    position: relative;
    border-color: var(--pg-border);
    background: var(--pg-light-grey);
    color: var(--pg-grey-light);
}

.pg-product-attribute-option.is-out-of-stock::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 4px;
    right: 4px;
    height: 1px;
    background: var(--pg-grey-light);
    transform: rotate(-12deg);
    pointer-events: none;
}

.pg-product-attribute-option.is-out-of-stock:hover {
    border-color: var(--pg-border);
    background: var(--pg-light-grey);
    color: var(--pg-grey-light);
    transform: none;
    box-shadow: none;
}

.pg-product-attribute-option.is-out-of-stock.active {
    border-color: var(--pg-error);
    background: var(--pg-stock-out-bg);
    color: var(--pg-error);
    opacity: 0.6;
}

/* Out of stock for color swatches */
.pg-product-attribute-option.is-color.is-out-of-stock {
    opacity: 0.35;
}

.pg-product-attribute-option.is-color.is-out-of-stock::after {
    left: 20%;
    right: 20%;
    background: var(--pg-error);
    height: 2px;
}

/* Color Swatches */
.pg-product-attribute-option.is-color {
    width: 45px;
    height: 45px;
    padding: 0;
    border-radius: 50%;
    border: 2px solid var(--pg-border);
}

.pg-product-attribute-option.is-color:hover {
    border-color: var(--pg-galaxy);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--pg-galaxy-shadow);
}

.pg-product-attribute-option.is-color.active {
    border-color: var(--pg-galaxy);
    box-shadow: 0 0 0 3px var(--pg-galaxy-light);
}

.pg-color-swatch {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
}

/* White color needs border */
.pg-color-swatch[data-color="white"],
.pg-color-swatch[data-color="blanc"] {
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
}

/* ================================================
   QUANTITY SELECTOR (DESKTOP ONLY)
   ================================================ */

.pg-product-quantity {
    margin-bottom: 32px;
}

.pg-quantity-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
}

.pg-quantity-row .pg-product-quantity-label {
    margin-bottom: 0;
}

/* Variation Stock Info */
.pg-variation-stock-info {
    font-size: 12px;
    font-weight: 400;
    color: var(--pg-grey-light);
    transition: all 0.3s ease;
}

.pg-variation-stock-info:empty {
    display: none;
}

.pg-variation-stock-info.is-low {
    color: var(--pg-status-pending-text);
}

.pg-variation-stock-info.is-unavailable {
    color: var(--pg-error);
    font-weight: 500;
}

@media (max-width: 1023px) {
    .pg-product-quantity {
        display: none;
    }
}

.pg-product-quantity-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--pg-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pg-quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--pg-border);
    border-radius: 4px;
    background: var(--pg-white);
    height: 40px;
}

.pg-quantity-btn {
    width: 32px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--pg-grey);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    user-select: none;
    transition: color 0.2s ease;
}

.pg-quantity-btn:hover,
.pg-quantity-btn:active {
    color: var(--pg-dark);
}

.pg-quantity-input {
    min-width: 30px;
    max-width: 60px;
    width: auto;
    height: 40px;
    border: none;
    border-left: 1px solid var(--pg-border);
    border-right: 1px solid var(--pg-border);
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    color: var(--pg-dark);
    background: var(--pg-white);
    padding: 0 8px;
}

.pg-quantity-input:focus {
    outline: none;
}

/* ================================================
   DESKTOP ACTION BUTTONS - HIDDEN (NOW IN STICKY FOOTER)
   ================================================ */

.pg-product-actions-desktop {
    display: none !important;
}

.pg-btn-add-cart-desktop {
    display: none !important;
}

/* ================================================
   PRODUCT DETAILS TABS
   ================================================ */

.pg-product-details {
    margin-top: 60px;
}

.pg-product-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid var(--pg-border);
    margin-bottom: 32px;
}

.pg-product-tab {
    padding: 16px 24px;
    border: none;
    background: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--pg-grey);
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.pg-product-tab:hover {
    color: var(--pg-dark);
}

.pg-product-tab.active {
    color: var(--pg-galaxy);
}

.pg-product-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--pg-galaxy);
}

.pg-product-tab-content {
    display: none;
    font-size: 15px;
    line-height: 1.8;
    color: var(--pg-grey);
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    max-width: 100%;
}

.pg-product-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.pg-product-tab-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--pg-dark);
    margin: 24px 0 16px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.pg-product-tab-content ul {
    list-style: none;
    padding: 0;
}

.pg-product-tab-content li {
    padding: 8px 0 8px 24px;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.pg-product-tab-content li::before {
    content: '\2022';
    position: absolute;
    left: 8px;
    color: var(--pg-galaxy);
    font-weight: 700;
}

/* ================================================
   FULL WIDTH DETAILS SECTION
   ================================================ */

.pg-product-full-details-section {
    width: 100%;
    background: transparent;
    margin-top: 60px;
    padding: 60px 0;
    border-top: 1px solid var(--pg-border);
}

.pg-product-full-details-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pg-product-full-details-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--pg-dark);
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

.pg-product-full-details-content h1,
.pg-product-full-details-content h2,
.pg-product-full-details-content h3,
.pg-product-full-details-content h4 {
    color: var(--pg-dark);
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 16px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.pg-product-full-details-content h2 {
    font-size: 28px;
    border-bottom: 2px solid var(--pg-galaxy);
    padding-bottom: 12px;
}

.pg-product-full-details-content h3 {
    font-size: 22px;
}

.pg-product-full-details-content h4 {
    font-size: 18px;
}

.pg-product-full-details-content p {
    margin-bottom: 16px;
    color: var(--pg-grey);
}

.pg-product-full-details-content ul,
.pg-product-full-details-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.pg-product-full-details-content li {
    margin-bottom: 8px;
    color: var(--pg-grey);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.pg-product-full-details-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
}

.pg-product-full-details-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.pg-product-full-details-content table th,
.pg-product-full-details-content table td {
    padding: 12px;
    border: 1px solid var(--pg-border);
    text-align: left;
}

.pg-product-full-details-content table th {
    background: var(--pg-light-grey);
    font-weight: 700;
    color: var(--pg-dark);
}

.pg-product-full-details-content a {
    color: var(--pg-galaxy);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.pg-product-full-details-content a:hover {
    border-bottom-color: var(--pg-galaxy);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pg-product-full-details-section {
        margin-top: 40px;
        padding: 40px 0;
    }

    .pg-product-full-details-content h2 {
        font-size: 24px;
    }

    .pg-product-full-details-content h3 {
        font-size: 20px;
    }
}

/* ================================================
   STICKY FOOTER (ALL SCREENS)
   ================================================ */

.pg-product-sticky-footer {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: var(--pg-white) !important;
    border-top: 1px solid var(--pg-border) !important;
    padding: 14px 20px !important;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15) !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.pg-sticky-footer-inner {
    width: 100%;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

/* Desktop: align with right product info column */
@media (min-width: 1024px) {
    .pg-product-sticky-footer {
        padding: 18px 24px !important;
    }

    .pg-sticky-footer-inner {
        max-width: 1320px;
        gap: 24px;
        justify-content: flex-start;
        padding-left: calc(520px + 80px);
    }
}

@media (min-width: 1400px) {
    .pg-sticky-footer-inner {
        padding-left: calc(600px + 80px);
    }
}

/* Price in sticky footer */
.pg-sticky-price {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 100px;
    padding-right: 12px;
}

.pg-sticky-price-label {
    font-size: 11px;
    color: var(--pg-grey);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.pg-sticky-price-amount {
    font-size: 20px;
    font-weight: 800;
    color: var(--pg-dark);
    line-height: 1;
    white-space: nowrap;
}

/* Show price on all screens now */
@media (min-width: 1024px) {
    .pg-sticky-price {
        min-width: 130px;
        padding-right: 20px;
    }

    .pg-sticky-price-amount {
        font-size: 26px;
    }
}

/* Selection summary in sticky footer */
.pg-sticky-selection {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0 16px;
    border-left: 1px solid var(--pg-border);
    min-width: 180px;
}

.pg-sticky-selection.has-selection {
    display: flex;
}

.pg-sticky-selection-item {
    font-size: 12px;
    line-height: 1.3;
    color: var(--pg-grey);
}

.pg-sticky-selection-item strong {
    color: var(--pg-dark);
    font-weight: 600;
}

@media (min-width: 1024px) {
    .pg-sticky-selection {
        padding: 0 24px;
        min-width: 220px;
    }

    .pg-sticky-selection-item {
        font-size: 13px;
    }
}

/* Hide selection summary on very small screens */
@media (max-width: 640px) {
    .pg-sticky-selection {
        display: none !important;
    }
}

/* Action buttons in sticky footer */
.pg-sticky-actions {
    display: flex;
    gap: 10px;
}

@media (min-width: 1024px) {
    .pg-sticky-actions {
        gap: 12px;
    }
}

.pg-btn-add-cart {
    height: 45px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0 16px;
    border-radius: 4px;
    border: 1px solid var(--pg-galaxy);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
    gap: 6px;
    text-decoration: none;
    background: var(--pg-galaxy);
    color: var(--pg-white);
}

.pg-btn-add-cart:hover {
    background: var(--pg-galaxy-hover);
    border-color: var(--pg-galaxy-hover);
}

.pg-btn-add-cart:active {
    background: var(--pg-galaxy-hover);
}

/* Waiting state — options not yet selected */
.pg-btn-add-cart.is-waiting {
    background: var(--pg-border-light);
    border-color: var(--pg-border-light);
    color: var(--pg-grey);
    cursor: default;
}

.pg-btn-add-cart.is-waiting .pg-btn-cart-icon {
    display: none;
}

/* Disabled buttons (out of stock variation) */
.pg-btn-add-cart.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Button text - always show full text */
.pg-btn-text-short {
    display: none;
}

.pg-btn-text-full {
    display: inline;
}

/* Desktop: larger buttons */
@media (min-width: 1024px) {
    .pg-btn-add-cart {
        height: 50px;
        padding: 0 32px;
        font-size: 15px;
        font-weight: 600;
    }

    .pg-btn-add-cart svg {
        display: block !important;
    }
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 768px) {
    .pg-product-title {
        font-size: 28px;
    }

    .pg-product-price .woocommerce-Price-amount {
        font-size: 28px;
    }

    .pg-product-main-image {
        border-radius: 16px;
    }

    .pg-btn-add-cart svg {
        display: none;
    }

    /* Show price on small screens too now */
    .pg-sticky-price {
        min-width: 85px;
        padding-right: 8px;
    }

    .pg-sticky-price-amount {
        font-size: 17px;
    }

    .pg-sticky-price-label {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .pg-product-container {
        padding: 24px 16px 100px;
    }

    .pg-product-attribute-option {
        height: 40px;
        padding: 0 14px;
        font-size: 13px;
    }
}

/* ================================================
   PRODUCT MODULES (Tackiness, Speed, etc.)
   ================================================ */

.pg-product-modules {
    margin-top: 40px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pg-module {
    background: var(--pg-white);
    border: 1px solid var(--pg-border);
    border-radius: 12px;
    padding: 20px 24px;
}

.pg-module-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.pg-module-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--pg-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pg-module-value-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pg-module-badge {
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    color: var(--pg-white);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.pg-module-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--pg-dark);
    line-height: 1;
}

.pg-module-value small {
    font-size: 13px;
    font-weight: 500;
    color: var(--pg-grey);
}

.pg-module-bar-track {
    position: relative;
    height: 8px;
    background: var(--pg-light-grey);
    border-radius: 4px;
    overflow: visible;
}

.pg-module-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
}

.pg-module-bar-marker {
    position: absolute;
    top: -1px;
    width: 1px;
    height: 10px;
    background: rgba(0, 0, 0, 0.08);
    transform: translateX(-50%);
}

/* Level labels below progress bar */
.pg-module-levels {
    display: flex;
    margin-top: 8px;
}

.pg-module-level {
    font-size: 10px;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    opacity: 0.45;
    transition: opacity 0.2s;
    line-height: 1.3;
    padding: 2px 0;
}

.pg-module-level-active {
    opacity: 1;
    font-weight: 800;
    font-size: 11px;
}

/* Throw Angle SVG module */
.pg-module-throw-svg {
    margin-top: 8px;
}

.pg-module-throw-svg svg {
    width: 100%;
    height: auto;
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

@media (max-width: 768px) {
    .pg-product-modules {
        margin-top: 32px;
        margin-bottom: 32px;
    }

    .pg-module {
        padding: 16px 18px;
        border-radius: 10px;
    }

    .pg-module-label {
        font-size: 12px;
    }

    .pg-module-value {
        font-size: 18px;
    }

    .pg-module-badge {
        font-size: 10px;
        padding: 2px 8px;
    }
}

/* ================================================
   NOTIFY BACK-IN-STOCK — BUTTON
   ================================================ */

.pg-btn-notify {
    height: 45px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0 16px;
    border-radius: 4px;
    border: 1px solid var(--pg-border-medium);
    background: var(--pg-white);
    color: var(--pg-dark);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    gap: 8px;
}

.pg-btn-notify:hover {
    background: var(--pg-dark);
    border-color: var(--pg-dark);
    color: var(--pg-white);
}

.pg-btn-notify:active {
    background: var(--pg-dark);
    border-color: var(--pg-dark);
    color: var(--pg-white);
}

@media (min-width: 1024px) {
    .pg-btn-notify {
        height: 50px;
        padding: 0 32px;
        font-size: 15px;
        font-weight: 600;
    }
}

@media (max-width: 768px) {
    .pg-btn-notify svg {
        display: none;
    }
}

/* ================================================
   NOTIFY BACK-IN-STOCK — MODAL
   ================================================ */

.pg-notify-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.pg-notify-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.pg-notify-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.pg-notify-card {
    position: relative;
    background: var(--pg-white);
    width: 100%;
    max-width: 100%;
    padding: 32px 24px;
    border-radius: 16px 16px 0 0;
    z-index: 1;
    transform: translateY(20px);
    transition: transform 0.25s ease;
    text-align: center;
}

.pg-notify-modal.is-active .pg-notify-card {
    transform: translateY(0);
}

/* Desktop: centered card */
@media (min-width: 768px) {
    .pg-notify-modal {
        align-items: center;
    }

    .pg-notify-card {
        max-width: 420px;
        border-radius: 16px;
        padding: 40px 32px;
        box-shadow: var(--pg-shadow-lg);
    }
}

.pg-notify-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--pg-light-grey, #F3F4F6);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pg-grey, #6B7280);
    transition: all 0.2s;
    z-index: 2;
    padding: 0;
    line-height: 1;
}

.pg-notify-close svg {
    display: block;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.pg-notify-close:hover {
    background: var(--pg-border, #E5E7EB);
    color: var(--pg-dark, #1F2937);
}

.pg-notify-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--pg-galaxy-light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pg-galaxy);
}

.pg-notify-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--pg-dark);
    margin: 0 0 8px;
}

.pg-notify-desc {
    font-size: 14px;
    color: var(--pg-grey);
    margin: 0 0 24px;
    line-height: 1.5;
}

.pg-notify-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pg-notify-input-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.pg-notify-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid var(--pg-border);
    border-radius: 8px;
    font-size: 15px;
    color: var(--pg-dark);
    background: var(--pg-white);
    transition: border-color 0.2s;
    outline: none;
    box-sizing: border-box;
}

.pg-notify-input:focus {
    border-color: var(--pg-galaxy);
    box-shadow: 0 0 0 3px var(--pg-galaxy-shadow);
}

.pg-notify-error {
    font-size: 12px;
    color: var(--pg-error);
    min-height: 16px;
}

.pg-notify-submit {
    height: 48px;
    border: none;
    border-radius: 8px;
    background: var(--pg-dark);
    color: var(--pg-white);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
}

.pg-notify-submit:hover {
    background: var(--pg-dark);
}

/* Loading state */
.pg-notify-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--pg-white);
    border-radius: 50%;
    animation: pgSpin 0.6s linear infinite;
}

.pg-notify-submit.is-loading .pg-notify-submit-text {
    opacity: 0.5;
}

.pg-notify-submit.is-loading .pg-notify-spinner {
    display: block;
}

.pg-notify-submit.is-loading {
    pointer-events: none;
}

@keyframes pgSpin {
    to { transform: rotate(360deg); }
}

.pg-notify-login-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 13px;
    color: var(--pg-galaxy);
    text-decoration: none;
    font-weight: 500;
}

.pg-notify-login-link:hover {
    text-decoration: underline;
}

/* ================================================
   NOTIFY BACK-IN-STOCK — TOAST
   ================================================ */

.pg-notify-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--pg-dark);
    color: var(--pg-white);
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    z-index: 100001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: var(--pg-shadow-md);
    max-width: calc(100% - 40px);
    text-align: center;
}

.pg-notify-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.pg-notify-toast.is-success {
    background: var(--pg-success);
}

.pg-notify-toast.is-error {
    background: var(--pg-error);
}

/* ================================================
   PRODUCT REVIEWS SECTION
   ================================================ */

.pg-reviews-section {
    width: 100%;
    margin-top: 56px;
    padding: 48px 0;
    border-top: 1px solid var(--pg-border-light);
}

.pg-reviews-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Header --- */

.pg-reviews-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
}

.pg-reviews-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pg-reviews-subtitle {
    font-size: 13px;
    color: var(--pg-grey-light);
    margin: 0;
    line-height: 1.5;
}

.pg-reviews-subtitle a {
    color: var(--pg-galaxy);
    text-decoration: none;
    font-weight: 600;
}

.pg-reviews-subtitle a:hover {
    text-decoration: underline;
}

.pg-reviews-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--pg-dark);
    margin: 0;
    letter-spacing: -0.02em;
}

.pg-reviews-count {
    font-weight: 400;
    color: var(--pg-grey-light);
    font-size: 22px;
}

.pg-reviews-write-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--pg-dark);
    color: var(--pg-white);
    border: none;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    flex-shrink: 0;
    white-space: nowrap;
}

.pg-reviews-write-btn:hover {
    opacity: 0.85;
}

/* --- Rating Summary Card --- */

.pg-reviews-container .pg-reviews-summary {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    padding: 32px;
    margin-bottom: 12px;
    background: var(--pg-bg-light);
    border-radius: 12px;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-bottom: none;
}

.pg-reviews-summary-score {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 90px;
}

.pg-reviews-avg {
    font-size: 48px;
    font-weight: 800;
    color: var(--pg-dark);
    line-height: 1;
    letter-spacing: -0.03em;
}

.pg-reviews-avg-stars {
    display: flex;
}

.pg-reviews-avg-count {
    font-size: 13px;
    color: var(--pg-grey-light);
    margin-top: 4px;
}

.pg-reviews-distribution {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 6px;
}

.pg-reviews-dist-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pg-reviews-dist-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--pg-dark);
    width: 12px;
    text-align: right;
}

.pg-reviews-dist-star {
    flex-shrink: 0;
}

.pg-reviews-dist-bar {
    flex: 1;
    height: 6px;
    background: var(--pg-border-light);
    border-radius: 100px;
    overflow: hidden;
}

.pg-reviews-dist-bar-fill {
    height: 100%;
    background: #F59E0B;
    border-radius: 100px;
    transition: width 0.3s ease;
}

.pg-reviews-dist-count {
    font-size: 12px;
    color: var(--pg-grey-light);
    width: 24px;
    text-align: right;
}

/* --- Review Form --- */

.pg-review-form-wrapper {
    padding: 32px 0 36px;
    background: transparent;
    border-radius: 0;
    margin-bottom: 0;
    border-bottom: 1px solid var(--pg-border-light);
}

.pg-review-form-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--pg-dark);
    margin: 0 0 24px 0;
}

.pg-review-form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--pg-grey);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.pg-star-input {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.pg-star-input-btn {
    background: none;
    border: none;
    padding: 2px;
    cursor: pointer;
    transition: transform 0.15s;
}

.pg-star-input-btn:hover {
    transform: scale(1.2);
}

.pg-star-input-btn.active svg,
.pg-star-input-btn.hover svg {
    fill: #F59E0B;
    stroke: #F59E0B;
}

.pg-review-form-content {
    margin-bottom: 20px;
    position: relative;
}

.pg-review-form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--pg-border-light);
    border-radius: 12px;
    font-size: 15px;
    color: var(--pg-dark);
    background: var(--pg-white);
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.pg-review-form-textarea:focus {
    outline: none;
    border-color: var(--pg-galaxy);
    box-shadow: 0 0 0 3px var(--pg-galaxy-shadow);
}

.pg-review-form-charcount {
    display: block;
    text-align: right;
    font-size: 12px;
    color: var(--pg-grey-light);
    margin-top: 4px;
}

.pg-review-form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.pg-review-form-cancel {
    padding: 10px 24px;
    background: none;
    border: 1px solid var(--pg-border-light);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--pg-grey);
    cursor: pointer;
    transition: all 0.2s;
}

.pg-review-form-cancel:hover {
    border-color: var(--pg-border-dark);
    color: var(--pg-dark);
}

.pg-review-form-submit {
    padding: 10px 28px;
    background: var(--pg-dark);
    border: none;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--pg-white);
    cursor: pointer;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pg-review-form-submit:hover {
    opacity: 0.85;
}

.pg-review-form-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: var(--pg-white);
    border-radius: 50%;
    animation: pgSpin 0.6s linear infinite;
}

.pg-review-form-submit.is-loading .pg-review-form-submit-text {
    opacity: 0.5;
}

.pg-review-form-submit.is-loading .pg-review-form-spinner {
    display: block;
}

.pg-review-form-note {
    font-size: 12px;
    color: var(--pg-grey-light);
    margin: 12px 0 0 0;
    text-align: right;
}

/* --- Review Cards --- */

.pg-reviews-list {
    display: flex;
    flex-direction: column;
    margin-top: 8px;
}

.pg-review-card {
    padding: 28px 0;
    border-bottom: 1px solid var(--pg-border-light);
}

.pg-review-card:first-child {
    border-top: 1px solid var(--pg-border-light);
}

.pg-review-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 12px;
}

.pg-review-card-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pg-white);
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.pg-review-card-info {
    flex: 1;
    min-width: 0;
}

.pg-review-card-top {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.pg-review-card-author {
    font-size: 15px;
    font-weight: 600;
    color: var(--pg-dark);
}

.pg-review-card-verified {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 600;
    color: var(--pg-success);
    background: rgba(5, 150, 105, 0.08);
    padding: 2px 8px;
    border-radius: 100px;
}

.pg-review-card-date {
    font-size: 13px;
    color: var(--pg-grey-light);
}

.pg-review-card-rating {
    margin-bottom: 2px;
}

.pg-review-card-content {
    font-size: 15px;
    line-height: 1.7;
    color: var(--pg-grey);
    padding-left: 54px;
}

/* Shared Stars */
.pg-stars {
    display: inline-flex;
    gap: 2px;
    align-items: center;
}

/* --- Empty / Login Prompt --- */

.pg-reviews-empty,
.pg-review-login-prompt {
    padding: 24px 0;
    text-align: left;
    margin-bottom: 0;
}

.pg-reviews-empty p,
.pg-review-login-prompt p {
    margin: 0;
    font-size: 15px;
    color: var(--pg-grey);
    line-height: 1.6;
}

.pg-review-login-prompt a {
    color: var(--pg-galaxy);
    text-decoration: none;
    font-weight: 600;
}

.pg-review-login-prompt a:hover {
    text-decoration: underline;
}

/* --- Load More --- */

.pg-reviews-load-more {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 14px;
    background: none;
    border: none;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--pg-galaxy);
    cursor: pointer;
    transition: background 0.2s;
}

.pg-reviews-load-more:hover {
    background: var(--pg-galaxy-light);
}

/* --- Reviews Responsive --- */

@media (max-width: 768px) {
    .pg-reviews-section {
        margin-top: 40px;
        padding: 36px 0;
    }

    .pg-reviews-container {
        padding: 0 20px;
    }

    .pg-reviews-header {
        margin-bottom: 24px;
    }

    .pg-reviews-header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .pg-reviews-title {
        font-size: 22px;
    }

    .pg-reviews-container .pg-reviews-summary {
        flex-direction: column;
        gap: 24px;
        padding: 24px 20px;
    }

    .pg-reviews-summary-score {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        min-width: auto;
    }

    .pg-reviews-avg {
        font-size: 40px;
    }

    .pg-reviews-distribution {
        width: 100%;
    }

    .pg-review-card {
        padding: 22px 0;
    }

    .pg-review-card-content {
        padding-left: 0;
        margin-top: 8px;
    }

    .pg-review-form-wrapper {
        padding: 24px 0 28px;
    }

    .pg-review-form-actions {
        flex-direction: column;
    }

    .pg-review-form-cancel,
    .pg-review-form-submit {
        width: 100%;
        justify-content: center;
    }
}


/* ================================================
   RELATED PRODUCTS
   ================================================ */

.pg-related-section {
    max-width: 1320px;
    margin: 0 auto;
    padding: 48px 24px 32px;
}

.pg-related-container {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.pg-related-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--pg-dark);
    margin: 0;
    letter-spacing: -0.02em;
}

.pg-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pg-related-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.pg-related-card-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--pg-light-grey);
    border-radius: 0;
}

.pg-related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.pg-related-card:hover .pg-related-card-image img {
    opacity: 0.85;
}

.pg-related-card-info {
    padding: 12px 0 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pg-related-card-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--pg-dark);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pg-related-card:hover .pg-related-card-name {
    color: var(--pg-galaxy);
}

.pg-related-card-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--pg-grey);
}

.pg-related-card-price del {
    font-size: 12px;
    font-weight: 400;
    color: var(--pg-grey-light);
    margin-right: 4px;
}

.pg-related-card-price ins {
    text-decoration: none;
    color: var(--pg-dark);
}

/* ── Related Products Responsive ── */

@media (max-width: 1024px) {
    .pg-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .pg-related-section {
        padding: 32px 16px 24px;
    }

    .pg-related-title {
        font-size: 19px;
    }

    .pg-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .pg-related-card-name {
        font-size: 13px;
    }

    .pg-related-card-price {
        font-size: 13px;
    }
}
