/*
Theme Name: Műhely Studio (Full Editorial Edition v4)
Theme URI: https://muhelystudio.com
Author: Kendre Ékszer Kft. / Műhely Studio
Author URI: https://muhelystudio.com
Description: 1:1 quiet-luxury ékszerkatalógus és portfólió sablon a Műhely Studio számára. A platina opciók eltávolítva, kizárólag 14K Fehér-, Sárga- és Rozéarany ötvözetekkel. A katalógus és az egyedi megbízások közvetlenül a WordPress adminban kezelhetők.
Version: 4.8.0
Text Domain: muhely-studio
*/

:root {
    --bg-linen: #FAF8F5;
    --bg-parchment: #F3EFEA;
    --text-charcoal: #1C1B1A;
    --text-muted: #6E6A66;
    --border-hairline: #E6E1DA;
    --accent-gold: #C5A880;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', sans-serif;
}

html {
    max-width: 100%;
    width: 100%;
}

body {
    background-color: var(--bg-linen);
    color: var(--text-charcoal);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    max-width: 100%;
    width: 100%;
    position: relative;
}

#mainHeader {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 40;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

body.modal-open {
    overflow: hidden !important;
    touch-action: none;
}

/* Prevent iOS Safari auto-zoom on input focus which causes horizontal overflow */
@media screen and (max-width: 768px) {
    input, select, textarea {
        font-size: 16px !important;
    }
}

#mainHeader.is-scrolled {
    box-shadow: 0 4px 24px rgba(28, 27, 26, 0.06);
    background-color: rgba(250, 248, 245, 0.98);
}

body.admin-bar #mainHeader {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar #mainHeader {
        top: 46px;
    }
}

h1, h2, h3, h4, .serif {
    font-family: var(--font-serif);
}

.hairline-border { border-color: var(--border-hairline); }
.hairline-t { border-top: 1px solid var(--border-hairline); }
.hairline-b { border-bottom: 1px solid var(--border-hairline); }
.hairline-l { border-left: 1px solid var(--border-hairline); }
.hairline-r { border-right: 1px solid var(--border-hairline); }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-linen); }
::-webkit-scrollbar-thumb { background: #D5CFC7; }

.fade-in {
    animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.ring-card .hover-view {
    opacity: 0;
    transition: opacity 0.4s ease;
}
.ring-card:hover .hover-view {
    opacity: 1;
}
.ring-card .default-view {
    transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.ring-card:hover .default-view {
    transform: scale(1.03);
}

.swatch-btn.active {
    outline: 1px solid var(--text-charcoal);
    outline-offset: 2px;
}


