/* =========================================================
   CATEGORY / PRODUCT LISTING UI — Nouralchemyy
   Add this at the end of assets/css/style.css
   ========================================================= */

.category-main {
    background: var(--ivory);
    padding-top: 5.5rem;
}

.category-title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
    margin-bottom: 2.1rem;
}

.category-toolbar {
    border-top: 1px solid rgba(217, 116, 141, 0.12);
    border-bottom: 1px solid rgba(217, 116, 141, 0.12);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    min-height: 70px;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 0 40px rgb(255 217 226 / 35%), 0 8px 24px rgba(217, 116, 141, 0.12);
}

.category-toolbar__cell {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 3.5rem;
    border-right: 1px solid rgba(217, 116, 141, 0.12);
}

.category-toolbar__cell:last-child {
    border-right: 0;
    justify-content: flex-end;
}

.category-count {
    justify-content: center;
    font-size: .875rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.sort-wrap {
    position: relative;
}

.sort-label {
    color: var(--ink-soft);
    font-size: .875rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: color 0.2s ease;
    display: inline-block;
}

.sort-label::after {
    display: none !important;
}

.sort-label:hover {
    color: var(--ink);
}

.category-toolbar__cell.position-relative {
    position: relative;
}

.custom-sort-dropdown {
    position: static !important;
}

.custom-sort-dropdown .dropdown-menu {
    position: absolute !important;
    top: calc(100% + 24px) !important;
    left: -1px !important;
    transform: none !important;
    margin: 0 !important;
    width: 235px;
    min-width: unset;
    background: var(--white);
    border: 1px solid rgba(43, 32, 31, .12);
    border-radius: 0;
    box-shadow: 0 18px 40px rgba(43, 32, 31, .08) !important;
    padding: 0;
}

.custom-sort-dropdown .dropdown-item {
    font-size: .9rem;
    color: var(--ink-soft);
    padding: .62rem 1.4rem;
    transition: all 0.2s ease;
    border-bottom: 0;
}

.custom-sort-dropdown .dropdown-item:last-child {
    border-bottom: none;
}

.custom-sort-dropdown .dropdown-item:hover,
.custom-sort-dropdown .dropdown-item:focus {
    color: var(--rose-darker);
    background: var(--blush);
}

.custom-sort-dropdown .dropdown-item.active-sort {
    color: var(--rose-darker) !important;
    background: var(--blush) !important;
}

.toolbar-btn {
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--ink);
    font-size: .875rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: .7rem;
}

.sort-menu {
    position: absolute;
    top: calc(100% + 24px);
    left: -3.5rem;
    width: 235px;
    background: var(--white);
    border: 1px solid rgba(43, 32, 31, .12);
    z-index: 30;
    display: none;
    box-shadow: 0 18px 40px rgba(43, 32, 31, .08);
}

.sort-menu.show {
    display: block;
}

.sort-menu button {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    padding: .62rem 1.4rem;
    font-size: .9rem;
    color: var(--ink-soft);
}

.sort-menu button:hover,
.sort-menu button.active {
    color: var(--rose-darker);
    background: var(--blush);
}

.product-card {
    position: relative;
    display: block;
    color: var(--ink);
    margin-bottom: 2.5rem;
}

.product-media {
    position: relative;
    overflow: hidden;
    background: var(--blush);
    aspect-ratio: 3 / 4.25;
    border-radius: 1rem;
}

.product-card:hover .product-media {
    box-shadow: 0 0 10px rgba(217, 116, 141, 0.85);
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .55s ease, opacity .35s ease;
}

.product-card:hover .product-media img {
    transform: scale(1.035);
}

.wishlist-btn,
.wishlist-btn-container.custom-yith .yith-wcwl-add-to-wishlist a,
.quick-add-btn {
    position: absolute;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    z-index: 5;
    transition: all .25s ease;
    /* background: var(--white); */
    color: var(--white);
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* YITH Custom Styling */
.wishlist-btn-container.custom-yith {
    position: absolute;
    bottom: 18px;
    left: 18px;
    z-index: 5;
}
.wishlist-btn-container.custom-yith .yith-wcwl-add-to-wishlist {
    margin: 0;
}
.wishlist-btn-container.custom-yith .yith-wcwl-add-to-wishlist a {
    bottom: 0 !important;
    left: 0 !important;
    text-decoration: none;
    font-size: 0 !important; /* Hide text bulletproof */
    color: transparent !important;
}
.wishlist-btn-container.custom-yith .yith-wcwl-add-to-wishlist a span {
    display: none !important;
}
.wishlist-btn-container.custom-yith .yith-wcwl-add-to-wishlist a i {
    margin: 0;
    font-size: 1.25rem !important;
    color: var(--white) !important;
}

.wishlist-btn,
.wishlist-btn-container.custom-yith .yith-wcwl-add-to-wishlist a {
    bottom: 18px;
    left: 18px;
    /* background: var(--white); */
    color: var(--white);
    /* var(--ink); */
    font-size: 1.25rem;
    padding-top: 8px;
}

.wishlist-btn.active,
.wishlist-btn:hover,
.wishlist-btn-container.custom-yith .yith-wcwl-add-to-wishlist a:hover,
.wishlist-btn-container.custom-yith .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistaddedbrowse a,
.wishlist-btn-container.custom-yith .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistexistsbrowse a {
    background: var(--script-pink);
    color: var(--white);
    /* var(--rose-deep); */
    box-shadow: 0 0 10px rgba(217, 116, 141, 0.85);
}


/* .wishlist-btn.active {
    color: var(--rose-deep);
} */

.quick-add-btn {
    right: 18px;
    bottom: 18px;
    /* background: var(--white); */
    color: var(--white);
    /* var(--ink); */
    font-size: 1.4rem;
    /* border-radius: 0; */
    opacity: 0;
    transform: translateY(8px);
}

.product-card:hover .quick-add-btn {
    opacity: 1;
    transform: translateY(0);
}

.quick-add-btn:hover {
    background: var(--script-pink);
    color: var(--white);
    /* var(--rose-deep); */
    box-shadow: 0 0 10px rgb(255 92 175 / 85%);
    /* box-shadow: 0 0 10px rgba(201, 166, 107, 0.85); */
    /* 0 0 10px rgba(217, 116, 141, 0.85); */
}

.product-info {
    text-align: center;
    padding-top: 1.15rem;
}

.product-name {
    font-size: .875rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: .45rem;
    font-variation-settings: "wght" 400;
    transition: font-variation-settings 0.3s ease;
}

.product-price {
    font-size: .875rem;
    letter-spacing: .12em;
    color: var(--rose-deep);
    font-weight: 400;
    text-transform: uppercase;
    font-variation-settings: "wght" 400;
    transition: font-variation-settings 0.3s ease;
}

.product-card:hover .product-name,
.product-card:hover .product-price {
    font-variation-settings: "wght" 600;
}


/* Product quick-view modal */

.quick-view-modal .modal-dialog {
    max-width: 1040px;
}

.quick-view-modal .modal-content,
.size-chart-modal .modal-content {
    border: 0;
    border-radius: 0;
    background: var(--white);
}

.quick-view-modal .btn-close,
.size-chart-modal .btn-close {
    position: absolute;
    top: 1.45rem;
    right: 1.55rem;
    z-index: 10;
    box-shadow: none;
    background-color: #ffffff;
    padding: .65rem;
}

.qv-image {
    width: 100%;
    aspect-ratio: 3 / 4.05;
    object-fit: cover;
    object-position: center top;
}

.qv-content {
    padding: 3rem 4rem 3rem 0;
}

.qv-title {
    font-family: var(--font-body);
    font-size: 1.32rem;
    line-height: 1.55;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: .8rem;
}

.qv-price {
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--rose-deep);
    margin-bottom: .2rem;
    font-weight: 500;
}

.qv-tax {
    color: var(--ink-soft);
    font-size: .875rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.qv-tax a,
.qv-view-details,
.size-chart-link {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.option-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .7rem;
}

.option-label {
    font-weight: 400;
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-bottom: 1.4rem;
}

.size-btn,
.color-btn {
    border: 1px solid rgba(43, 32, 31, .14);
    background: var(--white);
    min-width: 48px;
    height: 48px;
    padding: 0 .9rem;
    font-size: .88rem;
    color: var(--ink-soft);
}

.size-btn.active,
.color-btn.active {
    border-color: var(--script-pink);
    color: var(--script-pink);
    box-shadow: inset 0 0 40px rgb(255 217 226 / 35%), 0 8px 24px rgba(217, 116, 141, 0.12);
    font-weight: 500;
}

.quantity-box {
    width: 152px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border: 1px solid rgba(43, 32, 31, .14);
    margin: 1.7rem 0 2.25rem;
}

.quantity-box button,
.quantity-box span {
    height: 48px;
    border: 0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.qv-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.7rem;
    align-items: center;
    margin-bottom: 2rem;
}

.btn-qv-outline,
.btn-qv-solid {
    height: 56px;
    border-radius: 28px;
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: .875rem;
}

.btn-qv-outline {
    background: transparent;
    border: 1px solid rgba(43, 32, 31, .14);
    color: var(--rose-darker);
}

.btn-qv-outline:hover {
    border-color: var(--rose-darker);
}

.btn-qv-solid {
    background: var(--rose-darker);
    color: var(--white);
    border: 1px solid var(--rose-darker);
}

.btn-qv-solid:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.qv-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.1rem;
}

.qv-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(43, 32, 31, .25);
}

.qv-dots span.active {
    background: var(--ink);
}


/* Size chart modal */

.size-chart-modal .modal-dialog {
    max-width: 850px;
}

.size-chart-head {
    text-align: center;
    padding: 1.35rem 2rem;
    border-bottom: 1px solid rgba(43, 32, 31, .12);
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.size-chart-body {
    padding: 2.4rem 3.7rem 3rem;
}

.measure-graphic {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--ivory), var(--blush));
    color: var(--rose-deep);
    font-size: 6rem;
}

.measure-copy h6 {
    font-size: .82rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .8rem;
}

.measure-copy p {
    font-size: .78rem;
    margin-bottom: .48rem;
    color: var(--ink-soft);
}

.measure-copy strong {
    color: var(--rose-darker);
    font-weight: 500;
}

.size-chart-table {
    width: 100%;
    margin-top: 1.8rem;
    border-collapse: collapse;
    text-align: center;
    font-size: .88rem;
}

.size-chart-table th,
.size-chart-table td {
    border: 1px solid rgba(43, 32, 31, .55);
    padding: .55rem;
    font-weight: 300;
}

.size-chart-table th {
    font-weight: 400;
    text-transform: uppercase;
}


/* =========================================================
   FILTER OFFCANVAS - WEBSITE THEME COLOR
   ========================================================= */

.filter-panel {
    width: min(430px, 100vw) !important;
    border-left: 0 !important;
    background: var(--ivory);
    color: var(--ink);
}

.filter-panel .offcanvas-header {
    padding: 1.65rem 1.8rem;
    border-bottom: 1px solid rgba(43, 32, 31, .10);
    background: var(--ivory);
}

.filter-title {
    font-size: .9rem;
    letter-spacing: .26em;
    text-transform: uppercase;
    margin: 0;
    font-weight: 500;
    color: var(--ink);
}


/* Close Button */

.filter-panel .btn-close {
    box-shadow: none;
    opacity: .75;
    filter: none;
}

.filter-panel .btn-close:hover {
    opacity: 1;
}


/* Body */

.filter-panel .offcanvas-body {
    padding: 0 1.8rem 7rem;
    background: var(--ivory);
}


/* Filter Group */

.filter-group {
    border-bottom: 1px solid rgba(43, 32, 31, .11);
    padding: 1.35rem 0;
}

.filter-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .75rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 500;
}

.filter-toggle i {
    color: var(--ink-soft);
    font-size: .85rem;
}

.filter-body {
    padding-top: 1.25rem;
}


/* =========================================================
   PRICE RANGE
   ========================================================= */

.filter-panel .form-range {
    width: 100%;
    height: 1.4rem;
    padding: 0;
    background: transparent;
    accent-color: var(--rose-darker);
}


/* Chrome / Edge / Safari Track */

.filter-panel .form-range::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 50px;
    background: rgba(43, 32, 31, .22);
}


/* Chrome / Edge / Safari Thumb */

.filter-panel .form-range::-webkit-slider-thumb {
    width: 17px;
    height: 17px;
    margin-top: -6.5px;
    border-radius: 50%;
    background: var(--rose-darker);
    border: 2px solid var(--rose-darker);
    box-shadow: 0 0 0 4px rgba(155, 91, 112, .12);
    cursor: pointer;
}


/* Firefox Track */

.filter-panel .form-range::-moz-range-track {
    height: 4px;
    border-radius: 50px;
    background: rgba(43, 32, 31, .22);
}


/* Firefox Progress */

.filter-panel .form-range::-moz-range-progress {
    height: 4px;
    border-radius: 50px;
    background: var(--rose-darker);
}


/* Firefox Thumb */

.filter-panel .form-range::-moz-range-thumb {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--rose-darker);
    border: 2px solid var(--rose-darker);
    box-shadow: 0 0 0 4px rgba(155, 91, 112, .12);
    cursor: pointer;
}

.price-inputs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: .85rem;
    align-items: center;
    margin-top: 1.25rem;
}

.price-inputs span {
    color: var(--ink-soft);
    font-size: .84rem;
}

.price-inputs input {
    border: 1px solid rgba(43, 32, 31, .14);
    background: var(--white);
    padding: .8rem .9rem;
    width: 100%;
    color: var(--ink);
    font-size: .9rem;
    outline: none;
    border-radius: 0;
    transition: border-color .25s ease, background .25s ease;
}

.price-inputs input:focus {
    border-color: var(--rose-darker);
    background: var(--white);
}


/* =========================================================
   CHECKBOX FILTERS
   ========================================================= */

.filter-check {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    color: var(--ink-soft);
    margin-bottom: 1rem;
    cursor: pointer;
    font-size: .88rem;
    line-height: 1.4;
}

.filter-check:last-child {
    margin-bottom: 0;
}

.filter-check input {
    order: 2;
    width: 15px;
    height: 15px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--rose-darker);
}


/* Better checkbox appearance */

.filter-check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(43, 32, 31, .35);
    background: transparent;
    border-radius: 2px;
    position: relative;
    transition: all .2s ease;
}

.filter-check input[type="checkbox"]:checked {
    background: var(--rose-darker);
    border-color: var(--rose-darker);
}

.filter-check input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-check:hover {
    color: var(--ink);
}


/* =========================================================
   COLOR SWATCHES
   ========================================================= */

.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
}

.color-swatch {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(43, 32, 31, .12);
    background: var(--swatch);
    cursor: pointer;
    border-radius: 50%;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.color-swatch:hover,
.color-swatch.active {
    transform: translateY(-2px);
    border-color: var(--rose-darker);
    box-shadow: 0 0 0 3px var(--ivory), 0 0 0 5px var(--rose-darker);
}

.color-swatch[style*="#ffffff"],
.color-swatch[style*="#fffdf0"] {
    box-shadow: inset 0 0 0 1px rgba(43, 32, 31, .14);
}

.color-swatch[style*="#ffffff"]:hover,
.color-swatch[style*="#fffdf0"]:hover {
    box-shadow: inset 0 0 0 1px rgba(43, 32, 31, .14), 0 0 0 3px var(--ivory), 0 0 0 5px var(--rose-darker);
}


/* =========================================================
   FOOTER BUTTON
   ========================================================= */

.filter-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.35rem 1.8rem;
    background: var(--ivory);
    border-top: 1px solid rgba(43, 32, 31, .10);
}

.filter-footer .btn,
.filter-footer .btn-solid-brand {
    width: 100%;
    height: 52px;
    border-radius: 0;
    background: var(--rose-darker);
    border: 1px solid var(--rose-darker);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: .76rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
}

.filter-footer .btn:hover,
.filter-footer .btn-solid-brand:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}


/* =========================================================
   FILTER PRICE RANGE - LIVE THEME PROGRESS
   ========================================================= */

.filter-panel .form-range {
    --range-progress: 100%;
    width: 100%;
    height: 1.4rem;
    padding: 0;
    background: transparent;
    accent-color: var(--rose-darker);
}


/* Chrome / Edge / Safari Track */

.filter-panel .form-range::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 50px;
    background: linear-gradient( to right, var(--rose-darker) 0%, var(--rose-darker) var(--range-progress), rgba(43, 32, 31, .22) var(--range-progress), rgba(43, 32, 31, .22) 100%);
}


/* Chrome / Edge / Safari Thumb */

.filter-panel .form-range::-webkit-slider-thumb {
    width: 17px;
    height: 17px;
    margin-top: -6.5px;
    border-radius: 50%;
    background: var(--rose-darker);
    border: 2px solid var(--rose-darker);
    box-shadow: 0 0 0 4px rgba(155, 91, 112, .12);
    cursor: pointer;
}


/* Firefox Track */

.filter-panel .form-range::-moz-range-track {
    height: 4px;
    border-radius: 50px;
    background: rgba(43, 32, 31, .22);
}


/* Firefox Progress */

.filter-panel .form-range::-moz-range-progress {
    height: 4px;
    border-radius: 50px;
    background: var(--rose-darker);
}


/* Firefox Thumb */

.filter-panel .form-range::-moz-range-thumb {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--rose-darker);
    border: 2px solid var(--rose-darker);
    box-shadow: 0 0 0 4px rgba(155, 91, 112, .12);
    cursor: pointer;
}


/* =========================================================
   FILTER COLOR SELECTED STATE
   ========================================================= */

.color-swatch {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(43, 32, 31, .12);
    background: var(--swatch);
    cursor: pointer;
    border-radius: 50%;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.color-swatch:hover,
.color-swatch.active {
    transform: translateY(-2px);
    border-color: var(--rose-darker);
    box-shadow: 0 0 0 3px var(--ivory), 0 0 0 5px var(--rose-darker);
}

.color-swatch.active::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 7px;
    height: 12px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -58%) rotate(45deg);
}

.color-swatch[style*="#ffffff"],
.color-swatch[style*="#fffdf0"] {
    box-shadow: inset 0 0 0 1px rgba(43, 32, 31, .14);
}

.color-swatch[style*="#ffffff"].active,
.color-swatch[style*="#fffdf0"].active,
.color-swatch[style*="#ffffff"]:hover,
.color-swatch[style*="#fffdf0"]:hover {
    box-shadow: inset 0 0 0 1px rgba(43, 32, 31, .14), 0 0 0 3px var(--ivory), 0 0 0 5px var(--rose-darker);
}

.color-swatch[style*="#ffffff"].active::after,
.color-swatch[style*="#fffdf0"].active::after {
    border-color: var(--ink);
}


/* Wishlist toast */

.wishlist-toast {
    position: fixed;
    right: 2rem;
    bottom: 5.8rem;
    width: min(340px, calc(100vw - 2rem));
    background: var(--white);
    z-index: 2000;
    box-shadow: 0 16px 42px rgba(43, 32, 31, .22);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all .28s ease;
}

.wishlist-toast.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.wishlist-toast__head {
    background: var(--rose-deep);
    color: var(--white);
    padding: .72rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .86rem;
}

.wishlist-toast__body {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: .8rem;
    padding: .85rem 1rem 1rem;
}

.wishlist-toast__body img {
    width: 58px;
    height: 74px;
    object-fit: cover;
}

.wishlist-toast__body p {
    margin: 0 0 .25rem;
    font-size: .9rem;
}

.wishlist-toast__body a {
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: .82rem;
}


/* =========================================================
   CART DRAWER
   ========================================================= */

.cart-panel {
    width: min(560px, 100vw) !important;
    border-left: 0 !important;
}

.cart-panel .offcanvas-header {
    padding: 1.65rem 2rem;
    border-bottom: 1px solid rgba(43, 32, 31, .12);
}

.cart-title {
    font-size: .92rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
}

.cart-body {
    padding: 2rem 2rem 11rem;
}

.cart-empty {
    min-height: calc(100vh - 230px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink);
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.cart-item-img {
    width: 130px;
    height: 160px;
    object-fit: cover;
    object-position: center top;
    background: var(--blush);
    border-radius: 6px;
}

.cart-item-title {
    font-size: .875rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink);
    line-height: 1.55;
    margin-bottom: .45rem;
    font-weight: 400;
}

.cart-item-price {
    font-size: .875rem;
    letter-spacing: .12em;
    color: var(--rose-deep);
    text-transform: uppercase;
    margin-bottom: .55rem;
    font-weight: 400;
}

.cart-item-meta {
    font-size: .75rem;
    letter-spacing: .12em;
    color: var(--ink);
    text-transform: uppercase;
    margin-bottom: .9rem;
    font-weight: 400;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-qty-box {
    width: 120px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border: 1px solid rgba(43, 32, 31, .14);
    font-weight: 500;
}

.cart-qty-box button,
.cart-qty-box span {
    height: 42px;
    border: 0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
}

.cart-remove-btn {
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--ink);
    font-size: .82rem;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cart-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.4rem 2rem 1.6rem;
    background: var(--white);
    border-top: 1px solid rgba(43, 32, 31, .12);
    display: none;
}

.cart-footer.show {
    display: block;
}

.cart-note-btn {
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--ink);
    font-size: .9rem;
    margin-bottom: .7rem;
}

.cart-tax-text {
    color: var(--ink-soft);
    margin-bottom: .35rem;
    font-weight: 400;
    font-size: .875rem;
}

.cart-terms {
    color: var(--ink);
    font-size: .86rem;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 1rem;
}

.cart-checkout-btn {
    width: 100%;
    border: 0;
    background: var(--rose-darker);
    color: var(--white);
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .875rem;
    font-weight: 500;
}

.cart-checkout-btn:hover {
    background: var(--ink);
}


/* =========================================================
   PRODUCT DETAIL PAGE
   ========================================================= */

.product-detail-section {
    background: var(--white);
}

.product-detail-row {
    max-width: 1280px;
    margin: 0 auto;
}

.product-detail-gallery {
    max-width: 660px;
    margin-left: auto;
}

.product-main-image {
    background: var(--blush);
    overflow: hidden;
    box-shadow: 0 0 10px rgba(217, 116, 141, 0.85);
    border-radius: 1rem;
}

.product-main-image img {
    width: 100%;
    aspect-ratio: 3 / 4.45;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.product-gallery-dots {
    display: flex;
    justify-content: center;
    gap: .9rem;
    margin-top: 1.1rem;
}

.product-gallery-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(43, 32, 31, .28);
}

.product-gallery-dots span.active {
    background: var(--ink);
}

.product-detail-content {
    max-width: 520px;
    padding-top: .2rem;
}

.product-detail-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
}

.product-detail-content h2 {
    font-family: var(--font-body);
    font-size: 1.28rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    line-height: 1.55;
    font-weight: 400;
    margin-bottom: .45rem;
}

.product-sku {
    color: var(--ink-soft);
    font-size: .875rem;
    margin-bottom: .2rem;
    font-weight: 400;
}

.product-detail-wishlist {
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 1.05rem;
    padding: .2rem;
}

.product-detail-wishlist.active {
    color: var(--rose-deep);
}

.product-detail-price {
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--rose-deep);
    margin-bottom: 2rem;
    font-weight: 500;
}

.product-detail-tax {
    color: var(--ink-soft);
    font-size: .875rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.product-detail-tax a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.product-option-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .7rem;
    font-weight: 400;
}

.product-option-head a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.product-option-label {
    font-weight: 400;
    margin: 1.4rem 0 .65rem;
}

.product-detail-size-options {
    margin-bottom: 1.25rem;
}

.product-detail-qty {
    margin: 1.8rem 0 2rem;
}

.product-detail-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.7rem;
    margin-bottom: 1.3rem;
}

.whatsapp-order-btn {
    /* height: 56px;*/
    border-radius: 68px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .875rem;
    /* background: var(--rose-darker); */
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    margin-bottom: 1.9rem;
    font-weight: 400;
}

.whatsapp-order-btn:hover {
    /* background: var(--ink);
    color: var(--white); */
}

.whatsapp-order-btn i {
    color: #006124;
    font-size: 1rem;
}

.product-description {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--ink);
    margin-bottom: 2rem;
}

.product-description p {
    margin-bottom: .75rem;
}

.product-description strong {
    font-weight: 400;
    color: var(--ink);
}

.product-info-accordion {
    border-top: 1px solid rgba(43, 32, 31, .14);
}

.product-accordion-item {
    border-bottom: 1px solid rgba(43, 32, 31, .14);
}

.product-accordion-btn {
    width: 100%;
    height: 54px;
    border: 0;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: .7rem;
    color: var(--ink);
}

.product-accordion-body {
    display: none;
    padding: 0 0 1.2rem;
    font-size: .82rem;
    line-height: 1.7;
    color: var(--ink-soft);
}

.product-accordion-item.active .product-accordion-body {
    display: block;
}

.product-accordion-item.active .product-accordion-btn i {
    transform: rotate(45deg);
}

.product-accordion-btn i {
    transition: transform .25s ease;
}

.product-share {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--ink-soft);
    font-size: .68rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin-top: 1.25rem;
}


/* Related Products */

.related-product-card {
    display: block;
    text-align: center;
    color: var(--ink);
}

.related-product-img {
    overflow: hidden;
    background: var(--blush);
    margin-bottom: 1rem;
}

.related-product-img img {
    width: 100%;
    aspect-ratio: 3 / 4.1;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform .5s ease;
}

.related-product-card:hover img {
    transform: scale(1.035);
}

.related-product-name {
    font-size: .68rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: .35rem;
}

.related-product-price {
    font-size: .72rem;
    letter-spacing: .12em;
    color: var(--ink-soft);
    text-transform: uppercase;
}

.product-gallery-dots {
    display: flex;
    justify-content: center;
    gap: .9rem;
    margin-top: 1.1rem;
}

.product-gallery-dots .product-thumb {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(43, 32, 31, .28);
}

.product-gallery-dots .product-thumb.active {
    background: var(--ink);
}


/* =========================================================
   PRODUCT DETAIL IMAGE HOVER + LIGHTBOX
   ========================================================= */

.product-main-image {
    position: relative;
    width: 100%;
    border: 0;
    padding: 0;
    background: var(--blush);
    overflow: hidden;
    display: block;
    cursor: zoom-in;
}

.product-main-image img {
    width: 100%;
    aspect-ratio: 3 / 4.45;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.product-image-plus {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--script-pink);
    color: var(--white);
    box-shadow: 0 0 10px rgba(217, 116, 141, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.92);
    transition: opacity .16s ease, transform .16s ease;
    pointer-events: none;
    z-index: 5;
}

.product-image-plus.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.product-gallery-dots {
    display: flex;
    justify-content: center;
    gap: .9rem;
    margin-top: 1.1rem;
}

.product-gallery-dots .product-thumb {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(43, 32, 31, .25);
}

.product-gallery-dots .product-thumb.active {
    background: var(--script-pink);
}


/* =========================================================
   PRODUCT LIGHTBOX — SMOOTH OPEN / CLOSE
   ========================================================= */

.product-lightbox {
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .34s ease, visibility .34s ease;
}

.product-lightbox.show,
.product-lightbox.closing {
    visibility: visible;
    pointer-events: auto;
}

.product-lightbox.show {
    opacity: 1;
}

.product-lightbox.closing {
    opacity: 0;
}

.product-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: var(--white);
    opacity: 0;
    transition: opacity .34s ease;
}

.product-lightbox.show .product-lightbox-backdrop {
    opacity: 1;
}

.product-lightbox.closing .product-lightbox-backdrop {
    opacity: 0;
}

.product-lightbox-inner {
    position: relative;
    z-index: 2;
    width: min(760px, 86vw);
    height: calc(100vh - 130px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 0;
    transform: translate3d(var(--lb-x, 0px), var(--lb-y, 0px), 0) scale(var(--lb-scale, .78));
    transition: opacity .34s ease, transform .42s cubic-bezier(.22, .75, .25, 1);
    will-change: transform, opacity;
}

.product-lightbox.show .product-lightbox-inner {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.product-lightbox.closing .product-lightbox-inner {
    opacity: 0;
    transform: translate3d(var(--lb-x, 0px), var(--lb-y, 0px), 0) scale(var(--lb-scale, .78));
}

.product-lightbox-inner img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: zoom-in;
    transition: width .25s ease, max-height .25s ease;
}


/* Zoomed scroll state */

.product-lightbox.zoomed .product-lightbox-inner {
    overflow-y: auto;
    overflow-x: hidden;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 0 6rem;
}

.product-lightbox.zoomed .product-lightbox-inner img {
    width: min(1100px, 95vw);
    max-width: none;
    max-height: none;
    height: auto;
    cursor: zoom-out;
}


/* Controls */

.product-lightbox-controls {
    position: fixed;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%) translateY(16px);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: .75rem;
    opacity: 0;
    transition: opacity .32s ease .12s, transform .32s ease .12s;
}

.product-lightbox.show .product-lightbox-controls {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.product-lightbox.closing .product-lightbox-controls {
    opacity: 0;
    transform: translateX(-50%) translateY(16px);
    transition-delay: 0s;
}

.product-lightbox-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 0;
    background: var(--white);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    box-shadow: 0 10px 28px rgba(43, 32, 31, .16);
    transition: all .25s ease;
}

.product-lightbox-btn:hover {
    background: var(--rose-darker);
    color: var(--white);
}

.product-lightbox-inner::-webkit-scrollbar {
    width: 6px;
}

.product-lightbox-inner::-webkit-scrollbar-track {
    background: transparent;
}

.product-lightbox-inner::-webkit-scrollbar-thumb {
    background: rgba(43, 32, 31, .25);
    border-radius: 20px;
}


/* =========================================================
   QUICK VIEW IMAGE SLIDER
   ========================================================= */

.qv-slider-wrap {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(217, 116, 141, 0.85);
    border-radius: 1rem;
}

.qv-slider-wrap .qv-image {
    width: 100%;
    aspect-ratio: 3 / 4.05;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: opacity .25s ease;
}

.qv-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    opacity: 0;
    transition: all .25s ease;
    box-shadow: 0 8px 22px rgba(43, 32, 31, .15);
}

.qv-slider-prev {
    left: 16px;
}

.qv-slider-next {
    right: 16px;
}

.qv-slider-wrap:hover .qv-slider-arrow {
    opacity: 1;
}

.qv-slider-arrow:hover {
    background: var(--script-pink);
    color: var(--white);
    box-shadow: 0 0 10px rgba(217, 116, 141, 0.85);
}

.qv-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.1rem;
}

.qv-dots button {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(43, 32, 31, .25);
}

.qv-dots button.active {
    background: var(--script-pink);
}


/* =========================================================
   PRODUCT DETAIL STICKY ADD TO CART BAR
   ========================================================= */

.product-sticky-cart {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    margin-top: 0;
    height: 82px;
    background: var(--white);
    border-top: 1px solid rgba(43, 32, 31, .12);
    border-bottom: 1px solid rgba(43, 32, 31, .12);
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: top .28s ease, opacity .28s ease, visibility .28s ease, transform .28s ease;
}

.product-sticky-cart.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.product-sticky-cart.below-header {
    top: calc(var(--header-h, 0px) - 1px);
}


/* .product-sticky-cart.below-header {
    top: var(--header-h, 0px);
} */

.product-sticky-left {
    display: flex;
    align-items: center;
    gap: 1.35rem;
}

.product-sticky-left img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    object-position: center top;
    background: var(--blush);
    border-radius: 6px;
}

.product-sticky-title {
    font-size: .875rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink);
    line-height: 1.55;
    margin-bottom: .45rem;
    font-weight: 400;
}

.product-sticky-price {
    font-size: .875rem;
    letter-spacing: .12em;
    color: var(--rose-deep);
    text-transform: uppercase;
    margin-bottom: .55rem;
    font-weight: 400;
}

.product-sticky-btn {
    width: 210px;
    height: 42px;
    border: 0;
    background: var(--rose-darker);
    color: var(--white);
    height: 42px;
    border-radius: 28px;
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: .875rem;
}

.product-sticky-btn:hover {
    background: var(--ink);
}


/* =========================================================
   PRODUCT INFO TABS
   ========================================================= */

.product-info-tabs {
    margin-top: 2.4rem;
}

.product-tab-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.product-tab-btn {
    border: 1px solid rgba(43, 32, 31, .14);
    background: var(--white);
    min-width: 48px;
    height: 48px;
    padding: 0 .9rem;
    font-size: .88rem;
    color: var(--ink-soft);
    font-weight: 400;
    transition: all .25s ease;
}

.product-tab-btn:hover,
.product-tab-btn.active {
    border-color: var(--script-pink);
    color: var(--script-pink);
    box-shadow: inset 0 0 40px rgb(255 217 226 / 35%), 0 8px 24px rgba(217, 116, 141, 0.12);
    font-weight: 500;
}

.product-tab-content {
    padding: 1.45rem 0;
}

.product-tab-pane {
    display: none;
}

.product-tab-pane.active {
    display: block;
}

.product-tab-text {
    color: var(--ink);
    font-size: .94rem;
    line-height: 1.75;
}

.product-tab-text p {
    margin-bottom: .5rem;
}

.product-tab-text p+p strong,
.product-tab-text p strong {
    display: inline-block;
    margin-top: .9rem;
    font-weight: 500;
}

.product-tab-text p:first-child strong {
    margin-top: 0;
}

.product-tab-text a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 4px;
}


/* =========================================================
   RELATED PRODUCTS SWIPER SLIDER
   ========================================================= */

.related-swiper-section {
    position: relative;
}

.related-swiper-head {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 2rem;
}

.related-swiper-head h2 {
    margin-bottom: 0;
}

.related-swiper-controls {
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    gap: .65rem;
}

.related-swiper-btn {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(43, 32, 31, .14);
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
}

.related-swiper-btn:hover {
    background: var(--rose-darker);
    border-color: var(--rose-darker);
    color: var(--white);
}

.related-swiper-btn.swiper-button-disabled {
    opacity: .35;
    pointer-events: none;
}

.related-products-swiper {
    overflow: hidden;
    /* padding-bottom: 2.2rem; */
}

.related-products-swiper .swiper-wrapper.product-grid {
    display: flex;
    flex-wrap: nowrap;
}

.related-products-swiper .product-col {
    height: auto;
}

.related-products-swiper .product-card {
    margin-bottom: 0;
    height: 100%;
}

.related-swiper-pagination {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    margin-top: 1.5rem;
}

.related-swiper-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    background: rgba(43, 32, 31, .28);
    opacity: 1;
}

.related-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--script-pink);
}


/* =========================================================
   PRODUCT DETAIL - CUSTOM DESIGN + PROMINENT WHATSAPP
   ========================================================= */

.custom-design-box {
    margin: 1.4rem 0 1.6rem;
}

.custom-design-btn {
    width: 100%;
    border: 1px solid rgba(217, 116, 141, .35);
    background: linear-gradient(135deg, var(--ivory), var(--blush));
    padding: 1rem 1.1rem;
    display: grid;
    grid-template-columns: 46px 1fr 32px;
    align-items: center;
    gap: .9rem;
    text-align: left;
    color: var(--ink);
    transition: all .28s ease;
}

.custom-design-btn:hover {
    border-color: var(--script-pink);
    box-shadow: 0 16px 34px rgba(140, 84, 104, .16);
    transform: translateY(-1px);
}

.custom-design-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--white);
    color: #ff6f92;
    /* var(--rose-darker); */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 8px 24px rgba(43, 32, 31, .08);
}

.custom-design-text strong {
    display: block;
    font-size: .78rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 500;
    margin-bottom: .2rem;
}

.custom-design-text small {
    display: block;
    color: var(--ink-soft);
    font-size: .86rem;
    line-height: 1.5;
}

.custom-design-arrow {
    color: var(--rose-darker);
    font-size: 1.1rem;
    text-align: right;
}

.whatsapp-order-featured {
    margin-top: 1.2rem;
    width: 100%;
    min-height: 68px;
    padding: .9rem 1.1rem;
    border: 1px solid #22c55e;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    display: grid;
    grid-template-columns: 46px 1fr 28px;
    align-items: center;
    gap: .9rem;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(34, 197, 94, .24);
    transition: all .28s ease;
}

.whatsapp-order-featured:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(34, 197, 94, .32);
}

.whatsapp-order-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.whatsapp-order-text strong {
    display: block;
    font-size: .82rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: .18rem;
}

.whatsapp-order-text small {
    display: block;
    font-size: .82rem;
    line-height: 1.45;
    opacity: .92;
}

.whatsapp-order-arrow {
    text-align: right;
    font-size: 1.1rem;
}


/* Modal */

.custom-design-modal .modal-dialog {
    max-width: 520px;
}

.custom-design-modal .modal-content {
    border: 0;
    border-radius: 0;
    background: var(--white);
    box-shadow: 0 24px 70px rgba(43, 32, 31, .18);
}

.custom-design-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    z-index: 5;
    box-shadow: none;
}

.custom-design-modal-body {
    padding: 3rem;
}

.custom-design-modal-head {
    text-align: center;
    margin-bottom: 2rem;
}

.custom-design-modal-head h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: 1.05;
    color: var(--ink);
    margin-bottom: .8rem;
}

.custom-design-modal-head p {
    color: var(--ink-soft);
    line-height: 1.75;
    margin-bottom: 0;
}

.custom-design-form-group {
    margin-bottom: 1rem;
}

.custom-design-form-group label {
    display: block;
    font-size: .7rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: .55rem;
    font-weight: 500;
}

.custom-design-form-group input,
.custom-design-form-group select,
.custom-design-form-group textarea {
    width: 100%;
    border: 1px solid rgba(43, 32, 31, .14);
    background: var(--ivory);
    padding: .85rem 1rem;
    color: var(--ink);
    outline: none;
    border-radius: 0;
    font-size: .95rem;
}

.custom-design-form-group input,
.custom-design-form-group select {
    height: 50px;
}

.custom-design-form-group textarea {
    resize: none;
    line-height: 1.7;
}

.custom-design-form-group input:focus,
.custom-design-form-group select:focus,
.custom-design-form-group textarea:focus {
    border-color: var(--rose-darker);
    background: var(--white);
}

.custom-design-submit-btn {
    width: 100%;
    height: 52px;
    margin-top: .6rem;
    border: 1px solid var(--rose-darker);
    background: var(--rose-darker);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .74rem;
    font-weight: 500;
    transition: all .25s ease;
}

.custom-design-submit-btn:hover {
    background: var(--ink);
    border-color: var(--ink);
}

.custom-design-success-msg {
    display: none;
    margin: 1rem 0 0;
    text-align: center;
    color: var(--rose-darker);
    font-size: .9rem;
}

.custom-design-success-msg.show {
    display: block;
}

@media (max-width: 575.98px) {
    .custom-design-modal .modal-dialog {
        margin: 1rem;
    }
    .custom-design-modal-body {
        padding: 2.2rem 1.4rem;
    }
    .custom-design-btn,
    .whatsapp-order-featured {
        grid-template-columns: 42px 1fr;
    }
    .custom-design-arrow,
    .whatsapp-order-arrow {
        display: none;
    }
}


/* =========================================================
   PRODUCT DETAIL COLOR SWATCH
   ========================================================= */

.product-detail-color-wrap {
    margin: .8rem 0 1.4rem;
}

.product-detail-color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.product-detail-color-swatches .color-swatch {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(43, 32, 31, .18);
    background: var(--swatch);
    position: relative;
    cursor: pointer;
    transition: all .25s ease;
}

.product-detail-color-swatches .color-swatch:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(43, 32, 31, .14);
}

.product-detail-color-swatches .color-swatch.active {
    border-color: var(--rose-darker);
    box-shadow: 0 0 0 3px rgba(217, 116, 141, .18);
}

.product-detail-color-swatches .color-swatch.active::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 7px;
    height: 12px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -58%) rotate(45deg);
}

.product-detail-color-swatches .color-swatch[style*="#ffffff"].active::after,
.product-detail-color-swatches .color-swatch[style*="#fffdf0"].active::after {
    border-color: var(--ink);
}


/* =========================================================
   PRODUCT DETAIL SHARE WIDGET
   ========================================================= */

.product-share-widget {
    position: relative;
    margin-top: 1.6rem;
    width: 100%;
    max-width: 360px;
}

.product-share-trigger {
    width: 100%;
    min-height: 52px;
    border: 1px solid rgba(43, 32, 31, .14);
    background: var(--white);
    color: var(--ink);
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: all .25s ease;
}

.product-share-trigger:hover,
.product-share-trigger.is-open {
    border-color: var(--rose-darker);
    color: var(--rose-darker);
    box-shadow: 0 12px 28px rgba(140, 84, 104, .12);
}

.product-share-trigger-text {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    font-size: .76rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 500;
}

.product-share-trigger-text i {
    font-size: 1rem;
}

.product-share-chevron {
    font-size: .9rem;
    transition: transform .25s ease;
}

.product-share-trigger.is-open .product-share-chevron {
    transform: rotate(180deg);
}

.product-share-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + .55rem);
    background: var(--white);
    border: 1px solid rgba(43, 32, 31, .12);
    box-shadow: 0 18px 42px rgba(43, 32, 31, .12);
    padding: .55rem;
    z-index: 30;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .25s ease;
}

.product-share-panel.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.product-share-option {
    width: 100%;
    min-height: 44px;
    border: 0;
    background: transparent;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem .85rem;
    text-decoration: none;
    text-align: left;
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: all .22s ease;
}

.product-share-option i {
    width: 20px;
    font-size: 1rem;
    color: var(--rose-darker);
}

.product-share-option:hover {
    background: var(--ivory);
    color: var(--rose-darker);
}

.product-share-msg {
    display: none;
    margin: .75rem 0 0;
    color: var(--rose-darker);
    font-size: .85rem;
}

.product-share-msg.show {
    display: block;
}

@media (max-width: 575.98px) {
    .product-share-widget {
        max-width: 100%;
    }
    .product-share-panel {
        position: static;
        margin-top: .6rem;
        transform: none;
    }
    .product-share-panel.show {
        transform: none;
    }
}


/* =========================================================
   RESPONSIVE MEDIA - CATEGORY + PRODUCT DETAIL PAGES
   Keep all responsive code here only
   ========================================================= */


/* =========================================================
   Below 992px - Tablet
   ========================================================= */

@media (max-width: 991.98px) {
    .category-main {
        padding-top: 4rem;
    }
    .category-toolbar {
        grid-template-columns: 1fr 1fr;
    }
    .category-count {
        display: none;
    }
    .category-toolbar__cell {
        padding: 0 1.4rem;
    }
    .sort-menu {
        left: -1.4rem;
    }
    /* Quick View Modal */
    .qv-content {
        padding: 2.2rem 1.4rem;
    }
    /* Title and Price Formatting */
    .quick-view-modal .modal-content h3 {
        font-size: 18px;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        margin-bottom: 15px;
        font-weight: 400;
    }
    .quick-view-modal .qv-price {
        font-size: 15px;
        color: #764253; /* Match the pinkish/maroon color in design */
        font-weight: 500;
        margin-bottom: 10px;
        letter-spacing: 0.05em;
    }
    .quick-view-modal .qv-price .woocommerce-Price-amount {
        color: #764253;
    }
    .quick-view-modal .modal-dialog {
        margin: 0;
        max-width: none;
    }
    .quick-view-modal .modal-content {
        flex-direction: row;
    }
} /* End of max-width 991.98px */

/* =========================================================
   GLOBAL OVERRIDES (Desktop + Mobile)
   ========================================================= */
/* WooCommerce form overrides for Quick View - Matching exact HTML design */
    
    /* Hide WooCommerce clear link default positioning */
    .quick-view-modal .reset_variations,
    .product-detail-content .reset_variations {
        display: none !important;
    }

    /* Variations Table / Labels */
    .quick-view-modal table.variations,
    .product-detail-content table.variations {
        width: 100%;
        margin-bottom: 20px;
    }
    .quick-view-modal table.variations tbody tr,
    .product-detail-content table.variations tbody tr {
        display: block;
        margin-bottom: 15px;
    }
    .quick-view-modal table.variations td.label,
    .product-detail-content table.variations td.label {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0 0 8px 0;
        font-weight: 400;
        color: var(--text-color);
        font-size: 14px;
    }
    .quick-view-modal table.variations td.label label,
    .product-detail-content table.variations td.label label {
        font-weight: normal;
        margin: 0;
        color: var(--text-color);
    }
    .quick-view-modal table.variations td.label label::after,
    .product-detail-content table.variations td.label label::after {
        content: ":";
    }
    .quick-view-modal table.variations td.value,
    .product-detail-content table.variations td.value {
        display: block;
        width: 100%;
    }

    /* Woo Variation Swatches styling */
    body .quick-view-modal .variable-items-wrapper .variable-item,
    body .product-detail-content .variable-items-wrapper .variable-item {
        border-radius: 0 !important;
        border: 1px solid rgba(43, 32, 31, .14) !important;
        background: var(--white) !important;
        min-width: 48px !important;
        height: 48px !important;
        padding: 0 .9rem !important;
        font-size: .88rem !important;
        color: var(--ink-soft) !important;
        box-shadow: none !important;
        margin-right: .65rem !important;
        margin-bottom: .65rem !important;
        transition: all 0.3s ease !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    body .quick-view-modal .variable-items-wrapper .variable-item.selected,
    body .quick-view-modal .variable-items-wrapper .variable-item:hover,
    body .product-detail-content .variable-items-wrapper .variable-item.selected,
    body .product-detail-content .variable-items-wrapper .variable-item:hover {
        border-color: var(--script-pink) !important;
        color: var(--script-pink) !important;
        box-shadow: inset 0 0 40px rgb(255 217 226 / 35%), 0 8px 24px rgba(217, 116, 141, 0.12) !important;
        font-weight: 500 !important;
    }
    /* Hide default checkmarks on selected sizes ONLY (allow on colors) */
    body .quick-view-modal .variable-items-wrapper .variable-item.button-variable-item.selected::before,
    body .product-detail-content .variable-items-wrapper .variable-item.button-variable-item.selected::before {
        display: none !important;
    }
    
    /* Ensure Color squares fill the box and are ROUND & COMPACT */
    body .quick-view-modal .variable-items-wrapper .variable-item.color-variable-item,
    body .product-detail-content .variable-items-wrapper .variable-item.color-variable-item {
        padding: 0 !important;
        border-radius: 50% !important;
        min-width: 36px !important;
        height: 36px !important;
        margin-right: 8px !important;
        margin-bottom: 8px !important;
        border: 1px solid #e0e0e0 !important;
    }
    body .quick-view-modal .variable-items-wrapper .variable-item.color-variable-item span.variable-item-span-color,
    body .product-detail-content .variable-items-wrapper .variable-item.color-variable-item span.variable-item-span-color {
        width: 100% !important;
        height: 100% !important;
        border-radius: 50% !important;
        margin: 0 !important;
        display: block !important;
    }

    /* Safe CSS-based Reordering of Size Swatches (Avoids breaking JS events) */
    body .quick-view-modal .variable-items-wrapper[data-attribute_name="attribute_pa_size"],
    body .product-detail-content .variable-items-wrapper[data-attribute_name="attribute_pa_size"] {
        display: flex !important;
        flex-wrap: wrap;
    }
    body .quick-view-modal .variable-items-wrapper[data-attribute_name="attribute_pa_size"] .variable-item,
    body .product-detail-content .variable-items-wrapper[data-attribute_name="attribute_pa_size"] .variable-item { order: 99; }
    
    body .quick-view-modal .variable-items-wrapper[data-attribute_name="attribute_pa_size"] .variable-item[data-value="xs"],
    body .product-detail-content .variable-items-wrapper[data-attribute_name="attribute_pa_size"] .variable-item[data-value="xs"] { order: 1; }
    
    body .quick-view-modal .variable-items-wrapper[data-attribute_name="attribute_pa_size"] .variable-item[data-value="s"],
    body .product-detail-content .variable-items-wrapper[data-attribute_name="attribute_pa_size"] .variable-item[data-value="s"] { order: 2; }
    
    body .quick-view-modal .variable-items-wrapper[data-attribute_name="attribute_pa_size"] .variable-item[data-value="m"],
    body .product-detail-content .variable-items-wrapper[data-attribute_name="attribute_pa_size"] .variable-item[data-value="m"] { order: 3; }
    
    body .quick-view-modal .variable-items-wrapper[data-attribute_name="attribute_pa_size"] .variable-item[data-value="l"],
    body .product-detail-content .variable-items-wrapper[data-attribute_name="attribute_pa_size"] .variable-item[data-value="l"] { order: 4; }
    
    body .quick-view-modal .variable-items-wrapper[data-attribute_name="attribute_pa_size"] .variable-item[data-value="xl"],
    body .product-detail-content .variable-items-wrapper[data-attribute_name="attribute_pa_size"] .variable-item[data-value="xl"] { order: 5; }
    
    body .quick-view-modal .variable-items-wrapper[data-attribute_name="attribute_pa_size"] .variable-item[data-value="xxl"],
    body .product-detail-content .variable-items-wrapper[data-attribute_name="attribute_pa_size"] .variable-item[data-value="xxl"] { order: 6; }
    
    body .quick-view-modal .variable-items-wrapper[data-attribute_name="attribute_pa_size"] .variable-item[data-value="custom"],
    body .product-detail-content .variable-items-wrapper[data-attribute_name="attribute_pa_size"] .variable-item[data-value="custom"] { order: 7; }

    /* Add To Cart Container & Quantity */
    .quick-view-modal .woocommerce-variation-add-to-cart,
    .product-detail-content .woocommerce-variation-add-to-cart {
        display: block !important;
        margin-top: 10px;
    }

    /* Hide default Woo loader to prevent overlap with inline spinner */
    .quick-view-modal .single_add_to_cart_button.loading::after,
    .product-detail-content .single_add_to_cart_button.loading::after {
        display: none !important;
    }

    /* Quantity Box */
    .quick-view-modal .quantity,
    .product-detail-content .quantity {
        width: 130px !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr;
        border: 1px solid rgba(43, 32, 31, .14) !important;
        margin: 0 0 1.5rem 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        overflow: hidden;
        max-width: none;
    }

    /* Hide native WooCommerce View Cart link that breaks flex layout */
    .quick-view-modal .added_to_cart.wc-forward,
    .product-detail-content .added_to_cart.wc-forward {
        display: none !important;
    }

    /* AJAX Cart Popup (Premium Toast) */
    #qv-cart-popup {
        position: fixed;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        background: #fff;
        padding: 16px 24px;
        border-radius: 4px;
        box-shadow: 0 15px 45px rgba(0,0,0,0.15);
        z-index: 9999;
        animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        border-left: 4px solid #472d35;
    }
    #qv-cart-popup .qv-cart-popup-inner {
        display: flex;
        align-items: center;
        gap: 15px;
        font-size: 14px;
        color: #2b201f;
        font-family: inherit;
        white-space: nowrap;
    }
    #qv-cart-popup .qv-cart-popup-msg {
        font-weight: 500;
        letter-spacing: 0.5px;
    }
    #qv-cart-popup .qv-cart-popup-btn {
        background: #472d35;
        color: #fff !important;
        text-transform: uppercase;
        font-size: 11px;
        letter-spacing: 1.5px;
        padding: 10px 18px;
        border-radius: 0;
        text-decoration: none;
        transition: all 0.2s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #472d35;
    }
    #qv-cart-popup .qv-cart-popup-btn:hover {
        background: transparent;
        color: #472d35 !important;
    }
    #qv-cart-popup .btn-close {
        font-size: 14px;
        opacity: 0.4;
        cursor: pointer;
        background: transparent;
        border: none;
        padding: 0;
        margin-left: 10px;
        transition: opacity 0.2s ease;
    }
    #qv-cart-popup .btn-close:hover {
        opacity: 1;
    }
    @keyframes slideUpFade {
        from { opacity: 0; transform: translate(-50%, 40px); }
        to { opacity: 1; transform: translate(-50%, 0); }
    }
    .quick-view-modal .quantity span.qty-btn,
    .quick-view-modal .quantity input.qty,
    .product-detail-content .quantity span.qty-btn,
    .product-detail-content .quantity input.qty {
        height: 48px;
        border: 0;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 500;
        color: var(--text-color);
        margin: 0;
        padding: 0;
        width: 100%;
        text-align: center;
    }
    .quick-view-modal .quantity input.qty,
    .product-detail-content .quantity input.qty {
        -moz-appearance: textfield;
        font-size: 14px;
    }
    .quick-view-modal .quantity input.qty::-webkit-outer-spin-button,
    .quick-view-modal .quantity input.qty::-webkit-inner-spin-button,
    .product-detail-content .quantity input.qty::-webkit-outer-spin-button,
    .product-detail-content .quantity input.qty::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    /* Buttons Container */
    .quick-view-modal .qv-buttons-wrap,
    .product-detail-content .qv-buttons-wrap {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 1.7rem;
        align-items: center;
        margin-bottom: 2rem;
    }
    
    .product-detail-content .woocommerce-variation-add-to-cart {
        display: block !important;
        margin-bottom: 2rem;
        width: 100% !important;
    }
    .product-detail-content .woocommerce-variation-add-to-cart .quantity {
        width: 130px !important;
        margin-bottom: 1.5rem !important;
    }
    .product-detail-content .woocommerce-variation-add-to-cart .qv-buttons-wrap {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 1.7rem;
        align-items: center;
    }

    /* Buttons */
    .quick-view-modal .single_add_to_cart_button,
    .product-detail-content .single_add_to_cart_button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 56px !important;
        border-radius: 28px !important;
        text-transform: uppercase !important;
        letter-spacing: .22em !important;
        font-size: .875rem !important;
        background: transparent !important;
        border: 1px solid rgba(43, 32, 31, .14) !important;
        color: var(--rose-darker) !important;
        width: 100%;
        transition: all 0.3s;
        padding: 0;
        margin: 0 !important;
        font-weight: 500;
    }
    .product-detail-content .woocommerce-variation-add-to-cart .single_add_to_cart_button {
        width: 100% !important;
        margin: 0 !important;
    }
    
    .quick-view-modal .single_add_to_cart_button:hover,
    .product-detail-content .single_add_to_cart_button:hover {
        border-color: var(--rose-darker) !important;
    }
    
    .quick-view-modal .btn-qv-solid,
    .product-detail-content .btn-qv-solid,
    .product-detail-content .js-buy-it-now {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 56px !important;
        border-radius: 28px !important;
        text-transform: uppercase !important;
        letter-spacing: .22em !important;
        font-size: .875rem !important;
        background: var(--rose-darker) !important;
        color: var(--white) !important;
        border: 1px solid var(--rose-darker) !important;
        width: 100%;
        transition: all 0.3s;
        padding: 0;
        margin: 0 !important;
        font-weight: 500;
    }
    .product-detail-content .woocommerce-variation-add-to-cart .js-buy-it-now {
        width: 100% !important;
        margin: 0 !important;
    }
    .quick-view-modal .btn-qv-solid:hover,
    .product-detail-content .btn-qv-solid:hover,
    .product-detail-content .js-buy-it-now:hover {
        background: var(--ink) !important;
        border-color: var(--ink) !important;
        color: var(--white) !important;
    }

/* Resume max-width 991.98px */
@media (max-width: 991.98px) {
    /* Product Detail Page */
    .product-detail-gallery {
        max-width: 100%;
        margin: 0;
    }
    .product-detail-content {
        max-width: 100%;
    }
    .product-detail-actions {
        gap: .9rem;
    }
    .quick-add-btn {
        opacity: 1;
        transform: translateY(0px);
    }
    .product-card {
        margin-bottom: 1.75rem;
    }
}


/* =========================================================
   Below 768px - Mobile Landscape
   ========================================================= */

@media (max-width: 767.98px) {
    /* Product Sticky Add To Cart */
    .product-sticky-cart {
        height: 76px;
        padding: 0 1rem;
    }
    .product-sticky-left {
        gap: .8rem;
        min-width: 0;
    }
    .product-sticky-left img {
        width: 52px;
        height: 52px;
        flex: 0 0 auto;
    }
    .product-sticky-title {
        font-size: .75rem;
        letter-spacing: .12em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 165px;
    }
    .product-sticky-price {
        font-size: .75rem;
        letter-spacing: .12em;
    }
    .product-sticky-btn {
        width: 128px;
        height: 40px;
        font-size: .75rem;
        letter-spacing: .14em;
    }
    .product-card {
        margin-bottom: 1.5rem;
    }
    .related-swiper-head {
        justify-content: space-between;
        gap: 1rem;
    }
    .related-swiper-controls {
        position: static;
    }
}


/* =========================================================
   Below 576px - Mobile
   ========================================================= */

@media (max-width: 575.98px) {
    /* Filter Offcanvas */
    .filter-panel .offcanvas-header {
        padding: 1.35rem 1.3rem;
    }
    .filter-panel .offcanvas-body {
        padding: 0 1.3rem 6.5rem;
    }
    .filter-footer {
        padding: 1rem 1.3rem;
    }
    .price-inputs {
        gap: .6rem;
    }
    .price-inputs input {
        padding: .75rem;
    }
    /* Quick View Modal */
    .qv-actions {
        grid-template-columns: 1fr;
        gap: .8rem;
    }
    .qv-slider-arrow {
        opacity: 1;
        width: 38px;
        height: 38px;
    }
    .qv-slider-prev {
        left: 10px;
    }
    .qv-slider-next {
        right: 10px;
    }
    /* Size Chart */
    .size-chart-body {
        padding: 1.5rem;
    }
    /* Wishlist Toast */
    .wishlist-toast {
        right: 1rem;
        bottom: 5rem;
    }
    /* Cart Drawer */
    .cart-body {
        padding: 1.5rem 1.2rem 11rem;
    }
    .cart-panel .offcanvas-header,
    .cart-footer {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }
    .cart-item {
        grid-template-columns: 105px 1fr;
        gap: 1rem;
    }
    .cart-item-img {
        width: 105px;
        height: 150px;
    }
    .cart-item-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: .7rem;
    }
    /* Product Detail Page */
    .product-detail-content h1,
    .product-detail-content h2 {
        font-size: 1rem;
        letter-spacing: .12em;
    }
    .product-detail-actions {
        grid-template-columns: 1fr;
    }
    /* Product Lightbox */
    .product-lightbox-inner {
        width: 94vw;
        height: 100vh;
    }
    .product-lightbox.zoomed .product-lightbox-inner img {
        width: min(920px, 135vw);
    }
    .product-lightbox-btn {
        width: 46px;
        height: 46px;
    }
    /* Product Info Tabs */
    .product-tab-nav {
        grid-template-columns: 1fr;
    }
    .product-tab-btn {
        text-align: left;
    }
    .product-tab-btn:last-child {
        border-bottom: 0;
    }
    .product-tab-content {
        padding: 1.25rem 0;
    }
    .related-swiper-btn {
        width: 38px;
        height: 38px;
    }
    .related-products-swiper {
        padding-bottom: 1.8rem;
    }
}

/* =========================================================
   PRODUCT DETAIL OVERRIDES
   ========================================================= */

/* Product Detail Wishlist Override (Match HTML Icon) */
.product-detail-wishlist,
.product-detail-wishlist * {
    font-size: 0 !important;
    color: transparent !important;
}
.product-detail-wishlist i,
.product-detail-wishlist i.yith-wcwl-icon {
    font-size: 1.3rem !important;
    margin: 0 !important;
    color: var(--ink) !important;
    transition: color 0.3s ease;
}

.product-detail-wishlist.active i,
.product-detail-wishlist.active i.yith-wcwl-icon {
    color: var(--rose-deep) !important;
}
.product-detail-wishlist .feedback,
.product-detail-wishlist .yith-wcwl-add-text,
.product-detail-wishlist .yith-wcwl-already-exists,
.product-detail-wishlist .yith-wcwl-add-button > span {
    display: none !important;
}

/* =========================================================
   CUSTOM DESIGN MODAL
   ========================================================= */

.custom-design-modal .modal-dialog {
    max-width: 520px;
}

.custom-design-modal .modal-content {
    border: 0;
    border-radius: 0;
    background: var(--white);
    box-shadow: 0 24px 70px rgba(43, 32, 31, .18);
}

.custom-design-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    z-index: 5;
    box-shadow: none;
}

.custom-design-modal-body {
    padding: 3rem;
}

.custom-design-modal-head {
    text-align: center;
    margin-bottom: 2rem;
}

.custom-design-modal-head h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: 1.05;
    color: var(--ink);
    margin-bottom: .8rem;
}

.custom-design-modal-head p {
    color: var(--ink-soft);
    line-height: 1.75;
    margin-bottom: 0;
}

.custom-design-form-group {
    margin-bottom: 1rem;
}

.custom-design-form-group label {
    display: block;
    font-size: .7rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: .55rem;
    font-weight: 500;
}

.custom-design-form-group input,
.custom-design-form-group select,
.custom-design-form-group textarea,
.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap select,
.wpcf7-form-control-wrap textarea {
    width: 100%;
    border: 1px solid rgba(43, 32, 31, .14);
    background: var(--ivory);
    padding: .85rem 1rem;
    color: var(--ink);
    outline: none;
    border-radius: 0;
    font-size: .95rem;
}

.custom-design-form-group input,
.custom-design-form-group select,
.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap select {
    height: 50px;
}

.custom-design-form-group textarea,
.wpcf7-form-control-wrap textarea {
    resize: none;
    line-height: 1.7;
}

.custom-design-form-group input:focus,
.custom-design-form-group select:focus,
.custom-design-form-group textarea:focus,
.wpcf7-form-control-wrap input:focus,
.wpcf7-form-control-wrap select:focus,
.wpcf7-form-control-wrap textarea:focus {
    border-color: var(--rose-darker);
    background: var(--white);
}

.custom-design-submit-btn,
.wpcf7-submit {
    width: 100%;
    height: 52px;
    margin-top: .6rem;
    border: 1px solid var(--rose-darker);
    background: var(--rose-darker);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .74rem;
    font-weight: 500;
    transition: all .25s ease;
}

.custom-design-submit-btn:hover,
.wpcf7-submit:hover {
    background: var(--ink);
    border-color: var(--ink);
}

.custom-design-success-msg {
    display: none;
    margin: 1rem 0 0;
    text-align: center;
    color: var(--rose-darker);
    font-size: .9rem;
}

.custom-design-success-msg.show {
    display: block;
}

@media (max-width: 575.98px) {
    .custom-design-modal .modal-dialog {
        margin: 1rem;
    }
    .custom-design-modal-body {
        padding: 2.2rem 1.4rem;
    }
}

/* =========================================================
   CUSTOM WOO FILTERS PLUGIN (NATIVE STYLES)
   ========================================================= */

/* Filter Group Wrapper */
.filter-panel .filter-group {
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-light);
}

.filter-panel .filter-group:last-of-type {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Accordion Title */
.filter-panel .filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: transparent;
    border: 0;
    padding: 0;
    color: var(--ink);
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 500;
    font-family: var(--font-sans, "Outfit", sans-serif);
    cursor: pointer;
    margin-bottom: 1rem;
}

/* Chevron Rotation */
.filter-panel .filter-toggle i {
    transition: transform 0.3s ease;
}
.filter-panel .filter-toggle[aria-expanded="false"] i {
    transform: rotate(180deg);
}

/* Content Area */
.filter-panel .filter-body {
    padding-top: 0.2rem;
}

/* =========================================================
   CHECKBOX FILTERS
   ========================================================= */

.filter-check {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    color: var(--ink-soft);
    margin-bottom: 1rem;
    cursor: pointer;
    font-size: .88rem;
    line-height: 1.4;
}

.filter-check:last-child {
    margin-bottom: 0;
}

.filter-check input {
    order: 2;
    width: 15px;
    height: 15px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--rose-darker);
}


/* Better checkbox appearance */

.filter-check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(43, 32, 31, .35);
    background: transparent;
    border-radius: 2px;
    position: relative;
    transition: all .2s ease;
}

.filter-check input[type="checkbox"]:checked {
    background: var(--rose-darker);
    border-color: var(--rose-darker);
}

.filter-check input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-check:hover {
    color: var(--ink);
}


/* =========================================================
   COLOR SWATCHES
   ========================================================= */

.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
}

.color-swatch {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(43, 32, 31, .12);
    background: var(--swatch);
    cursor: pointer;
    border-radius: 50%;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.color-swatch:hover,
.color-swatch.active {
    transform: translateY(-2px);
    border-color: var(--rose-darker);
    box-shadow: 0 0 0 3px var(--ivory), 0 0 0 5px var(--rose-darker);
}

.color-swatch[style*="#ffffff"],
.color-swatch[style*="#fffdf0"] {
    box-shadow: inset 0 0 0 1px rgba(43, 32, 31, .14);
}

.color-swatch[style*="#ffffff"]:hover,
.color-swatch[style*="#fffdf0"]:hover {
    box-shadow: inset 0 0 0 1px rgba(43, 32, 31, .14), 0 0 0 3px var(--ivory), 0 0 0 5px var(--rose-darker);
}


/* =========================================================
   FILTER PRICE RANGE - LIVE THEME PROGRESS
   ========================================================= */

.filter-panel .form-range {
    --range-progress: 100%;
    width: 100%;
    height: 1.4rem;
    padding: 0;
    background: transparent;
    accent-color: var(--rose-darker);
}


/* Chrome / Edge / Safari Track */

.filter-panel .form-range::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 50px;
    background: linear-gradient( to right, var(--rose-darker) 0%, var(--rose-darker) var(--range-progress), rgba(43, 32, 31, .22) var(--range-progress), rgba(43, 32, 31, .22) 100%);
}


/* Chrome / Edge / Safari Thumb */

.filter-panel .form-range::-webkit-slider-thumb {
    width: 17px;
    height: 17px;
    margin-top: -6.5px;
    border-radius: 50%;
    background: var(--rose-darker);
    border: 2px solid var(--rose-darker);
    box-shadow: 0 0 0 4px rgba(155, 91, 112, .12);
    cursor: pointer;
    -webkit-appearance: none;
}


/* Firefox Track */

.filter-panel .form-range::-moz-range-track {
    height: 4px;
    border-radius: 50px;
    background: rgba(43, 32, 31, .22);
}


/* Firefox Progress */

.filter-panel .form-range::-moz-range-progress {
    background: var(--rose-darker);
    border-radius: 50px;
}


/* Firefox Thumb */

.filter-panel .form-range::-moz-range-thumb {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--rose-darker);
    border: 2px solid var(--rose-darker);
    box-shadow: 0 0 0 4px rgba(155, 91, 112, .12);
    cursor: pointer;
}

/* =========================================================
   PRICE INPUTS (Grid Layout from Original HTML)
   ========================================================= */

.price-inputs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: .85rem;
    align-items: center;
    margin-top: 1.25rem;
}

.price-inputs span {
    color: var(--ink-soft);
    font-size: .84rem;
}

.price-inputs input {
    border: 1px solid rgba(43, 32, 31, .14);
    background: var(--white);
    padding: .8rem .9rem;
    width: 100%;
    color: var(--ink);
    font-size: .9rem;
    outline: none;
    border-radius: 0;
}

.price-inputs input:focus {
    border-color: var(--rose-darker);
    background: var(--white);
}

/* =========================================================
   FILTER TYPOGRAPHY & LAYOUT (Missing from WP Theme)
   ========================================================= */

.filter-title {
    font-size: .9rem;
    letter-spacing: .26em;
    text-transform: uppercase;
    margin: 0;
    font-weight: 500;
    color: var(--ink);
}

/* Close Button */
.filter-panel .btn-close {
    box-shadow: none;
    opacity: .75;
    filter: none;
}

.filter-panel .btn-close:hover {
    opacity: 1;
}

/* Body */
.filter-panel .offcanvas-body {
    padding: 0 1.8rem 7rem;
    background: var(--ivory);
}

/* Filter Group */
.filter-group {
    border-bottom: 1px solid rgba(43, 32, 31, .11);
    padding: 1.35rem 0;
}

.filter-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .75rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 500;
}

.filter-toggle i {
    color: var(--ink-soft);
    font-size: .85rem;
}

.filter-body {
    padding-top: 1.25rem;
}

/* =========================================================
   FOOTER BUTTON (Missing from WP Theme)
   ========================================================= */

.filter-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.35rem 1.8rem;
    background: var(--ivory);
    border-top: 1px solid rgba(43, 32, 31, .10);
}

.filter-footer .btn,
.filter-footer .btn-solid-brand {
    width: 100%;
    height: 52px;
    border-radius: 0;
    background: var(--rose-darker);
    border: 1px solid var(--rose-darker);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: .76rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
}

.filter-footer .btn:hover,
.filter-footer .btn-solid-brand:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}