/* Nanny Jewels – nákupní blok */

#product-detail-form.nj-bracelet {
    border: 1px solid #e1dedf;
    border-radius: 16px;
    padding: 16px;
    box-sizing: border-box;
}

.nj-bracelet .nj-original-row {
    display: none !important;
}

.nj-options {
    color: #252525;
    font-size: 15px;
}

.nj-options [hidden] {
    display: none !important;
}

.nj-heading {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
}

/* Výběr barvy */

.nj-colors {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.nj-options button {
    cursor: pointer;
    font: inherit;
    box-shadow: none;
}

.nj-options .nj-swatch {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 4px solid white;
    outline: 2px solid transparent;
    color: transparent;
    padding: 0;
}

.nj-options .nj-silver {
    background: #bfc1c3;
}

.nj-options .nj-gold {
    background: #c6a363;
}

.nj-options .nj-swatch[aria-pressed=true] {
    outline-color: #80445e;
    color: white;
}

.nj-color-label {
    color: #555;
    font-size: 14px;
}

/* Výběr velikosti */

.nj-sizes,
.nj-larger {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
}

.nj-larger {
    margin-top: 6px;
}

.nj-sizes button,
.nj-larger button {
    min-width: 0;
    min-height: 46px;
    border: 1px solid #ccc;
    border-radius: 7px;
    background: white;
    color: #252525;
    padding: 4px 1px;
}

.nj-options .nj-more {
    background: #f6e9ee;
    color: #80445e;
    font-size: 11px;
    white-space: pre-line;
    border-color: #d6c3cb;
    line-height: 1.35;
}

.nj-sizes button[aria-pressed=true],
.nj-larger button[aria-pressed=true] {
    border: 2px solid #80445e;
    background: #f6e9ee;
    color: #80445e;
}

.nj-options button:disabled {
    opacity: .35;
    cursor: not-allowed;
}

/* Informace o ruční výrobě */

.nj-note {
    font-size: 13px;
    color: #777;
    margin: 14px 0 24px;
}

/* Dárková karta */

.nj-options .nj-gift {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    padding: 0 !important;
    cursor: pointer;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    color: #252525;
}

.nj-options .nj-gift::before,
.nj-options .nj-gift::after {
    display: none !important;
    content: none !important;
}

.nj-options .nj-gift input[type="checkbox"] {
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    border: 1px solid #aaa !important;
    border-radius: 50% !important;
    background: white !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0;
    cursor: pointer;
}

.nj-options .nj-gift input[type="checkbox"]:checked {
    background: #80445e !important;
    border-color: #80445e !important;
    box-shadow: inset 0 0 0 4px white !important;
}

.nj-gift-select {
    width: 100%;
    min-height: 44px;
    margin-bottom: 12px;
}

/* Doručení a nákupní tlačítko */

.nj-bracelet .p-basic-info-block {
    border-top: 1px solid #e1dedf;
    padding-top: 14px;
}

.nj-bracelet .p-to-cart-block {
    border-top: 1px solid #e1dedf;
    padding-top: 16px;
}

.nj-bracelet .add-to-cart-button {
    border-radius: 40px !important;
}

/* Mobilní zobrazení */

@media (max-width: 480px) {

    #product-detail-form.nj-bracelet {
        padding: 12px;
    }

    .nj-sizes button,
    .nj-larger button {
        font-size: 14px;
    }

    .nj-options .nj-more {
        font-size: 10px;
    }

}