@keyframes metallicShift {
    0% {
        background-position: 0 50%
    }

    to {
        background-position: 380% 50%
    }
}

@keyframes shineSweep {
    0% {
        left: -130%
    }

    to {
        left: 230%
    }
}

:root {
    --bg: #F8F4EF;
    --accent: #C9A96E;
    --text: #1F1F1F;
    --secondary: #6B5E4F;
    --divider: #E8D9C7
}

@font-face {
    font-family:"Inter";src:url(assets/fonts/inter/Inter-Regular.otf)format("otf");font-weight:400;font-style:normal;font-display:swap
}

@font-face {
    font-family:"Inter";src:url(assets/fonts/inter/Inter-Medium.otf)format("otf");font-weight:500;font-style:normal;font-display:swap
}

@font-face {
    font-family:"Inter";src:url(assets/fonts/inter/Inter-SemiBold.otf)format("otf");font-weight:600;font-style:normal;font-display:swap
}

@font-face {
    font-family:"Playfair Display";src:url(assets/fonts/playfair-display/PlayfairDisplay-Regular.otf)format("otf");font-weight:400;font-style:normal;font-display:swap
}

@font-face {
    font-family:"Playfair Display";src:url(assets/fonts/playfair-display/PlayfairDisplay-Bold.otf)format("otf");font-weight:700;font-style:normal;font-display:swap
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: "Inter",system-ui,-apple-system,sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5
}

h1,h2,h3 {
    font-family: "Playfair Display",Georgia,serif
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px
}

.top-bar {
    height: 72px;
    display: flex;
    align-items: center
}

.top-bar .container {
    width: 100%
}

.nav-menu {
    display: none
}

.hero {
    height: 620px;
    background: linear-gradient(rgba(0,0,0,.25),rgba(0,0,0,.35)),url(https://picsum.photos/id/1015/1280/620)center/cover no-repeat;
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
    margin-top: 72px
}

@media (min-width:768px) {
    .hero {
        height: 720px
    }

    .hero h1 {
        font-size: 56px
    }
}

.scroll-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory
}

.product-card {
    width: 180px;
    flex-shrink: 0;
    transition: transform .2s
}

.section-title {
    font-family: "Playfair Display",serif;
    font-size: 28px;
    margin-bottom: 24px;
    text-align: center
}

.product-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 24px
}

.btn-primary,.cookie-banner button {
    background: var(--accent);
    color: #fff;
    border: 0;
    border-radius: 12px;
    cursor: pointer
}

.btn-primary {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    width: 100%
}

.btn-outline {
    border: 2px solid var(--text);
    background: 0 0;
    color: var(--text);
    border-radius: 12px;
    padding: 14px 32px;
    font-weight: 600
}

@media (min-width:768px) {
    .nav-menu {
        display: flex
    }

    .burger {
        display: none
    }

    .scroll-container {
        display: grid;
        grid-template-columns: repeat(4,1fr);
        gap: 24px;
        overflow: visible
    }

    .product-card {
        width: 100%
    }

    .product-card img {
        height: 240px
    }
}

.bottom-bar,.modal {
    position: fixed;
    bottom: 0;
    align-items: center
}

.bottom-bar {
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 375px;
    height: 68px;
    background: #fff;
    box-shadow: 0-2px 15px rgba(0,0,0,.1);
    display: flex;
    justify-content: space-around;
    z-index: 100
}

.modal {
    display: none;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,.85);
    z-index: 1000;
    justify-content: center;
    padding: 20px
}

.modal-content {
    background: #fff;
    max-width: 420px;
    width: 100%;
    border-radius: 4px;
    padding: 32px;
    position: relative
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 28px;
    cursor: pointer;
    color: var(--secondary)
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    max-width: 420px;
    width: 90%;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    padding: 20px;
    z-index: 1100;
    display: none;
    font-size: 14px
}

.cookie-banner p {
    margin-bottom: 16px
}

.cookie-banner button {
    padding: 12px 24px
}

.mobile-menu {
    bottom: 0;
    overflow-y: auto
}

.nav-menu:hover .dropdown {
    display: flex
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 4px
}

.mobile-menu a {
    font-size: 18px;
    font-weight: 500;
    padding: 18px 0;
    border-bottom: 1px solid var(--divider);
    color: var(--text);
    text-decoration: none
}

.mobile-menu .btn-primary {
    margin-bottom: 20px
}

CSS.hero-video {
    filter: brightness(.85)
}

@media (min-width:768px) {
    .hero {
        height: 720px
    }

    h1 {
        font-size: 56px
    }
}

CSS.image-thumbnails {
    -webkit-overflow-scrolling: touch
}

.image-thumbnails::-webkit-scrollbar {
    height: 6px
}

.image-thumbnails::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(170px,1fr));
    gap: 24px
}

@media (min-width:768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit,minmax(240px,1fr))
    }
}

.chip,.product-card {
    cursor: pointer;
    background: #fff
}

.product-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    transition: all .3s cubic-bezier(.4,0,.2,1)
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(201,169,110,.15)
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform .4s ease
}

.product-card:hover img {
    transform: scale(1.04)
}

.product-card .info {
    padding: 18px 16px
}

.product-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text)
}

.product-card .length {
    font-size: 14px;
    color: var(--secondary);
    margin-bottom: 8px
}

.product-card .price {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent)
}

.chip {
    padding: 10px 24px;
    border: 2px solid var(--divider);
    border-radius: 30px;
    transition: all .2s;
    color: var(--text);
    font-weight: 500
}

.chip.active,.chip:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent)
}

.btn-gold-shine {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg,#c9a96e 0,#f5e4b8 22%,#c9a96e 45%,#f5e4b8 70%,#c9a96e 100%);
    background-size: 380% 100%;
    color: #1f1f1f;
    border: 0;
    padding: 18px 40px;
    font-size: 17px;
    font-weight: 600;
    min-width: 280px;
    cursor: pointer;
    transition: transform .3s ease;
    box-shadow: 0 8px 25px rgba(201,169,110,.35);
    animation: metallicShift 6s linear infinite;
    will-change: background-position
}

@media (hover:hover) {
    .btn-gold-shine:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 35px rgba(201,169,110,.45);
        animation-duration: 2.8s
    }
}

.btn-gold-shine::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -130%;
    width: 45%;
    height: 280%;
    background: linear-gradient(90deg,transparent 10%,rgba(255,255,255,.85) 45%,rgba(255,255,255,.25) 80%,transparent 95%);
    transform: skewX(-25deg);
    animation: shineSweep 4.8s linear infinite;
    pointer-events: none
}

.btn-gold-shine:active {
    transform: scale(.96)
}

.hero-content {
    padding-top: 110px!important;
    padding-bottom: 60px
}

@media (min-width:768px) {
    .hero-content {
        padding-top: 160px
    }

    .hero h1 {
        font-size: 58px
    }

    .hero {
        height: 760px
    }
}

.btn-gold-shine {
    max-width: 100%
}

.hero-slider,.slides-wrapper {
    position: relative;
    height: 640px
}

.slides-wrapper {
    width: 100%;
    height: 100%
}

.slide,.slider-controls {
    position: absolute;
    display: flex;
    align-items: center
}

.slide {
    inset: 0;
    opacity: 0;
    transition: opacity .8s cubic-bezier(.4,0,.2,1);
    justify-content: center;
    overflow: hidden
}

.slide.active {
    opacity: 1;
    z-index: 2
}

.slide img,.slide video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1
}

.slide::after {
    display: none!important
}

.slider-controls {
    left: 50%;
    transform: translateX(-50%);
    gap: 24px;
    z-index: 10
}

.slider-arrow {
    background: rgba(255,255,255,.15);
    border: 2px solid rgba(255,255,255,.9);
    color: #fff;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .3s ease;
    backdrop-filter: blur(4px)
}

.slider-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.05)
}

.slider-dots {
    display: flex;
    gap: 6px
}

.slider-dot {
    width: 9px;
    height: 9px;
    background: rgba(255,255,255,.6);
    border-radius: 50%;
    cursor: pointer;
    transition: all .4s cubic-bezier(.4,0,.2,1)
}

.slider-dot.active {
    background: var(--accent);
    width: 32px;
    border-radius: 20px
}

@media (min-width:768px) {
    .hero-slider {
        height: 760px
    }

    .slider-controls {
        bottom: 60px
    }
}

.nav-menu {
    position: relative
}

.dropdown a {
    text-decoration: none
}

.dropdown a:hover {
    background: var(--bg)
}

.mobile-submenu a {
    font-size: 16px;
    padding: 12px 0
}

.mobile-menu .btn-primary {
    margin-top: 30px;
    padding: 18px 32px;
    font-size: 17px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(201,169,110,.3)
}

.bottom-bar {
    display: none!important
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: "Playfair Display",serif;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: .5px;
    cursor: pointer
}

.dropdown-trigger.active .arrow,.dropdown-trigger:hover .arrow {
    transform: rotate(180deg)
}

.dropdown a {
    font-family: inherit
}

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    z-index: 1000;
    padding: 16px 0
}

.top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px
}

.arrow {
    font-size: 18px;
    line-height: 1;
    transition: transform .2s ease
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px
}

.burger {
    display: none
}

.mobile-menu,.mobile-submenu {
    display: none;
    flex-direction: column
}

.mobile-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    padding: 30px 20px;
    z-index: 999;
    gap: 12px
}

.dropdown-parent:hover .dropdown,.mobile-menu.active,.mobile-submenu.active {
    display: flex
}

.mobile-submenu {
    gap: 4px;
    margin-left: 20px;
    margin-top: 8px
}

@media (max-width:992px) {
    .nav-menu {
        display: none!important
    }

    .burger {
        display: block!important
    }

    .mobile-menu {
        display: none
    }

    .mobile-menu.active {
        display: flex
    }
}

@media (min-width:993px) {
    .burger {
        display: none
    }

    .mobile-menu {
        display: none!important
    }
}

.mobile-submenu.active~a .mobile-arrow,a:has(+.mobile-submenu.active) .mobile-arrow {
    transform: rotate(180deg)
}

#feedbackForm input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(201,169,110,.15)
}

@media (max-width:480px) {
    #feedbackForm {
        padding: 40px 24px
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 17px;
    font-weight: 600;
    font-family: "Playfair Display",serif;
    letter-spacing: .5px
}

.dropdown-trigger,.nav-menu a {
    color: var(--text);
    text-decoration: none;
    padding: 8px 0;
    transition: color .2s
}

.dropdown a:hover,.dropdown-trigger:hover,.nav-menu a:hover {
    color: var(--accent)
}

.dropdown a {
    padding: 12px 24px;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap
}

.dropdown a:hover {
    background: #fff9f0
}

.mobile-arrow {
    width: 18px;
    height: 11px;
    transition: transform .25s ease;
    margin-left: 6px
}

.dropdown-parent {
    position: relative;
    display: inline-block
}

.dropdown {
    display: none!important;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    border-radius: 12px;
    padding: 12px 0;
    min-width: 240px;
    z-index: 200;
    flex-direction: column
}

.dropdown-parent .dropdown.active,.dropdown-parent:hover>.dropdown {
    display: flex!important
}

.dropdown-arrow {
    width: 9px;
    height: 5px;
    transition: transform .25s ease;
    margin-left: 6px;
    vertical-align: middle
}

.dropdown-parent:hover .dropdown-arrow,.dropdown-trigger.active .dropdown-arrow {
    transform: rotate(180deg)
}

@font-face {
    font-family:"Didot";src:url(assets/fonts/didot_bold.otf)format("opentype");font-weight:700;font-style:normal;font-display:swap
}

.hero-main-word {
    font-family: "Didot",serif;
    font-weight: 700;
    letter-spacing: -.042em;
    line-height: 1.05
}

@media (min-width:768px) {
    .hero-main-word {
        font-size: 62px
    }
}



.product-section {
    padding: 100px 0;
    background: var(--bg)
}

.product-container {
    max-width: 1100px
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start
}

@media (min-width:768px) {
    .product-grid {
        grid-template-columns: 1fr 1fr
    }
}

.image-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    overflow-x: auto;
    padding-bottom: 8px
}

.image-thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all .3s
}

.image-thumbnails img.active-thumb {
    border-color: var(--accent)
}

.product-title {
    font-size: 36px;
    margin-bottom: 8px
}

.product-description {
    color: var(--secondary);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 32px
}

.variant-title {
    margin-bottom: 12px;
    font-size: 18px
}

.chips {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.specs-section {
    margin-top: 60px
}

.specs-list {
    line-height: 2
}

.specs-list li {
    margin-bottom: 8px
}

.back-btn {
    background: 0 0;
    border: 0;
    font-size: 16px;
    cursor: pointer;
    color: var(--secondary);
    margin-bottom: 24px
}

.btn-gold-shine,.hero-slider,.slide,.slider-arrow {
    border-radius: 0!important
}

.slider-controls {
    bottom: 32px!important;
    padding: 0 20px
}

.hero-video {
    filter: none!important
}

.slide img,.slide video {
    object-fit: cover
}

.feedback-form {

    color: var(--text);
    border-radius: 0;
    padding: 48px 36px;
    max-width: 100%;
    width: 100%
}

.elegant-input {
    width: 100%;
    padding: 14px 4px 12px;
    margin-bottom: 32px;
    font-size: 17px;
    background: 0 0;
    border: 0;
    border-bottom: 2px solid var(--divider);
    transition: all .3s ease;
    outline: 0;
    font-family: "Inter",system-ui,sans-serif
}

.elegant-input:focus {
    border-color: var(--accent);
    box-shadow: 0 1px 0 var(--accent)
}

.elegant-input::placeholder {
    color: #9e8e75;
    opacity: .75
}

@media (max-width:768px) {
    .feedback-form {
        padding: 40px 24px;
        border-radius: 0;
        margin: 0;
       
    }

    .container[style*="max-width:620px"] {
        max-width: 100%!important;
        padding: 0
    }
}

@media (min-width:768px) {
    #catalog-title {
        font-size: 52px
    }

    section[style*="padding:88px 0 64px"] {
        padding: 100px 0 80px
    }
}

@media (max-width:480px) {
    #catalog-title {
        font-size: 34px
    }
}

#catalog-title {
    font-family: "Didot",serif!important;
    color: #371005;
    letter-spacing: -.035em;
    -webkit-text-stroke: .35px #371005;
    paint-order: stroke fill;
    text-shadow: 0 0 1px rgba(55,16,5,.25)
}

@media (min-width:768px) {
    #catalog-title {
        font-size: 52px;
        -webkit-text-stroke: .4px #371005
    }

    section[style*="padding:88px 0 64px"] {
        padding: 100px 0 80px
    }
}

@media (max-width:480px) {
    #catalog-title {
        font-size: 34px;
        -webkit-text-stroke: .3px #371005
    }
}

.product-price {
    color: var(--text)!important
}

@media (max-width:768px) {
    .product-section {
        padding-top: 0!important
    }

    .product-container {
        padding-left: 0!important;
        padding-right: 0!important;
        max-width: 100%!important
    }

    .product-main-image {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        max-height: none;
        border-radius: 0!important

    }

    .image-thumbnails {
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 16px
    }

    .product-info {
        padding: 0 20px
    }

    .back-btn-overlay {
        top: 32px;
        left: 20px;
        width: 44px;
        height: 44px
    }
}

@media (max-width:768px) {
    .product-section {
        padding-top: 72px!important
    }

    .product-container {
        padding-left: 0!important;
        padding-right: 0!important;
        max-width: 100%!important
    }

    .product-main-image {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        max-height: none;
        border-radius: 0!important
    }

    .image-thumbnails {
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 16px
    }

    .product-info {
        padding: 0 20px
    }

    .back-btn-overlay {
        top: 32px;
        left: 20px;
        width: 44px;
        height: 44px
    }
}

.product-gallery-wrapper {
    position: relative
}

.back-btn-overlay {
    position: absolute;
    top: 24px;
    left: 20px;
    z-index: 10;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    border: 0;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,.12);
    cursor: pointer;
    transition: all .2s ease
}

.back-btn-overlay:hover {
    transform: scale(1.05);
    background: #fff
}

.product-main-image {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    border-radius: 0!important;
    box-shadow: 0 8px 30px rgba(201,169,110,.15)
}

.product-price {
    color: #371005!important;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 24px
}

.cta-wrapper {
    background: #FBF9F7;
    width: 100%;
    margin: 48px 0;
    padding: 32px 20px;
    border-radius: 0!important;

    display: flex;
    justify-content: center;
    align-items: center
}

.cta-wrapper .btn-gold-shine {
    max-width: 340px;
    width: 100%
}

@media (max-width:768px) {
    .product-section {
        padding-top: 72px!important
    }

    .product-container {
        padding-left: 0!important;
        padding-right: 0!important;
        max-width: 100%!important
    }

    .product-main-image {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        max-height: none;
        border-radius: 0!important;


        min-height: 26rem;
        max-height: 26rem;
    }

    .image-thumbnails {
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 16px
    }

    .product-info {
        padding: 0 20px
    }

    .back-btn-overlay {
        top: 32px;
        left: 20px;
        width: 44px;
        height: 44px
    }

    .cta-wrapper {
        margin-left: calc(-50vw + 50%);
        width: 100vw;
        padding: 32px 20px
    }
}


.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    padding: 0 20px;
}






.chip {
    padding: 8px 14px;
    background: transparent;
    border: none;
    border-radius: 0;
    color: #6B5E4F;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    font-family: "Inter",system-ui,-apple-system,sans-serif;
}

.chip:hover {
    color: #371005;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.chip.active {
    background: #371005;
    color: #fff;
    border-radius: 9999px;
    padding: 8px 18px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(55, 16, 5, 0.15);
}


/* ==================== FLIP-CARD (стабильная версия) ==================== */
/* ==================== FLIP-CARD (финальная стабильная версия) ==================== */
/* ==================== FLIP-CARD (версия с текстовой рубашкой MERSH) ==================== */
.product-flip-card {
    width: 100%;
    height: 400px;
    perspective: 1200px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.85s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 4px;
    box-shadow: 0 8px 30px rgba(0,0,0,.06);
}

.product-flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    inset: 0;
    border-radius: 4px;
    backface-visibility: hidden;
    overflow: hidden;
}

/* FRONT — рубашка MERSH (по-старому) */
.flip-card-front {
    background: #371005;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Didot', serif;
    font-size: 43px;
    font-weight: 700;
    letter-spacing: 4px;
    text-shadow: 0 2px 8px rgba(255,255,255,.15);
}

/* BACK */
.flip-card-back {
    transform: rotateY(180deg);
    background: #fff;
    display: flex;
    flex-direction: column;
}

.flip-card-back .image-wrapper {
    flex: 1 1 0;
    min-height: 0;
    position: relative;
    background: var(--bg);
    overflow: hidden;
}

.flip-card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s cubic-bezier(.4,0,.2,1);
}

.product-flip-card:hover .flip-card-back img {
    transform: scale(1.04);
}

/* Стабильная премиальная подложка — только название товара */
.flip-card-back .product-info {
    padding: 28px 20px 32px;
    text-align: center;
    min-height: 118px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 -2px 12px rgba(201,169,110,0.08);
}

.flip-card-back .product-name {
    font-family: "Playfair Display", serif;
    font-size: 60px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.025em;
    color: var(--text);
    position: relative;
    max-width: 100%;
}

.flip-card-back .product-name::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 1.5px;
    background: #AAA;
    opacity: 0.65;
}


/* ==================== PRODUCT CAROUSEL ==================== */
:root {
  --black: #1a1a1a;
  --white: #ffffff;
  --gray: #f2f2f2;
  --accent: #b5a48b; /* Приглушенный беж/золото */
}



.premium-carousel {
  padding: 60px 0;
  max-width: 100vw;
  overflow: hidden;
  background-color: var(--white);
  color: var(--black);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.carousel-header {
  padding: 0 20px;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.subtitle {
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}

.title {
  font-family: serif; /* Или 'Playfair Display' */
  font-size: 2.5rem;
  font-weight: 400;
}

/* Контейнер карусели */
.carousel-track {
  display: flex;
  gap: 2px; /* Тонкая линия разделения */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-left: 20px;
}

.carousel-track::-webkit-scrollbar { display: none; }

.product-item {
  flex: 0 0 80vw; /* На мобилке карточка почти на весь экран */
  scroll-snap-align: start;
  position: relative;
}

.image-wrapper {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--gray);
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Тэг сверху */
.tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--white);
  padding: 4px 12px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Инфо блок */
.item-info {
  padding: 24px 0;
}

.item-info h3 {
  font-family: serif;
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: 400;
}

.item-price {
  font-size: 1rem;
  margin-bottom: 20px;
  opacity: 0.8;
}

/* Кнопка как ссылка */
.explore-link {
  text-decoration: none;
  color: var(--black);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 2px;
  border-bottom: 1px solid var(--black);
  padding-bottom: 4px;
  transition: all 0.3s ease;
}

.explore-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Прогресс-бар */
.progress-container {
  margin: 40px 20px 0;
  height: 1px;
  background: #e0e0e0;
  position: relative;
}

.progress-line {
  position: absolute;
  height: 2px;
  top: -0.5px;
  left: 0;
  width: 0%;
  background: var(--black);
  transition: width 0.2s ease-out;
}

/* ==================== PREMIUM CAROUSEL — Mersh Style ==================== */
.premium-carousel {
    padding: 60px 0;
    background-color: #F8F4EF;
}

.carousel-header {
    padding: 0 20px;
    margin-bottom: 40px;
}

.subtitle {
    font-size: 13px;
    letter-spacing: 3px;
    color: #C9A96E;
    text-transform: uppercase;
    font-weight: 500;
}

.title {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    font-weight: 600;
    color: #1F1F1F;
    margin: 0;
}

.carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 20px 20px;
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.product-item {
    flex: 0 0 280px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.product-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(201,169,110,0.15);
}

.image-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-item:hover .image-wrapper img {
    transform: scale(1.05);
}

.tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #C9A96E;
    color: #fff;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 30px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(201,169,110,0.3);
}

.item-info {
    padding: 20px;
}

.item-info h3 {
    font-family: "Playfair Display", serif;
    font-size: 19px;
    margin-bottom: 8px;
    color: #1F1F1F;
    font-weight: 500;
}

.item-price {
    font-size: 18px;
    font-weight: 600;
    color: #C9A96E;
    margin-bottom: 16px;
}

.explore-link {
    color: #1F1F1F;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid #1F1F1F;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.explore-link:hover {
    color: #C9A96E;
    border-color: #C9A96E;
}

.progress-container {
    margin: 40px 20px 0;
    height: 3px;
    background: #E8D9C7;
    border-radius: 3px;
    overflow: hidden;
}

.progress-line {
    height: 100%;
    background: #C9A96E;
    width: 0%;
    transition: width 0.2s ease-out;
}