@font-face {
    font-family: 'Heyran';
    src: url("/static/fonts/heyran/heyran.54b085b8b359.woff2") format('woff2'), url("/static/fonts/heyran/heyran.6e40bada3cf2.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Dima';
    src: url("/static/fonts/dima/dima_1.7b217ef66e45.woff2") format('woff2'), url("/static/fonts/dima/dima_1.de838c344b2e.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Dima2';
    src: url("/static/fonts/dima/dima_2.86c93b22818a.woff2") format('woff2'), url("/static/fonts/dima/dima_2.7b61bd41f464.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Dima3';
    src: url("/static/fonts/dima/dima_3.b4a66c8ad3bb.woff2") format('woff2'), url("/static/fonts/dima/dima_3.d1506760ffc6.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Pelak';
    src: url("/static/fonts/pelak/Pelak-Regular.8c7783d500d3.woff2") format('woff2'), url("/static/fonts/pelak/Pelak-Regular.ca0d0d5eb57f.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pelak';
    src: url("/static/fonts/pelak/Pelak-Bold.bb7586114392.woff2") format('woff2'), url("/static/fonts/pelak/Pelak-Bold.bce14e3f2097.ttf") format('truetype');
    font-weight: bold;
    font-display: swap;
}

@font-face {
    font-family: 'Pelak';
    src: url("/static/fonts/pelak/Pelak-Light.b6027270fd66.woff2") format('woff2'), url("/static/fonts/pelak/Pelak-Light.b2a228e0e5ed.ttf") format('truetype');
    font-weight: 300;
    font-display: swap;
}

/* PelakFA (Persian/Arabic) variations */
@font-face {
    font-family: 'PelakFA';
    src: url("/static/fonts/pelak/PelakFA-Regular.cb12adca50dd.woff2") format('woff2'), url("/static/fonts/pelak/PelakFA-Regular.2f77a2408334.ttf") format('truetype');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PelakFA';
    src: url("/static/fonts/pelak/PelakFA-Medium.86c91ac006b6.woff2") format('woff2'), url("/static/fonts/pelak/PelakFA-Medium.af905ac9ce7e.ttf") format('truetype');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'PelakFA';
    src: url("/static/fonts/pelak/PelakFA-SemiBold.fe2d2d8f1f4c.woff2") format('woff2'), url("/static/fonts/pelak/PelakFA-SemiBold.7aca430cad71.ttf") format('truetype');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'PelakFA';
    src: url("/static/fonts/pelak/PelakFA-Bold.a8db66a1e2ce.woff2") format('woff2'), url("/static/fonts/pelak/PelakFA-Bold.7826390f2876.ttf") format('truetype');
    font-weight: bold;
    font-display: swap;
}

@font-face {
    font-family: 'PelakFA';
    src: url("/static/fonts/pelak/PelakFA-Light.ae645df25a18.woff2") format('woff2'), url("/static/fonts/pelak/PelakFA-Light.5bf549bc3487.ttf") format('truetype');
    font-weight: 300;
    font-display: swap;
}


.pattern1 {
    background-image: url("/static/images/pattern1.17601543498a.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
/* ---------- Carousel hover effects (every public page; only on devices that really hover) ---------- */
.mySwiper .swiper-slide .aspect-square,
.thumbnails-container > button {
    transition: transform .45s cubic-bezier(.32, .72, 0, 1), box-shadow .45s ease, opacity .3s ease;
}
.mySwiper .swiper-slide img,
.gallery-slider-component .swiper-slide img {
    transition: transform .8s cubic-bezier(.32, .72, 0, 1);
}
/* Room for the lifted card and its shadow inside the slider's clipping box */
.mySwiper { padding-top: 10px; padding-bottom: 20px; }
.slide-name {
    background: linear-gradient(#CAB487, #CAB487) no-repeat center bottom / 0 1px;
    padding-bottom: 2px;
    transition: background-size .35s ease, color .25s ease;
}
@media (hover: hover) {
    /* Product rows: the card lifts, the photo zooms a little, the name gets a gold underline */
    .mySwiper .swiper-slide.is-link:hover .aspect-square {
        transform: translateY(-6px);
        box-shadow: 0 18px 30px -18px rgba(46, 36, 22, .45);
    }
    .mySwiper .swiper-slide.is-link:hover img { transform: scale(1.06); }
    .mySwiper .swiper-slide.is-link:hover .slide-name { color: #8A7242; background-size: 100% 1px; }

    /* Only things that link somewhere react to hover: the hero / gallery sliders do not */

    /* Product page thumbnails */
    .thumbnails-container > button:hover { transform: translateY(-3px); box-shadow: 0 10px 18px -10px rgba(46, 36, 22, .5); }
    .thumbnails-container:hover > button:not(:hover) { opacity: .75; }
}
@media (prefers-reduced-motion: reduce) {
    .mySwiper .swiper-slide img, .mySwiper .swiper-slide .aspect-square, .gallery-slider-component .swiper-slide img, .thumbnails-container > button {
        transition: none !important;
        transform: none !important;
    }
}

/* ---------- Home: hover on every linked block (category tiles, gold bar, Instagram, founder) ---------- */
.jewels-link-container, .gold-collection-link-container, .instagram-collection-link, .about-us-container {
    display: block;
    overflow: hidden;
}
.jewels-link-container img, .gold-collection-link-container img,
.instagram-collection-link img, .about-us-container > picture img {
    transition: transform .9s cubic-bezier(.32, .72, 0, 1), filter .5s ease;
}
/* Category tiles: a soft shade rises from the bottom; the label's line grows across */
.jewels-link-container::after, .gold-collection-link-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 16, 10, .45), rgba(20, 16, 10, 0) 55%);
    opacity: 0;
    transition: opacity .5s ease;
    pointer-events: none;
}
.jewels-link-text, .gold-collection-link-text { transition: width .5s cubic-bezier(.32, .72, 0, 1), letter-spacing .5s ease; }
/* Instagram: dark veil with the Instagram mark */
.instagram-collection-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(20, 16, 10, .35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='white' stroke='none'/%3E%3C/svg%3E") center / 2.5rem no-repeat;
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
}
/* The whole gold-bar card is the link: the button's click area is stretched over the card */
.gold-bar-card-button::before { content: ""; position: absolute; inset: 0; }
.gold-bar-card { cursor: pointer; transition: transform .6s cubic-bezier(.32, .72, 0, 1), box-shadow .6s ease, border-color .4s ease; }
.gold-bar-card > picture img { transition: transform 1.2s cubic-bezier(.32, .72, 0, 1); }

@media (hover: hover) {
    .jewels-link-container:hover img, .gold-collection-link-container:hover img { transform: scale(1.07); }
    .jewels-link-container:hover::after, .gold-collection-link-container:hover::after { opacity: 1; }
    .jewels-link-container:hover .jewels-link-text,
    .gold-collection-link-container:hover .gold-collection-link-text { width: 70%; letter-spacing: .02em; }

    .instagram-collection-link:hover img { transform: scale(1.08); }
    .instagram-collection-link:hover::after { opacity: 1; }

    .gold-bar-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(202, 180, 135, .55); border-color: #e3d3ad; }
    .gold-bar-card:hover > picture img { transform: scale(1.05); }
    .gold-bar-card:hover .gold-bar-card-button { background: #CAB487; color: #000; }

    .about-us-container:hover > picture img { transform: scale(1.04); filter: brightness(1.04); }
}
/* Keyboard users get the same feedback */
.jewels-link-container:focus-visible, .gold-collection-link-container:focus-visible,
.instagram-collection-link:focus-visible, .about-us-container:focus-visible { outline: 2px solid #8A7242; outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
    .jewels-link-container img, .gold-collection-link-container img, .instagram-collection-link img,
    .about-us-container > picture img, .gold-bar-card, .gold-bar-card > picture img { transition: none !important; transform: none !important; }
}

/* ---------- Slide indicator (gallery_slider.html, indicator=True): one thin bar per slide ---------- */
.slider-indicator {
    position: absolute;
    bottom: 1.25rem;
    inset-inline: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: .4rem;
    pointer-events: none;
}
.slider-indicator button {
    pointer-events: auto;
    position: relative;
    width: 1.5rem;
    height: 1.25rem;            /* tall tap area, thin visible bar */
    display: flex;
    align-items: center;
    transition: width .4s cubic-bezier(.32, .72, 0, 1);
}
.slider-indicator button::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    height: 3px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, .45);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}
.slider-indicator button.is-active { width: 2.75rem; }
.slider-indicator button span {
    position: absolute;
    inset-inline: 0;
    height: 3px;
    border-radius: 9999px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: right;    /* RTL: fills from the right */
}
.slider-indicator button:not(.is-active) span { transform: scaleX(0) !important; }
.slider-indicator button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 4px; }
@media (min-width: 768px) { .slider-indicator { bottom: 2rem; } }
