/* ==========================================================================
   Noble Graphic — Single Product Page
   Colors: Primary #98782D | Secondary #063F30 | Tertiary #EDEBE4 | Neutral #FDFDFD
   ========================================================================== */

/* ----------------------------------------------------------
   PRODUCT LAYOUT — 2-column grid
   ---------------------------------------------------------- */

.single-product .site-main {
    padding: 60px 0 60px;
}

.ng-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* ----------------------------------------------------------
   PRODUCT GALLERY
   ---------------------------------------------------------- */

.ng-product-gallery {
    position: sticky;
    top: 20px;
}

.ng-gallery-main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    cursor: zoom-in;
}

.ng-gallery-main img,
.ng-gallery-main .woocommerce-product-gallery__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
    display: block;
}

.ng-gallery-main:hover img {
    transform: scale(1.04);
}

.ng-gallery-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ng-gallery-thumb {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background: var(--wp--preset--color--tertiary);
    flex-shrink: 0;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.ng-gallery-thumb:hover,
.ng-gallery-thumb.ng-thumb--active {
    border-color: var(--wp--preset--color--secondary, #063F30);
    transform: scale(1.05);
}

.ng-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* WC native gallery — works with flexslider HTML output
   WC renders: .woocommerce-product-gallery > .flexslider > .flex-viewport > ul.slides
               > ol.flex-control-thumbs (below the main slider)
*/
.single-product .woocommerce-product-gallery {
    position: sticky;
    top: 20px;
    margin: 0;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Strip WC's default flexslider decoration */
.single-product .flexslider {
    margin: 0 0 10px;
    border: none !important;
    box-shadow: none !important;
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
    width: 100% !important;
    max-width: 100% !important;
}

.single-product .flex-viewport {
    border-radius: 16px;
    overflow: hidden;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 20px !important;
}

/* Main product image */
.single-product .woocommerce-product-gallery__image img,
.single-product .flexslider .slides img {
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: cover;
    display: block;
    background: transparent;
}

/* Flexslider nav arrows — hide, we use thumbnails */
.single-product .flex-direction-nav {
    display: none;
}

/* Thumbnail strip below main image */
.single-product .flex-control-nav.flex-control-thumbs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    position: static;
    width: 100%;
    text-align: left;
}

.single-product .flex-control-thumbs li {
    width: 68px !important;
    height: 68px !important;
    margin: 0 !important;
    list-style: none;
    flex-shrink: 0;
}

.single-product .flex-control-thumbs img {
    width: 68px !important;
    height: 68px !important;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.65;
    transition: opacity 0.2s, border-color 0.2s, transform 0.15s;
    display: block;
}

.single-product .flex-control-thumbs img:hover {
    opacity: 0.9;
    border-color: var(--wp--preset--color--secondary);
    transform: scale(1.04);
}

.single-product .flex-control-thumbs img.flex-active {
    border-color: var(--wp--preset--color--secondary);
    opacity: 1;
}

/* Zoom icon (WC adds a magnifier) */
.single-product .woocommerce-product-gallery__trigger {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.9);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: background 0.2s;
}

.single-product .woocommerce-product-gallery__trigger:hover {
    background: #fff;
}

.single-product .woocommerce-product-gallery__trigger img {
    width: 20px;
    height: 20px;
}

.woocommerce span.onsale {
    padding: 8px 12px;
    min-width: fit-content;
    min-height: fit-content;
    border-radius: 24px;
    line-height: 1;
    top: 12px;
    left: 12px;

}

.woocommerce div.product div.images.woocommerce-product-gallery {
    position: static;
}

/* ----------------------------------------------------------
   PRODUCT SUMMARY (RIGHT COLUMN)
   ---------------------------------------------------------- */

.ng-product-summary {
    padding-top: 8px;
}

/* Category label */
.ng-product-summary .posted_in,
.woocommerce-product-details__short-description+.posted_in {
    display: none;
}

/* Product title */
.ng-product-summary .product_title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--wp--preset--color--secondary);
    margin: 0 0 8px;
    line-height: 1.2;
}

/* Category label above title */
.ng-category-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--wp--preset--color--primary);
    margin-bottom: 8px;
    display: block;
}

/* Star rating */
.single-product .woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.single-product .star-rating {
    font-size: 0.9rem;
    color: var(--wp--preset--color--primary);
}

.single-product .woocommerce-review-link {
    font-size: 0.85rem;
    color: #666;
    text-decoration: underline;
}

/* Price */
.single-product .price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--wp--preset--color--secondary);
    margin-bottom: 22px;
    display: block;
}

.single-product .price ins {
    text-decoration: none;
}

.single-product .price del {
    font-size: 1.3rem;
    font-weight: 500;
    opacity: 0.5;
    margin-right: 8px;
}

/* ----------------------------------------------------------
   VARIATION PILLS (JS-converted from WC select)
   ---------------------------------------------------------- */

.ng-variations-wrapper {
    margin-bottom: 20px;
}

.ng-variation-group {
    margin-bottom: 18px;
}

.ng-variation-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #444;
    margin-bottom: 10px;
}

.ng-variation-label span.ng-variation-value {
    font-weight: 800;
    color: var(--wp--preset--color--secondary);
    text-transform: none;
    letter-spacing: 0;
}

.ng-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.ng-pill {
    padding: 8px 18px;
    border: 2px solid #ddd;
    border-radius: 50px;
    background: #fff;
    color: #333;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    user-select: none;
}

.ng-pill:hover {
    border-color: var(--wp--preset--color--secondary);
    color: var(--wp--preset--color--secondary);
}

.ng-pill--selected {
    background: var(--wp--preset--color--secondary);
    border-color: var(--wp--preset--color--secondary);
    color: #fff;
}

.ng-pill--selected:hover {
    color: #fff;
}

.ng-pill--disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.ng-pills-show-more {
    background: none;
    border: none;
    color: var(--wp--preset--color--primary);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    padding: 4px 0;
    display: none;
}

.ng-pills-show-more.ng-show-more--visible {
    display: inline-block;
}

/* ----------------------------------------------------------
   QUANTITY + ADD TO CART
   ---------------------------------------------------------- */

.single-product .cart {
    display: flex;
    gap: 12px;
    align-items: stretch;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.single-product .quantity {
    display: flex;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    height: 54px;
}

.ng-qty-btn {
    width: 44px;
    height: 100%;
    background: none;
    border: none;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--wp--preset--color--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.ng-qty-btn:hover {
    background: var(--wp--preset--color--tertiary);
}

.single-product .quantity input.qty {
    width: 50px;
    border: none;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--wp--preset--color--secondary);
    background: transparent;
    -moz-appearance: textfield;
    outline: none;
}

.single-product .quantity input.qty::-webkit-outer-spin-button,
.single-product .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.single-product .single_add_to_cart_button {
    flex: 1;
    min-width: 180px;
    background: var(--wp--preset--color--primary) !important;
    color: #fff !important;
    border: none;
    border-radius: 12px;
    padding: 0 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    height: 54px;
    transition: background 0.2s ease, transform 0.15s ease;
    letter-spacing: 0.3px;
}

.single-product .single_add_to_cart_button:hover {
    background: var(--wp--preset--color--secondary) !important;
    transform: translateY(-1px);
}

/* ----------------------------------------------------------
   TRUST BADGES
   ---------------------------------------------------------- */

.ng-trust-badges {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    padding: 14px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-top: 14px;
    margin-bottom: 14px;
    justify-content: space-between;
}

.ng-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #555;
}

.ng-trust-item svg {
    color: var(--wp--preset--color--secondary);
    flex-shrink: 0;
}

/* ----------------------------------------------------------
   SPECS & UPLOAD TRIGGER LINKS
   ---------------------------------------------------------- */
.woocommerce div.product form.cart .button {
    border-radius: 8px;
}

.ng-product-links {
    margin-bottom: 0;
}

.ng-link-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    border-bottom: 1px solid #eee;
    padding: 13px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--wp--preset--color--secondary);
    cursor: pointer;
    text-align: left;
    gap: 8px;
    transition: color 0.2s;
}

.ng-link-btn:hover {
    color: var(--wp--preset--color--primary);
}

.ng-link-btn>svg:first-child {
    margin-right: 6px;
    flex-shrink: 0;
}

.ng-link-btn span {
    flex: 1;
}

.ng-chevron {
    flex-shrink: 0;
}

/* ----------------------------------------------------------
   UPLOAD DESIGN SECTION
   ---------------------------------------------------------- */

.ng-upload-section {
    margin: 14px 0 0;
}

.ng-upload-zone {
    border: 2px dashed #ccc;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: #fafafa;
    position: relative;
}

.ng-upload-zone:hover,
.ng-upload-zone.ng-dragover {
    border-color: var(--wp--preset--color--secondary);
    background: rgba(6, 63, 48, 0.04);
}

.ng-upload-idle svg {
    color: #bbb;
    margin-bottom: 8px;
}

.ng-upload-idle p {
    margin: 4px 0;
    font-size: 0.9rem;
    color: #555;
}

.ng-upload-idle p strong {
    color: var(--wp--preset--color--secondary);
    font-size: 1rem;
}

.ng-upload-browse {
    color: var(--wp--preset--color--primary);
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.ng-upload-formats {
    font-size: 0.78rem !important;
    color: #999 !important;
}

/* Upload Preview */
.ng-upload-preview {
    text-align: left;
}

.ng-preview-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    background: var(--wp--preset--color--secondary);
    color: #fff;
    border-radius: 8px;
    padding: 8px 14px;
}

.ng-preview-filename {
    font-weight: 700;
    font-size: 0.9rem;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ng-preview-filesize {
    font-size: 0.8rem;
    opacity: 0.75;
    flex-shrink: 0;
}

.ng-remove-file {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.ng-remove-file:hover {
    background: rgba(255, 255, 255, 0.35);
}

.ng-preview-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--wp--preset--color--tertiary);
    margin-bottom: 10px;
}

.ng-preview-img {
    max-height: 200px;
    width: auto;
    max-width: 100%;
    border-radius: 6px;
}

.ng-preview-icon {
    text-align: center;
    padding: 20px;
    color: var(--wp--preset--color--secondary);
}

.ng-preview-icon svg {
    margin-bottom: 6px;
}

.ng-preview-ext {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--wp--preset--color--primary);
}

.ng-upload-success {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #2e7d4f;
    background: #f0faf4;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 8px 12px;
}

.ng-upload-success svg {
    color: #2e7d4f;
    flex-shrink: 0;
}

/* Upload Error */
.ng-upload-error {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #c0392b;
    background: #fdf3f2;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 8px 12px;
    margin-top: 8px;
}

/* ----------------------------------------------------------
   SPECS DRAWER (Off-canvas from right)
   ---------------------------------------------------------- */

.ng-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.ng-drawer-overlay.ng-drawer--open {
    opacity: 1;
    pointer-events: all;
}

.ng-specs-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 420px;
    max-width: 95vw;
    background: #fff;
    z-index: 9001;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ng-specs-drawer.ng-drawer--open {
    transform: translateX(0);
}

.ng-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
    background: var(--wp--preset--color--secondary);
    color: #fff;
    flex-shrink: 0;
}

.ng-drawer-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.ng-drawer-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.ng-drawer-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.ng-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.ng-drawer-preview {
    text-align: center;
    margin-bottom: 24px;
    background: var(--wp--preset--color--tertiary);
    border-radius: 12px;
    padding: 16px;
}

.ng-drawer-preview img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto 8px;
}

.ng-safe-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
    margin: 0;
}

.ng-drawer-spec-notes {
    margin-bottom: 24px;
}

.ng-drawer-spec-notes h4,
.ng-drawer-templates h4 {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #888;
    margin: 0 0 10px;
}

.ng-spec-content {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #444;
}

.ng-drawer-tpl-hint {
    font-size: 0.83rem;
    color: #666;
    margin-bottom: 14px;
}

.ng-template-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ng-tpl-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    border-radius: 10px;
    border: 2px solid #eee;
    background: #fafafa;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--wp--preset--color--secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.ng-tpl-btn:hover {
    border-color: var(--wp--preset--color--secondary);
    background: var(--wp--preset--color--tertiary);
    transform: translateX(4px);
    color: var(--wp--preset--color--secondary);
}

.ng-tpl-pdf {
    border-left: 4px solid #e74c3c;
}

.ng-tpl-svg {
    border-left: 4px solid #f39c12;
}

.ng-tpl-ai {
    border-left: 4px solid #e67e22;
}

.ng-tpl-cdr {
    border-left: 4px solid #27ae60;
}

/* ----------------------------------------------------------
   REVIEWS SECTION
   ---------------------------------------------------------- */

.ng-reviews-section {
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.ng-reviews-section .section-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--wp--preset--color--secondary);
    margin-bottom: 30px;
}

.ng-reviews-summary {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 40px;
    align-items: center;
    background: var(--wp--preset--color--tertiary);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 40px;
}

.ng-rating-overview {
    text-align: center;
}

.ng-rating-big {
    font-size: 4rem;
    font-weight: 900;
    color: var(--wp--preset--color--secondary);
    line-height: 1;
    margin-bottom: 6px;
}

.ng-rating-overview .star-rating {
    font-size: 1.1rem;
    display: block;
    margin: 0 auto 6px;
    width: fit-content;
}

.ng-rating-count {
    font-size: 0.82rem;
    color: #666;
    font-weight: 600;
}

.ng-rating-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ng-rating-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ng-bar-label {
    width: 36px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #555;
    flex-shrink: 0;
    text-align: right;
}

.ng-bar-track {
    flex: 1;
    height: 8px;
    background: #ddd;
    border-radius: 50px;
    overflow: hidden;
}

.ng-bar-fill {
    height: 100%;
    background: var(--wp--preset--color--primary);
    border-radius: 50px;
    transition: width 0.8s ease;
}

.ng-bar-count {
    width: 24px;
    font-size: 0.8rem;
    color: #888;
    flex-shrink: 0;
}

/* Individual Reviews */
.ng-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 24px;
}

.ng-review-item {
    padding: 24px 0;
    border-bottom: 1px solid #f0f0f0;
}

.ng-review-item:last-child {
    border-bottom: none;
}

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

.ng-review-author-avatar .ng-avatar {
    border-radius: 50%;
    width: 44px;
    height: 44px;
    object-fit: cover;
    flex-shrink: 0;
}

.ng-review-meta {
    flex: 1;
}

.ng-review-author {
    display: block;
    font-size: 0.95rem;
    color: var(--wp--preset--color--secondary);
    margin-bottom: 2px;
}

.ng-review-rating {
    display: flex;
    gap: 2px;
    margin-bottom: 2px;
}

.ng-star path {
    font-size: 0.95rem;
    fill: #ddd;
}

.ng-star--filled path {
    fill: var(--wp--preset--color--primary);
}

.ng-review-date {
    font-size: 0.78rem;
    color: #999;
}

.ng-review-body {
    font-size: 0.92rem;
    line-height: 1.7;
    color: #555;
}

.ng-review-body p {
    margin-bottom: 0;
}

/* Load More Button */
.ng-load-more-wrapper {
    text-align: center;
    padding: 16px 0;
}

.ng-load-more-reviews {
    border-radius: 50px !important;
    min-width: 180px;
}

/* Write Review */
.ng-write-review {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #eee;
}

/* ----------------------------------------------------------
   PRODUCT BREADCRUMB
   ---------------------------------------------------------- */

.woocommerce-breadcrumb {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 20px;
    padding: 0;
}

.woocommerce-breadcrumb a {
    color: #888;
}

.woocommerce-breadcrumb a:hover {
    color: var(--wp--preset--color--primary);
}

/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */

@media (max-width: 1024px) {
    .ng-product-layout {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .single-product .site-main {
        padding: 16px 0 40px;
    }

    .ng-product-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ng-product-gallery {
        position: static;
    }

    .single-product .woocommerce-product-gallery__wrapper {
        grid-template-columns: 1fr;
    }

    .single-product .flex-control-thumbs {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .single-product .flex-control-thumbs li {
        width: 60px !important;
    }

    .ng-product-summary .product_title {
        font-size: 1.5rem;
    }

    .ng-reviews-summary {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: left;
    }

    .ng-rating-overview {
        text-align: left;
    }

    .ng-specs-drawer {
        width: 100%;
    }

    .ng-trust-badges {
        gap: 12px;
    }

    .single-product .cart {
        flex-direction: column;
    }

    .single-product .quantity {
        width: 100%;
        justify-content: center;
    }

    .single-product .single_add_to_cart_button {
        width: 100%;
        height: 54px;
    }
}

@media (max-width: 480px) {
    .ng-pills {
        gap: 6px;
    }

    .ng-pill {
        padding: 7px 14px;
        font-size: 0.85rem;
    }

    .ng-reviews-summary {
        padding: 20px;
    }

    .ng-rating-big {
        font-size: 3rem;
    }
}

/* ==========================================================================
   ADDITIONAL FIXES — Gallery, Reviews Form, Related Products
   ========================================================================== */

/* Gallery left column — ensure full width */
.ng-product-gallery .woocommerce-product-gallery,
.ng-product-gallery .flexslider {
    width: 100% !important;
}

/* ----------------------------------------------------------
   WC COMMENT / REVIEW FORM — override bare defaults
   ---------------------------------------------------------- */

.ng-write-review h3,
.ng-write-review .comment-reply-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--wp--preset--color--secondary);
    margin-bottom: 20px;
}

.comment-form-rating .stars a {
    font-size: 1.5rem;
    color: #ddd;
    text-decoration: none;
    transition: color 0.15s;
}

.comment-form-rating .stars a:hover,
.comment-form-rating .stars a.active {
    color: var(--wp--preset--color--primary);
}

.comment-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #444;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-size: 0.95rem;
    background: #fff;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
    font-family: inherit;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--wp--preset--color--secondary);
}

.comment-form p.form-submit input[type="submit"] {
    background: var(--wp--preset--color--secondary);
    color: #fff;
    border: none;
    padding: 13px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    width: auto;
    font-family: inherit;
}

.comment-form p.form-submit input[type="submit"]:hover {
    background: var(--wp--preset--color--primary);
    transform: translateY(-1px);
}

.comment-form p {
    margin-bottom: 16px;
}

.comment-notes,
.logged-in-as {
    font-size: 0.83rem;
    color: #888;
    margin-bottom: 16px;
}

.logged-in-as a {
    color: var(--wp--preset--color--primary);
}

/* ----------------------------------------------------------
   REVIEWS SECTION — padding and container
   ---------------------------------------------------------- */

.ng-reviews-section {
    padding: 50px 0;
}

.ng-reviews-section>.container.wide,
.ng-reviews-section>.container {
    padding: 0 20px;
    box-sizing: border-box;
}

/* ----------------------------------------------------------
   RELATED PRODUCTS — noble_render_product_slider output
   ---------------------------------------------------------- */

.single-product .ng-section {
    padding: 50px 0;
}

.single-product .ng-section:nth-child(even) {
    background: var(--wp--preset--color--tertiary, #EDEBE4);
}

/* ----------------------------------------------------------
   ACCORDIONS
   ---------------------------------------------------------- */

.ng-accordions-wrapper {
    margin-top: 30px;
    border-top: 1px solid #eaeaea;
}

.ng-accordion {
    border-bottom: 1px solid #eaeaea;
}

.ng-accordion-trigger {
    width: 100%;
    background: transparent;
    border: none;
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    color: var(--wp--preset--color--secondary);
    transition: color 0.2s;
}

.ng-accordion-trigger:hover {
    color: var(--wp--preset--color--primary);
}

.ng-accordion-icon {
    transition: transform 0.3s ease;
}

/* Closed by default */
.ng-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.ng-accordion-inner {
    padding-bottom: 16px;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Open State */
.ng-accordion.ng-accordion--open .ng-accordion-icon {
    transform: rotate(180deg);
}

.ng-accordion.ng-accordion--open .ng-accordion-content {
    max-height: 2000px;
    /* arbitrary large value for transition */
}

/* ----------------------------------------------------------
   HIDE PHP WARNINGS IN CART FORM (e.g. Razorpay)
   ---------------------------------------------------------- */
.single-product form.cart {
    font-size: 0;
}

.single-product form.cart>* {
    font-size: 1rem;
}

.single-product form.cart>b,
.single-product form.cart>br {
    display: none !important;
}