/*
 * Νέα σελίδα προϊόντος v2 (shopping.php?v2=true) — Bootstrap 5, όλα κάτω από το .newShop
 */

.newShop {
    --ns-yellow: #feca0b;
    --ns-yellow-soft: #fff6d6;
    --ns-yellow-line: #f3d77a;
    --ns-dark: #141819;
    --ns-text: #1d1d1b;
    --ns-muted: #6b6f72;
    --ns-line: #e6e6e6;
    --ns-bg: #ffffff;
    --ns-radius: 14px;
    --ns-radius-sm: 8px;
    --ns-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 16px rgba(0, 0, 0, .04);

    font-size: 15px;
    line-height: 1.5;
    color: var(--ns-text);
}

/* Το bs5-compat.css αλλάζει global τα gutters για το παλιό markup — εδώ ισχύει καθαρό BS5 */
.newShop .row {
    --bs-gutter-x: 1.5rem;
}

.newShop .row > * {
    padding-left: calc(var(--bs-gutter-x) * .5);
    padding-right: calc(var(--bs-gutter-x) * .5);
}

.newShop ol, .newShop ul {
    padding-left: 0;
}

.newShop label {
    margin-bottom: 0;
}

.newShop img {
    max-width: 100%;
    height: auto;
}

.newShop a {
    color: inherit;
}

.ns-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 16px 16px 32px;
}

/* Accessibility: το style.css σβήνει το outline στο focus (button:focus{outline:none}) — εδώ ορατό focus με πληκτρολόγιο */
.newShop :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 3px solid var(--ns-dark);
    outline-offset: 2px;
    box-shadow: 0 0 0 5px var(--ns-yellow);
}

.newShop ul.ns-info-list,
.newShop ul.ns-related,
.newShop ul.ns-video-thumbs {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Το μήνυμα «Έχεις N αντικείμενα στο καλάθι» του header (absolute) πέφτει πάνω στο breadcrumb */
body:has(.shopping_cart_inner:not(:empty)) .newShop .ns-container {
    padding-top: 58px;
}

/* Στο mobile το μήνυμα πιάνει δύο γραμμές */
@media (max-width: 575.98px) {
    body:has(.shopping_cart_inner:not(:empty)) .newShop .ns-container {
        padding-top: 80px;
    }
}

/* ---------- Breadcrumb ---------- */
.ns-bread {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin: 0 0 16px;
    font-size: 13px;
    color: var(--ns-muted);
    list-style: none;
}

.ns-bread li {
    display: inline-flex;
    align-items: center;
}

.ns-bread li + li::before {
    content: "›";
    margin: 0 8px;
    color: var(--ns-muted);
}

.ns-bread a {
    color: var(--ns-muted);
    text-decoration: none;
}

.ns-bread a:hover {
    color: var(--ns-text);
}

.ns-bread-home i {
    font-size: 17px;
    color: var(--ns-text);
}

/* ---------- Κάρτες ---------- */
.ns-card {
    background: var(--ns-bg);
    border: 1px solid var(--ns-line);
    border-radius: var(--ns-radius);
    box-shadow: var(--ns-shadow);
    padding: 20px;
}

.ns-h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 14px;
}

.ns-h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 10px;
}

.ns-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.ns-link:hover {
    border-bottom-color: currentColor;
}

/* ---------- Gallery ---------- */
.ns-gallery {
    padding: 14px;
}

.ns-gallery-main {
    position: relative;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: var(--ns-radius-sm);
    overflow: hidden;
}

.ns-gallery-main a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

.ns-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ns-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
    font-size: 22px;
    line-height: 1;
    color: var(--ns-text);
    opacity: 0;
    transition: opacity .15s;
}

.ns-gallery-main:hover .ns-gallery-nav,
.ns-gallery-nav:focus-visible {
    opacity: 1;
}

.ns-prev {
    left: 10px;
}

.ns-next {
    right: 10px;
}

.ns-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.ns-thumb {
    aspect-ratio: 1 / 1;
    padding: 4px;
    border: 2px solid var(--ns-line);
    border-radius: var(--ns-radius-sm);
    background: #fff;
    overflow: hidden;
    transition: border-color .15s;
}

.ns-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.ns-thumb:hover {
    border-color: var(--ns-yellow-line);
}

.ns-thumb.is-active {
    border-color: var(--ns-yellow);
}

/* ---------- Τίτλος / περιγραφή ---------- */
.ns-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 10px;
}

.ns-excerpt {
    font-size: 16px;
    color: #3d4245;
    margin: 0 0 10px;
}

.ns-sku {
    font-weight: 700;
    margin-bottom: 18px;
}

/* ---------- Επιλογές ---------- */
.ns-options {
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.ns-opt-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 16px 20px;
    margin-bottom: 18px;
}

.ns-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.ns-field-qty {
    grid-column: 1;
}

.ns-label {
    font-weight: 700;
    font-size: 15px;
}

.newShop .form-select {
    height: 48px;
    border: 1px solid #cfd2d4;
    border-radius: var(--ns-radius-sm);
    font-size: 16px;
    padding-left: 16px;
    background-color: #fff;
    color: var(--ns-text);
}

.newShop .form-select:focus {
    border-color: var(--ns-yellow);
    box-shadow: 0 0 0 3px rgba(254, 202, 11, .25);
}

.newShop .form-select.ns-select-accent {
    border: 2px solid var(--ns-yellow);
    background-color: var(--ns-yellow-soft);
    font-weight: 600;
}

/* Dropdown τύπου με εικονίδιο */
.ns-typesel {
    position: relative;
    min-width: 0;
}

.newShop .ns-typesel-btn {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    padding-right: 40px;
}

.ns-typeopt {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.ns-typeopt img {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    object-fit: contain;
}

.ns-typeopt span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ns-typesel-menu {
    width: 100%;
    min-width: 280px;
    max-height: 360px;
    overflow-y: auto;
    padding: 6px;
    border-radius: var(--ns-radius-sm);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.ns-typesel-menu .dropdown-item {
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 15px;
    color: var(--ns-text);
}

.ns-typesel-menu .dropdown-item span {
    white-space: normal;
}

.ns-typesel-menu .dropdown-item:hover,
.ns-typesel-menu .dropdown-item:focus {
    background: var(--ns-yellow-soft);
}

.ns-typesel-menu .dropdown-item.active {
    background: var(--ns-yellow);
    color: var(--ns-dark);
    font-weight: 600;
}

/* Ποσότητα − 1 + */
.ns-qty {
    display: inline-flex;
    align-items: stretch;
    height: 46px;
    border: 1px solid #cfd2d4;
    border-radius: var(--ns-radius-sm);
    background: #fff;
    overflow: hidden;
    width: max-content;
}

.ns-qty-btn {
    width: 46px;
    border: 0;
    background: #f6f6f6;
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    color: var(--ns-text);
    transition: background .15s;
}

.ns-qty-btn:hover {
    background: var(--ns-yellow-soft);
}

.ns-qty-input {
    width: 76px;
    border: 0;
    border-left: 1px solid #e3e3e3;
    border-right: 1px solid #e3e3e3;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    -moz-appearance: textfield;
    appearance: textfield;
}

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

.ns-qty-sm {
    height: 36px;
}

.ns-qty-sm .ns-qty-btn {
    width: 36px;
    font-size: 17px;
}

.ns-qty-sm .ns-qty-input {
    width: 60px;
    font-size: 15px;
}

/* ---------- Κλίμακες τιμών ---------- */
.ns-tiers-table {
    border: 1px solid var(--ns-line);
    border-radius: var(--ns-radius-sm);
    overflow: hidden;
    background: #fff;
}

.ns-tier {
    display: flex;
    width: 100%;
    border: 0;
    border-top: 1px solid var(--ns-line);
    background: #fff;
    text-align: left;
    padding: 0;
    font-size: 15px;
    color: var(--ns-text);
}

.ns-tier > span {
    flex: 1 1 50%;
    padding: 10px 20px;
}

.ns-tier > span + span {
    text-align: center;
}

.ns-tier-head {
    border-top: 0;
    background: #f4f5f6;
    font-weight: 700;
}

.ns-tier-head > span:first-child {
    text-align: center;
}

.ns-tier.is-active {
    background: var(--ns-yellow-soft);
    font-weight: 700;
}

.ns-tier del {
    color: var(--ns-muted);
    font-weight: 400;
    margin-right: 4px;
}

.ns-packages {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
}

.ns-package {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 16px;
    border: 1px dashed var(--ns-yellow-line);
    border-radius: var(--ns-radius-sm);
    background: #fffdf3;
    color: var(--ns-text);
    font-size: 14px;
    text-align: left;
}

.ns-package:hover {
    background: var(--ns-yellow-soft);
    border-style: solid;
}

.ns-note {
    font-size: 13px;
    color: var(--ns-muted);
    margin: 8px 0 0;
}

.ns-tiers-more {
    margin-top: 10px;
    font-size: 14px;
}

.ns-extra {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ns-help {
    font-size: 13px;
    color: var(--ns-muted);
}

.ns-help p {
    margin: 0;
}

#nsMsg:empty {
    display: none;
}

/* ---------- Σύνοψη παραγγελίας (desktop) ---------- */
.ns-summary {
    position: sticky;
    top: 16px;
    background: #fffbea;
    border: 1px solid var(--ns-yellow-line);
    border-radius: var(--ns-radius);
    padding: 20px;
    box-shadow: var(--ns-shadow);
}

.ns-summary-title {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 14px;
}

.ns-summary-prd {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--ns-yellow-line);
}

.ns-summary-prd img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--ns-radius-sm);
    background: #fff;
    border: 1px solid var(--ns-line);
    flex: 0 0 auto;
}

.ns-summary-name {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
}

.ns-summary-sku {
    font-size: 13px;
    color: var(--ns-muted);
}

.ns-sum-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: 14px;
}

.ns-sum-row > span:first-child {
    color: var(--ns-muted);
}

.ns-sum-row > span:last-child {
    text-align: right;
    font-weight: 600;
}

.ns-sum-unit {
    border-top: 1px solid var(--ns-yellow-line);
    margin-top: 6px;
    padding-top: 12px;
}

.ns-sum-total {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 6px 0 16px;
}

.ns-sum-total > span:first-child {
    font-size: 22px;
    font-weight: 700;
}

.ns-sum-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.1;
}

.ns-sum-price strong {
    font-size: 30px;
    font-weight: 800;
}

.ns-sum-price del {
    color: var(--ns-muted);
    font-size: 14px;
}

.ns-sum-price small {
    font-size: 12px;
    color: var(--ns-muted);
    margin-top: 4px;
}

.ns-offer {
    font-size: 13px;
    background: #eaf7ee;
    color: #1f6b3a;
    border-radius: var(--ns-radius-sm);
    padding: 8px 10px;
    margin-bottom: 12px;
}

.ns-offer.ns-out {
    background: #fdecec;
    color: #9b1c1c;
}

.ns-btn-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    border-radius: 999px;
    border: 0;
    background: var(--ns-dark);
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    transition: transform .1s, background .15s;
}

.ns-btn-cart i {
    color: var(--ns-yellow);
}

.ns-btn-cart:hover,
.ns-btn-cart:focus-visible {
    background: #000;
    color: #fff;
}

.ns-btn-cart:active {
    transform: scale(.98);
}

.ns-btn-cart:disabled {
    background: #9a9a9a;
    color: #fff;
}

.ns-ship {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 16px;
    padding: 12px 14px;
    background: var(--ns-yellow-soft);
    border: 1px solid var(--ns-yellow-line);
    border-radius: var(--ns-radius-sm);
    font-size: 12px;
    line-height: 1.45;
}

.ns-ship i {
    font-size: 20px;
    margin-top: 2px;
}

.ns-ship p {
    margin: 0;
}

/* ---------- Φόρτωση ---------- */
/* Υπολογισμός: θαμπές τιμές/σύνοψη + spinner από πάνω (newShop.js → .ns-calc-busy) */
.ns-calc-busy #nsTiers,
.ns-calc-busy #nsSummary,
.ns-calc-busy #nsBar .ns-bar-total,
#nsGallery.is-loading .ns-gallery-main {
    position: relative;
}

.ns-calc-busy #nsTiers > *,
.ns-calc-busy #nsSummary > *,
.ns-calc-busy #nsBar .ns-bar-total > * {
    opacity: .45;
    transition: opacity .15s;
}

.ns-calc-busy #nsTiers::after,
.ns-calc-busy #nsSummary::after,
#nsGallery.is-loading .ns-gallery-main::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
    border: 4px solid var(--ns-yellow);
    border-right-color: transparent;
    border-radius: 50%;
    animation: ns-spin .7s linear infinite;
    z-index: 2;
}

#nsGallery.is-loading .ns-gallery-main img {
    opacity: .35;
}

.ns-calc-busy .ns-typesel-btn,
.ns-calc-busy #nsDim {
    cursor: progress;
}

@keyframes ns-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ns-calc-busy #nsTiers::after,
    .ns-calc-busy #nsSummary::after,
    #nsGallery.is-loading .ns-gallery-main::after,
    .ns-busy .spinner-border {
        animation-duration: 2s;
    }
}

/* Προσθήκη στο καλάθι / upload: μπλοκάρει τη σελίδα */
.ns-busy {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(20, 24, 25, .55);
    cursor: progress;
}

.ns-busy[hidden] {
    display: none;
}

.ns-busy-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 340px;
    padding: 26px 24px;
    background: #fff;
    border-radius: var(--ns-radius);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
    text-align: center;
    font-weight: 600;
}

.ns-busy .spinner-border {
    width: 44px;
    height: 44px;
    color: var(--ns-yellow);
}

.ns-busy-progress {
    width: 100%;
    height: 18px;
    border-radius: 999px;
}

.ns-busy-progress .progress-bar {
    background: var(--ns-dark);
    font-size: 11px;
    transition: width .2s;
}

/* ---------- Video ---------- */
.ns-video-body {
    display: flex;
    gap: 20px;
}

.ns-video-play {
    position: relative;
    flex: 0 0 46%;
    aspect-ratio: 16 / 9;
    padding: 0;
    border: 0;
    border-radius: var(--ns-radius-sm);
    overflow: hidden;
    background: #000;
}

.ns-video-play img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .9;
}

.ns-video-play iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.ns-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 44px;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    background: #ff0000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.ns-video-text p {
    font-size: 14px;
    color: #3d4245;
}

.ns-video-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.ns-video-thumbs a {
    aspect-ratio: 1 / 1;
    border: 1px solid var(--ns-line);
    border-radius: 6px;
    overflow: hidden;
    display: block;
    background: #fff;
}

.ns-video-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ---------- Χρήσιμες πληροφορίες ---------- */
.ns-infolist {
    padding: 16px 20px;
}

.ns-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--ns-line);
    text-decoration: none;
}

.ns-info-list li:first-child .ns-info-item {
    border-top: 0;
}

.ns-info-item > i:first-child {
    width: 24px;
    font-size: 20px;
    text-align: center;
}

.ns-info-item span {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ns-info-item strong {
    font-size: 14px;
}

.ns-info-item small {
    font-size: 13px;
    color: var(--ns-muted);
}

.ns-chev {
    font-size: 20px;
    color: var(--ns-muted);
}

.ns-info-item:hover .ns-chev {
    color: var(--ns-text);
}

/* ---------- Tabs ---------- */
.ns-tabs {
    border-bottom: 1px solid var(--ns-line);
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.ns-tabs .nav-link {
    border: 0;
    border-bottom: 3px solid transparent;
    background: none;
    color: #4b5053;
    font-size: 15px;
    padding: 10px 18px;
    white-space: nowrap;
}

.ns-tabs .nav-link.active {
    color: var(--ns-text);
    font-weight: 700;
    border-bottom-color: var(--ns-yellow);
}

.ns-tab-content {
    padding: 18px 0;
    font-size: 15px;
}

.ns-content p:last-child,
.ns-generic p:empty {
    margin-bottom: 0;
}

.ns-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

.ns-tags .badge {
    font-weight: 500;
    font-size: 12px;
    text-decoration: none;
    border: 1px solid var(--ns-line);
}

.ns-spec {
    margin: 0 0 14px;
}

.ns-spec > div {
    display: flex;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid var(--ns-line);
}

.ns-spec dt {
    flex: 0 0 40%;
    font-weight: 600;
}

.ns-spec dd {
    margin: 0;
}

.ns-faq {
    border-bottom: 1px solid var(--ns-line);
    padding: 10px 0;
}

.ns-faq summary {
    font-weight: 600;
    cursor: pointer;
}

.ns-faq > div {
    padding-top: 8px;
    font-size: 14px;
}

/* ---------- Σχετικά προϊόντα ---------- */
.ns-related-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 4px;
}

.ns-related-head .ns-link {
    font-size: 14px;
}

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

.ns-related-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--ns-line);
    border-radius: var(--ns-radius-sm);
    text-decoration: none;
    font-size: 12px;
    line-height: 1.3;
    transition: border-color .15s;
}

.ns-related-item:hover {
    border-color: var(--ns-yellow);
}

.ns-related-item img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.ns-related-item span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- Mobile bar ---------- */
.ns-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 3px solid var(--ns-yellow);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .08);
}

.ns-bar-total {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    padding-right: 14px;
    border-right: 1px solid var(--ns-line);
}

.ns-bar-total span {
    font-size: 13px;
}

.ns-bar-total strong {
    font-size: 24px;
    font-weight: 800;
}

.ns-bar-total small {
    font-size: 11px;
    color: var(--ns-muted);
}

.ns-bar .ns-btn-cart {
    flex: 1;
    height: 50px;
    font-size: 16px;
}

.ns-btn-cart-yellow {
    background: var(--ns-yellow);
    color: var(--ns-dark);
}

.ns-btn-cart-yellow i {
    color: var(--ns-dark);
}

.ns-btn-cart-yellow:hover,
.ns-btn-cart-yellow:focus-visible {
    background: #f2bd00;
    color: var(--ns-dark);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .newShop {
        padding-bottom: 84px; /* χώρος για τη σταθερή μπάρα */
    }

    .ns-title {
        font-size: 24px;
    }

    .ns-gallery-nav {
        opacity: 1;
    }

    /* Mobile: η κεντρική φωτογραφία μέχρι 70% του πλάτους */
    .ns-gallery-main {
        max-width: 70%;
        margin: 0 auto;
    }

    .ns-options {
        background: #fff;
        border: 1px solid var(--ns-line);
        border-radius: var(--ns-radius);
        padding: 16px;
        box-shadow: var(--ns-shadow);
    }

    .ns-opt-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ns-field {
        display: grid;
        grid-template-columns: 27% minmax(0, 1fr);
        align-items: center;
        gap: 10px;
    }

    .ns-field-qty {
        grid-column: auto;
    }

    .newShop .form-select {
        font-size: 15px;
        padding-left: 12px;
    }

    .ns-tier > span {
        padding: 8px 14px;
    }

    .ns-related {
        grid-template-columns: repeat(4, 42%);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 6px;
    }

    .ns-related-item {
        scroll-snap-align: start;
    }

    /* Στο mobile ο τίτλος δεν φαίνεται (όπως στο mockup) αλλά μένει για τους screen readers */
    .ns-sr-mobile {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }
}

@media (max-width: 575.98px) {
    .ns-container {
        padding: 12px 12px 24px;
    }

    .ns-title {
        font-size: 22px;
    }

    .ns-video-body {
        flex-direction: column;
        gap: 12px;
    }

    .ns-video-play {
        flex-basis: auto;
    }

    .ns-thumbs {
        gap: 8px;
    }

    .ns-bar-total strong {
        font-size: 21px;
    }
}
