/* ═══════════════════════════════════════════════════════════════
   UTILITY: HIDE WC DEFAULT GALLERY (we render our own)
   ═══════════════════════════════════════════════════════════════ */
.woocommerce div.product div.images.woocommerce-product-gallery {
    display: none !important;
}

/* ════════════════════════════════════════════
   RESET — scoped
   ════════════════════════════════════════════ */
.ngp-page-wrap,
.ngp-page-wrap *,
.ngp-page-wrap *::before,
.ngp-page-wrap *::after {
    box-sizing: border-box !important;
}

/* ════════════════════════════════════════════
   OUTER WRAPPER
   ════════════════════════════════════════════ */
.ngp-page-wrap {
    width: 100% !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding: 36px 40px !important;
    background: #ffffff !important;
    border-radius: 20px !important;
}

@keyframes ngpFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* WooCommerce notice wrapper */
.ngp-woo-notices {
    max-width: 1440px !important;
    margin: 0 auto 12px auto !important;
    padding: 0 40px !important;
}

/* ════════════════════════════════════════════
   BREADCRUMB
   ════════════════════════════════════════════ */
.ngp-breadcrumb {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    font-size: 13.5px !important;
    color: #9a9a9a !important;
    margin-bottom: 32px !important;
}

.ngp-breadcrumb a {
    text-decoration: none !important;
    color: #9a9a9a !important;
    font-weight: 500 !important;
    transition: color 0.22s ease !important;
}

.ngp-breadcrumb a:hover {
    color: #111111 !important;
}

.ngp-related-products-section {
    width: 100%;
    padding: 50px 0;
    background: #fff;
}

.ngp-related-container {
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 50px;
    padding-right: 50px;
    box-sizing: border-box;
}

.ngp-related-header {
    text-align: center;
    margin-bottom: 40px;
}

.ngp-related-header h2 {
    margin: 0;
    font-size: 42px;
    font-weight: 600;
    line-height: 1.2;
}

.ngp-related-products-section .related.products {
    margin-top: 0;
}

.ngp-related-products-section .related.products h2 {
    margin-bottom: 24px !important;
    font-size: 30px;
}

.ngp-related-products-section ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ngp-related-products-section ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
}

@media (max-width: 1024px) {
    .ngp-related-container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .ngp-related-products-section ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .ngp-related-products-section {
        padding: 40px 0;
    }

    .ngp-related-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .ngp-related-header h2 {
        font-size: 30px;
    }

    .ngp-related-products-section ul.products {
        grid-template-columns: 1fr;
    }
}

.ngp-bread-sep {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    flex-shrink: 0 !important;
    margin: 0 2px !important;
}

.ngp-bread-current {
    color: #111111 !important;
    font-weight: 600 !important;
    letter-spacing: -0.2px !important;
}

/* ════════════════════════════════════════════
   TWO-COLUMN LAYOUT
   ════════════════════════════════════════════ */
.ngp-product-layout {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 56px !important;
    align-items: start !important;
}

/* ════════════════════════════════════════════
   GALLERY  (LEFT COL)
   ════════════════════════════════════════════ */
.ngp-gallery-col {
    display: flex !important;
    flex-direction: row-reverse !important;
    gap: 20px !important;
    align-items: flex-start !important;
}

/* Main image container */
.ngp-main-img-wrap {
    position: relative !important;
    background: #f4f4f4 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    aspect-ratio: 1 / 1 !important;
    flex: 1 !important;
}

.ngp-main-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: opacity 0.28s ease, transform 0.28s ease !important;
}

.ngp-main-img-wrap:hover img {
    transform: scale(1.03) !important;
}

/* Dot progress indicators */
.ngp-img-dots {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    display: flex !important;
    gap: 5px !important;
    z-index: 2 !important;
}

.ngp-img-dot {
    width: 28px !important;
    height: 3px !important;
    background: rgba(255, 255, 255, 0.45) !important;
    border-radius: 2px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    border: none !important;
    padding: 0 !important;
}

.ngp-img-dot.ngp-dot-active {
    background: #ffffff !important;
    width: 44px !important;
}

/* Thumbnails */
.ngp-thumbs {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 88px !important;
    flex-shrink: 0 !important;
    max-height: 550px !important;
    overflow-y: auto !important;
    scrollbar-width: none !important;
    /* Hide scrollbar */
}

.ngp-thumbs::-webkit-scrollbar {
    display: none !important;
}

.ngp-thumb {
    background: #f4f4f4 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    border: 2px solid transparent !important;
    transition: all 0.25s ease !important;
}

.ngp-thumb:hover {
    border-color: #9a9a9a !important;
}

.ngp-thumb.ngp-selected {
    border-color: #9a9a9a !important;
}

.ngp-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.35s ease !important;
}

.ngp-thumb:hover img {
    transform: scale(1.06) !important;
}

/* ── Info Column (Right Col) ── */
.ngp-info-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

.ngp-cat-label {
    font-size: 11.5px !important;
    font-weight: 500 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    color: #9a9a9a !important;
    margin: 0 0 8px 0 !important;
}

.ngp-title {
    font-size: 38px !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
    color: #111111 !important;
    margin: 0 0 14px 0 !important;
}

.ngp-price {
    font-size: 28px !important;
    font-weight: 600 !important;
    color: #111111 !important;
    margin: 0 0 20px 0 !important;
    line-height: 1 !important;
}

.ngp-price .woocommerce-Price-amount,
.ngp-price .amount {
    font-size: 28px !important;
    font-weight: 600 !important;
    color: #111111 !important;
}

.ngp-price ins {
    text-decoration: none !important;
}

.ngp-price del {
    font-size: 18px !important;
    font-weight: 400 !important;
    color: #9a9a9a !important;
    margin-right: 8px !important;
}

.ngp-price del .woocommerce-Price-amount,
.ngp-price del .amount {
    font-size: 18px !important;
    font-weight: 400 !important;
    color: #9a9a9a !important;
}

/* ── Attribute Buttons ── */
.ngp-attr-group {
    margin: 0 0 22px 0 !important;
}

.ngp-attr-label {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #555555 !important;
    margin: 0 0 10px 0 !important;
}

.ngp-attr-chosen {
    color: #111111 !important;
    font-weight: 600 !important;
    margin-left: 4px !important;
}

.ngp-attr-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.ngp-opt-btn {
    all: unset !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 56px !important;
    height: 46px !important;
    padding: 0 20px !important;
    border-radius: 999px !important;
    border: 1.5px solid #e5e5e5 !important;
    background: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: #111111 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease !important;
    line-height: 1 !important;
}

.ngp-opt-btn:hover {
    border-color: #111111 !important;
    background: #f5f5f5 !important;
}

.ngp-opt-btn.ngp-opt-selected {
    background: #111111 !important;
    color: #ffffff !important;
    border-color: #111111 !important;
}

/* ── CTA Row ── */
.ngp-cta-row {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    margin: 0 0 28px 0 !important;
}

.ngp-atc-btn {
    all: unset !important;
    flex: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 54px !important;
    padding: 0 28px !important;
    background: #111111 !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: background 0.22s ease, transform 0.15s ease !important;
}

.ngp-atc-btn:hover {
    background: #2a2a2a !important;
}

.ngp-wish-btn {
    all: unset !important;
    width: 54px !important;
    height: 54px !important;
    border-radius: 50% !important;
    border: 1.5px solid #e5e5e5 !important;
    background: #ffffff !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #9a9a9a !important;
    transition: border-color 0.22s ease, color 0.22s ease !important;
}

.ngp-wish-btn:hover,
.ngp-wish-btn.pfc-fav-active {
    border-color: #e74c3c !important;
    color: #e74c3c !important;
}

.ngp-wish-btn.pfc-fav-active svg {
    fill: #e74c3c !important;
}

/* ── Accordion ── */
.ngp-accordion {
    border-top: 1.5px solid #e5e5e5 !important;
}

.ngp-acc-item {
    border-bottom: 1.5px solid #e5e5e5 !important;
}

.ngp-acc-trigger {
    all: unset !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 18px 0 !important;
    cursor: pointer !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    color: #111111 !important;
}

.ngp-acc-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    border: 1.5px solid #e5e5e5 !important;
    color: #9a9a9a !important;
    transition: transform 0.3s ease !important;
}

.ngp-acc-item.ngp-acc-open .ngp-acc-icon {
    transform: rotate(180deg) !important;
}

.ngp-acc-panel {
    overflow: hidden;
    height: 0;
    opacity: 0;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease !important;
}

.ngp-acc-item.ngp-acc-open .ngp-acc-panel {
    height: auto;
    opacity: 1;
}

.ngp-acc-inner {
    padding-bottom: 20px !important;
    font-size: 13.5px !important;
    color: #555555 !important;
    line-height: 1.75 !important;
}

/* ── Shipping Grid ── */
.ngp-ship-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    margin-top: 10px !important;
}

.ngp-ship-item {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 16px !important;
    background: #ffffff !important;
    border: 1.5px solid #f2f2f2 !important;
    border-radius: 14px !important;
    transition: all 0.25s ease !important;
}

.ngp-ship-item:hover {
    border-color: #111 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04) !important;
}

.ngp-ship-icon {
    width: 44px !important;
    height: 44px !important;
    background: #111 !important;
    color: #fff !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.25s ease !important;
}

.ngp-ship-item:hover .ngp-ship-icon {
    background: #000 !important;
    transform: scale(1.05) !important;
}

.ngp-ship-lbl {
    font-size: 10.5px !important;
    color: #888888 !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
}

.ngp-ship-val {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #111111 !important;
}

/* ── Cart Success Banner ── */
.ngp-cart-banner {
    display: none !important;
    /* Hidden by default, shown via JS */
    align-items: center !important;
    gap: 16px !important;
    padding: 14px 18px !important;
    background: #f0fdf4 !important;
    /* Light Emerald */
    border: 1px solid #d1fae5 !important;
    border-left: 4px solid #10b981 !important;
    border-radius: 12px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
    animation: ngpSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ngp-cart-banner.ngp-show {
    display: flex !important;
}

.ngp-cart-banner-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    background: #10b981 !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
}

.ngp-cart-banner-text {
    flex: 1 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #065f46 !important;
}

.ngp-cart-banner-text strong {
    font-weight: 700 !important;
    color: #064e3b !important;
}

.ngp-cart-banner-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #059669 !important;
    text-decoration: none !important;
    background: #ffffff !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    border: 1px solid #d1fae5 !important;
    transition: all 0.25s ease !important;
    white-space: nowrap !important;
}

.ngp-cart-banner-link:hover {
    background: #059669 !important;
    color: #ffffff !important;
    border-color: #059669 !important;
    transform: translateX(3px) !important;
}

@keyframes ngpSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Responsive ── */
@media (max-width: 860px) {
    .ngp-product-layout {
        grid-template-columns: 1fr !important;
    }
}

/* ── ReviewX & Tabs ── */
.twf-product-page .twf-tabs-container {
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
}

@media (max-width: 860px) {
    .twf-product-page .twf-tabs-container {
        padding: 0 20px !important;
    }
}

#rvx-review-form__wrapper {
    max-width: 100% !important;
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 16px !important;
    padding: 24px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;

}

/* ── ReviewX Premium Overrides ── */
.twf-product-page #rvx-storefront-widget {
    font-family: 'DM Sans', sans-serif !important;
}

.twf-product-page #rvx-storefront-widget--aggregation__summary {
    padding: 40px 0 !important;
    border-bottom: 1px solid #eee !important;
    margin-bottom: 30px !important;
}

.twf-product-page .rvx-average-rating {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 48px !important;
    font-weight: 700 !important;
    color: #111 !important;
}

.twf-product-page .rvx-rating-badge {
    background: #000 !important;
    border-radius: 4px !important;
    padding: 4px 12px !important;
}

.twf-product-page .rvx-aggregation__progressbar-active {
    background: #111 !important;
}

/* Buttons */
.twf-product-page .rvx-review-write__button {
    all: unset !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 46px !important;
    padding: 0 24px !important;
    background: #111 !important;
    color: #fff !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.twf-product-page .rvx-review-write__button:hover {
    background: #333 !important;
}

.twf-product-page .rvx-review-filter__button,
.twf-product-page .rvx-review-sort__button {
    all: unset !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    height: 42px !important;
    padding: 0 18px !important;
    border: 1.5px solid #e5e5e5 !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #111 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.twf-product-page .rvx-review-filter__button:hover,
.twf-product-page .rvx-review-sort__button:hover {
    border-color: #111 !important;
    background: #f9f9f9 !important;
}

/* Review Cards */
.twf-product-page .rvx-review-card {
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 16px !important;
    padding: 24px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
}

.twf-product-page .rvx-review-user__avatar {
    border: none !important;
    background: #f5f5f5 !important;
}

.twf-product-page .rvx-reviewer__star-active {
    fill: #111 !important;
}

/* ── PREMIUM WOOCOMMERCE TABS ── */
.twf-product-page .wc-tabs-wrapper {
    margin-top: 60px !important;
    border-top: 1px solid #e5e5e5 !important;
    padding-top: 40px !important;
}

.twf-product-page ul.wc-tabs {
    display: flex !important;
    justify-content: center !important;
    list-style: none !important;
    margin: 0 0 30px 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    gap: 40px !important;
}

.twf-product-page ul.wc-tabs li {
    margin: 0 !important;
    padding: 0 !important;
}

.twf-product-page ul.wc-tabs li a {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    color: #888 !important;
    text-decoration: none !important;
    padding: 10px 0 !important;
    position: relative !important;
    transition: color 0.3s ease !important;
}

.twf-product-page ul.wc-tabs li a::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 0 !important;
    height: 2px !important;
    background: #000 !important;
    transition: width 0.3s ease !important;
}

.twf-product-page ul.wc-tabs li.active a {
    color: #000 !important;
}

.ngp-attr-error {
    margin-top: 16px !important;
}

.twf-product-page ul.wc-tabs li.active a::after {
    width: 100% !important;
}

.twf-product-page .woocommerce-Tabs-panel {
    animation: twfFadeIn 0.5s ease-out !important;
    max-width: 100% !important;
    padding: 40px 0px !important;
}

.ngp-ship-content {
    display: flex;
    gap: 0px;
    flex-direction: column;
}

@keyframes twfFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .ngp-page-wrap {
        padding: 30px 20px !important
    }

    .ngp-product-layout {
        gap: 20px !important;
    }

    .twf-product-page .twf-tabs-container {
        padding: 0 20px !important;
    }

    .twf-product-page .woocommerce-Tabs-panel {
        padding: 30px 0px !important;
    }
}

@media (max-width: 768px) {
    .twf-product-page ul.wc-tabs {
        gap: 20px !important;
        flex-wrap: wrap !important;
    }

    .twf-product-page .woocommerce-Tabs-panel {
        padding: 20px 0px !important;
    }

    /* Mobile Gallery Fix */
    .ngp-gallery-col {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .ngp-thumbs {
        flex-direction: row !important;
        width: 100% !important;
        overflow-x: auto !important;
        padding-bottom: 5px !important;
    }

    .ngp-thumb {
        width: 80px !important;
    }
}

/* ── Hide Related Products Section ── */
.twf-product-page .related.products {
    display: none !important;
}