/* Paslapties Vartai Shop Experience: Live Search, Quick View, Hover Swap, Filters, Finder, Breadcrumbs */

/* --- Live Search --- */
.pv-search-wrap {
    position: relative;
    width: 100%;
    max-width: 560px;
}
.pv-search-header {
    max-width: 260px;
    flex: 0 1 260px;
}
.pv-header-search-toggle {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    border: 1px solid rgba(202, 164, 106, .34);
    background: rgba(255, 255, 255, .04);
    color: #f7efe4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.pv-header-search-toggle:hover,
.pv-header-search-toggle[aria-expanded="true"] {
    border-color: #caa46a;
    background: rgba(202, 164, 106, .18);
    color: #e5c388;
}
.pv-header-search-bar {
    position: relative;
    z-index: 9998;
    border-top: 1px solid rgba(202, 164, 106, .2);
    border-bottom: 1px solid rgba(202, 164, 106, .26);
    background: rgba(14, 15, 26, .97);
    padding: 12px 0;
}
.pv-header-search-bar[hidden] { display: none; }
.pv-header-search-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.pv-search-headerbar {
    max-width: 680px;
    flex: 1 1 auto;
}
.pv-search-headerbar .pv-search-panel {
    left: 0;
    right: 0;
    min-width: 100%;
}
.pv-header-search-close {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    border: 1px solid rgba(202, 164, 106, .3);
    background: rgba(255, 255, 255, .05);
    color: #f7efe4;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pv-header-search-close:hover { background: #caa46a; color: #14121b; }
html.pv-theme-day .pv-header-search-toggle {
    color: #2d241a;
    border-color: rgba(155, 114, 58, .35);
    background: rgba(155, 114, 58, .06);
}
html.pv-theme-day .pv-header-search-bar {
    background: rgba(255, 250, 241, .98);
    border-color: rgba(155, 114, 58, .25);
}
html.pv-theme-day .pv-header-search-close { color: #2d241a; }
.pv-search-shop {
    max-width: 640px;
    margin-top: 20px;
}
.pv-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 6px 5px 14px;
    border-radius: 999px;
    border: 1px solid rgba(202, 164, 106, .34);
    background: rgba(15, 16, 28, .72);
    backdrop-filter: blur(8px);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.pv-search-form:focus-within {
    border-color: rgba(226, 192, 134, .82);
    box-shadow: 0 0 0 3px rgba(202, 164, 106, .16);
}
.pv-search-icon {
    display: inline-flex;
    color: #caa46a;
    flex: 0 0 auto;
}
.pv-search-input {
    width: 100%;
    min-width: 0;
    border: 0 !important;
    background: transparent !important;
    color: #f7efe4 !important;
    font-size: 14px;
    padding: 7px 4px !important;
    outline: none !important;
    box-shadow: none !important;
}
.pv-search-input::placeholder {
    color: rgba(247, 239, 228, .55);
}
.pv-search-btn {
    border: 0;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, #d7b274, #b6894a);
    color: #14121b;
    transition: transform .15s ease, filter .15s ease;
    flex: 0 0 auto;
}
.pv-search-header .pv-search-btn {
    padding: 6px 12px;
    font-size: 12px;
}
.pv-search-btn:hover {
    filter: brightness(1.08);
}

.pv-search-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    min-width: min(520px, calc(100vw - 28px));
    z-index: 9999;
    border-radius: 18px;
    border: 1px solid rgba(202, 164, 106, .35);
    background: rgba(16, 17, 29, .98);
    color: #f7efe4;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .55);
    padding: 16px;
    max-height: 78vh;
    overflow-y: auto;
}
.pv-search-header .pv-search-panel {
    left: auto;
    right: 0;
}
.pv-search-heading {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #caa46a;
    margin: 4px 0 10px;
}
.pv-search-notice {
    margin: 0 0 10px;
    padding: 9px 12px;
    border-radius: 10px;
    background: rgba(202, 164, 106, .10);
    font-size: 13px;
    color: #f3e4cb;
}
.pv-search-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0;
    font-size: 14px;
    color: #e4d8c8;
}
.pv-spinner {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(202, 164, 106, .3);
    border-top-color: #caa46a;
    animation: pvSpin .7s linear infinite;
    display: inline-block;
}
@keyframes pvSpin { to { transform: rotate(360deg); } }

.pv-search-list {
    display: grid;
    gap: 8px;
}
.pv-search-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    padding: 6px 8px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid transparent;
    transition: background .15s ease, border-color .15s ease;
}
.pv-search-row:hover {
    background: rgba(202, 164, 106, .11);
    border-color: rgba(202, 164, 106, .28);
}
.pv-search-item {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    color: inherit !important;
    min-width: 0;
}
.pv-search-thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: contain;
    background: rgba(255, 255, 255, .92);
    padding: 3px;
}
.pv-search-thumb-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #caa46a;
    background: rgba(202, 164, 106, .14);
}
.pv-search-item-info {
    display: grid;
    gap: 2px;
    min-width: 0;
}
.pv-search-item-info strong {
    font-size: 13.5px;
    line-height: 1.3;
    color: #f7efe4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.pv-search-item-info small {
    font-size: 11.5px;
    color: rgba(247, 239, 228, .62);
}
.pv-search-price {
    font-size: 14px;
    font-weight: 800;
    color: #e2c086;
    white-space: nowrap;
}
.pv-search-qv-btn {
    border: 1px solid rgba(202, 164, 106, .34);
    background: rgba(202, 164, 106, .10);
    color: #e2c086;
    border-radius: 9px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.pv-search-qv-btn:hover {
    background: #caa46a;
    color: #14121b;
}

.pv-search-tags, .pv-search-cats {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}
.pv-search-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.pv-search-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    border-radius: 999px;
    border: 1px solid rgba(202, 164, 106, .3);
    background: rgba(255, 255, 255, .04);
    color: #efe4d4 !important;
    font-size: 12px;
    text-decoration: none !important;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}
.pv-search-chip:hover {
    background: rgba(202, 164, 106, .2);
    border-color: #caa46a;
}
.pv-search-all {
    display: block;
    margin-top: 12px;
    padding: 10px 14px;
    text-align: center;
    border-radius: 11px;
    background: rgba(202, 164, 106, .16);
    color: #f3d7a4 !important;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none !important;
}
.pv-search-all:hover {
    background: rgba(202, 164, 106, .28);
}

/* --- Card Quick View Trigger & Hover Second Image --- */
.lh-product-card-image {
    position: relative;
}
.lh-product-card-image .pv-hover-img {
    position: absolute;
    inset: 14px;
    width: calc(100% - 28px);
    height: calc(100% - 28px);
    object-fit: contain;
    border-radius: 14px;
    opacity: 0;
    transition: opacity .28s ease, transform .28s ease;
    pointer-events: none;
    background: #fff;
}
.lh-product-card:hover .lh-product-card-image .pv-hover-img.is-ready {
    opacity: 1;
}
.pv-qv-card-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 11px;
    border-radius: 999px;
    border: 1px solid rgba(202, 164, 106, .45);
    background: rgba(15, 16, 28, .86);
    color: #f7efe4;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    opacity: .92;
    backdrop-filter: blur(6px);
    transition: opacity .2s ease, background .2s ease, transform .18s ease;
}
.pv-qv-card-btn:hover {
    opacity: 1;
    background: #caa46a;
    color: #14121b;
    transform: translateY(-1px);
}

/* --- Quick View Modal --- */
body.pv-qv-open { overflow: hidden; }
.pv-qv-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(8, 9, 16, .78);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}
.pv-qv-overlay[hidden] { display: none; }
.pv-qv-dialog {
    position: relative;
    width: 100%;
    max-width: 880px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 22px;
    border: 1px solid rgba(202, 164, 106, .38);
    background: #141625;
    color: #f7efe4;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .65);
    padding: 28px;
}
.pv-qv-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(202, 164, 106, .35);
    background: rgba(255, 255, 255, .05);
    color: #f7efe4;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pv-qv-close:hover { background: #caa46a; color: #14121b; }
.pv-qv-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: start;
}
.pv-qv-main {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.pv-qv-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.pv-qv-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.pv-qv-thumb {
    width: 58px;
    height: 58px;
    padding: 3px;
    border-radius: 10px;
    border: 2px solid transparent;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
}
.pv-qv-thumb.is-active, .pv-qv-thumb:hover { border-color: #caa46a; }
.pv-qv-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pv-qv-cats {
    margin: 0 0 6px;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #caa46a;
}
.pv-qv-cats a { color: #caa46a !important; text-decoration: none; }
.pv-qv-title {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.25;
}
.pv-qv-title a { color: inherit; text-decoration: none; }
.pv-qv-price {
    font-size: 22px;
    font-weight: 800;
    color: #e5c388;
    margin-bottom: 10px;
}
.pv-qv-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    margin-bottom: 14px;
    color: rgba(247, 239, 228, .75);
}
.pv-qv-stock.is-in { color: #8be0a4; font-weight: 700; }
.pv-qv-desc {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(247, 239, 228, .84);
}
.pv-qv-shipping {
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(202, 164, 106, .09);
    border: 1px solid rgba(202, 164, 106, .25);
    display: grid;
    gap: 3px;
    margin-bottom: 18px;
    font-size: 12.5px;
}
.pv-qv-shipping strong { color: #e5c388; }
.pv-qv-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.pv-qv-loading, .pv-qv-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 220px;
    text-align: center;
}

/* --- Sidebar Price Filter & Guides Card --- */
.pv-filter-card, .pv-guides-side-card {
    margin-top: 18px;
}
.pv-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}
.pv-filter-head h3 { margin: 0 !important; }
.pv-filter-reset {
    font-size: 12px;
    color: #e5c388 !important;
    text-decoration: underline;
}
.pv-price-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
}
.pv-price-inputs label {
    display: grid;
    gap: 4px;
    font-size: 11.5px;
    color: rgba(247, 239, 228, .72);
}
.pv-price-inputs input {
    width: 100%;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(202, 164, 106, .3);
    background: rgba(255, 255, 255, .05);
    color: #f7efe4;
    font-size: 13.5px;
}
.pv-filter-submit { width: 100%; justify-content: center; }
.pv-price-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}
.pv-preset-chip {
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(202, 164, 106, .28);
    font-size: 12px;
    color: #efe4d4 !important;
    text-decoration: none !important;
}
.pv-preset-chip:hover, .pv-preset-chip.is-active {
    background: rgba(202, 164, 106, .24);
    border-color: #caa46a;
}
.pv-guides-side-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}
.pv-guides-side-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .035);
    color: #efe4d4 !important;
    font-size: 13px;
    text-decoration: none !important;
}
.pv-guides-side-list a:hover {
    background: rgba(202, 164, 106, .16);
}

/* --- Interactive Esoteric Finder --- */
.pv-finder-box {
    border-radius: 22px;
    border: 1px solid rgba(202, 164, 106, .32);
    background: linear-gradient(160deg, rgba(24, 26, 43, .92), rgba(15, 16, 28, .96));
    padding: 26px;
    margin-bottom: 30px;
}
.pv-finder-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 18px;
}
.pv-finder-head h2 { margin: 4px 0 0; font-size: clamp(20px, 2.5vw, 26px); }
.pv-finder-sub { margin: 0; max-width: 420px; font-size: 13.5px; color: rgba(247, 239, 228, .75); }
.pv-finder-controls { display: grid; gap: 14px; margin-bottom: 18px; }
.pv-finder-label { display: block; font-size: 12px; font-weight: 700; color: #caa46a; margin-bottom: 8px; }
.pv-finder-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pv-finder-chip {
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(202, 164, 106, .32);
    background: rgba(255, 255, 255, .04);
    color: #f4eadc;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s ease;
}
.pv-finder-chip:hover { border-color: #e2c086; background: rgba(202, 164, 106, .15); }
.pv-finder-chip.is-active {
    background: linear-gradient(135deg, #d7b274, #b6894a);
    border-color: transparent;
    color: #14121b;
    font-weight: 800;
}
.pv-finder-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.pv-finder-card {
    border-radius: 14px;
    border: 1px solid rgba(202, 164, 106, .22);
    background: rgba(255, 255, 255, .03);
    padding: 12px;
    display: grid;
    gap: 8px;
}
.pv-finder-card-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 155px;
    border-radius: 10px;
    background: #fff;
    padding: 8px;
    overflow: hidden;
}
.pv-finder-card-img img { width: 100%; height: 100%; object-fit: contain; }
.pv-finder-card h4 {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pv-finder-card h4 a { color: inherit; text-decoration: none; }
.pv-finder-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}
.pv-finder-card-price { font-weight: 800; color: #e2c086; font-size: 14.5px; }
.pv-finder-more { margin: 16px 0 0; text-align: right; }

/* --- Breadcrumbs --- */
.pv-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(247, 239, 228, .68);
    margin: 0 0 14px;
}
.pv-breadcrumbs a { color: #caa46a !important; text-decoration: none; }
.pv-breadcrumbs a:hover { text-decoration: underline; }
.pv-breadcrumbs .pv-crumb-sep { opacity: .45; }

/* --- Day Mode Overrides --- */
html.pv-theme-day .pv-search-form {
    background: rgba(255, 252, 246, .95);
    border-color: rgba(155, 114, 58, .35);
}
html.pv-theme-day .pv-search-input { color: #2d241a !important; }
html.pv-theme-day .pv-search-input::placeholder { color: rgba(45, 36, 26, .52); }
html.pv-theme-day .pv-search-panel,
html.pv-theme-day .pv-qv-dialog {
    background: #fffaf1;
    color: #2d241a;
    border-color: rgba(155, 114, 58, .32);
    box-shadow: 0 24px 64px rgba(55, 36, 16, .18);
}
html.pv-theme-day .pv-search-item-info strong,
html.pv-theme-day .pv-qv-title { color: #2d241a; }
html.pv-theme-day .pv-search-item-info small,
html.pv-theme-day .pv-qv-desc,
html.pv-theme-day .pv-qv-meta { color: rgba(45, 36, 26, .72); }
html.pv-theme-day .pv-search-price,
html.pv-theme-day .pv-qv-price,
html.pv-theme-day .pv-finder-card-price { color: #8c6023; }
html.pv-theme-day .pv-search-chip,
html.pv-theme-day .pv-preset-chip,
html.pv-theme-day .pv-guides-side-list a,
html.pv-theme-day .pv-finder-chip {
    color: #2d241a !important;
    background: rgba(155, 114, 58, .08);
    border-color: rgba(155, 114, 58, .28);
}
html.pv-theme-day .pv-finder-box {
    background: linear-gradient(160deg, #fffdf8, #f7efe2);
    color: #2d241a;
    border-color: rgba(155, 114, 58, .28);
}
html.pv-theme-day .pv-finder-sub { color: rgba(45, 36, 26, .72); }
html.pv-theme-day .pv-price-inputs input {
    background: #fff;
    color: #2d241a;
    border-color: rgba(155, 114, 58, .35);
}
html.pv-theme-day .pv-qv-close { color: #2d241a; background: rgba(155, 114, 58, .1); }
html.pv-theme-day .pv-breadcrumbs { color: rgba(45, 36, 26, .68); }

@media (max-width: 1024px) {
    .pv-search-header { display: none; }
    .pv-finder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .pv-qv-grid { grid-template-columns: 1fr; }
    .pv-qv-dialog { padding: 18px; }
    .pv-search-panel { min-width: calc(100vw - 24px); }
}
@media (max-width: 520px) {
    .pv-finder-grid { grid-template-columns: 1fr; }
}


/* --- Flagship Editorial Guides & Homepage Guides Grid --- */
.pv-guide {
    display: grid;
    gap: 26px;
    line-height: 1.72;
}
.pv-guide-lead {
    font-size: 1.08rem;
    line-height: 1.72;
    margin: 0;
}
.pv-guide-meta {
    margin: -12px 0 0;
    font-size: 13px;
    color: rgba(247, 239, 228, .66);
}
.pv-guide-toc {
    padding: 20px 22px;
    border-radius: 16px;
    border: 1px solid rgba(202, 164, 106, .3);
    background: rgba(202, 164, 106, .07);
}
.pv-guide-toc strong {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #caa46a;
    margin-bottom: 10px;
}
.pv-guide-toc ol {
    margin: 0;
    padding-left: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 22px;
}
.pv-guide-toc a {
    color: #f3e6d3;
    text-decoration: none;
    font-size: 14px;
}
.pv-guide-toc a:hover { color: #e5c388; text-decoration: underline; }
.pv-guide section {
    scroll-margin-top: 96px;
}
.pv-guide h2 {
    margin: 6px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(202, 164, 106, .22);
}
.pv-guide h3 {
    margin: 18px 0 8px;
    color: #e5c388;
}
.pv-guide-table-wrap {
    overflow-x: auto;
    margin: 14px 0;
    border-radius: 14px;
    border: 1px solid rgba(202, 164, 106, .26);
    background: rgba(255, 255, 255, .025);
}
.pv-guide-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin: 0 !important;
}
.pv-guide-table th, .pv-guide-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(202, 164, 106, .16);
    vertical-align: top;
}
.pv-guide-table thead th {
    background: rgba(202, 164, 106, .14);
    color: #f3d7a4;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.pv-guide-table tbody tr:last-child th,
.pv-guide-table tbody tr:last-child td { border-bottom: 0; }
.pv-guide-callout {
    padding: 16px 18px;
    border-radius: 14px;
    border-left: 4px solid #caa46a;
    background: rgba(202, 164, 106, .09);
    margin: 14px 0;
}
.pv-guide-callout.is-warn {
    border-left-color: #d97a54;
    background: rgba(217, 122, 84, .11);
}
.pv-guide-callout strong { display: block; margin-bottom: 4px; color: #f3d7a4; }
.pv-guide-checklist {
    list-style: none !important;
    padding: 18px 20px !important;
    margin: 12px 0 !important;
    border-radius: 14px;
    border: 1px solid rgba(202, 164, 106, .26);
    background: rgba(255, 255, 255, .03);
    display: grid;
    gap: 10px;
}
.pv-guide-checklist li {
    position: relative;
    padding-left: 24px;
}
.pv-guide-checklist li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: #caa46a;
}
.pv-guide-faq details {
    border: 1px solid rgba(202, 164, 106, .24);
    border-radius: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, .025);
    margin-bottom: 10px;
}
.pv-guide-faq summary {
    cursor: pointer;
    font-weight: 700;
    color: #f7efe4;
}
.pv-guide-faq details p { margin: 10px 0 0; }

/* Homepage Guides Grid */
.pv-home-guides-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}
.pv-home-guide-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(202, 164, 106, .26);
    background: rgba(255, 255, 255, .03);
    text-decoration: none !important;
    color: inherit !important;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.pv-home-guide-card:hover {
    transform: translateY(-3px);
    border-color: #caa46a;
    background: rgba(202, 164, 106, .09);
}
.pv-home-guide-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #caa46a;
}
.pv-home-guide-card h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
}
.pv-home-guide-card p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: rgba(247, 239, 228, .75);
}
.pv-home-guide-more {
    margin-top: auto;
    padding-top: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #e5c388;
}

html.pv-theme-day .pv-guide-meta,
html.pv-theme-day .pv-home-guide-card p { color: rgba(45, 36, 26, .72); }
html.pv-theme-day .pv-guide-toc a,
html.pv-theme-day .pv-guide-faq summary { color: #2d241a; }
html.pv-theme-day .pv-guide h3,
html.pv-theme-day .pv-guide-callout strong,
html.pv-theme-day .pv-home-guide-more { color: #8c6023; }
html.pv-theme-day .pv-guide-table thead th { color: #5b3b12; background: rgba(155, 114, 58, .14); }
html.pv-theme-day .pv-home-guide-card { background: #fffdf8; border-color: rgba(155, 114, 58, .26); }

@media (max-width: 1024px) {
    .pv-home-guides-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .pv-guide-toc ol, .pv-home-guides-grid { grid-template-columns: 1fr; }
}


/* --- Subcategory Sibling Pills & Smart Attribute Filters --- */
.pv-subcat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(202, 164, 106, .18);
}
.pv-subcat-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 13px;
    border-radius: 999px;
    border: 1px solid rgba(202, 164, 106, .3);
    background: rgba(255, 255, 255, .04);
    color: #efe4d4 !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.pv-subcat-pill small {
    opacity: .68;
    font-weight: 500;
    font-size: 11.5px;
}
.pv-subcat-pill:hover {
    background: rgba(202, 164, 106, .18);
    border-color: #caa46a;
}
.pv-subcat-pill.is-active {
    background: linear-gradient(135deg, #d7b274, #b6894a);
    border-color: transparent;
    color: #14121b !important;
    font-weight: 800;
}
.pv-subcat-pill.is-active small {
    opacity: .85;
}
.pv-subcat-pill-parent {
    border-style: dashed;
    color: #e5c388 !important;
}

.pv-filter-section {
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px solid rgba(202, 164, 106, .16);
}
.pv-filter-section.pv-filter-stock {
    padding-top: 0;
    margin-top: 0;
    border-top: 0;
}
.pv-filter-subtitle {
    display: block;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #caa46a;
    margin-bottom: 10px;
}
.pv-stock-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 12px;
    border: 1px solid rgba(202, 164, 106, .28);
    background: rgba(255, 255, 255, .035);
    color: #f4eadc !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background .15s ease, border-color .15s ease;
}
.pv-stock-toggle:hover,
.pv-stock-toggle.is-active {
    background: rgba(202, 164, 106, .18);
    border-color: #caa46a;
}
.pv-stock-box {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border-radius: 5px;
    border: 1px solid rgba(202, 164, 106, .55);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    color: #14121b;
    background: transparent;
}
.pv-stock-toggle.is-active .pv-stock-box {
    background: #caa46a;
    border-color: #caa46a;
}

.pv-attr-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.pv-attr-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(202, 164, 106, .26);
    background: rgba(255, 255, 255, .035);
    color: #efe4d4 !important;
    font-size: 12px;
    line-height: 1.25;
    text-decoration: none !important;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.pv-attr-chip small {
    opacity: .62;
    font-size: 11px;
}
.pv-attr-chip:hover {
    background: rgba(202, 164, 106, .18);
    border-color: #caa46a;
}
.pv-attr-chip.is-active {
    background: linear-gradient(135deg, #d7b274, #b6894a);
    border-color: transparent;
    color: #14121b !important;
    font-weight: 700;
}
.pv-attr-chip.is-active small {
    opacity: .82;
}

/* Day Mode for Subcategory Pills & Attribute Filters */
html.pv-theme-day .pv-subcat-pill,
html.pv-theme-day .pv-stock-toggle,
html.pv-theme-day .pv-attr-chip {
    color: #2d241a !important;
    background: rgba(155, 114, 58, .08);
    border-color: rgba(155, 114, 58, .28);
}
html.pv-theme-day .pv-subcat-pill.is-active,
html.pv-theme-day .pv-attr-chip.is-active {
    color: #14121b !important;
    background: linear-gradient(135deg, #d7b274, #b6894a);
    border-color: transparent;
}
html.pv-theme-day .pv-subcat-pill-parent {
    color: #8c6023 !important;
}
html.pv-theme-day .pv-filter-subtitle {
    color: #8c6023;
}


/* --- Evergreen Article Collapsible TOC & Contextual Shop Shelf --- */
.lh-content h2[id] {
    scroll-margin-top: 96px;
}
.pv-article-toc {
    margin: 22px 0 28px;
    border-radius: 16px;
    border: 1px solid rgba(202, 164, 106, .3);
    background: rgba(202, 164, 106, .06);
    padding: 14px 18px;
}
.pv-article-toc summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #f3d7a4;
}
.pv-article-toc summary::-webkit-details-marker { display: none; }
.pv-article-toc summary small {
    font-weight: 500;
    opacity: .75;
    margin-left: 4px;
}
.pv-article-toc summary b {
    font-size: 12px;
    font-weight: 700;
    color: #caa46a;
    white-space: nowrap;
}
.pv-article-toc[open] summary b { opacity: .65; }
.pv-article-toc ol {
    margin: 14px 0 4px;
    padding: 14px 0 0 20px;
    border-top: 1px solid rgba(202, 164, 106, .18);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 24px;
}
.pv-article-toc li {
    font-size: 13.5px;
    line-height: 1.45;
}
.pv-article-toc a {
    color: #efe4d4;
    text-decoration: none;
}
.pv-article-toc a:hover {
    color: #e5c388;
    text-decoration: underline;
}

.pv-inline-shop-box {
    margin: 28px 0;
    padding: 20px 22px;
    border-radius: 18px;
    border: 1px solid rgba(202, 164, 106, .34);
    background: linear-gradient(155deg, rgba(24, 26, 43, .88), rgba(15, 16, 28, .94));
}
.pv-inline-shop-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}
.pv-inline-shop-kicker {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #caa46a;
    margin-bottom: 3px;
}
.pv-inline-shop-head strong {
    font-size: 16px;
    color: #f7efe4;
}
.pv-inline-shop-more {
    font-size: 13px;
    font-weight: 700;
    color: #e5c388 !important;
    text-decoration: none;
    white-space: nowrap;
}
.pv-inline-shop-more:hover { text-decoration: underline; }
.pv-inline-shop-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.pv-inline-shop-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 13px;
    border: 1px solid rgba(202, 164, 106, .22);
    background: rgba(255, 255, 255, .035);
    text-decoration: none !important;
    color: inherit !important;
    transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.pv-inline-shop-item:hover {
    border-color: #caa46a;
    background: rgba(202, 164, 106, .11);
    transform: translateY(-2px);
}
.pv-inline-shop-item img {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    object-fit: cover;
    background: #fff;
    margin: 0 !important;
}
.pv-inline-shop-info {
    display: grid;
    gap: 4px;
    min-width: 0;
}
.pv-inline-shop-title {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    color: #f7efe4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pv-inline-shop-price {
    font-size: 14.5px;
    font-weight: 800;
    color: #e5c388;
}

.pv-article-shop-section {
    border-top: 1px solid rgba(202, 164, 106, .18);
}
.pv-article-shop-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}
.pv-article-shop-head h2 {
    margin: 4px 0 0;
    font-size: clamp(21px, 2.6vw, 28px);
}
.pv-article-shop-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

/* Day Mode for Article TOC & Contextual Shop Shelf */
html.pv-theme-day .pv-article-toc {
    background: #fffdf8;
    border-color: rgba(155, 114, 58, .3);
}
html.pv-theme-day .pv-article-toc summary,
html.pv-theme-day .pv-article-toc summary b,
html.pv-theme-day .pv-inline-shop-kicker,
html.pv-theme-day .pv-inline-shop-more,
html.pv-theme-day .pv-inline-shop-price {
    color: #8c6023 !important;
}
html.pv-theme-day .pv-article-toc a,
html.pv-theme-day .pv-inline-shop-head strong,
html.pv-theme-day .pv-inline-shop-title {
    color: #2d241a;
}
html.pv-theme-day .pv-inline-shop-box {
    background: linear-gradient(155deg, #fffdf8, #f7efe2);
    border-color: rgba(155, 114, 58, .3);
}
html.pv-theme-day .pv-inline-shop-item {
    background: rgba(255, 255, 255, .85);
    border-color: rgba(155, 114, 58, .22);
}

@media (max-width: 720px) {
    .pv-article-toc ol,
    .pv-inline-shop-grid {
        grid-template-columns: 1fr;
    }
}


/* --- Single Product Attribute Pills (Stone & Material) --- */
.pv-single-attrs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 12px 0 14px;
}
.pv-single-attr-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(202, 164, 106, .32);
    background: rgba(202, 164, 106, .08);
    color: #f3dfc0 !important;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.pv-single-attr-pill:hover {
    background: rgba(202, 164, 106, .2);
    border-color: #caa46a;
    transform: translateY(-1px);
}
.pv-single-attr-mat {
    background: rgba(255, 255, 255, .04);
    border-color: rgba(202, 164, 106, .22);
    color: #e6dacb !important;
}

/* --- Cart Free-Shipping Progress Bar & Ritual Add-On Upsell --- */
.pv-free-ship-box {
    margin: 0 0 18px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(202, 164, 106, .34);
    background: linear-gradient(155deg, rgba(24, 26, 43, .85), rgba(16, 17, 29, .92));
}
.pv-free-ship-box.is-reached {
    border-color: rgba(130, 196, 145, .5);
    background: linear-gradient(155deg, rgba(22, 42, 34, .88), rgba(15, 27, 23, .94));
}
.pv-free-ship-text strong {
    display: block;
    font-size: 14.5px;
    color: #f7efe4;
    margin-bottom: 3px;
}
.pv-free-ship-text span {
    display: block;
    font-size: 12.5px;
    color: rgba(244, 234, 220, .75);
}
.pv-free-ship-bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    overflow: hidden;
    margin-top: 11px;
}
.pv-free-ship-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #b6894a, #e8c78a);
    transition: width .35s ease;
}
.pv-free-ship-box.is-reached .pv-free-ship-fill {
    background: linear-gradient(90deg, #5da874, #90d8a5);
}
.pv-cart-upsell {
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid rgba(202, 164, 106, .18);
}
.pv-cart-upsell-title {
    display: block;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #caa46a;
    margin-bottom: 10px;
}
.pv-cart-upsell-list {
    display: grid;
    gap: 9px;
}
.pv-cart-upsell-item {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid rgba(202, 164, 106, .2);
    background: rgba(255, 255, 255, .03);
}
.pv-cart-upsell-thumb img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    background: #fff;
    display: block;
}
.pv-cart-upsell-meta {
    min-width: 0;
    display: grid;
    gap: 2px;
}
.pv-cart-upsell-name {
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
    color: #f4eadc !important;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pv-cart-upsell-name:hover { color: #e5c388 !important; }
.pv-cart-upsell-price {
    font-size: 13px;
    font-weight: 800;
    color: #e5c388;
}
.pv-cart-upsell-add {
    padding: 6px 11px;
    border-radius: 999px;
    border: 1px solid rgba(202, 164, 106, .45);
    background: rgba(202, 164, 106, .14);
    color: #f3d7a4 !important;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none !important;
    transition: background .15s ease, color .15s ease;
}
.pv-cart-upsell-add:hover {
    background: linear-gradient(135deg, #d7b274, #b6894a);
    border-color: transparent;
    color: #14121b !important;
}

/* --- Localized Search Page Enhancements --- */
.pv-search-badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 999px;
    background: rgba(202, 164, 106, .16);
    color: #e5c388;
    font-size: 11px;
    font-weight: 700;
    margin-right: 8px;
}
.pv-search-stock {
    font-size: 11.5px;
    font-weight: 600;
    color: #8fd4a4;
}
.pv-search-card-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}
.pv-search-price {
    font-size: 16px;
    font-weight: 800;
    color: #e5c388;
}
.pv-search-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

/* Day Mode Overrides */
html.pv-theme-day .pv-single-attr-pill {
    background: rgba(155, 114, 58, .1);
    border-color: rgba(155, 114, 58, .32);
    color: #6b4717 !important;
}
html.pv-theme-day .pv-single-attr-mat {
    background: rgba(155, 114, 58, .05);
    color: #3a2f24 !important;
}
html.pv-theme-day .pv-free-ship-box {
    background: linear-gradient(155deg, #fffdf8, #f7efe2);
    border-color: rgba(155, 114, 58, .32);
}
html.pv-theme-day .pv-free-ship-box.is-reached {
    background: linear-gradient(155deg, #f3faf5, #e6f4ea);
    border-color: rgba(74, 146, 94, .4);
}
html.pv-theme-day .pv-free-ship-text strong,
html.pv-theme-day .pv-cart-upsell-name {
    color: #2d241a !important;
}
html.pv-theme-day .pv-free-ship-text span {
    color: #5c4e3e;
}
html.pv-theme-day .pv-free-ship-bar {
    background: rgba(155, 114, 58, .16);
}
html.pv-theme-day .pv-cart-upsell-title,
html.pv-theme-day .pv-cart-upsell-price,
html.pv-theme-day .pv-search-price,
html.pv-theme-day .pv-search-badge {
    color: #8c6023;
}
html.pv-theme-day .pv-cart-upsell-item {
    background: rgba(255, 255, 255, .85);
    border-color: rgba(155, 114, 58, .22);
}
html.pv-theme-day .pv-cart-upsell-add {
    background: rgba(155, 114, 58, .12);
    border-color: rgba(155, 114, 58, .38);
    color: #6b4717 !important;
}
html.pv-theme-day .pv-search-stock {
    color: #2e7d47;
}
