/* ==========================================================================
   Product page — resources/views/front/product/*.blade.php
   Same design tokens as home.css (nk-*), mobile-first.
   ========================================================================== */

:root {
    --nk-ink: #1C1C2E;
    --nk-ink-2: #262640;
    --nk-gold: #C89B65;
    --nk-gold-light: #E3C9A4;
    --nk-rose: #D4847C;
    --nk-cream: #F7F1E9;
    --nk-paper: #FAFAF8;
    --nk-text: #4a4a55;
    --nk-muted: #8a8a96;
    --nk-line: #ececf0;
    --nk-green: #2e8b57;
    --nk-red: #c0392b;
    --nk-serif: 'Playfair Display', serif;
    --nk-radius-lg: 18px;
    --nk-radius: 12px;
    --nk-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --nk-toolbar: 67px; /* theme's mobile bottom toolbar (below 1150px) */
}

/* ---------- Shared controls ---------- */

.nk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.nk-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nk-btn--grow {
    flex: 1 1 auto;
}

.nk-btn--sm {
    min-height: 36px;
    padding: 0 16px;
    font-size: 11px;
}

.nk-btn--dark {
    background: var(--nk-ink);
    color: #fff;
}

.nk-btn--dark:not(:disabled):hover {
    background: var(--nk-gold);
    color: var(--nk-ink);
}

.nk-btn--gold {
    background: var(--nk-gold);
    color: var(--nk-ink);
}

.nk-btn--gold:not(:disabled):hover {
    background: var(--nk-gold-light);
}

.nk-btn--outline {
    border-color: var(--nk-ink);
    background: transparent;
    color: var(--nk-ink);
}

.nk-btn--outline:hover {
    background: var(--nk-ink);
    color: #fff;
}

.nk-btn--ghost {
    border-color: var(--nk-line);
    background: #fff;
    color: var(--nk-ink);
}

.nk-btn--ghost:hover {
    border-color: var(--nk-gold);
    color: var(--nk-gold);
}

.nk-icon-btn {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--nk-line);
    border-radius: 50%;
    background: #fff;
    color: var(--nk-ink);
    font-size: 16px;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.nk-icon-btn:hover {
    border-color: var(--nk-ink);
    background: var(--nk-ink);
    color: #fff;
}

.nk-icon-btn.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.nk-icon-btn--lg {
    width: 48px;
    height: 48px;
    font-size: 18px;
}

.nk-card {
    padding: 20px;
    border: 1px solid var(--nk-line);
    border-radius: var(--nk-radius-lg);
    background: #fff;
}

.nk-card + .nk-card {
    margin-top: 16px;
}

.nk-card-title {
    margin: 0 0 14px;
    color: var(--nk-ink);
    font-family: var(--nk-serif);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.2;
}

.nk-stars {
    display: inline-flex;
    gap: 2px;
    color: var(--nk-gold);
    font-size: 13px;
}

.nk-stars--sm {
    font-size: 11px;
}

.nk-stars--empty {
    color: var(--nk-muted);
}

/* ---------- Breadcrumb ---------- */

.nk-crumbs {
    padding: 12px 0;
    border-bottom: 1px solid var(--nk-line);
}

.nk-crumbs-list {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    color: var(--nk-muted);
    font-size: 12px;
    white-space: nowrap;
    list-style: none;
    scrollbar-width: none;
}

.nk-crumbs-list::-webkit-scrollbar {
    display: none;
}

.nk-crumbs-list li + li::before {
    content: "/";
    margin-right: 6px;
    color: var(--nk-line);
}

.nk-crumbs-list a {
    color: var(--nk-text);
    text-decoration: none;
}

.nk-crumbs-list a:hover {
    color: var(--nk-gold);
}

.nk-crumbs-list [aria-current] span {
    display: inline-block;
    max-width: 220px;
    overflow: hidden;
    color: var(--nk-ink);
    text-overflow: ellipsis;
    vertical-align: bottom;
}

/* ---------- Layout ---------- */

.nk-pdp {
    padding: 16px 0 32px;
}

.nk-pdp-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

/* ---------- Gallery ---------- */

.nk-gallery-stage {
    position: relative;
}

.nk-gallery-main {
    overflow: hidden;
    border-radius: var(--nk-radius-lg);
    background: var(--nk-paper);
}

.nk-gallery-item {
    display: block;
    aspect-ratio: 1 / 1;
    cursor: zoom-in;
}

.nk-gallery-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nk-gallery-tools {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nk-gallery-tools .nk-icon-btn {
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(28, 28, 46, 0.1);
}

.nk-gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(28, 28, 46, 0.1);
    transform: translateY(-50%);
}

.nk-gallery-prev {
    left: 12px;
}

.nk-gallery-next {
    right: 12px;
}

.nk-gallery-count {
    position: absolute;
    bottom: 12px;
    left: 50%;
    z-index: 3;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(28, 28, 46, 0.7);
    color: #fff;
    font-size: 11px;
    letter-spacing: 1px;
    transform: translateX(-50%);
}

.nk-gallery-thumbs {
    margin-top: 10px;
}

.nk-gallery-thumbs .swiper-slide {
    width: 64px;
    height: 64px;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 10px;
    background: var(--nk-paper);
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.25s ease, border-color 0.25s ease;
}

.nk-gallery-thumbs .swiper-slide-thumb-active,
.nk-gallery-thumbs .swiper-slide:hover {
    border-color: var(--nk-gold);
    opacity: 1;
}

.nk-gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Buy box ---------- */

.nk-buy {
    position: relative;
}

.nk-zoom-pane {
    position: absolute;
    inset: 0;
    z-index: 20;
    overflow: hidden;
    border-radius: var(--nk-radius-lg);
    pointer-events: none;
}

.nk-zoom-pane.is-active {
    background: #fff;
    box-shadow: 0 10px 40px rgba(28, 28, 46, 0.15);
}

.nk-zoom-pane .drift-zoom-pane {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #fff;
}

.nk-buy-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 12px;
    margin-bottom: 8px;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nk-buy-cat {
    color: var(--nk-gold);
    font-weight: 600;
    text-decoration: none;
}

.nk-buy-sku {
    color: var(--nk-muted);
}

.nk-buy-title {
    margin: 0 0 8px;
    color: var(--nk-ink);
    font-family: var(--nk-serif);
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    font-weight: 600;
    line-height: 1.2;
}

.nk-buy-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--nk-text);
    font-size: 13px;
    text-decoration: none;
}

.nk-buy-rating:hover span:last-child {
    text-decoration: underline;
}

.nk-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
    margin-bottom: 8px;
}

.nk-price {
    color: var(--nk-green);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.nk-compare {
    color: var(--nk-muted);
    font-size: 1rem;
}

.nk-save {
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(212, 132, 124, 0.14);
    color: var(--nk-rose);
    font-size: 12px;
    font-weight: 700;
}

.nk-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 600;
}

.nk-stock i {
    font-size: 7px;
}

.nk-stock.is-in {
    color: var(--nk-green);
}

.nk-stock.is-out {
    color: var(--nk-red);
}

.nk-buy-lead {
    margin: 0 0 18px;
    color: var(--nk-text);
    font-size: 14px;
    line-height: 1.7;
}

/* Options */
.nk-option {
    margin-bottom: 16px;
}

.nk-option-label {
    display: block;
    margin-bottom: 8px;
    color: var(--nk-ink);
    font-size: 13px;
    font-weight: 600;
}

.nk-option-value {
    color: var(--nk-text);
    font-weight: 400;
}

.nk-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nk-chip {
    min-width: 44px;
    padding: 8px 14px;
    border: 1px solid var(--nk-line);
    border-radius: 999px;
    background: #fff;
    color: var(--nk-ink);
    font-size: 13px;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nk-chip:hover {
    border-color: var(--nk-ink);
}

.nk-chip.is-active {
    border-color: var(--nk-ink);
    background: var(--nk-ink);
    color: #fff;
}

.nk-select {
    max-width: 320px;
    border: 1px solid var(--nk-line);
    border-radius: var(--nk-radius);
    box-shadow: none;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.nk-select:hover,
.nk-select:focus {
    border-color: var(--nk-ink);
    outline: 0;
    box-shadow: none;
}

/* Missing choice when Add to Cart is pressed */
.nk-option.is-invalid .nk-option-label {
    color: var(--nk-red);
}

.nk-option.is-invalid .nk-chip,
.nk-option.is-invalid .nk-select {
    border-color: var(--nk-red);
}

.nk-option.is-invalid .nk-chips,
.nk-option.is-invalid .nk-select {
    animation: nk-shake 0.4s ease;
}

@keyframes nk-shake {
    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* Purchase */
.nk-purchase {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 10px;
}

.nk-qty {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    height: 48px;
    border: 1px solid var(--nk-line);
    border-radius: 999px;
    background: #fff;
}

.nk-qty-btn {
    width: 38px;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--nk-ink);
    font-size: 16px;
}

/* doubled class beats the theme's generic input width/height/border rules */
.nk-qty .nk-qty-input {
    flex: 0 0 34px;
    width: 34px;
    height: 100%;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--nk-ink);
    font-weight: 600;
    text-align: center;
    -moz-appearance: textfield;
}

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

.nk-secondary-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

/* Offer */
.nk-offer {
    margin-bottom: 20px;
}

.nk-offer-invite {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    padding: 12px 14px;
    border: 1px dashed rgba(200, 155, 101, 0.6);
    border-radius: var(--nk-radius);
    background: var(--nk-cream);
}

.nk-offer-invite-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    color: var(--nk-gold);
}

.nk-offer-invite-text {
    flex: 1 1 160px;
    color: var(--nk-text);
    font-size: 13px;
}

.nk-offer-invite-text strong {
    color: var(--nk-ink);
}

.nk-offer-deal {
    padding: 18px;
    border-radius: var(--nk-radius-lg);
    background:
        radial-gradient(circle at 100% 0%, rgba(200, 155, 101, 0.25), transparent 50%),
        var(--nk-ink);
    color: #fff;
}

.nk-offer-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--nk-gold-light);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nk-offer-prices {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 6px 0 4px;
}

.nk-offer-price {
    color: var(--nk-gold);
    font-size: 1.8rem;
    font-weight: 700;
}

.nk-offer-prices s,
.nk-offer-expiry {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}

.nk-offer-buy {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.nk-qty--light {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
}

.nk-qty--light .nk-qty-btn,
.nk-qty--light .nk-qty-input {
    color: #fff;
}

.nk-offer-done {
    margin-top: 12px;
    color: #7fd1a1;
    font-size: 13px;
}

.nk-offer-status {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--nk-radius);
    font-size: 13px;
    line-height: 1.5;
}

.nk-offer-status a {
    margin-left: auto;
    color: inherit;
    font-weight: 700;
    white-space: nowrap;
}

.nk-offer-status.is-pending {
    border: 1px solid #ffe082;
    background: #fff8e1;
    color: #7a5800;
}

.nk-offer-status.is-countered {
    border: 1px solid #b6d4f2;
    background: #eef6fd;
    color: #0d47a1;
}

/* Perks */
.nk-perks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 0 0 16px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--nk-line);
    border-radius: var(--nk-radius);
    background: var(--nk-line);
    list-style: none;
}

.nk-perks li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #fff;
}

.nk-perks i {
    color: var(--nk-gold);
    font-size: 18px;
}

.nk-perks span {
    min-width: 0;
}

.nk-perks strong,
.nk-perks small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nk-perks strong {
    color: var(--nk-ink);
    font-size: 12px;
}

.nk-perks small {
    color: var(--nk-muted);
    font-size: 11px;
}

/* Trust + share */
.nk-trust-row,
.nk-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.nk-trust-row {
    margin-bottom: 14px;
}

.nk-trust-label,
.nk-share-label {
    color: var(--nk-ink);
    font-size: 12px;
    font-weight: 600;
}

.nk-trust-label i {
    color: var(--nk-green);
}

.nk-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.nk-payments img {
    width: auto;
    height: 22px;
}

.nk-share {
    gap: 6px;
    padding-top: 14px;
    border-top: 1px solid var(--nk-line);
}

.nk-share-label {
    margin-right: 4px;
}

.nk-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid var(--nk-line);
    border-radius: 50%;
    background: #fff;
    color: var(--nk-text);
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nk-share-btn:hover {
    border-color: var(--nk-ink);
    background: var(--nk-ink);
    color: #fff;
}

/* ---------- Details ---------- */

.nk-details {
    padding: 32px 0;
    background: var(--nk-paper);
}

.nk-details-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.nk-richtext {
    color: var(--nk-text);
    font-size: 14px;
    line-height: 1.8;
}

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

.nk-clamp {
    position: relative;
    max-height: 220px;
    overflow: hidden;
}

.nk-clamp:not(.is-open)::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
}

.nk-clamp.is-open {
    max-height: none;
}

.nk-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--nk-ink);
    font-size: 13px;
    font-weight: 600;
}

.nk-specs {
    margin: 0;
}

.nk-specs > div {
    display: grid;
    grid-template-columns: minmax(110px, 40%) 1fr;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--nk-line);
    font-size: 13px;
}

.nk-specs > div:last-child {
    border-bottom: 0;
}

.nk-specs dt {
    color: var(--nk-muted);
    font-weight: 500;
}

.nk-specs dd {
    margin: 0;
    color: var(--nk-ink);
    font-weight: 600;
    word-break: break-word;
}

.nk-accordion {
    --bs-accordion-border-color: var(--nk-line);
    --bs-accordion-border-radius: var(--nk-radius-lg);
    --bs-accordion-inner-border-radius: var(--nk-radius-lg);
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-active-bg: #fff;
    --bs-accordion-active-color: var(--nk-ink);
    --bs-accordion-btn-padding-y: 16px;
}

.nk-accordion .accordion-button {
    gap: 10px;
    color: var(--nk-ink);
    font-size: 14px;
    font-weight: 600;
}

.nk-accordion .accordion-button i {
    color: var(--nk-gold);
    font-size: 16px;
}

.nk-accordion .accordion-body {
    padding-top: 0;
}

.nk-facts {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.nk-facts li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--nk-line);
    font-size: 13px;
}

.nk-facts span {
    color: var(--nk-muted);
}

.nk-facts strong {
    color: var(--nk-ink);
    text-align: right;
}

.nk-points {
    margin: 0;
    padding-left: 18px;
    color: var(--nk-text);
    font-size: 13px;
    line-height: 1.7;
}

.nk-points li + li {
    margin-top: 6px;
}

.nk-points li::marker {
    color: var(--nk-gold);
}

.nk-help {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    padding: 16px;
    border-radius: var(--nk-radius-lg);
    background: var(--nk-ink);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.nk-help strong {
    display: block;
    color: #fff;
}

.nk-help-icon {
    display: inline-flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(200, 155, 101, 0.18);
    color: var(--nk-gold);
    font-size: 18px;
}

.nk-help-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.nk-help-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    text-decoration: none;
}

.nk-help-links a:hover {
    border-color: var(--nk-gold);
    background: var(--nk-gold);
    color: var(--nk-ink);
}

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

.nk-reviews-pdp {
    padding: 32px 0;
}

.nk-reviews-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

.nk-rsummary-score {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.nk-rsummary-avg {
    color: var(--nk-ink);
    font-family: var(--nk-serif);
    font-size: 3rem;
    font-weight: 600;
    line-height: 1;
}

.nk-rsummary-total {
    display: block;
    margin-top: 4px;
    color: var(--nk-muted);
    font-size: 12px;
}

.nk-rbars {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.nk-rbars li {
    display: grid;
    grid-template-columns: 34px 1fr 28px;
    align-items: center;
    gap: 8px;
    padding: 3px 0;
    color: var(--nk-text);
    font-size: 12px;
}

.nk-rbars li i {
    color: var(--nk-gold);
    font-size: 10px;
}

.nk-rbars li span:last-child {
    text-align: right;
}

.nk-rbar {
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--nk-line);
}

.nk-rbar span {
    display: block;
    width: var(--w, 0%);
    height: 100%;
    border-radius: inherit;
    background: var(--nk-gold);
}

.nk-review-form {
    margin-bottom: 16px;
}

.nk-rate-input {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 4px;
}

.nk-rate-input input {
    position: absolute;
    opacity: 0;
}

.nk-rate-input label {
    color: var(--nk-line);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.15s ease;
}

.nk-rate-input label:hover,
.nk-rate-input label:hover ~ label,
.nk-rate-input input:checked ~ label {
    color: var(--nk-gold);
}

.nk-rate-input input:focus-visible + label {
    outline: 2px solid var(--nk-gold);
    outline-offset: 2px;
}

.nk-rcard {
    padding: 16px 0;
    border-bottom: 1px solid var(--nk-line);
}

.nk-rcard header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.nk-rcard strong {
    display: block;
    color: var(--nk-ink);
    font-size: 14px;
}

.nk-rmeta {
    color: var(--nk-muted);
    font-size: 12px;
}

.nk-ravatar {
    display: inline-flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nk-gold-light), var(--nk-rose));
    color: var(--nk-ink);
    font-family: var(--nk-serif);
    font-weight: 700;
}

.nk-rtitle {
    margin: 0 0 4px;
    color: var(--nk-ink);
    font-size: 14px;
    font-weight: 600;
}

.nk-rcard p {
    margin: 0;
    color: var(--nk-text);
    font-size: 14px;
    line-height: 1.7;
}

.nk-rempty {
    padding: 32px 16px;
    border: 1px dashed var(--nk-line);
    border-radius: var(--nk-radius-lg);
    color: var(--nk-muted);
    text-align: center;
}

.nk-rempty i {
    color: var(--nk-gold);
    font-size: 28px;
}

.nk-rempty p {
    margin: 8px 0 0;
    font-size: 14px;
}

.nk-rmore {
    margin-top: 16px;
}

/* ---------- Related ---------- */

.nk-related {
    padding: 32px 0 48px;
    background: var(--nk-paper);
}

.nk-related-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.nk-related-head .nk-card-title {
    margin: 0;
}

.nk-related-nav {
    display: flex;
    gap: 8px;
}

.nk-related .sw-dots {
    margin-top: 16px;
}

/* ---------- Sticky buy bar ---------- */

.nk-sticky-buy {
    position: fixed;
    right: 0;
    bottom: calc(var(--nk-toolbar) + env(safe-area-inset-bottom));
    left: 0;
    z-index: 150;
    padding: 8px 0;
    border-top: 1px solid var(--nk-line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -8px 24px rgba(28, 28, 46, 0.08);
    backdrop-filter: blur(8px);
    transform: translateY(calc(100% + var(--nk-toolbar) + 20px));
    transition: transform 0.35s var(--nk-ease);
}

.nk-sticky-buy.is-visible {
    transform: translateY(0);
}

.nk-sticky-inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nk-sticky-thumb {
    flex: 0 0 44px;
    border-radius: 8px;
    object-fit: cover;
}

.nk-sticky-info {
    flex: 1 1 auto;
    min-width: 0;
}

.nk-sticky-name {
    display: block;
    overflow: hidden;
    color: var(--nk-ink);
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nk-sticky-price {
    color: var(--nk-green);
    font-size: 14px;
    font-weight: 700;
}

.nk-sticky-cta {
    min-height: 42px;
    padding: 0 18px;
}

/* ---------- Modals ---------- */

.nk-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: var(--nk-radius-lg);
}

.nk-modal .modal-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--nk-line);
}

.nk-modal .modal-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--nk-ink);
    font-family: var(--nk-serif);
    font-size: 1.25rem;
}

.nk-modal .modal-title i {
    color: var(--nk-gold);
}

.nk-modal .modal-body {
    padding: 20px;
}

.nk-modal .form-label {
    color: var(--nk-ink);
    font-size: 13px;
    font-weight: 600;
}

.nk-modal .form-control:focus,
.nk-review-form .form-control:focus {
    border-color: var(--nk-gold);
    box-shadow: 0 0 0 3px rgba(200, 155, 101, 0.15);
}

.nk-modal-note {
    margin-bottom: 16px;
    color: var(--nk-text);
    font-size: 13px;
}

.nk-modal-product {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding: 8px;
    border-radius: var(--nk-radius);
    background: var(--nk-paper);
    color: var(--nk-ink);
    font-size: 13px;
    font-weight: 600;
}

.nk-modal-product img {
    border-radius: 8px;
    object-fit: cover;
}

/* ---------- Breakpoints ---------- */

@media (min-width: 576px) {
    .nk-gallery-thumbs .swiper-slide {
        width: 76px;
        height: 76px;
    }
}

@media (min-width: 768px) {
    .nk-pdp {
        padding: 24px 0 48px;
    }

    .nk-card {
        padding: 28px;
    }

    .nk-details,
    .nk-reviews-pdp {
        padding: 56px 0;
    }

    .nk-related {
        padding: 56px 0 72px;
    }
}

@media (min-width: 992px) {
    .nk-pdp-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        gap: 48px;
        align-items: start;
    }

    .nk-gallery {
        position: sticky;
        top: 90px;
    }

    .nk-details-grid {
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
        gap: 24px;
        align-items: start;
    }

    .nk-details-side {
        position: sticky;
        top: 90px;
    }

    .nk-reviews-grid {
        grid-template-columns: 300px minmax(0, 1fr);
        gap: 48px;
        align-items: start;
    }

    .nk-rsummary {
        position: sticky;
        top: 90px;
    }
}

@media (min-width: 1150px) {
    :root {
        --nk-toolbar: 0px;
    }
}

@media (max-width: 575.98px) {
    .nk-gallery-nav {
        display: none;
    }

    .nk-gallery-main {
        border-radius: var(--nk-radius);
    }

    .nk-btn {
        padding: 0 16px;
        font-size: 12px;
    }

    .nk-sticky-thumb {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nk-sticky-buy {
        transition: none;
    }

    .nk-option.is-invalid .nk-chips,
    .nk-option.is-invalid .nk-select {
        animation: none;
    }
}
