.azz-cyr {
    --azz-cyr-ink: #171717;
    --azz-cyr-muted: #6f6a63;
    --azz-cyr-line: #e7e0d8;
    --azz-cyr-soft: #fbf8f4;
    --azz-cyr-gold: #b88a3a;
    --azz-cyr-gold-dark: #8f6728;
    color: var(--azz-cyr-ink);
    font-family: inherit;
}

.azz-cyr *,
.azz-cyr *::before,
.azz-cyr *::after {
    box-sizing: border-box;
}

.azz-cyr__header {
    margin-bottom: 22px;
}

.azz-cyr__eyebrow {
    color: var(--azz-cyr-gold-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.azz-cyr__header h2,
.azz-cyr__main h3,
.azz-cyr__summary h3 {
    margin: 0;
}

.azz-cyr__chooser {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.azz-cyr__path,
.azz-cyr__product,
.azz-cyr__shape {
    appearance: none;
    background: #fff;
    border: 1px solid var(--azz-cyr-line);
    color: inherit;
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.azz-cyr__path {
    border-radius: 8px;
    display: grid;
    gap: 8px;
    min-height: 132px;
    padding: 22px;
}

.azz-cyr__path:hover,
.azz-cyr__path.is-active,
.azz-cyr__product:hover,
.azz-cyr__product.is-selected,
.azz-cyr__shape:hover,
.azz-cyr__shape.is-active {
    border-color: var(--azz-cyr-gold);
    box-shadow: 0 12px 32px rgba(83, 61, 31, 0.11);
    transform: translateY(-1px);
}

.azz-cyr__path span {
    font-size: 21px;
    font-weight: 700;
}

.azz-cyr__path small {
    color: var(--azz-cyr-muted);
    font-size: 14px;
    line-height: 1.45;
}

.azz-cyr__progress {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}

.azz-cyr__progress span {
    border: 1px solid var(--azz-cyr-line);
    border-radius: 999px;
    color: var(--azz-cyr-muted);
    font-size: 13px;
    padding: 8px 12px;
}

.azz-cyr__progress span.is-active {
    background: var(--azz-cyr-ink);
    border-color: var(--azz-cyr-ink);
    color: #fff;
}

.azz-cyr__workspace {
    align-items: start;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
}

.azz-cyr__summary {
    background: var(--azz-cyr-soft);
    border: 1px solid var(--azz-cyr-line);
    border-radius: 8px;
    padding: 18px;
    position: sticky;
    top: 24px;
}

.azz-cyr__summary h3 {
    font-size: 19px;
    margin-bottom: 14px;
}

.azz-cyr__summary-item {
    border-top: 1px solid var(--azz-cyr-line);
    display: grid;
    gap: 3px;
    padding: 12px 0;
}

.azz-cyr__summary-item strong {
    font-size: 13px;
    text-transform: uppercase;
}

.azz-cyr__summary-item span {
    color: var(--azz-cyr-muted);
    font-size: 14px;
    line-height: 1.35;
}

.azz-cyr__cart,
.azz-cyr__load-more {
    background: var(--azz-cyr-ink);
    border: 0;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    min-height: 44px;
    padding: 11px 18px;
    width: 100%;
}

.azz-cyr__cart:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.azz-cyr__toolbar {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 16px;
}

.azz-cyr__step-label {
    color: var(--azz-cyr-gold-dark);
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 4px;
    text-transform: uppercase;
}

.azz-cyr__link {
    background: transparent;
    border: 0;
    color: var(--azz-cyr-gold-dark);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    padding: 8px;
}

.azz-cyr__shapes {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    margin: 0 0 18px;
}

.azz-cyr__shape {
    align-items: center;
    border-radius: 8px;
    display: grid;
    gap: 7px;
    justify-items: center;
    min-height: 92px;
    padding: 10px 8px;
    text-decoration: none;
    text-align: center;
}

.azz-cyr__shape svg {
    fill: none;
    height: 38px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 38px;
}

.azz-cyr__shape span {
    font-size: 12px;
    font-weight: 700;
}

.azz-cyr__status {
    color: var(--azz-cyr-muted);
    margin: 12px 0;
    min-height: 22px;
}

.azz-cyr__grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

.azz-cyr__product {
    border-radius: 8px;
    display: grid;
    gap: 10px;
    overflow: hidden;
    padding: 0 0 14px;
}

.azz-cyr__product img {
    aspect-ratio: 1;
    background: var(--azz-cyr-soft);
    display: block;
    object-fit: cover;
    width: 100%;
}

.azz-cyr__product-body {
    display: grid;
    gap: 7px;
    padding: 0 13px;
}

.azz-cyr__product-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.azz-cyr__product-meta,
.azz-cyr__product-price {
    color: var(--azz-cyr-muted);
    font-size: 13px;
}

.azz-cyr__product-price {
    color: var(--azz-cyr-ink);
    font-weight: 700;
}

.azz-cyr__product-action {
    background: #4b112c;
    border: 1px solid #4b112c;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 12px;
}

.azz-cyr__product-actions {
    display: grid;
    gap: 8px;
}

.azz-cyr__product-details {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #8f6728;
    color: var(--azz-cyr-gold-dark);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    justify-self: start;
    padding: 4px 0;
}

.azz-cyr__load-more {
    display: block;
    margin: 20px auto 0;
    max-width: 220px;
}

.azz-cyr-notice {
    border: 1px solid #d63638;
    padding: 12px 14px;
}

@media (max-width: 780px) {
    .azz-cyr__chooser,
    .azz-cyr__workspace {
        grid-template-columns: 1fr;
    }

    .azz-cyr__summary {
        position: static;
    }

    .azz-cyr__toolbar {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Ring-builder layout inspired by Woo Bundle Choice's classic builder. */
.azz-cyr {
    --azz-cyr-navy: #123d7b;
    --azz-cyr-cream: #fbf1e2;
    --azz-cyr-panel: #fff;
    --azz-cyr-hairline: #d8cbb9;
    background: var(--azz-cyr-cream);
    padding: 24px 34px 34px;
}

.azz-cyr__steps {
    border: 1px solid var(--azz-cyr-hairline);
    border-radius: 999px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 38px;
    overflow: hidden;
}

.azz-cyr__step {
    align-items: center;
    background: #fff;
    color: #030303;
    display: grid;
    gap: 18px;
    grid-template-columns: auto 1fr auto;
    min-height: 84px;
    padding: 10px 34px;
    position: relative;
    text-transform: uppercase;
}

.azz-cyr__step + .azz-cyr__step {
    border-left: 1px solid #efe4d6;
}

.azz-cyr__step strong {
    font-family: Georgia, serif;
    font-size: 38px;
    font-weight: 400;
    line-height: 1;
}

.azz-cyr__step span {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0;
}

.azz-cyr__step img {
    height: 32px;
    object-fit: contain;
    width: 42px;
}

.azz-cyr__step.is-active {
    background: var(--azz-cyr-navy);
    border-radius: 999px;
    box-shadow: inset 0 0 0 4px #0b1a2e, inset 0 0 0 6px rgba(255, 255, 255, 0.35);
    color: #fff;
    margin: 4px;
}

.azz-cyr__step.is-active img {
    filter: brightness(0) invert(1);
}

.azz-cyr__ring-icon {
    border: 2px solid currentColor;
    border-radius: 50%;
    display: inline-grid;
    font-size: 0;
    height: 28px;
    place-items: center;
    position: relative;
    width: 28px;
}

.azz-cyr__ring-icon::before {
    border: 2px solid currentColor;
    border-bottom: 0;
    border-left-color: transparent;
    border-radius: 2px 2px 0 0;
    content: "";
    height: 10px;
    position: absolute;
    top: -11px;
    transform: rotate(45deg);
    width: 10px;
}

.azz-cyr__workspace {
    display: block;
}

.azz-cyr__main {
    width: 100%;
}

.azz-cyr__toolbar {
    display: none;
}

.azz-cyr__filters {
    background: var(--azz-cyr-panel);
    border-radius: 4px;
    margin: 0 auto 22px;
    max-width: 1200px;
    padding: 6px 34px 30px;
}

.azz-cyr__collection {
    background: var(--azz-cyr-navy);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 0 0 4px #fff, 0 0 0 6px #0b1a2e;
    color: #fff;
    display: block;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    margin: 0 auto 26px;
    min-height: 38px;
    min-width: 116px;
    padding: 8px 18px;
}

.azz-cyr__filter-group {
    margin-bottom: 32px;
}

.azz-cyr__filter-group h4,
.azz-cyr__price-filter h4,
.azz-cyr__metal-filter h4 {
    color: #030303;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    margin: 0 0 18px;
    text-transform: uppercase;
}

.azz-cyr__icon-row {
    align-items: end;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
}

.azz-cyr__filter-icon {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 0;
    color: #030303;
    cursor: pointer;
    display: grid;
    font: inherit;
    gap: 7px;
    justify-items: center;
    min-height: 68px;
    padding: 4px 6px 12px;
    position: relative;
    text-align: center;
    text-decoration: none;
}

.azz-cyr__filter-icon img {
    height: 34px;
    object-fit: contain;
    width: 44px;
}

.azz-cyr__icon-row--styles .azz-cyr__filter-icon img {
    height: 26px;
}

.azz-cyr__filter-icon span {
    font-size: 11px;
    line-height: 1.2;
}

.azz-cyr__filter-icon.is-active::after {
    background: var(--azz-cyr-navy);
    bottom: 0;
    content: "";
    height: 1px;
    left: 20%;
    position: absolute;
    width: 60%;
}

.azz-cyr__filter-bottom {
    align-items: start;
    display: grid;
    gap: 38px;
    grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr);
}

.azz-cyr__price-filter h4 button {
    background: transparent;
    border: 0;
    color: #767676;
    cursor: pointer;
    font: inherit;
    margin-left: 10px;
    padding: 0;
    text-decoration: underline;
    text-transform: lowercase;
}

.azz-cyr__price-inputs {
    display: flex;
    gap: 34%;
    margin-bottom: 12px;
}

.azz-cyr__price-inputs label {
    align-items: center;
    border: 1px solid #dedede;
    border-radius: 4px;
    display: flex;
    max-width: 150px;
    padding: 0 10px;
}

.azz-cyr__price-inputs span {
    font-size: 13px;
}

.azz-cyr__price-inputs input {
    border: 0;
    box-shadow: none;
    font: inherit;
    min-height: 34px;
    width: 100%;
}

.azz-cyr__price-track {
    background: var(--azz-cyr-navy);
    border-radius: 999px;
    height: 5px;
    margin: 14px 10px 0;
    position: relative;
}

.azz-cyr__price-track::before,
.azz-cyr__price-track::after {
    background: var(--azz-cyr-navy);
    border-radius: 50%;
    content: "";
    height: 18px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
}

.azz-cyr__price-track::before {
    left: -2px;
}

.azz-cyr__price-track::after {
    right: -2px;
}

.azz-cyr__metal-row {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.azz-cyr__metal {
    background: #fff;
    border: 3px solid #d5d5d5;
    border-radius: 50%;
    color: #333;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    height: 34px;
    width: 34px;
}

.azz-cyr__metal--rose {
    border-color: #bd7481;
}

.azz-cyr__metal--yellow {
    border-color: #f2cf00;
}

.azz-cyr__metal--platinum {
    border-color: #e7e7e7;
}

.azz-cyr__metal.is-active {
    box-shadow: 0 10px 0 -8px var(--azz-cyr-navy);
}

.azz-cyr__summary {
    align-items: center;
    background: #fff;
    border: 1px solid #efe4d6;
    border-radius: 4px;
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr 1fr auto;
    margin: 0 auto 20px;
    max-width: 1200px;
    padding: 14px 18px;
    position: static;
}

.azz-cyr__summary-item {
    border: 0;
    padding: 0;
}

.azz-cyr__cart {
    min-width: 190px;
}

.azz-cyr__grid {
    margin: 0 auto;
    max-width: 1200px;
}

@media (max-width: 860px) {
    .azz-cyr {
        padding: 18px 14px 28px;
    }

    .azz-cyr__steps {
        border-radius: 18px;
        grid-template-columns: 1fr;
    }

    .azz-cyr__step,
    .azz-cyr__step.is-active {
        border-radius: 16px;
    }

    .azz-cyr__filter-bottom,
    .azz-cyr__summary {
        grid-template-columns: 1fr;
    }

    .azz-cyr__price-inputs {
        gap: 16px;
    }
}

body.azz-cyr-modal-open {
    overflow: hidden;
}

.azz-cyr__modal {
    display: none;
    inset: 0;
    position: fixed;
    z-index: 999999;
}

.azz-cyr__modal.is-open {
    display: block;
}

.azz-cyr__modal-backdrop {
    background: rgba(22, 8, 15, 0.72);
    inset: 0;
    position: absolute;
}

.azz-cyr__modal-dialog {
    background: #fff;
    left: 50%;
    max-height: calc(100vh - 48px);
    max-width: 1120px;
    overflow: auto;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 48px);
}

.azz-cyr__modal-close {
    align-items: center;
    background: #4b112c;
    border: 0;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 30px;
    height: 44px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 0;
    top: 0;
    width: 44px;
    z-index: 4;
}

.azz-cyr__modal-content {
    align-items: start;
    display: grid;
    grid-template-columns: minmax(0, 54%) minmax(320px, 46%);
    min-height: 540px;
}

.azz-cyr__modal-gallery {
    align-content: start;
    background: #f8f4f1;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: 540px;
    padding: 18px;
}

.azz-cyr__modal-gallery img {
    background: #f4efec;
    display: block;
    height: 138px;
    object-fit: cover;
    width: 100%;
}

.azz-cyr__modal-gallery img:first-child {
    grid-column: 1 / -1;
    height: 380px;
    object-fit: contain;
}

.azz-cyr__modal-copy {
    padding: 64px 50px 46px;
}

.azz-cyr__modal-eyebrow {
    color: #7b294b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.azz-cyr__modal-copy h2 {
    color: #171717;
    font-family: Georgia, serif;
    font-size: clamp(34px, 4vw, 56px);
    line-height: .98;
    margin: 0 0 20px;
}

.azz-cyr__modal-price {
    color: #4b112c;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.azz-cyr__modal-description {
    color: #51484d;
    font-size: 15px;
    line-height: 1.7;
    max-height: 220px;
    overflow: auto;
}

.azz-cyr__modal-choose {
    background: #4b112c;
    border: 0;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    margin-top: 28px;
    min-height: 48px;
    padding: 12px 22px;
    width: 100%;
}

.azz-cyr__modal-loading {
    grid-column: 1 / -1;
    margin: auto;
    padding: 80px 30px;
}

@media (max-width: 760px) {
    .azz-cyr__modal-dialog {
        max-height: calc(100vh - 20px);
        width: calc(100% - 20px);
    }

    .azz-cyr__modal-content {
        display: block;
        min-height: 0;
    }

    .azz-cyr__modal-gallery {
        min-height: 0;
        padding: 10px;
    }

    .azz-cyr__modal-gallery img:first-child {
        height: 310px;
    }

    .azz-cyr__modal-copy {
        padding: 32px 24px;
    }
}

/* Existing Dazzolite detail modal: keep media at the top-left beside copy. */
.dazzolite-modal-container {
    max-height: calc(100vh - 40px) !important;
    max-width: 1120px !important;
    overflow: auto !important;
    width: calc(100% - 40px) !important;
}

.dazzolite-modal-body {
    align-items: start !important;
    display: grid !important;
    gap: 0 !important;
    grid-template-columns: minmax(0, 54%) minmax(320px, 46%) !important;
}

.dazzolite-modal-media-col {
    align-self: start !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    margin: 0 !important;
    min-width: 0 !important;
    order: 1 !important;
    padding: 22px !important;
}

.dazzolite-modal-info-col {
    align-self: start !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    order: 2 !important;
    padding: 54px 46px 40px !important;
}

.dazzolite-modal-main-img-wrapper,
.dazzolite-modal-media-view {
    align-items: flex-start !important;
    display: flex !important;
    justify-content: flex-start !important;
    min-height: 0 !important;
}

.dazzolite-modal-main-img,
.dazzolite-modal-media-view img {
    display: block !important;
    height: 430px !important;
    margin: 0 !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: top left !important;
    width: 100% !important;
}

.dazzolite-modal-thumbnails {
    display: grid !important;
    gap: 9px !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    margin-top: 12px !important;
}

@media (max-width: 760px) {
    .dazzolite-modal-body {
        display: block !important;
    }

    .dazzolite-modal-media-col,
    .dazzolite-modal-info-col {
        padding: 18px !important;
    }

    .dazzolite-modal-main-img,
    .dazzolite-modal-media-view img {
        height: 310px !important;
    }
}
