/* =========================================================
   AVERINE JEWELLERY
   COMPLETE STYLE.CSS
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Vazirmatn", sans-serif;
    direction: rtl;
    background: #E1D9D1;
    color: #183D34;
    line-height: 1.8;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font-family: inherit;
}

button {
    cursor: pointer;
}


/* =========================================================
   COLORS
========================================================= */

:root {
    --green-dark: #123F34;
    --green: #185546;
    --green-light: #286C5A;

    --gold: #C7A66A;
    --gold-light: #E4CF9E;

    --cream: #E1D9D1;

    --white: #FAF9F5;
    --card-white: #FDFCF9;

    --text: #183D34;
    --text-light: #6D7974;

    --border: rgba(24, 61, 52, 0.12);

    --shadow: 0 15px 45px rgba(20, 55, 45, 0.10);

    --radius: 18px;

    --transition: 0.3s ease;
}


/* =========================================================
   TOP BAR
========================================================= */

.top-bar {
    min-height: 38px;
    padding: 0 5%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    background: var(--green-dark);
    color: rgba(255, 255, 255, 0.88);

    font-size: 11px;
}

.top-bar-right,
.top-bar-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.top-bar a {
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--gold-light);
}

.top-bar i {
    margin-left: 5px;
    color: var(--gold-light);
    font-size: 10px;
}

.top-bar-center {
    color: var(--gold-light);
    font-weight: 500;
}


/* =========================================================
   MAIN HEADER
========================================================= */

.main-header {
    min-height: 90px;
    padding: 0 5%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    background: rgba(250, 249, 245, 0.97);

    border-bottom: 1px solid var(--border);

    position: relative;
    z-index: 100;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    display: flex;
    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}

.logo-symbol {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border: 1px solid var(--gold);
    border-radius: 50%;

    color: var(--gold);

    font-size: 20px;
}

.logo-text {
    display: flex;
    flex-direction: column;

    line-height: 1;
}

.logo-text strong {
    color: var(--green-dark);

    font-family: Georgia, serif;
    font-size: 20px;

    letter-spacing: 2px;

    direction: ltr;
}

.logo-text small {
    margin-top: 5px;

    color: var(--gold);

    font-family: Georgia, serif;
    font-size: 7px;

    letter-spacing: 2px;

    direction: ltr;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 25px;

    flex: 1;
}

.main-nav a {
    position: relative;

    color: #35574F;

    font-size: 12px;
    font-weight: 500;

    white-space: nowrap;

    transition: var(--transition);
}

.main-nav a::after {
    content: "";

    position: absolute;

    right: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: var(--gold);

    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--green-dark);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}


/* =========================================================
   HEADER ACTIONS
========================================================= */

.header-actions {
    display: flex;
    align-items: center;

    gap: 8px;
}

.header-actions button {
    position: relative;

    width: 38px;
    height: 38px;

    border: 0;
    border-radius: 50%;

    background: transparent;

    color: var(--green-dark);

    transition: var(--transition);
}

.header-actions button:hover {
    color: var(--gold);
    background: rgba(18, 63, 52, 0.05);
}

.cart-button span {
    position: absolute;

    top: 0;
    right: 0;

    width: 15px;
    height: 15px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--gold);
    color: white;

    font-size: 8px;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    width: 100%;
    min-height: 610px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    isolation: isolate;

    background: #102f28;
}


/* =========================================================
   HERO SLIDES
========================================================= */

.hero-slides {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 0;

    overflow: hidden;
}

.hero-auto-slide {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;

    overflow: hidden;

    animation-duration: 15s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;

    will-change: opacity;
}

.hero-auto-slide img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    max-width: none;
}


/* =========================================================
   HERO SLIDE BACKGROUND FALLBACK
========================================================= */

.hero-auto-slide::before {
    content: "";

    position: absolute;

    inset: -25px;

    z-index: -1;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    transform: scale(1.08);

    filter: blur(22px);

    opacity: 0;
}

.slide-one::before {
    background-image: url("headers/header1.webp");
}

.slide-two::before {
    background-image: url("headers/header2.webp");
}

.slide-three::before {
    background-image: url("headers/header3.webp");
}


/* =========================================================
   HERO ANIMATION
========================================================= */

.slide-one {
    animation-name: heroSlideOne;
}

.slide-two {
    animation-name: heroSlideTwo;
}

.slide-three {
    animation-name: heroSlideThree;
}

@keyframes heroSlideOne {

    0%,
    28% {
        opacity: 1;
    }

    35%,
    93% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes heroSlideTwo {

    0%,
    28% {
        opacity: 0;
    }

    35%,
    61% {
        opacity: 1;
    }

    68%,
    100% {
        opacity: 0;
    }
}

@keyframes heroSlideThree {

    0%,
    61% {
        opacity: 0;
    }

    68%,
    93% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}


/* =========================================================
   HERO OVERLAY
========================================================= */

.hero-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(8, 32, 27, 0.12),
            rgba(8, 32, 27, 0.28)
        );
}


/* =========================================================
   HERO GLOW
========================================================= */

.hero-glow {
    position: absolute;

    width: 500px;
    height: 500px;

    left: -180px;
    top: -180px;

    z-index: 2;

    border-radius: 50%;

    background: rgba(228, 207, 158, 0.10);

    filter: blur(80px);

    pointer-events: none;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    position: relative;

    z-index: 3;

    width: min(570px, 90%);

    padding: 48px 50px;

    text-align: center;

    color: white;

    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 30px;

    background: rgba(255, 255, 255, 0.045);

    backdrop-filter: blur(10px) saturate(130%);
    -webkit-backdrop-filter: blur(10px) saturate(130%);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.hero h1 {
    margin-bottom: 12px;

    color: white;

    font-size: clamp(36px, 4.5vw, 58px);
    line-height: 1.4;

    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

.hero-english {
    margin-bottom: 8px;

    direction: ltr;

    font-family: Georgia, serif;
    font-size: 14px;

    color: rgba(255, 255, 255, 0.88);
}

.hero-description {
    max-width: 430px;

    margin: 0 auto 28px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 13px;
    line-height: 2;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 12px;

    flex-wrap: wrap;
}


/* =========================================================
   HERO DOTS
========================================================= */

.hero-dots {
    position: absolute;

    z-index: 5;

    bottom: 24px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    align-items: center;

    gap: 9px;
}

.hero-dots span {
    width: 7px;
    height: 7px;

    border: 1px solid white;
    border-radius: 50%;

    background: transparent;
}


/* =========================================================
   BUTTONS
========================================================= */

.button {
    min-height: 46px;

    padding: 0 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    border-radius: 10px;

    font-size: 12px;
    font-weight: 600;

    transition: var(--transition);
}

.button-primary {
    color: white;

    background: var(--green-dark);

    border: 1px solid var(--green-dark);
}

.button-primary:hover {
    background: #0C5A48;

    transform: translateY(-2px);
}

.button-glass {
    color: white;

    background: var(--green-dark);

    border: 1px solid rgba(255, 255, 255, 0.45);
}

.button-glass:hover {
    background: rgba(18, 63, 52, 0.82);
}

.button-outline {
    color: var(--green-dark);

    background: transparent;

    border: 1px solid rgba(18, 63, 52, 0.25);
}

.button-outline:hover {
    color: white;

    background: var(--green-dark);
}

.button-light {
    color: var(--green-dark);

    background: var(--white);

    border: 1px solid var(--white);
}

.button-light:hover {
    background: var(--gold-light);
}


/* =========================================================
   BENEFITS
========================================================= */

.benefits {
    padding: 28px 5%;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

    background: var(--white);

    border-bottom: 1px solid var(--border);
}

.benefit-item {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    padding: 10px;
}

.benefit-icon {
    width: 45px;
    height: 45px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #D7CEC5;

    color: var(--gold);
}

.benefit-item h3 {
    color: var(--green-dark);

    font-size: 12px;
}

.benefit-item p {
    color: var(--text-light);

    font-size: 10px;
}


/* =========================================================
   GENERAL
========================================================= */

.section {
    padding: 90px 5%;
}

.section-heading {
    margin-bottom: 45px;

    text-align: center;
}

.section-heading > span {
    color: var(--gold);

    font-size: 12px;
    font-weight: 600;
}

.section-heading h2 {
    margin: 5px 0;

    color: var(--green-dark);

    font-size: clamp(25px, 3vw, 35px);
}

.section-heading p {
    color: var(--text-light);

    font-size: 12px;
}


/* =========================================================
   CATEGORIES
========================================================= */

.categories-section {
    background: var(--cream);
}

.categories-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.category-card {
    position: relative;

    min-height: 270px;

    overflow: hidden;

    border-radius: var(--radius);

    background: var(--card-white);

    box-shadow: var(--shadow);
}

.category-image {
    position: absolute;

    inset: 0;
}

.category-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.06);
}

.category-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(9, 37, 31, 0.80),
            rgba(9, 37, 31, 0.04) 65%
        );
}

.category-content {
    position: absolute;

    z-index: 2;

    right: 25px;
    bottom: 22px;

    color: white;
}

.category-content h3 {
    font-size: 18px;
}

.category-content span {
    color: var(--gold-light);

    font-size: 10px;
}


/* =========================================================
   PRODUCTS
========================================================= */

.products-section {
    background: var(--white);
}

.products-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.product-card {
    overflow: hidden;

    background: var(--card-white);

    border: 1px solid var(--border);
    border-radius: var(--radius);

    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow);
}

.product-card-main,
.product-card-link {
    display: block;
}

.product-image {
    position: relative;

    height: 310px;

    overflow: hidden;

    background: #D9D0C7;
}

.product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

.product-badge {
    position: absolute;

    top: 15px;
    right: 15px;

    padding: 4px 10px;

    border-radius: 20px;

    color: white;

    background: var(--green-dark);

    font-size: 9px;
}

.product-info {
    padding: 20px;
}

.product-category {
    display: block;

    color: var(--gold);

    font-size: 10px;
}

.product-info h3 {
    margin-bottom: 14px;

    color: var(--green-dark);

    font-size: 14px;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
}

.product-bottom strong {
    color: var(--green-dark);

    font-size: 12px;
}

.product-rating {
    color: var(--text-light);

    font-size: 10px;
}

.product-rating i {
    color: var(--gold);
}

.center-button {
    margin-top: 45px;

    text-align: center;
}


/* =========================================================
   CUSTOM DESIGN
========================================================= */

.custom-design {
    position: relative;

    min-height: 500px;

    padding: 70px 8%;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: white;

    background: var(--green-dark);
}

.custom-image {
    position: absolute;

    inset: 0;

    z-index: 0;
}

.custom-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.custom-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(8, 35, 29, 0.90),
            rgba(8, 35, 29, 0.35)
        );
}

.custom-content {
    position: relative;

    z-index: 2;

    width: min(500px, 100%);
}

.custom-content > span {
    color: var(--gold-light);
}

.custom-content h2 {
    margin: 10px 0;

    font-size: clamp(30px, 4vw, 48px);
}

.custom-content p {
    margin-bottom: 25px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 13px;
}


/* =========================================================
   APPOINTMENT
========================================================= */

.appointment-section {
    padding: 90px 8%;

    display: grid;

    grid-template-columns: 1.3fr 1fr;

    gap: 50px;

    align-items: center;

    background: var(--cream);
}

.appointment-card {
    padding: 50px;

    border-radius: 24px;

    background: var(--card-white);

    box-shadow: var(--shadow);
}

.appointment-icon {
    width: 55px;
    height: 55px;

    margin-bottom: 20px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #D7CEC5;

    color: var(--gold);
}

.appointment-card > span {
    color: var(--gold);
}

.appointment-card h2 {
    margin: 10px 0 15px;

    color: var(--green-dark);
}

.appointment-card p {
    margin-bottom: 25px;

    color: var(--text-light);
}

.appointment-info {
    display: flex;
    flex-direction: column;

    gap: 20px;
}

.info-item {
    padding: 20px;

    display: flex;
    align-items: center;

    gap: 18px;

    border-bottom: 1px solid var(--border);
}

.info-item > i {
    width: 45px;
    height: 45px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--white);

    color: var(--gold);
}

.info-item div {
    display: flex;
    flex-direction: column;
}

.info-item span {
    color: var(--text-light);

    font-size: 10px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    color: rgba(255, 255, 255, 0.75);

    background: #0C2F27;
}

.footer-container {
    padding: 70px 6%;

    display: grid;

    grid-template-columns: 1.5fr repeat(3, 1fr);

    gap: 50px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo .logo-text strong {
    color: white;
}

.footer-brand p {
    margin: 20px 0;

    color: rgba(255, 255, 255, 0.60);

    font-size: 11px;
}

.footer-column {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.footer-column h3 {
    color: white;

    font-size: 13px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.60);

    font-size: 11px;

    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    padding: 18px 6%;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    color: rgba(255, 255, 255, 0.40);

    font-size: 9px;
}


/* =========================================================
   CATEGORY PAGE
========================================================= */

.catalog-shell {
    min-height: 75vh;

    background: var(--cream);
}

.catalog-page {
    padding: 75px 5% 95px;
}

.catalog-title {
    margin-bottom: 45px;

    text-align: center;
}

.catalog-title span {
    color: var(--gold);

    font-size: 12px;
}

.catalog-title h1 {
    color: var(--green-dark);

    font-size: clamp(28px, 4vw, 42px);
}

.catalog-products {
    width: min(1300px, 100%);

    margin: auto;

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 20px;
}

.catalog-product {
    overflow: hidden;

    background: var(--card-white);

    border: 1px solid var(--border);
    border-radius: var(--radius);

    transition: var(--transition);
}

.catalog-product:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow);
}

.catalog-product-image {
    height: 280px;

    overflow: hidden;
}

.catalog-product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.45s ease;
}

.catalog-product:hover .catalog-product-image img {
    transform: scale(1.05);
}

.catalog-product-info {
    padding: 17px;
}

.catalog-product-info span {
    color: var(--gold);

    font-size: 10px;
}

.catalog-product-info h3 {
    color: var(--green-dark);

    font-size: 13px;
}

.catalog-product-info b {
    color: var(--green-dark);

    font-size: 10px;
}

.pagination {
    margin-top: 45px;

    display: flex;
    justify-content: center;

    gap: 8px;
}

.pagination a {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border: 1px solid var(--border);
    border-radius: 50%;

    background: var(--card-white);

    color: var(--green-dark);
}

.pagination a:hover,
.pagination a.active {
    color: white;

    background: var(--green-dark);
}


/* =========================================================
   PRODUCT PAGE
========================================================= */

.product-detail-shell {
    min-height: 80vh;

    padding: 40px 5% 90px;

    background: var(--cream);
}

.product-breadcrumb {
    width: min(1250px, 100%);

    margin: 0 auto 28px;

    display: flex;
    align-items: center;

    gap: 10px;

    color: var(--text-light);

    font-size: 10px;
}

.product-breadcrumb i {
    color: var(--gold);

    font-size: 8px;
}

.product-detail-grid {
    width: min(1250px, 100%);

    margin: auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(330px, 0.9fr);

    gap: 55px;

    align-items: start;
}


/* =========================================================
   PRODUCT GALLERY
========================================================= */

.professional-gallery {
    width: 100%;
    min-width: 0;
}

.product-gallery-main {
    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    border-radius: 24px;

    background: #D9D0C7;

    box-shadow: var(--shadow);

    cursor: zoom-in;

    touch-action: none;
}


/* =========================================================
   MAIN ZOOM IMAGE
========================================================= */

.zoom-product-image {
    width: 100%;
    height: 100%;

    max-width: none;

    object-fit: cover;
    object-position: center;

    transform: scale(1);
    transform-origin: 50% 50%;

    transition: transform 0.16s ease-out;

    will-change: transform, transform-origin;

    pointer-events: none;

    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.zoom-product-image.zoom-active {
    transform: scale(2.4);
}

.zoom-product-image.mobile-zoom-active {
    transform: scale(2.5);
}


/* =========================================================
   GALLERY ACTIONS
========================================================= */

.gallery-top-actions {
    position: absolute;

    top: 18px;
    left: 18px;

    z-index: 20;

    display: flex;

    gap: 8px;
}

.gallery-round-button {
    min-width: 44px;
    height: 44px;

    padding: 0 12px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 5px;

    border: 1px solid rgba(18, 63, 52, 0.10);
    border-radius: 50px;

    color: var(--green-dark);

    background: rgba(250, 249, 245, 0.92);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transition: var(--transition);
}

.gallery-round-button:hover {
    color: white;

    background: var(--green-dark);
}

.gallery-round-button span {
    font-size: 9px;
}


/* =========================================================
   ZOOM HELP
========================================================= */

.zoom-help {
    position: absolute;

    z-index: 15;

    bottom: 16px;
    right: 50%;

    transform: translateX(50%);

    padding: 7px 12px;

    border-radius: 30px;

    color: var(--green-dark);

    background: rgba(250, 249, 245, 0.90);

    font-size: 9px;

    pointer-events: none;
}


/* =========================================================
   THUMBNAILS
========================================================= */

.product-gallery-thumbnails {
    width: 100%;

    margin-top: 13px;

    display: flex;

    gap: 10px;

    overflow-x: auto;

    scrollbar-width: none;

    -webkit-overflow-scrolling: touch;
}

.product-gallery-thumbnails::-webkit-scrollbar {
    display: none;
}

.product-thumbnail {
    width: 82px;
    height: 82px;

    flex: 0 0 82px;

    padding: 0;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: var(--card-white);
}

.product-thumbnail.active {
    border: 2px solid var(--gold);
}

.product-thumbnail img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   GALLERY CAPABILITIES
========================================================= */

.gallery-capabilities {
    margin-top: 14px;

    display: flex;

    gap: 8px;

    flex-wrap: wrap;
}

.gallery-capabilities span {
    padding: 7px 10px;

    border: 1px solid var(--border);
    border-radius: 30px;

    background: rgba(250, 249, 245, 0.5);

    color: var(--text-light);

    font-size: 9px;
}

.gallery-capabilities i {
    color: var(--gold);
}


/* =========================================================
   PRODUCT INFO
========================================================= */

.product-detail-info {
    position: sticky;

    top: 20px;

    padding: 36px;

    border: 1px solid var(--border);
    border-radius: 24px;

    background: var(--card-white);

    box-shadow: var(--shadow);
}

.product-detail-category {
    color: var(--gold);

    font-size: 11px;
}

.product-detail-info h1 {
    margin: 7px 0;

    color: var(--green-dark);

    font-size: clamp(24px, 3vw, 34px);
}

.product-detail-rating {
    display: flex;
    align-items: center;

    gap: 5px;

    color: var(--text-light);
}

.product-detail-rating i {
    color: var(--gold);
}

.product-detail-description {
    margin-top: 18px;

    color: var(--text-light);

    font-size: 12px;
    line-height: 2;
}

.product-detail-divider {
    height: 1px;

    margin: 24px 0;

    background: var(--border);
}

.product-detail-price {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.product-detail-price strong {
    color: var(--green-dark);
}


/* =========================================================
   QUANTITY
========================================================= */

.product-quantity-section {
    margin-bottom: 18px;
}

.quantity-label {
    display: block;

    margin-bottom: 10px;

    color: var(--green-dark);
}

.quantity-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
}

.quantity-control {
    display: flex;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 10px;
}

.quantity-control button {
    width: 42px;
    height: 42px;

    border: 0;

    background: var(--white);

    color: var(--green-dark);

    font-size: 17px;
}

.quantity-control button:hover {
    color: white;

    background: var(--green-dark);
}

.quantity-control input {
    width: 52px;

    border: 0;

    outline: 0;

    text-align: center;

    background: var(--white);

    color: var(--green-dark);
}

.quantity-limit {
    color: var(--text-light);

    font-size: 9px;
}

.product-add-cart {
    width: 100%;

    border: 0;
}


/* =========================================================
   STOCK
========================================================= */

.product-stock-message {
    margin-top: 13px;

    padding: 12px;

    border: 1px solid rgba(199, 166, 106, 0.35);
    border-radius: 10px;

    background: rgba(199, 166, 106, 0.12);

    color: var(--green-dark);

    font-size: 10px;
}

.product-stock-message:not([hidden]) {
    display: flex;
    align-items: center;

    gap: 7px;
}


/* =========================================================
   PRODUCT BENEFITS
========================================================= */

.product-detail-benefits {
    margin-top: 25px;
    padding-top: 22px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

    border-top: 1px solid var(--border);
}

.product-detail-benefits div {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 5px;

    color: var(--text-light);

    font-size: 9px;
}

.product-detail-benefits i {
    color: var(--gold);

    font-size: 16px;
}


/* =========================================================
   FULLSCREEN GALLERY
========================================================= */

.fullscreen-product-gallery {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;
}

.fullscreen-product-gallery.active {
    display: flex;
}

.fullscreen-gallery-backdrop {
    position: absolute;

    inset: 0;

    background: rgba(4, 18, 15, 0.96);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.fullscreen-gallery-content {
    position: relative;

    z-index: 2;

    width: min(1200px, 96vw);
    height: min(900px, 92vh);

    overflow: hidden;

    border-radius: 20px;

    background: #D9D0C7;
}

.fullscreen-gallery-content > img,
.fullscreen-image {
    width: 100%;
    height: 100%;

    max-width: none;

    object-fit: cover;
    object-position: center;
}

.fullscreen-gallery-close {
    position: absolute;

    z-index: 30;

    top: 15px;
    left: 15px;

    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 50%;

    color: white;

    background: rgba(0, 0, 0, 0.55);
}


/* =========================================================
   360 VIEW
========================================================= */

.product-360-view {
    position: fixed;

    inset: 0;

    z-index: 10000;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(4, 18, 15, 0.96);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.product-360-view.active {
    display: flex;
}

.product-360-container {
    position: relative;

    width: min(900px, 96vw);

    overflow: hidden;

    border-radius: 24px;

    background: #D9D0C7;
}

.product-360-close {
    position: absolute;

    z-index: 30;

    top: 15px;
    left: 15px;

    width: 42px;
    height: 42px;

    border: 0;
    border-radius: 50%;

    color: white;

    background: var(--green-dark);
}

.product-360-stage {
    width: 100%;
    height: 70vh;

    max-height: 720px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    cursor: grab;

    touch-action: none;

    background: #D9D0C7;
}

.product-360-stage:active {
    cursor: grabbing;
}

.product-360-stage img {
    width: 100%;
    height: 100%;

    max-width: none;

    object-fit: cover;
    object-position: center;

    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;

    touch-action: none;

    transition: transform 0.05s linear;
}

.product-360-hint {
    padding: 13px;

    text-align: center;

    color: var(--text-light);

    background: var(--card-white);

    font-size: 10px;
}


/* =========================================================
   RESPONSIVE 1200
========================================================= */

@media (max-width: 1200px) {

    .catalog-products {
        grid-template-columns: repeat(4, 1fr);
    }
}


/* =========================================================
   RESPONSIVE 1000
========================================================= */

@media (max-width: 1000px) {

    .main-nav {
        display: none;
    }

    .benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .catalog-products {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-detail-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .product-detail-info {
        position: static;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .top-bar {
        min-height: 34px;

        justify-content: center;
    }

    .top-bar-right,
    .top-bar-left {
        display: none;
    }

    .main-header {
        min-height: 74px;

        padding: 0 4%;
    }

    .header-actions {
        gap: 2px;
    }

    .header-actions button {
        width: 34px;
        height: 34px;
    }

    .hero {
        min-height: 600px;
    }

    .hero-content {
        width: min(520px, 92%);

        padding: 38px 25px;

        border-radius: 24px;
    }

    .appointment-section {
        grid-template-columns: 1fr;

        padding: 60px 5%;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    /* ---------------- HEADER ---------------- */

    .main-header {
        min-height: 68px;

        padding: 0 14px;
    }

    .logo-symbol {
        width: 36px;
        height: 36px;
    }

    .logo-text strong {
        font-size: 16px;
    }

    .logo-text small {
        font-size: 6px;
    }

    .header-actions button:nth-child(2) {
        display: none;
    }


    /* =====================================================
       MOBILE HERO
       FULL IMAGE + BLURRED BACKGROUND
    ===================================================== */

    .hero {
        width: 100%;

        min-height: 590px;

        padding: 0;

        background: #102f28;
    }

    .hero-slides,
    .hero-auto-slide {
        width: 100%;
        height: 100%;
    }

    /*
       Background layer fills empty area.
    */

    .hero-auto-slide::before {
        opacity: 1;
    }

    /*
       Main image is shown completely.
       No important part is cropped.
    */

    .hero-auto-slide img {
        position: relative;

        z-index: 1;

        width: 100%;
        height: 100%;

        object-fit: contain;
        object-position: center;

        max-width: none;
    }

    /*
       Slightly darker mobile overlay for readability.
    */

    .hero-overlay {
        background:
            linear-gradient(
                to bottom,
                rgba(8, 32, 27, 0.08),
                rgba(8, 32, 27, 0.27)
            );
    }

    .hero-content {
        width: calc(100% - 30px);

        max-width: 430px;

        padding: 28px 18px;

        border-radius: 20px;

        background: rgba(18, 63, 52, 0.20);
    }

    .hero h1 {
        font-size: clamp(28px, 8vw, 34px);

        line-height: 1.5;
    }

    .hero-english {
        font-size: 11px;
    }

    .hero-description {
        font-size: 10px;

        line-height: 2;
    }

    .hero-buttons {
        width: 100%;

        flex-direction: column;
    }

    .hero-buttons .button {
        width: 100%;
    }


    /* ---------------- GENERAL ---------------- */

    .section {
        padding: 65px 5%;
    }

    .benefits {
        grid-template-columns: 1fr;

        gap: 5px;
    }

    .benefit-item {
        justify-content: flex-start;

        padding: 8px 5%;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: 250px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 330px;
    }

    .footer-container {
        grid-template-columns: 1fr;

        padding: 55px 7%;
    }


    /* =====================================================
       MOBILE CATEGORY
    ===================================================== */

    .catalog-page {
        padding: 55px 12px 70px;
    }

    .catalog-products {
        grid-template-columns: repeat(2, 1fr);

        gap: 10px;
    }

    .catalog-product-image {
        height: 210px;
    }

    .catalog-product-info {
        padding: 12px;
    }


    /* =====================================================
       MOBILE PRODUCT PAGE
    ===================================================== */

    .product-detail-shell {
        padding: 20px 12px 60px;
    }

    .product-detail-grid {
        gap: 20px;
    }


    /* =====================================================
       MOBILE GALLERY
    ===================================================== */

    .product-gallery-main {
        width: 100%;

        aspect-ratio: 1 / 1.05;

        min-height: 0;

        border-radius: 16px;

        background: #D9D0C7;

        touch-action: none;
    }

    .zoom-product-image {
        width: 100%;
        height: 100%;

        max-width: none;

        object-fit: cover;
        object-position: center;

        transform: scale(1);

        touch-action: none;
    }

    .zoom-product-image.mobile-zoom-active {
        transform: scale(2.5);
    }

    .gallery-top-actions {
        top: 10px;
        left: 10px;

        gap: 6px;
    }

    .gallery-round-button {
        min-width: 40px;
        height: 40px;

        padding: 0 10px;
    }

    .zoom-help {
        display: none;
    }

    .product-thumbnail {
        width: 65px;
        height: 65px;

        flex: 0 0 65px;
    }

    .product-detail-info {
        width: 100%;

        padding: 23px 17px;

        border-radius: 18px;
    }

    .quantity-row {
        align-items: flex-start;

        flex-direction: column;
    }


    /* =====================================================
       MOBILE FULLSCREEN
    ===================================================== */

    .fullscreen-product-gallery {
        padding: 0;
    }

    .fullscreen-gallery-content {
        width: 100vw;
        height: 100dvh;

        max-width: none;

        border-radius: 0;

        background: #D9D0C7;
    }

    .fullscreen-gallery-content > img,
    .fullscreen-image {
        width: 100%;
        height: 100%;

        max-width: none;

        object-fit: cover;
        object-position: center;
    }

    .fullscreen-gallery-close {
        top: max(12px, env(safe-area-inset-top));
        left: 12px;
    }


    /* =====================================================
       MOBILE 360
    ===================================================== */

    .product-360-view {
        padding: 0;
    }

    .product-360-container {
        width: 100vw;
        height: 100dvh;

        max-width: none;

        display: flex;
        flex-direction: column;

        border-radius: 0;

        background: #D9D0C7;
    }

    .product-360-stage {
        width: 100%;

        height: auto;
        max-height: none;

        flex: 1;

        min-height: 0;

        background: #D9D0C7;

        touch-action: none;
    }

    .product-360-stage img {
        width: 100%;
        height: 100%;

        max-width: none;

        object-fit: cover;
        object-position: center;

        touch-action: none;
    }

    .product-360-close {
        top: max(12px, env(safe-area-inset-top));
        left: 12px;
    }

    .product-360-hint {
        flex: 0 0 auto;

        padding: 12px 10px;

        font-size: 9px;
    }


    /* ---------------- FOOTER ---------------- */

    .footer-bottom {
        text-align: center;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .hero {
        min-height: 540px;
    }

    .hero-content {
        width: calc(100% - 20px);

        padding: 24px 15px;
    }

    .hero h1 {
        font-size: 27px;
    }

    .catalog-product-image {
        height: 185px;
    }

    .product-gallery-main {
        aspect-ratio: 1 / 1.08;
    }

    .gallery-round-button {
        min-width: 38px;
        height: 38px;

        padding: 0 8px;
    }

    .product-image {
        height: 300px;
    }
}


/* =========================================================
   DESKTOP ZOOM ONLY
========================================================= */

@media (hover: hover) and (pointer: fine) {

    .product-gallery-main:hover .zoom-product-image.zoom-active {
        transform: scale(2.4);
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .hero-auto-slide {
        animation: none;
    }

    .slide-one {
        opacity: 1;
    }

    .slide-two,
    .slide-three {
        opacity: 0;
    }
}