.avsn-page,
.avsn-page * {
    box-sizing: border-box;
}

.avsn-page {
    --avsn-gold: #d59a3b;
    --avsn-gold-light: #f2bd62;
    --avsn-gold-dark: #7e5520;
    --avsn-ink: #070909;
    --avsn-panel: #0d0f0f;
    --avsn-panel-2: #131515;
    --avsn-text: #f4f0e8;
    --avsn-muted: #a89f91;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0;
    overflow-x: clip;
    overflow-y: visible;
    transform: none !important;
    color: var(--avsn-text);
    background:
        radial-gradient(circle at 20% 8%, rgba(204, 144, 48, .08), transparent 26%),
        linear-gradient(180deg, #050707 0%, #090b0b 52%, #050707 100%);
    font-family: inherit;
    direction: rtl;
}

@supports (width: 100dvw) {
    .avsn-page {
        width: 100dvw !important;
        max-width: 100dvw !important;
        margin-left: calc(50% - 50dvw) !important;
        margin-right: calc(50% - 50dvw) !important;
    }
}

.avsn-page a {
    color: inherit;
    text-decoration: none;
}

.avsn-container {
    width: min(1240px, calc(100% - 48px));
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

.avsn-hero {
    position: relative;
    z-index: 3;
    min-height: 495px;
    padding: 82px 0 44px;
    overflow: visible;
}

.avsn-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.avsn-hero-media picture {
    display: block;
    width: 100%;
    height: 100%;
}

.avsn-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.avsn-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .16), rgba(4, 6, 6, .58) 65%, #070909 100%),
        linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .54) 38%, rgba(0, 0, 0, .08) 100%);
}

.avsn-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    height: 140px;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, #070909);
}

.avsn-container,
.avsn-heading,
.avsn-filter-form {
    position: relative;
    z-index: 2;
}

.avsn-heading {
    text-align: center;
    margin-bottom: 38px;
}

.avsn-heading h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 5vw, 61px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.04em;
    text-shadow: 0 6px 28px rgba(0, 0, 0, .6);
}

.avsn-heading p {
    margin: 15px 0 0;
    color: rgba(255, 255, 255, .77);
    font-size: 16px;
    line-height: 1.9;
}

.avsn-ornament,
.avsn-card-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    color: var(--avsn-gold);
}

.avsn-ornament span {
    width: 72px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--avsn-gold));
}

.avsn-ornament span:last-child {
    background: linear-gradient(90deg, var(--avsn-gold), transparent);
}

.avsn-ornament b,
.avsn-card-ornament b {
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
}

.avsn-live-search-shell {
    position: relative;
    z-index: 60;
    width: min(660px, 100%);
    margin: 0 auto 38px;
}

.avsn-search-row {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 66px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(213, 154, 59, .42);
    border-radius: 11px;
    background: rgba(6, 8, 8, .76);
    box-shadow: 0 16px 35px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .02);
}

.avsn-search-row input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 22px;
    border: 0 !important;
    outline: 0 !important;
    color: #eee7dd;
    background: transparent !important;
    box-shadow: none !important;
    font-family: inherit;
    font-size: 15px;
    text-align: right;
}

.avsn-search-row input::placeholder {
    color: #8f887d;
    opacity: 1;
}

.avsn-search-button {
    flex: 0 0 72px;
    display: grid;
    place-items: center;
    margin: 5px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(145deg, #e5ac4e, #b87820);
    box-shadow: 0 7px 18px rgba(180, 116, 28, .28), inset 0 1px rgba(255, 255, 255, .35);
    cursor: pointer;
    transition: transform .2s ease, filter .2s ease;
}

.avsn-search-button:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.avsn-search-button svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.avsn-live-results {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    z-index: 80;
    overflow: hidden;
    border: 1px solid rgba(213, 154, 59, .48);
    border-radius: 14px;
    color: #f3eee6;
    background:
        radial-gradient(circle at 85% 0%, rgba(213, 154, 59, .09), transparent 32%),
        rgba(8, 10, 10, .98);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .68), inset 0 1px rgba(255, 255, 255, .035);
    transform: translateY(-7px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.avsn-live-results.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.avsn-live-results[hidden] {
    display: none !important;
}

.avsn-live-list {
    max-height: 388px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(213, 154, 59, .62) transparent;
}

.avsn-live-list::-webkit-scrollbar {
    width: 6px;
}

.avsn-live-list::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: rgba(213, 154, 59, .62);
}

.avsn-live-item {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 90px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(213, 154, 59, .12);
    color: #eee8de !important;
    transition: background .18s ease, padding .18s ease;
}

.avsn-live-item:hover,
.avsn-live-item.is-active {
    color: #fff !important;
    background: linear-gradient(90deg, rgba(213, 154, 59, .04), rgba(213, 154, 59, .13));
    padding-right: 18px;
}

.avsn-live-thumb {
    display: block;
    width: 68px;
    height: 68px;
    overflow: hidden;
    border: 1px solid rgba(213, 154, 59, .38);
    border-radius: 10px;
    background: #131515;
}

.avsn-live-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avsn-live-info {
    display: grid;
    min-width: 0;
    gap: 7px;
}

.avsn-live-info strong {
    overflow: hidden;
    color: #f6f0e7;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.avsn-live-info small {
    color: #9e9588;
    font-size: 12px;
    line-height: 1.5;
}

.avsn-live-side {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-right: 10px;
}

.avsn-live-price {
    color: var(--avsn-gold-light);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.avsn-live-price del {
    color: #776f65;
    font-size: 10px;
    opacity: .8;
}

.avsn-live-price ins {
    text-decoration: none;
}

.avsn-live-arrow {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border: 1px solid rgba(213, 154, 59, .34);
    border-radius: 50%;
    color: var(--avsn-gold-light);
    background: rgba(213, 154, 59, .06);
}

.avsn-live-arrow svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: scaleX(-1);
}

.avsn-live-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 52px;
    padding: 10px 18px;
    border: 0;
    color: #f5e9d5;
    background: linear-gradient(90deg, rgba(213, 154, 59, .07), rgba(213, 154, 59, .15), rgba(213, 154, 59, .07));
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: color .18s ease, background .18s ease;
}

.avsn-live-all:hover {
    color: #fff;
    background: rgba(213, 154, 59, .2);
}

.avsn-live-all b {
    display: inline-grid;
    place-items: center;
    min-width: 26px;
    height: 26px;
    padding: 0 7px;
    border-radius: 20px;
    color: #111;
    background: var(--avsn-gold-light);
    font-size: 11px;
}

.avsn-live-loading,
.avsn-live-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 92px;
    padding: 19px;
    text-align: right;
}

.avsn-live-loading {
    color: #b7ad9f;
    font-size: 13px;
}

.avsn-live-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(213, 154, 59, .22);
    border-top-color: var(--avsn-gold-light);
    border-radius: 50%;
    animation: avsn-live-spin .8s linear infinite;
}

.avsn-live-empty svg {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    fill: none;
    stroke: var(--avsn-gold);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.avsn-live-empty > div {
    display: grid;
    gap: 4px;
}

.avsn-live-empty strong {
    color: #f2ece3;
    font-size: 14px;
}

.avsn-live-empty span {
    color: #968d80;
    font-size: 12px;
    line-height: 1.7;
}

@keyframes avsn-live-spin {
    to {
        transform: rotate(360deg);
    }
}

.avsn-select-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
    align-items: start;
}

.avsn-dropdown {
    position: relative;
    min-width: 0;
}

.avsn-dropdown-toggle {
    width: 100%;
    display: grid;
    direction: ltr;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    min-width: 0;
    min-height: 84px;
    padding: 16px 18px;
    border: 1px solid rgba(213, 154, 59, .38);
    border-radius: 16px;
    color: #e8e0d4;
    background: linear-gradient(180deg, rgba(11, 13, 13, .94), rgba(7, 9, 9, .88));
    box-shadow: inset 0 1px rgba(255, 255, 255, .02), 0 12px 28px rgba(0, 0, 0, .18);
    cursor: pointer;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.avsn-dropdown-toggle:hover,
.avsn-dropdown.is-open .avsn-dropdown-toggle {
    border-color: rgba(242, 189, 98, .78);
    box-shadow: inset 0 1px rgba(255, 255, 255, .02), 0 18px 40px rgba(0, 0, 0, .28);
}

.avsn-dropdown.is-open .avsn-dropdown-toggle {
    transform: translateY(-2px);
}

.avsn-dropdown-toggle:disabled {
    cursor: default;
    opacity: .58;
}

.avsn-select-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: var(--avsn-gold);
}

.avsn-select-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.avsn-dropdown-meta {
    min-width: 0;
    direction: rtl;
    display: flex;
    flex-direction: column;
    gap: 0;
    text-align: right;
    justify-content: center;
}


.avsn-dropdown-label {
    display: block;
    min-width: 0;
    color: #f5efe5;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.avsn-chevron {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: var(--avsn-gold-light);
    pointer-events: none;
}

.avsn-chevron svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .2s ease;
}

.avsn-dropdown.is-open .avsn-chevron svg {
    transform: rotate(180deg);
}

.avsn-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: 0;
    z-index: 70;
    overflow: hidden;
    border: 1px solid rgba(213, 154, 59, .52);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(15, 18, 18, .98), rgba(8, 10, 10, .98));
    box-shadow: 0 24px 60px rgba(0, 0, 0, .5), inset 0 1px rgba(255, 255, 255, .03);
}

.avsn-dropdown-menu-inner {
    max-height: 350px;
    overflow-y: auto;
    padding: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(213, 154, 59, .62) transparent;
}

.avsn-dropdown-menu-inner::-webkit-scrollbar {
    width: 7px;
}

.avsn-dropdown-menu-inner::-webkit-scrollbar-thumb {
    background: rgba(213, 154, 59, .62);
    border-radius: 999px;
}

.avsn-dropdown-option {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #efe8dc;
    background: transparent;
    cursor: pointer;
    text-align: right;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.avsn-dropdown-option + .avsn-dropdown-option {
    margin-top: 6px;
}

.avsn-dropdown-option:hover {
    border-color: rgba(213, 154, 59, .26);
    background: rgba(213, 154, 59, .08);
    transform: translateX(-2px);
}

.avsn-dropdown-option.is-selected {
    border-color: rgba(242, 189, 98, .48);
    background: linear-gradient(90deg, rgba(213, 154, 59, .16), rgba(213, 154, 59, .04));
}

.avsn-dropdown-option-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}


.avsn-dropdown-option-title {
    color: #f7f1e8;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.avsn-dropdown-option-check {
    display: grid;
    place-items: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(213, 154, 59, .32);
    border-radius: 50%;
    color: transparent;
    background: rgba(255, 255, 255, .02);
    transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.avsn-dropdown-option.is-selected .avsn-dropdown-option-check {
    color: #1b1408;
    border-color: var(--avsn-gold-light);
    background: linear-gradient(145deg, #e5ac4e, #b87820);
}

.avsn-dropdown-empty-note {
    display: none;
}

.avsn-dropdown-disabled .avsn-dropdown-toggle {
    opacity: .62;
}

.avsn-content {
    position: relative;
    z-index: 2;
    padding: 0 0 64px;
}

.avsn-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.avsn-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    contain: layout paint;
    border: 1px solid rgba(213, 154, 59, .58);
    border-radius: 13px;
    background: linear-gradient(180deg, #111313, #0b0d0d);
    box-shadow: 0 22px 48px rgba(0, 0, 0, .22);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.avsn-card:hover {
    transform: translateY(-4px);
    border-color: rgba(242, 189, 98, .78);
    box-shadow: 0 27px 55px rgba(0, 0, 0, .34);
}

.avsn-card-image {
    position: relative;
    display: block;
    height: 245px;
    overflow: hidden;
    background: #161818;
}

.avsn-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform .55s ease;
}

.avsn-card:hover .avsn-card-image img {
    transform: scale(1.055);
}

.avsn-card-image-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .02) 38%, rgba(8, 9, 9, .42) 68%, #0d0f0f 100%),
        radial-gradient(circle at 50% 18%, transparent, rgba(0, 0, 0, .12));
}

.avsn-card-body {
    position: relative;
    min-height: 150px;
    padding: 20px 24px 24px;
    text-align: center;
}

.avsn-card h2 {
    min-height: 0;
    margin: 0;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.8;
}

.avsn-card h2 a {
    color: #f3efe8;
}

.avsn-card-ornament {
    gap: 5px;
    margin: 7px 0 14px;
}

.avsn-card-ornament span {
    width: 43px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--avsn-gold));
}

.avsn-card-ornament span:last-child {
    background: linear-gradient(90deg, var(--avsn-gold), transparent);
}

.avsn-card-excerpt {
    margin: 0;
    color: #b8ad9d;
    font-size: 14px;
    line-height: 1.9;
    text-align: center;
}

.avsn-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 36px 0 0;
    direction: ltr;
}

.avsn-pagination .page-numbers {
    display: grid;
    place-items: center;
    min-width: 43px;
    height: 43px;
    padding: 0 11px;
    border: 1px solid rgba(213, 154, 59, .2);
    border-radius: 5px;
    color: #b9ac98;
    background: #0a0c0c;
    font-size: 14px;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.avsn-pagination .page-numbers:hover {
    color: #fff;
    border-color: rgba(213, 154, 59, .62);
}

.avsn-pagination .page-numbers.current {
    color: #fff;
    border-color: var(--avsn-gold);
    background: linear-gradient(145deg, #dfa54b, #aa6e22);
    box-shadow: 0 7px 18px rgba(180, 116, 28, .22);
}

.avsn-results-shell + .avsn-request-box {
    margin-top: 32px;
}

.avsn-request-box {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 23px;
    min-height: 105px;
    padding: 20px 26px;
    border: 1px solid rgba(213, 154, 59, .28);
    border-radius: 12px;
    background:
        radial-gradient(circle at 88% 45%, rgba(213, 154, 59, .06), transparent 25%),
        linear-gradient(90deg, #0c0e0e, #151717 50%, #0c0e0e);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 255, 255, .02);
}

.avsn-request-icon {
    display: grid;
    place-items: center;
    color: var(--avsn-gold-light);
}

.avsn-request-icon svg {
    width: 60px;
    height: 60px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.avsn-request-copy h2 {
    margin: 0 0 8px;
    color: #f4eee5;
    font-size: 19px;
    line-height: 1.5;
}

.avsn-request-copy p {
    margin: 0;
    color: #948b7f;
    font-size: 13px;
    line-height: 1.9;
}

.avsn-request-button {
    display: inline-grid;
    place-items: center;
    min-width: 188px;
    height: 52px;
    padding: 0 28px;
    border: 1px solid var(--avsn-gold);
    border-radius: 9px;
    color: var(--avsn-gold-light) !important;
    background: rgba(3, 4, 4, .6);
    font-size: 15px;
    font-weight: 700;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.avsn-request-button:hover {
    color: #111 !important;
    background: var(--avsn-gold-light);
    transform: translateY(-1px);
}

.avsn-empty {
    padding: 75px 24px;
    text-align: center;
    border: 1px solid rgba(213, 154, 59, .24);
    border-radius: 14px;
    background: #0d0f0f;
}

.avsn-empty svg {
    width: 58px;
    height: 58px;
    fill: none;
    stroke: var(--avsn-gold);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.avsn-empty h2 {
    margin: 16px 0 8px;
    color: #f0eae2;
    font-size: 23px;
}

.avsn-empty p {
    margin: 0;
    color: var(--avsn-muted);
}

.avsn-required {
    padding: 18px;
    border-right: 4px solid #b32d2e;
    background: #fff;
    color: #1d2327;
}

@media (max-width: 1024px) {
    .avsn-select-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .avsn-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .avsn-request-box {
        grid-template-columns: auto 1fr;
    }

    .avsn-request-button {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 720px) {
    .avsn-results-shell + .avsn-request-box {
        margin-top: 24px;
    }

    .avsn-container {
        width: min(100% - 28px, 1240px);
    }

    .avsn-hero {
        min-height: auto;
        padding: 56px 0 33px;

    }

    .avsn-heading {
        margin-bottom: 28px;
    }

    .avsn-heading h1 {
        font-size: 38px;
    }

    .avsn-heading p {
        max-width: 330px;
        margin-inline: auto;
        font-size: 13px;
    }

    .avsn-live-search-shell {
        margin-bottom: 20px;
    }

    .avsn-search-row {
        height: 58px;
    }

    .avsn-search-button {
        flex-basis: 58px;
    }

    .avsn-live-item {
        grid-template-columns: 58px minmax(0, 1fr) auto;
        gap: 10px;
        min-height: 79px;
        padding: 9px 10px;
    }

    .avsn-live-thumb {
        width: 58px;
        height: 58px;
    }

    .avsn-live-side {
        padding-right: 0;
    }

    .avsn-live-price {
        display: none;
    }

    .avsn-live-arrow {
        width: 28px;
        height: 28px;
    }

    .avsn-select-grid {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .avsn-dropdown-toggle {
        min-height: 72px;
        padding: 14px 16px;
    }

    .avsn-dropdown-label {
        font-size: 15px;
    }

   .avsn-content {
        padding-bottom: 34px;
    }

    .avsn-products {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .avsn-card-image {
        height: 235px;
    }

    .avsn-card-body {
        min-height: 140px;
        padding-inline: 20px;
    }

    .avsn-card h2 {
        font-size: 19px;
    }

    .avsn-request-box {
        grid-template-columns: 1fr;
        gap: 11px;
        padding: 22px;
        text-align: center;
    }

    .avsn-request-icon {
        margin: 0 auto;
    }

    .avsn-request-button {
        margin-top: 5px;
    }
}

@media (max-width: 390px) {
    .avsn-container {
        width: min(100% - 20px, 1240px);
    }

    .avsn-search-row input {
        padding-inline: 14px;
        font-size: 14px;
    }

}


/* Prevent the viewport-wide section from creating horizontal page scrolling. */
html.avsn-has-sheet-page,
body.avsn-has-sheet-page {
    overflow-x: clip !important;
}

@supports not (overflow: clip) {
    html.avsn-has-sheet-page,
    body.avsn-has-sheet-page {
        overflow-x: hidden !important;
    }
}

/* AJAX archive filtering keeps the visitor on the current sheet-music page. */
.avsn-results-shell {
    position: relative;
    min-height: 160px;
    transition: opacity .2s ease;
}

.avsn-results-shell.is-loading {
    pointer-events: none;
}

.avsn-results-shell.is-loading::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 20;
    border-radius: 14px;
    background: rgba(5, 7, 7, .72);
}

.avsn-results-shell.is-loading::after {
    content: "";
    position: absolute;
    top: 72px;
    left: 50%;
    z-index: 21;
    width: 42px;
    height: 42px;
    margin-left: -21px;
    border: 3px solid rgba(213, 154, 59, .2);
    border-top-color: var(--avsn-gold-light);
    border-radius: 50%;
    animation: avsn-filter-spin .75s linear infinite;
}

.avsn-filter-error {
    margin: 0 0 18px;
    padding: 13px 16px;
    border: 1px solid rgba(220, 76, 76, .45);
    border-radius: 10px;
    color: #ffd8d8;
    background: rgba(105, 22, 22, .28);
    text-align: center;
    font-size: 13px;
}

@keyframes avsn-filter-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==================================================
   Sheet music request modal
================================================== */
body.avsn-request-modal-open {
    overflow: hidden !important;
}

.avsn-request-button {
    font-family: inherit;
    cursor: pointer;
}

.avsn-request-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 22px;
    overflow-x: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
}

.avsn-request-modal[hidden] {
    display: none !important;
}

.avsn-request-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.avsn-request-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .78);
}

.avsn-request-dialog {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-width: 100%;
    max-height: min(90vh, 850px);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 30px;
    border: 1px solid rgba(213, 154, 59, .52);
    border-radius: 20px;
    color: #f4eee5;
    background:
        radial-gradient(circle at 88% 0%, rgba(213, 154, 59, .11), transparent 28%),
        linear-gradient(180deg, #141616 0%, #090b0b 100%);
    box-shadow: 0 34px 90px rgba(0, 0, 0, .72), inset 0 1px rgba(255, 255, 255, .035);
    transform: translateY(18px) scale(.985);
    transition: transform .2s ease;
    scrollbar-width: thin;
    scrollbar-color: rgba(213, 154, 59, .62) transparent;
}

.avsn-request-modal.is-open .avsn-request-dialog {
    transform: translateY(0) scale(1);
}

.avsn-request-dialog::-webkit-scrollbar {
    width: 7px;
}

.avsn-request-dialog::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(213, 154, 59, .62);
}

.avsn-request-close {
    position: absolute;
    top: 16px;
    left: 16px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(213, 154, 59, .35);
    border-radius: 50%;
    color: #f2bd62;
    background: rgba(5, 7, 7, .72);
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.avsn-request-close:hover {
    color: #fff;
    border-color: rgba(242, 189, 98, .8);
    transform: rotate(5deg);
}

.avsn-request-close svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.avsn-request-dialog-head {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 18px;
    padding-left: 50px;
    margin-bottom: 25px;
}

.avsn-request-dialog-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(213, 154, 59, .42);
    border-radius: 16px;
    color: #f2bd62;
    background: rgba(213, 154, 59, .07);
}

.avsn-request-dialog-icon svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.avsn-request-dialog-head h2 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 23px;
    line-height: 1.5;
}

.avsn-request-dialog-head p {
    margin: 0;
    color: #a89e90;
    font-size: 13px;
    line-height: 1.9;
}

.avsn-request-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    max-width: 100%;
}

.avsn-note-request-form {
    width: 100%;
    max-width: 100%;
}


.avsn-request-field {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.avsn-request-field-wide {
    grid-column: 1 / -1;
}

.avsn-request-field > span {
    color: #ddd4c7;
    font-size: 13px;
    font-weight: 600;
}

.avsn-request-field > span b {
    color: #e5a94b;
    font-weight: 700;
}

.avsn-request-field input,
.avsn-request-field select,
.avsn-request-field textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border: 1px solid rgba(213, 154, 59, .27) !important;
    border-radius: 11px !important;
    outline: none !important;
    color: #f4eee5 !important;
    background: rgba(3, 5, 5, .72) !important;
    box-shadow: none !important;
    font-family: inherit !important;
    font-size: 14px !important;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.avsn-request-field input,
.avsn-request-field select {
    height: 52px;
    padding: 0 15px !important;
}

.avsn-request-field textarea {
    min-height: 108px;
    padding: 13px 15px !important;
    resize: vertical;
}

.avsn-request-field input:focus,
.avsn-request-field select:focus,
.avsn-request-field textarea:focus {
    border-color: rgba(242, 189, 98, .78) !important;
    box-shadow: 0 0 0 3px rgba(213, 154, 59, .1) !important;
}

.avsn-request-field select option {
    color: #f4eee5;
    background: #111313;
}

.avsn-request-field input::placeholder,
.avsn-request-field textarea::placeholder {
    color: #7f776c;
    opacity: 1;
}

.avsn-request-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.avsn-request-feedback {
    min-height: 24px;
    margin-top: 14px;
    padding: 0 2px;
    font-size: 13px;
    line-height: 1.8;
}

.avsn-request-feedback.is-success {
    color: #6fda91;
}

.avsn-request-feedback.is-error {
    color: #ff7f7f;
}

.avsn-request-submit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 54px;
    margin-top: 4px;
    padding: 0 24px;
    border: 0;
    border-radius: 11px;
    color: #171108;
    background: linear-gradient(145deg, #efbe68, #b87922);
    box-shadow: 0 12px 26px rgba(181, 117, 31, .23), inset 0 1px rgba(255, 255, 255, .35);
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease, filter .18s ease, opacity .18s ease;
}

.avsn-request-submit:hover:not(:disabled) {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.avsn-request-submit:disabled {
    opacity: .7;
    cursor: wait;
}

.avsn-request-submit-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(24, 17, 8, .25);
    border-top-color: #181108;
    border-radius: 50%;
    animation: avsn-request-spin .7s linear infinite;
}

.avsn-request-submit.is-loading .avsn-request-submit-spinner {
    display: inline-block;
}

@keyframes avsn-request-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
    .avsn-request-modal {
        padding: 12px;
        align-items: end;
    }

    .avsn-request-dialog {
        width: 100%;
        max-height: 92vh;
        padding: 24px 18px 20px;
        border-radius: 20px 20px 0 0;
    }

    .avsn-request-dialog-head {
        grid-template-columns: 1fr;
        gap: 11px;
        padding-left: 44px;
    }

    .avsn-request-dialog-icon {
        width: 48px;
        height: 48px;
    }

    .avsn-request-dialog-head h2 {
        font-size: 20px;
    }

    .avsn-request-form-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .avsn-request-field-wide {
        grid-column: auto;
    }
}
