.skeleton {
    animation: skeleton-loading 1s linear infinite alternate;
}
  
@keyframes skeleton-loading {
    0% {
        background-color: hsl(200, 20%, 80%);
    }
    100% {
        background-color: hsl(200, 20%, 95%);
    }
}
  
/* .skeleton-text {
    width: 100%;
    height: 0.7rem;
    margin-bottom: 0.5rem;
    border-radius: 0.25rem;
} */
  
.skeleton-text__body {
    width: 75%;
}
  
.skeleton-footer {
    width: 30%;
}

/* Custom Modal Styles */
.saltlux-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.saltlux-modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 30px;
    border: 1px solid #888;
    width: 600px; /* Could be more or less, depending on screen size */
}

.saltlux-modal-close {
    color: #aaa;
    /* float: right; */
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 15px;
    top: 15px;
}

.saltlux-modal-close:hover,
.saltlux-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.saltlux-modal-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: 15px;
    text-align: center;
}

.saltlux-modal-header {
    text-align: center;
    margin-bottom: 15px;
}

.saltlux-modal-body {
    padding-top: 15px;
}

.saltlux-modal-body-item {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.saltlux-modal-info {
    list-style: none;
    margin: unset;
}

.saltlux-modal-buy {
    width: 150px;
}

.saltlux-modal-footer {
    text-align: center;
}

.popup-policy {
    font-size: 13px;
    color: #959595;
    margin-top: 10px;
    margin-bottom: 5px;
}

.saltlux-modal-continue-buy {
    width: 100%;
}

#saltlux-modal-continue-buy:hover {
    background: #000;
}

.saltlux-modal-hide-today {
    text-align: center;
    margin-top: 15px;
}

#saltlux-product-name {
    font-weight: bold;
}

.saltlux-modal-hide-today input[type="checkbox"]:checked {
    border-color: #000;
    background-color: #000;
    accent-color: #000;
}

[id^="saltlux-product-url-"] {
    width: 100%;
    text-align: center;
    color: #fff;
    background-color: #000;
    border-color: #000;
}

.saltlux-modal-item {
    padding-bottom: 15px;
}

.saltlux-modal-item .disable {
    color: #fff !important;
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    cursor: not-allowed !important;
}

[id^="saltlux-product-price-"] {
    font-size: 20px;
    font-weight: bold;
    width: 150px;
    height: 40px;
    display: block;
    border-radius: unset;
    margin-bottom: 5px;

    text-align: center;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    align-items: center;
}

[id^="saltlux-product-regular-price-"] {
    text-align: center;
    font-size: 17px;
    text-decoration: line-through;
    color: #959595;
}

@media screen and (max-width: 767px) {
    .saltlux-modal-content {
        width: 500px;
    }
}

@media screen and (max-width: 560px) {
    .saltlux-modal-content {
        width: 460px;
    }
}

@media screen and (max-width: 480px) {
    .saltlux-modal-close {
        right: 10px;
        top: 10px;
    }

    .saltlux-modal-title {
        font-size: 15px;
    }

    .saltlux-modal-header {
        font-size: 14px;
    }

    .saltlux-modal-content {
        width: calc(100% - 30px);
    }

    .saltlux-modal-body h4 {
        font-size: 16px;
    }

    [id^="saltlux-product-price-"] {
        font-size: 16px;
        height: 32px;
    }

    [id^="saltlux-product-regular-price-"] {
        text-align: center;
        font-size: 13px;
    }

    [id^="saltlux-product-price-"],
    [id^="saltlux-product-regular-price-"],
    .saltlux-modal-buy {
        width: 120px;
    }
}

@media screen and (max-width: 405px) {
    .saltlux-modal-content {
        width: calc(100% - 20px);
        padding: 20px;
    }
}

@media screen and (max-width: 380px) {
    .saltlux-modal-content {
        width: 100%;
        padding: 20px;
    }
}

/* ── TryMyLook block ─────────────────────────────────────────── */
.saltlux-trymylook {
    margin-top: 16px;
    border: 1px solid #e0e0e0;
    background: #f9f9f9;
}

.saltlux-trymylook-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
}

.saltlux-trymylook-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.saltlux-trymylook-text strong {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: .03em;
}

.saltlux-trymylook-text span {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 12px;
    color: #666;
}

.saltlux-trymylook-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    background: #1a1a1a;
    color: #fff;
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s;
    flex-shrink: 0;
}

.saltlux-trymylook-btn:hover {
    background: #cc0000;
    color: #fff;
}

@media (max-width: 480px) {
    .saltlux-trymylook-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .saltlux-trymylook-btn {
        width: 100%;
        justify-content: center;
    }
}
/* ── Color swatches ──────────────────────────────────────────────────────── */

/* Hide native <select> when swatches are present (JS also hides, PHP sets inline) */
.sv2-swatch-native { display: none !important; }

/* Swatch container */
.sv2-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

/* Individual swatch button */
.sv2-swatch {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid transparent;
    outline: none;
    cursor: pointer;
    padding: 0;
    background-color: #ccc;
    transition: transform .12s, box-shadow .12s;
    flex-shrink: 0;
}

/* Light swatches (white, cream, etc.) get a visible border */
.sv2-swatch--light {
    border-color: #ccc;
}

/* Hover */
.sv2-swatch:hover {
    transform: scale(1.12);
    box-shadow: 0 0 0 1px rgba(0,0,0,.18);
}

/* Active / selected — outer ring */
.sv2-swatch.is-active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1a1a1a;
}

/* Light swatch selected ring uses dark colour */
.sv2-swatch--light.is-active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1a1a1a;
}

/* Text-only swatch (no hex set) */
.sv2-swatch:has(.sv2-swatch-text) {
    width: auto;
    height: auto;
    border-radius: 4px;
    padding: 4px 10px;
    background: #f0f0f0;
    border-color: #ccc;
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
}

.sv2-swatch:has(.sv2-swatch-text).is-active {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
    box-shadow: none;
}

/* Selected-colour summary label in the variations table */
.sv2-color-chosen {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    margin-left: 6px;
}

/* Keep the WooCommerce variations table label column width stable */
.variations th.label {
    white-space: nowrap;
    padding-right: 16px;
    vertical-align: top;
    padding-top: 12px;
}

.variations td.value {
    padding-bottom: 16px;
    vertical-align: top;
}
