.catalog-styled{background:var(--paper);padding:30px 48px;min-height:100svh}
.catalog-styled .slide-inner{max-width:1600px}
.catalog-styled .slide-brand{margin-bottom:12px}
.catalog-styled .catalog-heading{display:block;text-align:center;margin:0 0 27px}
.catalog-styled .catalog-heading h2{font-size:clamp(48px,4.65vw,80px);line-height:1;letter-spacing:-2px}
.catalog-styled .catalog-heading h2 em{color:#9c87bf;font-style:normal}
.catalog-styled .catalog-heading>p{max-width:none;font-size:clamp(12px,1.15vw,18px);color:var(--ink);margin-top:15px;line-height:1.6}
.catalog-sticker{position:absolute;top:-9px;left:0;width:clamp(105px,10vw,158px);aspect-ratio:1;transform:rotate(-13deg);display:grid;place-items:center}
.catalog-sticker>svg{position:absolute;width:100%;height:100%;color:#ded3ef}
.catalog-sticker>span{font-family:var(--serif);font-size:clamp(17px,1.5vw,25px);text-align:center;line-height:1.05;position:relative}
.catalog-styled .jewelry-grid{gap:14px}
.catalog-styled .jewelry-card{border-radius:34px;overflow:hidden;display:flex;flex-direction:column;min-width:0;background:var(--card-bg)}
.card-green{--card-bg:#e7efce;--button-bg:#dcd0ed;background:var(--card-bg)}
.card-lavender{--card-bg:#e0d8ec;--button-bg:#ebf1d5;background:var(--card-bg)}
.catalog-art{width:100%;height:auto;aspect-ratio:606/565;display:block;overflow:hidden;flex:none}
.catalog-styled .jewelry-content{padding:15px 18px 19px;background:linear-gradient(var(--card-bg),#f9f8f499);flex:1;display:flex;flex-direction:column}
.catalog-styled .jewelry-card h3{font-size:clamp(23px,2.05vw,35px);line-height:1.12;letter-spacing:-.9px;text-align:center;margin:0 0 17px;white-space:nowrap}
.jewelry-meta{padding:12px 13px;border:1px solid #201e1b22;border-radius:23px;background:#ffffff40;display:grid;gap:8px}
.jewelry-meta p{display:flex;align-items:center;gap:10px;font-size:clamp(10px,.87vw,14px);line-height:1.4;margin:0;color:var(--ink)}
.jewelry-meta svg{width:20px;height:20px;flex:none;stroke:currentColor;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}
.jewelry-meta .meta-flower{width:19px;height:19px;color:var(--ink);stroke:none}
.jewelry-details{display:flex;align-items:center;justify-content:space-between;width:100%;gap:8px;border:1px solid #201e1b0d;border-radius:50px;background:var(--button-bg);padding:5px 5px 5px 24px;margin-top:12px;font-size:14px;line-height:1.3;transition:filter .2s}
.jewelry-details:hover{filter:brightness(.96)}
.details-arrow{width:37px;height:37px;border:1px solid var(--ink);border-radius:50%;background:var(--paper);display:grid;place-items:center;font-size:23px;line-height:1}
.catalog-styled .catalog-footer{border:0;margin-top:27px;padding-top:0;justify-content:center}
.catalog-styled .catalog-footer>span{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:22px;font-family:var(--sans);font-style:normal;font-size:8px;letter-spacing:2px}
.catalog-footer svg{width:13px;height:13px;color:var(--lavender)}
.product-dialog{padding:0;border:0;border-radius:28px;background:var(--paper);color:var(--ink);width:min(930px,calc(100% - 48px));max-height:90svh;box-shadow:0 18px 100px #201e1b33;overflow:auto}
.product-dialog::backdrop{background:#201e1b77;backdrop-filter:blur(4px)}
body:has(.product-dialog[open]){overflow:hidden}
.product-dialog-grid{display:grid;grid-template-columns:1fr 1fr}
.product-dialog-art{display:flex;align-items:center}
.product-dialog-copy{padding:48px 35px 35px}
.product-dialog-copy h2{font-size:43px;letter-spacing:-1.5px;line-height:1;margin:15px 0 20px}
.product-dialog-copy>p{font-size:13px;line-height:1.8;margin:18px 0}
.product-dialog-copy .jewelry-meta p{font-size:12px}
.product-dialog-copy .button{margin-top:6px}
.product-close{position:absolute;right:12px;top:12px;border:1px solid #201e1b30;border-radius:50%;background:var(--paper);width:34px;height:34px;padding:0;line-height:1;appearance:none;z-index:2;display:grid;place-items:center}
@media(min-width:901px) and (min-height:900px){.catalog-styled .catalog-art{aspect-ratio:606/565}.catalog-styled .catalog-heading{margin-bottom:40px}.catalog-styled .catalog-footer{margin-top:35px}.catalog-styled .jewelry-content{padding-bottom:24px}}
@media(max-width:1100px) and (min-width:901px){.catalog-styled{padding-inline:38px}.catalog-sticker{width:95px}.catalog-styled .catalog-heading h2{font-size:49px}.catalog-styled .catalog-heading>p{max-width:600px;margin-inline:auto}.catalog-styled .jewelry-content{padding-inline:11px}.catalog-styled .jewelry-card h3{font-size:23px}.jewelry-meta{padding:10px 9px}.jewelry-meta p{gap:6px;font-size:9px}.jewelry-meta svg{width:16px;height:16px}}
@media(max-width:900px){.catalog-styled{padding:54px 36px}.catalog-sticker{display:none}.catalog-styled .catalog-heading>p{max-width:520px;margin-inline:auto}.catalog-styled .jewelry-grid{gap:20px}.catalog-styled .jewelry-card h3{font-size:29px}.jewelry-meta p{font-size:12px}.catalog-styled .catalog-footer>span{gap:13px;font-size:7px;letter-spacing:1px}}
@media(max-width:680px){.catalog-styled{padding:48px 32px}.catalog-styled .slide-brand{font-size:24px;margin-bottom:23px}.catalog-styled .catalog-heading{margin-bottom:28px}.catalog-styled .catalog-heading h2{font-size:46px;line-height:1}.catalog-styled .catalog-heading h2 em{display:block}.catalog-styled .catalog-heading>p{font-size:13px;margin-top:17px}.catalog-styled .jewelry-grid{gap:27px}.catalog-styled .jewelry-card{border-radius:26px}.catalog-styled .jewelry-content{padding:15px 16px 19px}.catalog-styled .jewelry-card h3{font-size:30px;white-space:normal;margin-bottom:15px}.jewelry-meta p{font-size:12px}.jewelry-details{font-size:14px}.catalog-styled .catalog-footer>span{gap:8px;font-size:6px;letter-spacing:.7px}.catalog-footer svg{width:9px;height:9px}.product-dialog{width:calc(100% - 28px);border-radius:22px;max-height:92svh}.product-dialog-grid{grid-template-columns:1fr}.product-dialog-copy{padding:25px}.product-dialog-copy h2{font-size:38px}.product-dialog-art{padding-top:0}.product-dialog-copy .button{width:100%}}

.catalog-styled .catalog-art,.product-dialog .catalog-art{aspect-ratio:3/4;object-fit:cover;object-position:center}

.product-gallery{position:relative;width:100%;aspect-ratio:3/4;flex:none;overflow:hidden;background:#eee6d9;touch-action:pan-y;isolation:isolate}
.catalog-styled .product-gallery .catalog-art,.product-dialog .product-gallery .catalog-art{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center}
.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:36px;height:36px;border:1px solid #fff9;border-radius:50%;display:grid;place-items:center;padding:0 0 3px;background:#f9f8f4e8;color:#292824;font:29px/1 Georgia,serif;cursor:pointer;box-shadow:0 2px 10px #201e1b12;transition:background .2s}
.gallery-arrow:hover{background:#e7efce}.gallery-prev{left:8px}.gallery-next{right:8px}
.gallery-count{position:absolute;right:12px;bottom:12px;z-index:2;background:#f9f8f4e8;color:#292824;border:1px solid #fff8;border-radius:20px;padding:5px 10px;font-size:11px;line-height:1.25;font-variant-numeric:tabular-nums;pointer-events:none}
.product-gallery:focus-visible,.gallery-arrow:focus-visible{outline:2px solid #84709e;outline-offset:-3px}
.product-dialog-art{align-items:flex-start}
/* The text can make the dialog taller than a 3:4 photo. Fill the full
   desktop column, including both image layers during gallery transitions. */
@media(min-width:681px){
  .product-dialog-art{position:relative;min-width:0;min-height:0;align-self:stretch}
  .product-dialog-art>.product-gallery{position:absolute;inset:0;height:100%;aspect-ratio:auto}
}
@media(max-width:680px){.gallery-arrow{width:40px;height:40px}.gallery-count{font-size:12px}}
@media(prefers-reduced-motion:reduce){.gallery-arrow{transition:none}}

.product-gallery>.gallery-outgoing{position:absolute;inset:0;z-index:1;display:block;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none;will-change:opacity}
.product-gallery.is-loading .gallery-count{display:flex;align-items:center;gap:7px}
.product-gallery.is-loading .gallery-count:before{content:"";width:11px;height:11px;border:1.5px solid #c8bdd9;border-top-color:#695280;border-radius:50%;animation:gallery-loading .7s linear infinite}
@keyframes gallery-loading{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.product-gallery.is-loading .gallery-count:before{animation:none}}

.product-close>svg{display:block;width:18px;height:18px;pointer-events:none}

/* Use clear, consistent numerals for prices in the catalog and product details. */
.product-price{font-family:var(--sans);font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600;color:var(--ink)}
.catalog-styled .jewelry-card h3{margin-bottom:8px}
.catalog-styled .jewelry-content>.product-price{font-size:clamp(20px,1.65vw,26px);line-height:1.35;text-align:center;margin:0 0 16px}
.product-dialog-copy>.product-price{font-size:28px;line-height:1.3;margin:22px 0 12px}
.cart-item-price{font-size:14px;line-height:1.5;font-variant-numeric:tabular-nums;margin:0 0 12px}

.catalog-styled .jewelry-card h3{white-space:normal;text-wrap:balance}
@media(min-width:681px){.catalog-styled .jewelry-card h3{min-height:2.24em;display:grid;place-items:center}}
.product-kit strong{font-weight:600}
.product-filling-link{text-decoration:underline;text-underline-offset:3px}
.product-filling-link:hover{color:#806297}
.product-filling-link:focus-visible{outline:2px solid #9278ad;outline-offset:3px}

.letter-picker{min-width:0;margin:26px 0 0;padding:15px 16px 12px;border:1px solid #cfc2de;border-radius:20px;background:linear-gradient(135deg,#eee7f580,#fff8)}
.letter-picker legend{padding:0 7px;font-family:var(--serif);font-size:27px;line-height:1.1;letter-spacing:-.4px}
.letter-picker-hint{margin:0 0 14px;font-size:12px;line-height:1.5;color:var(--muted)}
.letter-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(42px,1fr));gap:6px}
.letter-option{position:relative;cursor:pointer;min-width:0}
.letter-option input{position:absolute;width:1px;height:1px;margin:0;opacity:0}
.letter-option span{display:grid;place-items:center;min-height:42px;border:1px solid #d8cedf;border-radius:11px;background:#fff9;color:var(--ink);font:500 17px/1 var(--sans);transition:background .18s,border-color .18s,box-shadow .18s}
.letter-option:hover span{background:#eee5f6;border-color:#b49aca}
.letter-option input:checked+span{background:#d8c7e9;border-color:#8e6eaa;box-shadow:inset 0 0 0 1px #8e6eaa;color:#3e2c50}
.letter-option input:focus-visible+span{outline:2px solid #76518f;outline-offset:3px}
.letter-selection{min-height:18px;margin:12px 0 0;font-size:12px;line-height:1.5;color:#705784}
.product-add:disabled{cursor:default;opacity:.58}
.cart-letter-choice{display:inline-block;margin:0 0 12px;padding:0;border:0;background:none;color:#705784;font-size:12px;text-decoration:underline;text-underline-offset:3px}
@media(prefers-reduced-motion:reduce){.letter-option span{transition:none}}

.catalog-product-link{color:inherit;text-decoration:none}.catalog-product-link:hover{text-decoration:underline;text-underline-offset:4px}.catalog-seo-links{display:flex;justify-content:center;gap:24px;flex-wrap:wrap;margin:0 0 26px;font-size:15px}.catalog-seo-links a{color:inherit;text-underline-offset:4px}
