/* NYR Shop Code: migrated from WPCode CSS snippet #182920 "Single Product Page CSS" (export of 2026-10-17). */
/* ============================================================================
 * NYRUSH SINGLE PRODUCT — RESTYLE (Target: modern card layout)
 * Full drop-in replacement. Preserves all InkSoft functionality — only visuals change.
 * Pink accent kept as #ff3b6a per request.
 * ============================================================================ */

:root {
    --nyr-text:        #111827;
    --nyr-text-soft:   #6b7280;
    --nyr-border:      #e5e7eb;
    --nyr-pink:        #ff3b6a;
    --nyr-pink-hover:  #e11d48;
    --nyr-dark:        #1a1a1a;
    --nyr-dark-hover:  #333333;
    --nyr-bg-soft:     #f8fafc;
}

/* ==========================================
   0. BREADCRUMBS
   ========================================== */
.woocommerce-breadcrumb,
.woocommerce-breadcrumb * {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}
.woocommerce-breadcrumb {
    max-width: 1200px !important;
    margin: 40px auto 20px auto !important;
    text-align: left !important;
    color: #777 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
}
.woocommerce-breadcrumb a { color: #444 !important; text-decoration: none !important; }
.woocommerce-breadcrumb a:hover { color: #000 !important; }

/* ==========================================
   1. MAIN PRODUCT LAYOUT — ROUNDED CARD CONTAINER
   ========================================== */
.woocommerce div.product {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 4rem !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 3rem !important;
    background: #ffffff !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

.woocommerce div.product div.images {
    width: 100% !important;
    flex: none !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

.woocommerce div.product div.summary {
    width: 100% !important;
    flex: none !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
}

/* ==========================================
   2. IMAGE GALLERY — white, frameless, square, no blank gap
   ========================================== */
.woocommerce-product-gallery,
.woocommerce-product-gallery__wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    flex: none !important;
}
.woocommerce-product-gallery {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 0 !important;
}

/* Force the ACTUAL rendering box (wrapper + flexslider viewport) to be square.
   This is what was staying tall on hats/caps and leaving the blank gap. */
.woocommerce-product-gallery__wrapper,
.woocommerce-product-gallery .flex-viewport {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    overflow: hidden !important;
    margin: 0 auto !important;
    background: transparent !important;
}
.woocommerce-product-gallery__image,
.woocommerce-product-gallery__image a {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    display: block !important;
    margin: 0 auto !important;
    background: #ffffff !important;   /* white, no gray */
    border-radius: 0 !important;      /* no rounded frame */
    overflow: hidden !important;
    aspect-ratio: 1 / 1 !important;
}
.woocommerce-product-gallery__image img,
.woocommerce-product-gallery__image picture img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    margin: 0 auto !important;
    padding: 0 !important;             /* no frame gap around image */
    box-sizing: border-box !important;
    transition: none !important;
    background: #ffffff !important;    /* white, no gray */
}

/* ---- InkSoft thumbnail row: force BELOW the square image, never overlap ---- */
/* The square wrapper above shrinks tall-shirt frames; without this the custom
   thumbnail gallery sits absolute/inside and lands ON TOP of the main image. */
#nyrush-inksoft-gallery {
    position: static !important;   /* stop overlapping the main image */
    order: 99 !important;          /* keep it last in the flex column */
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    clear: both !important;
    z-index: auto !important;
}

/* ---- Hover magnifier lens (Option B) ---- */
.nyr-zoom-lens {
    position: absolute;
    border: 2px solid rgba(255,255,255,0.9);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.25);
    width: 160px;
    height: 160px;
    border-radius: 50%;
    pointer-events: none;
    display: none;
    z-index: 20;
    background-repeat: no-repeat;
    cursor: crosshair;
}
.nyr-zoom-active .nyr-zoom-lens { display: block; }
.woocommerce-product-gallery__image { cursor: crosshair; }
@media (max-width: 768px) {
    .nyr-zoom-lens { display: none !important; }
    .woocommerce-product-gallery__image { cursor: default; }
}

/* InkSoft thumbnail gallery */
#nyrush-inksoft-gallery {
    margin: 15px auto 0 auto !important;
    width: 100% !important;
    max-width: 400px !important;
    justify-content: center !important;
    grid-template-columns: repeat(4, 60px) !important;
    gap: 12px !important;
}
.nyrush-thumb {
    border: 2px solid var(--nyr-border) !important;
    border-radius: 0.75rem !important;
    background: #f3f4f6 !important;
    aspect-ratio: 1/1 !important;
    opacity: 0.75;
}
.nyrush-thumb:hover { opacity: 1; border-color: #b0b0b0 !important; transform: translateY(-1px); }
.nyrush-thumb.active {
    opacity: 1;
    border-color: var(--nyr-text) !important;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--nyr-text) !important;
}
/* ==========================================
   3. TITLE + SKU + PRICE (Starting at)
   ========================================== */
.woocommerce div.product .product_title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 2.25rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 6px !important;
}

.product_meta {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 0.9rem;
    color: var(--nyr-text-soft);
    margin: 0 0 4px 0 !important;
    padding: 0 0 20px 0 !important;
    border-bottom: 1px solid var(--nyr-border);
    display: block;
}
.product_meta .posted_in,
.product_meta .tagged_as { display: none !important; }

/* "Starting at" price treatment (label injected via PHP patch) */
.nyr-price-label {
    display: block;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--nyr-text-soft);
    margin: 0 0 2px 0 !important;
}
/* Kill the summary flex-gap between the label and the price so they read as one group */
.woocommerce div.product div.summary .nyr-price-label + p.price {
    margin-top: -0.85rem !important;
}
.woocommerce div.product div.summary p.price {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: var(--nyr-text) !important;
    margin: 0 !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 0.5rem !important;
}
.woocommerce div.product div.summary p.price del { opacity: 0.4; font-weight: 600 !important; }
.woocommerce div.product div.summary p.price ins { text-decoration: none; }
.woocommerce div.product div.summary p.price .woocommerce-Price-amount:not(:first-child) {
    font-size: 1.25rem !important;
    color: var(--nyr-text-soft) !important;
    font-weight: 600 !important;
}

/* ==========================================
   4. COLOR SWATCHES → CIRCLES with white ring
   ========================================== */
table.variations { width: 100% !important; margin: 0 !important; border: none !important; }
table.variations tbody tr { display: block !important; margin-bottom: 14px !important; border: none !important; }
table.variations td.label, table.variations th.label { display: none !important; }
table.variations td.value { display: block !important; width: 100% !important; padding: 0 !important; margin: 0 !important; border: none !important; }
table.variations select { display: none !important; }

.nyrush-selected-label {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--nyr-text);
    text-align: left !important;
}
.nyrush-selected-label span {
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 500;
    color: var(--nyr-text-soft);
    text-transform: uppercase;
}

.nyrush-swatches-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 4px 0;
    justify-content: flex-start !important;
}

/* Circular color swatches */
.nyrush-swatch {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    border: 2px solid #fff !important;
    box-shadow: 0 0 0 1px #d1d5db !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px;
    transition: all 0.2s ease;
    box-sizing: border-box !important;
}
.nyrush-swatch:hover {
    transform: scale(1.15);
    box-shadow: 0 0 0 1px var(--nyr-text-soft) !important;
}
.nyrush-swatch.selected {
    box-shadow: 0 0 0 2px var(--nyr-text) !important;
    transform: scale(1.1);
    outline: none !important;
    border-color: #fff !important;
}

/* Size swatches → PILL buttons */
.nyrush-swatch.text-swatch {
    font-family: 'Open Sans', sans-serif !important;
    width: auto !important;
    min-width: 3rem !important;
    height: auto !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem !important;
    border: 1px solid var(--nyr-border) !important;
    box-shadow: none !important;
    color: var(--nyr-text) !important;
    background-color: #fff !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
}
.nyrush-swatch.text-swatch:hover {
    transform: none !important;
    border-color: var(--nyr-text) !important;
    background-color: #f3f4f6 !important;
    box-shadow: none !important;
}
.nyrush-swatch.text-swatch.selected {
    background-color: var(--nyr-text) !important;
    color: #fff !important;
    border-color: var(--nyr-text) !important;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1) !important;
    transform: none !important;
    outline: none !important;
}

.woocommerce div.product a.reset_variations {
    margin-top: 6px !important;
    display: inline-block !important;
    font-size: 0.8rem !important;
    color: var(--nyr-text-soft) !important;
}

/* ==========================================
   5. ACTION BUTTONS — Request Quote (dark outline) + Start Designing (pink)
   ========================================== */
.woocommerce div.product form.cart {
    display: block !important;
    margin: 0 !important;
    width: 100% !important;
}
.single_variation_wrap { margin: 0 !important; padding: 0 !important; }
.woocommerce div.product .single_variation_wrap .single_variation { margin: 0 !important; padding: 0 !important; }
.woocommerce div.product .single_variation_wrap .single_variation:not(:empty) { margin-bottom: 12px !important; }

/* hide native qty + add-to-cart (kept from v2 behaviour) */
.woocommerce-page div.product form.cart .button.single_add_to_cart_button,
.woocommerce div.product form.cart .quantity {
    display: none !important;
}
.woocommerce div.product .woocommerce-variation-add-to-cart {
    display: block !important;
    grid-template-columns: none !important;
    max-width: 100% !important;
    margin: 0 !important;
    width: 100% !important;
}

.nyrush-action-buttons-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0.5rem !important;
}

/* shared button base */
.woocommerce div.product form.cart .nyrush-request-quote-btn,
.nyrush-request-quote-btn,
.woocommerce div.product form.cart .nyrush-custom-design-btn,
.nyrush-custom-design-btn {
    height: 54px !important;
    border-radius: 0.75rem !important;
    font-size: 1rem !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    margin: 0 !important;
    width: 100% !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

/* Request a Quote = dark outline */
.woocommerce div.product form.cart .nyrush-request-quote-btn,
.nyrush-request-quote-btn {
    background-color: #ffffff !important;
    color: var(--nyr-text) !important;
    border: 2px solid var(--nyr-text) !important;
}
.nyrush-request-quote-btn:hover {
    background-color: #f3f4f6 !important;
    color: var(--nyr-text) !important;
}

/* Start Designing = pink filled */
.woocommerce div.product form.cart .nyrush-custom-design-btn,
.nyrush-custom-design-btn {
    background-color: var(--nyr-pink) !important;
    color: #ffffff !important;
    border: none !important;
    grid-column: auto !important;
    box-shadow: 0 4px 6px -1px rgba(255,59,106,0.3) !important;
}
.nyrush-custom-design-btn:hover {
    background-color: var(--nyr-pink-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px -1px rgba(255,59,106,0.4) !important;
}

/* ==========================================
   6. FEATURES GRID — boxed, light-gray bg, pink icons
   ========================================== */
.nyrush-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 0.5rem;
    padding: 1.5rem;
    background-color: var(--nyr-bg-soft);
    border-radius: 1rem;
    border-top: none;
}
.feature-item { display: flex; align-items: flex-start; gap: 1rem; }
.feature-icon { display: flex; align-items: center; justify-content: center; margin-top: 0.1rem; flex-shrink: 0; }
.feature-icon svg { display: block; stroke: var(--nyr-pink) !important; width: 24px; height: 24px; }
.feature-text { display: flex; flex-direction: column; line-height: 1.2; font-family: 'Open Sans', sans-serif !important; }
.feature-text strong { font-family: 'Montserrat', sans-serif !important; font-size: 0.9rem; color: var(--nyr-text); margin-bottom: 3px; }
.feature-text span { font-size: 0.8rem; color: var(--nyr-text-soft); }

/* ==========================================
   7. PRODUCT DESCRIPTION & DETAILS — CLEAN EDITORIAL SPLIT
   Only this section is affected.
   ========================================== */
.nyrush-bottom-specs-section {
    grid-column: 1 / -1 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 1200px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr) !important;
    gap: 0 !important;
    align-items: stretch !important;
    margin: 64px auto 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
    border-top: 1px solid var(--nyr-border);
    border-bottom: 1px solid var(--nyr-border);
    box-sizing: border-box !important;
}

.nyrush-specs-column {
    min-width: 0;
    padding-top: 48px;
    padding-bottom: 52px;
    box-sizing: border-box;
}

.nyrush-specs-left {
    padding-right: 64px;
}

.nyrush-specs-right {
    padding-left: 64px;
    border-left: 1px solid var(--nyr-border);
}

.nyrush-specs-column h2 {
    margin: 0 0 22px 0 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 22px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    letter-spacing: -0.015em;
    color: var(--nyr-text) !important;
}

/* Small pink accent instead of adding another card/background. */
.nyrush-specs-column h2::before {
    content: '';
    display: block;
    width: 36px;
    height: 3px;
    margin: 0 0 14px 0;
    border-radius: 999px;
    background: var(--nyr-pink);
}

.nyrush-content-area {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
}

.nyrush-description-content {
    max-width: 560px;
    font-size: 16px;
    line-height: 1.75;
}

.nyrush-description-content > :first-child,
.nyrush-details-content > :first-child {
    margin-top: 0 !important;
}

.nyrush-description-content > :last-child,
.nyrush-details-content > :last-child {
    margin-bottom: 0 !important;
}

/* Balance long SanMar bullet lists across two columns on desktop. */
.nyrush-details-content ul,
.nyrush-details-list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    column-count: 2;
    column-gap: 40px;
}

.nyrush-details-content ul li,
.nyrush-details-list li {
    position: relative;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin: 0 0 12px 0 !important;
    padding: 0 0 0 18px !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 14px;
    line-height: 1.55;
    color: #374151;
}

.nyrush-details-content ul li::before,
.nyrush-details-list li::before {
    content: '';
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--nyr-pink);
}

/* Text-style resource link below Product Description — no filled background. */
.nyrush-spec-resources {
    max-width: 560px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--nyr-border);
}

.nyrush-spec-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    width: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 0 6px 0 !important;
    background: transparent !important;
    color: #12263f !important;
    border: 0 !important;
    border-bottom: 1px solid currentColor !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    transition: color 0.18s ease !important;
}

.nyrush-spec-btn:hover {
    background: transparent !important;
    color: var(--nyr-pink) !important;
    border-bottom-color: currentColor !important;
    box-shadow: none !important;
    transform: none !important;
}

.nyrush-spec-btn:focus-visible {
    outline: 2px solid var(--nyr-pink);
    outline-offset: 5px;
}

.nyrush-spec-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    line-height: 1;
}

.nyrush-spec-icon svg {
    display: block;
    width: 18px;
    height: 18px;
}

.nyrush-spec-arrow {
    display: inline-block;
    margin-left: 1px;
    font-size: 13px;
    line-height: 1;
    transition: transform 0.18s ease;
}

.nyrush-spec-btn:hover .nyrush-spec-arrow {
    transform: translate(2px, -2px);
}

@media (max-width: 900px) {
    .nyrush-bottom-specs-section {
        grid-template-columns: 1fr !important;
        margin-top: 48px !important;
        padding: 0 24px !important;
    }

    .nyrush-specs-column {
        padding-top: 36px;
        padding-bottom: 38px;
    }

    .nyrush-specs-left {
        padding-right: 0;
    }

    .nyrush-specs-right {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid var(--nyr-border);
    }
}

@media (max-width: 600px) {
    .nyrush-bottom-specs-section {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .nyrush-specs-column h2 {
        font-size: 20px !important;
    }

    .nyrush-details-content ul,
    .nyrush-details-list {
        column-count: 1;
    }
}

/* ==========================================
   8. RELATED PRODUCTS GRID
   ========================================== */
.related.products {
    grid-column: 1 / -1 !important;   /* span full product grid, not just left column */
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 1200px !important;
    background: none !important;
    padding: 0 !important;
    margin: 60px auto 80px auto !important;
    clear: both !important;
    box-sizing: border-box !important;
}
.related.products h2 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 24px !important;
    font-weight: bold !important;
    color: var(--nyr-text) !important;
    margin-bottom: 35px !important;
    text-align: left !important;
}
.related.products ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
}
.related.products ul.products li.product {
    width: calc(25% - 15px) !important;
    max-width: calc(25% - 15px) !important;
    flex: 0 0 calc(25% - 15px) !important;
    margin: 0 !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 0 0 25px 0 !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.related.products ul.products li.product:hover {
    box-shadow: 0 12px 20px -5px rgba(0,0,0,0.12) !important;
    transform: translateY(-4px) !important;
    border-color: #cbd5e1 !important;
}
.related.products ul.products li.product .woocommerce-loop-product__link {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
}
.related.products ul.products li.product img {
    width: 100% !important;
    height: 220px !important;
    max-height: 220px !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 25px !important;
    background-color: #f8f9fa !important;
    box-sizing: border-box !important;
    display: block !important;
}
.related.products ul.products li.product .nyrush-card-content { padding: 10px 20px 0 20px !important; }
.related.products ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #000 !important;
    margin: 0 0 15px 0 !important;
    padding: 0 !important;
    min-height: 40px !important;
    line-height: 1.3 !important;
    display: block !important;
    text-align: center !important;
    width: auto !important;
}

/* ==========================================
   9. RESPONSIVE
   ========================================== */
@media (max-width: 992px) {
    .related.products { padding: 0 20px !important; }
    .related.products ul.products li.product {
        width: calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
        flex: 0 0 calc(50% - 10px) !important;
    }
}

@media (max-width: 900px) {
    .woocommerce div.product {
        grid-template-columns: 1fr !important;
        padding: 1.5rem !important;
        gap: 2.5rem !important;
    }
    .nyrush-action-buttons-wrapper { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {
    .woocommerce-breadcrumb, .woocommerce-breadcrumb * { font-size: 11px !important; }
    .woocommerce-breadcrumb { padding: 0 20px !important; margin: 15px auto 5px auto !important; max-width: 100% !important; }
    .woocommerce div.product div.images,
    .woocommerce div.product div.summary { width: 100% !important; }
    .woocommerce div.product .product_title { font-size: 1.75rem !important; }
    #nyrush-inksoft-gallery { grid-template-columns: repeat(4, 50px) !important; }
    .nyrush-bottom-specs-section { grid-template-columns: 1fr !important; gap: 0 !important; padding: 0 20px !important; max-width: 100% !important; }
    .related.products { padding: 0 20px 40px 20px !important; max-width: 100% !important; }
    .related.products h2 { font-size: 20px !important; margin-bottom: 20px !important; }
}

@media (max-width: 576px) {
    .related.products ul.products li.product {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}

/* ============================================================================
 * NYRUSH SINGLE PRODUCT — GALLERY THUMBNAIL TWEAKS
 * Add-on. Paste at the END of your single-product CSS.
 *  - Larger bottom thumbnails
 *  - Active thumb: no double border, soft shadow instead
 *  - Fade transition for the main image (pairs with the JS patch)
 * ============================================================================ */

/* Bigger thumbnail row */
#nyrush-inksoft-gallery {
    grid-template-columns: repeat(4, 78px) !important;
    gap: 14px !important;
    max-width: 400px !important;
}

@media (max-width: 768px) {
    #nyrush-inksoft-gallery {
        grid-template-columns: repeat(4, 64px) !important;
        gap: 10px !important;
    }
}

/* Thumbnail base — single clean border, gentle transition */
#nyrush-inksoft-gallery .nyrush-thumb {
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    padding: 6px !important;
    background: #f8f9fa !important;
    box-shadow: none !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.15s ease !important;
    opacity: 1 !important;
}

#nyrush-inksoft-gallery .nyrush-thumb:hover {
    border-color: #d1d5db !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.10) !important;
}

/* ACTIVE thumbnail — remove the double ring, use a soft shadow instead */
#nyrush-inksoft-gallery .nyrush-thumb.active {
    border: 1px solid #e5e7eb !important;   /* same subtle border, no dark ring */
    box-shadow: 0 4px 12px rgba(0,0,0,0.18) !important;
    transform: translateY(-1px) !important;
    outline: none !important;
}

/* ---- Fade transition for the main image (used by the JS patch) ---- */
.woocommerce-product-gallery__image img.nyr-fading {
    opacity: 0 !important;
    transition: opacity 180ms ease !important;
}
.woocommerce-product-gallery__image img {
    transition: opacity 180ms ease !important;
}

/* ==========================================================================
   SECTION 10 — 315E3 PILOT CONTROLS
   ========================================================================== */
/* ==========================================================================
   NY RUSH — 315E3 PILOT V3 (STOCK COUNT + CTA FIX)
   Replace the current 315E3 pilot CSS with this block.
   Scope: the custom classes below only exist on SKU 315E3.
   ========================================================================== */

.nyrush-315e3-panel-row > td {
    padding: 18px 0 0 !important;
    border: 0 !important;
}

.nyrush-315e3-original-size-row {
    display: none !important;
}

.nyrush-315e3-panel,
.nyrush-quantity-section,
.nyrush-size-stock-section,
.nyrush-decoration-selector,
.nyrush-315e3-actions {
    width: 100%;
    box-sizing: border-box;
}

.nyrush-315e3-panel {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* Strong hidden-state protection against theme/button display rules. */
.nyrush-315e3-panel [hidden],
.nyrush-decoration-selector[hidden],
.nyrush-315e3-actions[hidden],
.nyrush-stock-grid[hidden],
.nyrush-stock-empty[hidden],
.nyrush-quote-inline[hidden],
.nyrush-315e3-actions .nyrush-custom-design-btn[hidden],
.nyrush-315e3-actions .nyrush-request-quote-btn[hidden],
.nyrush-315e3-actions .is-hidden {
    display: none !important;
}

/* --------------------------------------------------------------------------
   Headings
   -------------------------------------------------------------------------- */
.nyrush-quantity-heading,
.nyrush-size-stock-heading,
.nyrush-decoration-heading {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0 0 10px !important;
}

.nyrush-quantity-heading strong,
.nyrush-size-stock-heading strong,
.nyrush-decoration-heading strong {
    margin: 0 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: #111827 !important;
}

.nyrush-quantity-heading span,
.nyrush-decoration-heading span {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: #6b7280 !important;
}

/* --------------------------------------------------------------------------
   Quantity
   -------------------------------------------------------------------------- */
.nyrush-quantity-control {
    display: grid;
    grid-template-columns: 40px 72px 40px;
    width: 152px;
    height: 48px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    box-sizing: border-box;
}

.nyrush-qty-btn {
    appearance: none;
    -webkit-appearance: none;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #f8fafc !important;
    color: #111827 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: background .18s ease, color .18s ease;
}

.nyrush-qty-btn:hover {
    background: #FF2052 !important;
    color: #fff !important;
}

.nyrush-print-qty {
    width: 72px !important;
    min-width: 0 !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 6px !important;
    border: 0 !important;
    border-left: 1px solid #e5e7eb !important;
    border-right: 1px solid #e5e7eb !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: #fff !important;
    color: #111827 !important;
    text-align: center !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 48px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    -moz-appearance: textfield;
}

.nyrush-print-qty::-webkit-inner-spin-button,
.nyrush-print-qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.nyrush-print-qty:focus {
    box-shadow: inset 0 0 0 2px rgba(255,32,82,.10) !important;
}

/* --------------------------------------------------------------------------
   Available sizes — compact strip, not a heavy table/card
   -------------------------------------------------------------------------- */
.nyrush-size-stock-section {
    padding-top: 1px;
}

.nyrush-stock-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(70px, 1fr));
    width: 100%;
    overflow: hidden;
    border: 1px solid #e5e7eb !important;
    border-radius: 9px !important;
    background: #fff;
}

.nyrush-stock-item {
    min-width: 0;
    padding: 11px 8px 10px;
    text-align: center;
    border-right: 1px solid #eef1f4;
    box-sizing: border-box;
}

.nyrush-stock-item:last-child {
    border-right: 0;
}

.nyrush-stock-size,
.nyrush-stock-count,
.nyrush-stock-status {
    display: block;
}

.nyrush-stock-size {
    margin-bottom: 6px;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    color: #111827 !important;
}

.nyrush-stock-count {
    margin-bottom: 2px;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    color: #111827 !important;
}

.nyrush-stock-status {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    color: #6b7280 !important;
}

.nyrush-stock-item.is-in .nyrush-stock-count {
    color: #166534 !important;
}

.nyrush-stock-item.is-out .nyrush-stock-count,
.nyrush-stock-item.is-out .nyrush-stock-status,
.nyrush-stock-item.is-unknown .nyrush-stock-count,
.nyrush-stock-item.is-unknown .nyrush-stock-status {
    color: #9ca3af !important;
}

.nyrush-stock-empty {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 11px 14px;
    border: 1px solid #e5e7eb !important;
    border-radius: 9px !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 12px !important;
    color: #6b7280 !important;
}

.nyrush-stock-note {
    margin-top: 8px;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    color: #7c8491 !important;
}

/* --------------------------------------------------------------------------
   Decoration type — vertical, clearer hierarchy
   -------------------------------------------------------------------------- */
.nyrush-decoration-options {
    display: flex;
    flex-direction: column;
    gap: 9px;
    width: 100%;
}

.nyrush-decoration-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 66px;
    margin: 0 !important;
    padding: 11px 46px 11px 12px !important;
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 11px !important;
    text-align: left !important;
    cursor: pointer;
    box-shadow: none !important;
    box-sizing: border-box;
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.nyrush-decoration-option:hover {
    border-color: #f3a3b5 !important;
    transform: translateY(-1px);
}

.nyrush-decoration-option.is-active {
    border-color: #FF2052 !important;
    background: rgba(255,32,82,.035) !important;
}

.nyrush-decoration-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: block;
    border-radius: 9px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 18px 18px;
}

.nyrush-printing-icon {
    background-color: #fff3f6;
    border: 1px solid #ffd7e0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF2052' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9V3h12v6'/><path d='M6 18H4a2 2 0 0 1-2-2v-5a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v5a2 2 0 0 1-2 2h-2'/><rect x='6' y='14' width='12' height='8' rx='1'/></svg>");
}

.nyrush-embroidery-icon {
    background-color: #f8fafc;
    border: 1px solid #dbe3ea;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='7'/><path d='M12 5v14'/><path d='M8 8c4 2 4 6 8 8'/><path d='M16 8c-4 2-4 6-8 8'/></svg>");
}

.nyrush-decoration-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.nyrush-decoration-copy strong {
    margin: 0 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    color: #111827 !important;
}

.nyrush-decoration-copy > span {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    color: #6b7280 !important;
}

.nyrush-decoration-option.is-active .nyrush-decoration-copy strong {
    color: #FF2052 !important;
}

.nyrush-decoration-radio {
    position: absolute;
    top: 50%;
    right: 15px;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    border: 1.5px solid #cfd5dd;
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
}

.nyrush-decoration-option.is-active .nyrush-decoration-radio {
    border-color: #FF2052;
    background: radial-gradient(circle at center, #FF2052 0 4px, transparent 4.5px);
}

/* --------------------------------------------------------------------------
   Primary action + understated quote action
   -------------------------------------------------------------------------- */
.nyrush-315e3-actions {
    margin-top: -2px;
}

.nyrush-315e3-actions .nyrush-custom-design-btn {
    width: 100% !important;
    min-height: 54px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    border: 1px solid #FF2052 !important;
    border-radius: 11px !important;
    background: #FF2052 !important;
    color: #fff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: center !important;
    box-shadow: 0 7px 18px rgba(255,32,82,.18) !important;
    box-sizing: border-box !important;
}

.nyrush-315e3-actions .nyrush-custom-design-btn:hover {
    background: #e9003e !important;
    border-color: #e9003e !important;
    transform: translateY(-1px);
}

.nyrush-315e3-actions .nyrush-custom-design-btn::after {
    content: "→";
    margin-left: 9px;
    font-size: 16px;
}

.nyrush-315e3-actions .nyrush-request-quote-btn {
    width: 100% !important;
    min-height: 54px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 18px !important;
    border: 1.5px solid #111827 !important;
    border-radius: 11px !important;
    background: #fff !important;
    color: #111827 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-decoration: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

.nyrush-315e3-actions .nyrush-request-quote-btn:hover {
    background: #111827 !important;
    border-color: #111827 !important;
    color: #fff !important;
}

.nyrush-315e3-actions .nyrush-custom-design-btn[hidden],
.nyrush-315e3-actions .nyrush-request-quote-btn[hidden],
.nyrush-315e3-actions .is-hidden {
    display: none !important;
}

/* Hide Woo's native variation result area inside the pilot. */
.nyrush-315e3-form .single_variation_wrap > .woocommerce-variation,
body.single-product .nyrush-315e3-form .reset_variations {
    display: none !important;
    visibility: hidden !important;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .nyrush-315e3-panel-row > td {
        padding-top: 14px !important;
    }

    .nyrush-315e3-panel {
        gap: 19px;
    }

    .nyrush-stock-grid {
        grid-template-columns: repeat(5, minmax(66px, 1fr));
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nyrush-stock-item {
        min-width: 66px;
        padding-left: 6px;
        padding-right: 6px;
    }

    .nyrush-decoration-option {
        min-height: 64px;
    }
}

/* ==========================================================================
   315E3 FINAL PILOT OVERRIDES
   ========================================================================== */

/* Completely remove the retired Woo size row. The global variation-row rule
   uses !important, so this needs stronger specificity. */
table.variations tbody tr.nyrush-315e3-original-size-row {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

table.variations tbody tr.nyrush-315e3-original-size-row > th,
table.variations tbody tr.nyrush-315e3-original-size-row > td,
table.variations tbody tr.nyrush-315e3-original-size-row td.value {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/* No phantom space between the pilot CTA and trust grid. */
.nyrush-315e3-form,
.nyrush-315e3-form .single_variation_wrap,
.nyrush-315e3-form .woocommerce-variation-add-to-cart,
.nyrush-315e3-actions {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.nyrush-315e3-form + .nyrush-features-grid,
.nyrush-315e3-form ~ .nyrush-features-grid {
    margin-top: 0 !important;
}

.nyrush-315e3-actions .nyrush-custom-design-btn,
.nyrush-315e3-actions .nyrush-request-quote-btn {
    margin-bottom: 0 !important;
}

/* ==========================================================================
   315E3 PRICING CALCULATOR — LOWER PRODUCT SECTION
   ========================================================================== */

.nyrush-bottom-specs-section.nyrush-bottom-specs-pricing {
    display: grid !important;
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, .75fr) !important;
    gap: 48px !important;
    align-items: start !important;
    max-width: 1200px !important;
    padding: 0 !important;
}

.nyrush-product-info-columns {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    min-width: 0;
}

.nyrush-bottom-specs-pricing .nyrush-specs-column {
    min-width: 0;
}

.nyrush-bottom-specs-pricing .nyrush-specs-left {
    padding-right: 42px;
}

.nyrush-bottom-specs-pricing .nyrush-specs-right {
    padding-left: 42px;
}

.nyrush-pricing-calculator {
    align-self: start;
    margin: 32px 0 36px;
    border: 1px solid #e3e8ef;
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
    box-sizing: border-box;
}

.nyrush-pricing-calculator-header {
    padding: 24px 24px 20px;
    border-bottom: 1px solid #e8edf2;
}

.nyrush-calc-eyebrow {
    display: block;
    margin-bottom: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .12em;
    color: #7b8491;
}

.nyrush-pricing-calculator h2 {
    margin: 0 0 6px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 20px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    color: #111827 !important;
}

.nyrush-pricing-calculator h2::before {
    display: none !important;
}

.nyrush-pricing-calculator-header p {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: #6b7280;
}

.nyrush-pricing-calculator-body {
    padding: 22px 24px 24px;
}

.nyrush-calc-field {
    min-width: 0;
}

.nyrush-calc-field > label {
    display: block;
    margin: 0 0 7px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    color: #111827;
}

.nyrush-calc-qty-control {
    display: grid;
    grid-template-columns: 40px minmax(60px, 1fr) 40px;
    width: 156px;
    height: 44px;
    border: 1px solid #dfe5ec;
    border-radius: 9px;
    overflow: hidden;
    background: #fff;
}

.nyrush-calc-qty-btn {
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #f8fafc !important;
    color: #111827 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    cursor: pointer;
}

.nyrush-calc-qty-btn:hover {
    background: #FF2052 !important;
    color: #fff !important;
}

.nyrush-calculator-qty {
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 6px !important;
    border: 0 !important;
    border-left: 1px solid #dfe5ec !important;
    border-right: 1px solid #dfe5ec !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #111827 !important;
    text-align: center !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    -moz-appearance: textfield;
}

.nyrush-calculator-qty::-webkit-inner-spin-button,
.nyrush-calculator-qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.nyrush-calc-method-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin: 18px 0 14px;
    padding-top: 15px;
    border-top: 1px solid #edf0f4;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color: #6b7280;
}

.nyrush-calc-method-row strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #111827;
    text-align: right;
}

.nyrush-calc-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.nyrush-calc-fields[hidden] {
    display: none !important;
}

.nyrush-calc-field select {
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 0 34px 0 12px;
    border: 1px solid #dfe5ec;
    border-radius: 8px;
    background-color: #fff;
    color: #111827;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    box-shadow: none;
}

.nyrush-calc-status {
    min-height: 18px;
    margin: 4px 0 15px;
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    line-height: 1.45;
    color: #6b7280;
}

.nyrush-calc-status.is-loading {
    color: #475569;
}

.nyrush-calc-status.is-error {
    color: #b42318;
}

.nyrush-calc-status.is-quote {
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff8fa;
    color: #7a243d;
}

.nyrush-calc-results[hidden] {
    display: none !important;
}

.nyrush-calc-unit-price {
    padding: 16px 0 15px;
    border-top: 1px solid #e8edf2;
}

.nyrush-calc-unit-price > span,
.nyrush-calc-total-row > span {
    display: block;
    margin-bottom: 3px;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color: #596273;
}

.nyrush-calc-unit-value {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #111827;
}

.nyrush-calc-breakdown {
    display: grid;
    gap: 7px;
    padding: 13px 0;
    border-top: 1px solid #edf0f4;
    border-bottom: 1px solid #edf0f4;
}

.nyrush-calc-breakdown > div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    color: #6b7280;
}

.nyrush-calc-breakdown strong {
    color: #374151;
    font-weight: 600;
}

.nyrush-calc-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding-top: 15px;
}

.nyrush-calc-total-row > span {
    margin: 0;
    font-weight: 600;
}

.nyrush-calc-total-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
    color: #111827;
}

.nyrush-calc-total-caption {
    margin-top: 2px;
    text-align: right;
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    color: #8490a0;
}

.nyrush-calc-note {
    margin: 18px 0 0;
    padding-top: 15px;
    border-top: 1px solid #edf0f4;
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    line-height: 1.5;
    color: #7b8491;
}

@media (max-width: 1050px) {
    .nyrush-bottom-specs-section.nyrush-bottom-specs-pricing {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .nyrush-pricing-calculator {
        width: 100%;
        max-width: 520px;
        margin: 0 0 44px;
    }
}

@media (max-width: 768px) {
    .nyrush-product-info-columns {
        grid-template-columns: 1fr;
    }

    .nyrush-bottom-specs-pricing .nyrush-specs-left,
    .nyrush-bottom-specs-pricing .nyrush-specs-right {
        padding-left: 0 !important;
        padding-right: 0 !important;
        border-left: 0 !important;
    }

    .nyrush-bottom-specs-pricing .nyrush-specs-right {
        border-top: 1px solid var(--nyr-border);
    }

    .nyrush-pricing-calculator {
        max-width: none;
        margin-top: 24px;
    }

    .nyrush-calc-fields {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   315E3 — COMPACT 2-COLUMN DECORATION TYPE
   ========================================================= */

.nyrush-decoration-options {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
}

/* Compact decoration cards */
.nyrush-decoration-option {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 62px !important;

    display: flex !important;
    align-items: center !important;

    gap: 10px !important;

    margin: 0 !important;
    padding: 10px 38px 10px 11px !important;

    border: 1px solid #e5e7eb !important;
    border-radius: 11px !important;

    background: #fff !important;

    box-sizing: border-box !important;
}

/* Selected */
.nyrush-decoration-option.is-active {
    border-color: #FF2052 !important;
    background: rgba(255, 32, 82, 0.035) !important;
}

/* Smaller icon */
.nyrush-decoration-icon {
    width: 32px !important;
    height: 32px !important;
    flex: 0 0 32px !important;
}

/* Decoration title */
.nyrush-decoration-copy {
    min-width: 0 !important;
}

.nyrush-decoration-copy strong {
    font-size: 13px !important;
    line-height: 1.2 !important;

    white-space: normal !important;
}

/* Hide descriptions to keep the two cards clean */
.nyrush-decoration-copy > span {
    display: none !important;
}

/* Radio */
.nyrush-decoration-radio {
    right: 11px !important;

    width: 15px !important;
    height: 15px !important;
}

/* CTA directly below both cards */
.nyrush-315e3-actions {
    width: 100% !important;
    margin-top: 12px !important;
}

/* Keep CTA full width */
.nyrush-315e3-actions .nyrush-custom-design-btn,
.nyrush-315e3-actions .nyrush-request-quote-btn {
    width: 100% !important;
}


/* Very small phones only */
@media (max-width: 360px) {

    .nyrush-decoration-options {
        grid-template-columns: 1fr !important;
    }

}

/* =========================================================
   315E3 — REMOVE SPACE BETWEEN DECORATION TYPE + CTA
   ========================================================= */

.nyrush-315e3-panel {
    gap: 0 !important;
}

/* Keep normal spacing between the upper sections */
.nyrush-quantity-section {
    margin-bottom: 22px !important;
}

.nyrush-size-stock-section {
    margin-bottom: 22px !important;
}

/* Decoration cards → CTA */
.nyrush-decoration-selector {
    margin-bottom: 0 !important;
}

.nyrush-315e3-actions {
    margin-top: 6px !important;
    padding-top: 0 !important;
}