/* ================================================
   شفاء — style.css  (responsive edition)
   ================================================ */
:root {
    --honey: #C8760A;
    --amber: #A85A10;
    --gold: #E8A000;
    --light-gold: #FFD060;
    --cream: #FDF6E3;
    --warm-white: #FFFBF0;
    --beige: #EDD9A3;
    --dark-brown: #3D1C02;
    --mid-brown: #6B3A1F;
    --text: #2C1504;
    --text-light: #7A5C3E;
    --shadow: rgba(61, 28, 2, 0.13);
    --card-bg: #FFFDF5;
    --border: #E8C97A;
    --section-alt: rgba(240, 165, 0, 0.04)
}

[data-theme="dark"] {
    --cream: #1A0F02;
    --warm-white: #1F1208;
    --card-bg: #2A1A08;
    --text: #F5E6C8;
    --text-light: #C4A882;
    --border: #4A3015;
    --shadow: rgba(0, 0, 0, 0.4);
    --section-alt: rgba(255, 200, 0, 0.04)
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(200, 118, 10, 0.3);
    border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(200, 118, 10, 0.6);
}

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--cream);
    color: var(--text);
    direction: rtl;
    overflow-x: hidden;
    transition: background .3s, color .3s
}

h1, h2, h3, .hero-sub, .mixture-title, .det-name {
    font-family: 'Tajawal', sans-serif !important;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'%3E%3Cg fill='none' stroke='%23C8760A' stroke-opacity='0.06'%3E%3Cpolygon points='28,1 53,15 53,49 28,63 3,49 3,15'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 56px 64px;
    pointer-events: none;
    z-index: 0
}

/* LOADER */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #FFF9E6, #FFE8A0);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity .5s
}

[data-theme="dark"] .page-loader {
    background: #1A0F02
}

.loader-bee {
    font-size: 4rem;
    animation: buzz .25s ease-in-out infinite alternate
}

.loader-text .logo {
    height: 100px;
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
    image-rendering: auto;
    filter: drop-shadow(0 4px 10px rgba(61, 28, 2, .16));
    transition: .3s
}

.loader-sub {
    font-size: .9rem;
    color: var(--text-light);
    margin-top: .3rem
}

@keyframes buzz {
    from {
        transform: rotate(-5deg) scale(1)
    }

    to {
        transform: rotate(5deg) scale(1.05)
    }
}

/* NAVBAR */
nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background: rgba(253, 246, 227, .95);
    backdrop-filter: blur(18px);
    border-bottom: 2px solid var(--border);
    height: 68px;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: stretch;
    gap: 0;
    padding: 0;
    transition: background .3s
}

[data-theme="dark"] nav {
    background: rgba(26, 15, 2, .95)
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-family: 'Amiri', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--honey);
    text-decoration: none;
    letter-spacing: 1px;
    padding: 0 1.5rem;
    border-left: 1px solid var(--border)
}

.nav-logo .bee {
    animation: float 3s ease-in-out infinite;
    display: inline-block
}

.nav-logo .logo {
    height: 52px;
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
    transform-origin: center;
    transition: .3s
}

[data-theme="dark"] .nav-logo .logo {
    content: url("img/logo/d-logo.webp")
}

.nav-links {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: .92rem;
    font-weight: 600;
    padding: 0 1.1rem;
    display: flex;
    align-items: center;
    border-bottom: 3px solid transparent;
    transition: all .2s;
    white-space: nowrap
}

.nav-links a:hover {
    background: rgba(200, 118, 10, .07);
    border-bottom-color: var(--honey);
    color: var(--honey)
}

.nav-links a:nth-child(2) {
    color: #E53E3E;
    font-weight: 700
}

.nav-links a:nth-child(2):hover {
    background: rgba(229, 62, 62, .07);
    border-bottom-color: #E53E3E
}

.nav-search {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    border-right: 1px solid var(--border);
    border-left: 1px solid var(--border);
    position: relative;
    min-width: 200px;
    max-width: 300px
}

.nav-search .search-icon {
    position: absolute;
    right: 1.8rem;
    font-size: .9rem;
    pointer-events: none;
    opacity: .5
}

.nav-search input {
    width: 100%;
    padding: .45rem 2rem .45rem .8rem;
    background: rgba(200, 118, 10, .06);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    font-family: 'Tajawal', sans-serif;
    font-size: .88rem;
    color: var(--text);
    outline: none;
    transition: border-color .2s, box-shadow .2s
}

.nav-search input:focus {
    border-color: var(--honey);
    box-shadow: 0 0 0 3px rgba(200, 118, 10, .12);
    background: #fff
}

[data-theme="dark"] .nav-search input {
    background: rgba(200, 118, 10, .1)
}

.search-clear {
    position: absolute;
    left: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    font-size: .8rem;
    display: flex;
    align-items: center;
    justify-content: center
}

.search-clear:hover {
    color: var(--text)
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: 0 1rem
}

.cart-btn {
    background: var(--honey);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: .45rem 1rem;
    cursor: pointer;
    font-family: 'Tajawal', sans-serif;
    font-size: .85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: .4rem;
    transition: all .2s;
    box-shadow: 0 4px 12px var(--shadow);
    white-space: nowrap
}

.cart-btn:hover {
    background: var(--amber);
    transform: translateY(-2px)
}

.cart-count {
    background: #fff;
    color: var(--honey);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 900
}

.theme-btn {
    background: none;
    border: 2px solid var(--border);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 1rem;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.theme-btn:hover {
    background: var(--beige)
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .3rem
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px
}

.mobile-menu {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    z-index: 999;
    background: var(--warm-white);
    border-bottom: 2px solid var(--border);
    padding: 1rem 1.5rem;
    display: none;
    flex-direction: column;
    gap: .7rem;
    box-shadow: 0 10px 20px var(--shadow)
}

.mobile-menu.open {
    display: flex
}

.mobile-menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: .5rem 0;
    border-bottom: 1px solid var(--border)
}

.mobile-search {
    padding-bottom: .7rem;
    border-bottom: 1px solid var(--border)
}

.mobile-search input {
    width: 100%;
    padding: .6rem 1rem;
    background: var(--card-bg);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-family: 'Tajawal', sans-serif;
    font-size: .95rem;
    color: var(--text);
    outline: none
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    padding: 0 2rem 6rem;
    background: url("img/1-bg.webp") center 25% / cover no-repeat
}

[data-theme="dark"] .hero {
    background: linear-gradient(to left, rgba(255, 200, 80, .15) 0%, rgba(255, 220, 120, .08) 40%, rgba(0, 0, 0, .55) 100%), url("img/1-bg.webp") center 25% / cover no-repeat
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .1) 60%, transparent 100%);
    pointer-events: none
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    animation: slideUp .7s ease-out .1s both
}

.hero-badge {
    display: inline-block;
    background: var(--honey);
    color: #fff;
    border-radius: 30px;
    padding: .35rem 1.2rem;
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: .3px
}

.hero h1 {
    font-family: 'Amiri', serif;
    font-size: clamp(2.2rem, 6vw, 5.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: .4rem;
    text-shadow: 0 3px 12px rgba(0, 0, 0, .4)
}

.hero-sub {
    font-family: 'Amiri', serif;
    font-size: clamp(.95rem, 2.5vw, 1.35rem);
    color: rgba(255, 255, 255, .9);
    margin-bottom: .8rem;
    font-style: italic
}

.hero p {
    font-size: clamp(.88rem, 2vw, 1rem);
    color: rgba(255, 255, 255, .85);
    margin-bottom: 2rem;
    line-height: 1.8;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .5)
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slideUp .7s ease-out .25s both
}

.hero-deco {
    position: absolute;
    font-size: 3rem;
    opacity: .1;
    pointer-events: none;
    z-index: 1
}

.hero-deco.d1 {
    top: 18%;
    left: 5%;
    animation: spin 20s linear infinite
}

.hero-deco.d2 {
    bottom: 22%;
    right: 6%;
    animation: spin 25s linear infinite reverse;
    font-size: 2.5rem
}

/* BUTTONS */
.btn-primary {
    background: var(--honey);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: .8rem 2rem;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    box-shadow: 0 6px 20px rgba(200, 118, 10, .4);
    text-decoration: none;
    display: inline-block
}

.btn-primary:hover {
    background: var(--amber);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(200, 118, 10, .5)
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2.5px solid #fff;
    border-radius: 50px;
    padding: .8rem 2rem;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    display: inline-block
}

.btn-outline:hover {
    background: #fff;
    color: var(--dark-brown)
}

/* SECTIONS */
section {
    position: relative;
    z-index: 1
}

.section-header {
    text-align: center;
    margin-bottom: 2.8rem;
    padding: 0 1rem
}

.section-header h2 {
    font-family: 'Amiri', serif;
    font-size: clamp(1.5rem, 4vw, 2.6rem);
    color: var(--dark-brown);
    margin-bottom: .4rem
}

[data-theme="dark"] .section-header h2 {
    color: var(--light-gold)
}

.section-header p {
    color: var(--text-light);
    font-size: .95rem
}

.divider {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--honey), var(--gold));
    margin: .8rem auto;
    border-radius: 2px
}

/* SEARCH RESULTS spacing */
#searchResultsSection {
    margin-bottom: 2.25rem
}

/* FEATURES */
.features {
    padding: 4rem 1.5rem
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.2rem;
    max-width: 900px;
    margin: 0 auto
}

.feat-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.6rem 1.2rem;
    text-align: center;
    transition: all .3s;
    box-shadow: 0 4px 15px var(--shadow)
}

.feat-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px var(--shadow);
    border-color: var(--gold)
}

.feat-icon {
    font-size: 2.3rem;
    margin-bottom: .8rem;
    display: block
}

.feat-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--honey);
    margin-bottom: .4rem
}

.feat-card p {
    font-size: .85rem;
    color: var(--text-light);
    line-height: 1.7
}

/* CATALOG / TABS */
.catalog {
    padding: 6rem 1.5rem 5rem;
    margin-bottom: 2rem;
    background: var(--section-alt)
}

.catalog .section-header {
    margin-bottom: 2.2rem
}

.tabs {
    display: flex;
    gap: .6rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.75rem;
    margin-top: .35rem
}

.tab-btn {
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 50px;
    padding: .55rem 1.3rem;
    font-family: 'Tajawal', sans-serif;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    color: var(--text)
}

.tab-btn:hover {
    border-color: var(--honey);
    color: var(--honey)
}

.tab-btn.active {
    background: var(--honey);
    border-color: var(--honey);
    color: #fff;
    box-shadow: 0 4px 14px rgba(200, 118, 10, .35)
}

.offers-tab-btn {
    border-color: #E53E3E;
    color: #E53E3E
}

.offers-tab-btn:hover {
    background: rgba(229, 62, 62, .08);
    border-color: #E53E3E;
    color: #E53E3E
}

.offers-tab-btn.active {
    background: #E53E3E;
    border-color: #E53E3E;
    color: #fff;
    box-shadow: 0 4px 14px rgba(229, 62, 62, .35)
}

.tab-content {
    display: none
}

.tab-content.active {
    display: block;
    padding-top: .25rem
}

/* PRODUCTS GRID */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto
}

/* OFFER BADGE */
.product-offer-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #E53E3E, #C53030);
    color: #fff;
    font-size: .72rem;
    font-weight: 900;
    padding: .25rem .65rem;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(229, 62, 62, .4);
    animation: pulse 1.8s ease-in-out infinite;
    z-index: 2
}

.price-offer {
    font-size: 1.25rem;
    font-weight: 900;
    color: #5dde36
}

.price-original {
    font-size: .85rem;
    font-weight: 500;
    color: #ffffff;
    text-decoration: line-through;
    margin-right: .3rem
}

/* PRODUCT CARD */
.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    transition: all .3s;
    box-shadow: 0 5px 18px var(--shadow);
    position: relative
}

.product-card:hover {
    transform: translateY(-9px);
    box-shadow: 0 20px 45px var(--shadow);
    border-color: var(--gold)
}

.product-img-wrap {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: linear-gradient(135deg, #FFF3CC, #FFE08A)
}

[data-theme="dark"] .product-img-wrap {
    background: linear-gradient(135deg, #3D2800, #4A3200)
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
    display: block
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.08)
}

.product-img-wrap .img-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    background: linear-gradient(135deg, #FFF3CC, #FFE08A)
}

[data-theme="dark"] .product-img-wrap .img-fallback {
    background: linear-gradient(135deg, #3D2800, #4A3200)
}

.product-info {
    padding: 1.2rem
}

.cat-label {
    font-size: .72rem;
    font-weight: 700;
    color: var(--honey);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: .3rem
}

.product-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: .4rem
}

.name-link {
    background: none;
    border: 0;
    padding: 0;
    text-align: right;
    cursor: pointer;
}

.name-link:hover {
    color: var(--honey);
}

.product-desc {
    font-size: .82rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 1rem
}

.weight-opts {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem
}

.w-btn {
    border: 1.5px solid var(--border);
    background: transparent;
    border-radius: 18px;
    padding: .3rem .8rem;
    font-size: .78rem;
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    color: var(--text)
}

.w-btn:hover,
.w-btn.active {
    background: var(--honey);
    color: #fff;
    border-color: var(--honey)
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.product-price {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--honey)
}

.product-price small {
    font-size: .78rem;
    font-weight: 500;
    color: var(--text-light)
}

.add-btn {
    background: var(--honey);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(200, 118, 10, .35)
}

.add-btn:hover {
    background: var(--amber);
    transform: scale(1.12) rotate(8deg)
}

/* HERB CARD */
.herb-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    transition: all .3s;
    box-shadow: 0 5px 18px var(--shadow)
}

.herb-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px var(--shadow);
    border-color: var(--gold)
}

.herb-img {
    height: 170px;
    overflow: hidden;
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9)
}

[data-theme="dark"] .herb-img {
    background: linear-gradient(135deg, #1A3020, #1E3A25)
}

.herb-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s;
    display: block
}

.herb-card:hover .herb-img img {
    transform: scale(1.08)
}

.herb-info {
    padding: 1.2rem
}

.herb-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: .4rem
}

.herb-desc {
    font-size: .82rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem
}

.herb-sizes {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    margin-bottom: 1rem
}

.herb-size-btn {
    border: 1.5px solid var(--border);
    background: transparent;
    border-radius: 12px;
    padding: .4rem .9rem;
    font-family: 'Tajawal', sans-serif;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    color: var(--text);
    text-align: center
}

.herb-size-btn:hover,
.herb-size-btn.active {
    background: var(--honey);
    color: #fff;
    border-color: var(--honey)
}

.herb-size-btn span {
    display: block;
    font-size: .72rem;
    font-weight: 400;
    margin-top: .1rem;
    opacity: .85
}

.herb-footer {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.herb-price {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--honey)
}

/* MIXTURE CARD */
.mixture-card {
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 5px 18px var(--shadow);
    transition: all .3s
}

.mixture-card:hover {
    border-color: var(--gold);
    transform: translateY(-6px);
    box-shadow: 0 18px 40px var(--shadow)
}

.mixture-img-wrap {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #FFF3CC, #FFE08A)
}

[data-theme="dark"] .mixture-img-wrap {
    background: linear-gradient(135deg, #3D2800, #4A3200)
}

.mixture-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s;
    display: block
}

.mixture-card:hover .mixture-img-wrap img {
    transform: scale(1.08)
}

.mixture-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.4rem .8rem
}

.mixture-title {
    font-family: 'Amiri', serif;
    font-size: 1.25rem;
    color: var(--dark-brown);
    font-weight: 700
}

[data-theme="dark"] .mixture-title {
    color: var(--light-gold)
}

.mixture-price-tag {
    background: linear-gradient(135deg, var(--honey), var(--amber));
    color: #fff;
    padding: .35rem .7rem;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 900;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    text-align: center;
    min-width: 80px;
}

.price-offer {
    font-weight: 900;
}

.price-original {
    text-decoration: line-through;
    opacity: 0.75;
    font-size: 0.75em;
    font-weight: normal;
}

.ingredients-label {
    font-size: .78rem;
    font-weight: 700;
    color: var(--text-light);
    padding: 0 1.4rem;
    margin-bottom: .5rem;
    text-transform: uppercase;
    letter-spacing: .5px
}

.ingredients-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    padding: 0 1.4rem 1rem;
    margin-bottom: .2rem
}

.ingredients-list li {
    background: rgba(200, 118, 10, .1);
    color: var(--honey);
    border: 1px solid rgba(200, 118, 10, .25);
    border-radius: 20px;
    padding: .2rem .7rem;
    font-size: .78rem;
    font-weight: 600
}

[data-theme="dark"] .ingredients-list li {
    background: rgba(200, 118, 10, .2)
}

.mixture-add-btn {
    width: calc(100% - 2.8rem);
    margin: 0 1.4rem 1.4rem;
    background: linear-gradient(135deg, var(--honey), var(--amber));
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: .75rem;
    font-family: 'Tajawal', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem
}

.mixture-add-btn:hover {
    opacity: .9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(200, 118, 10, .4)
}

.buy-now-btn {
    width: calc(100% - 2.8rem);
    margin: .4rem 1.4rem 1.2rem;
    border: 1.5px solid var(--honey);
    color: var(--honey);
    background: transparent;
    border-radius: 10px;
    padding: .55rem .8rem;
    font-family: 'Tajawal', sans-serif;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

.buy-now-btn:hover {
    background: var(--honey);
    color: #fff;
}

.product-info .buy-now-btn {
    width: 100%;
    margin: .4rem 0 0;
}

/* OFFER CARD */
.offer-card {
    background: var(--card-bg);
    border-radius: 22px;
    overflow: hidden;
    transition: all .3s;
    box-shadow: 0 5px 18px var(--shadow);
    position: relative;
    isolation: isolate
}

.offer-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: 24px;
    background: linear-gradient(135deg, #E53E3E, var(--honey), #E53E3E, var(--gold));
    background-size: 300% 300%;
    animation: borderFlow 3s ease infinite
}

@keyframes borderFlow {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

.offer-card:hover {
    transform: translateY(-9px);
    box-shadow: 0 22px 50px var(--shadow)
}

.offer-card>* {
    position: relative;
    z-index: 1
}

.offer-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #FFF3CC, #FFE08A)
}

[data-theme="dark"] .offer-img-wrap {
    background: linear-gradient(135deg, #3D2800, #4A3200)
}

.offer-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s;
    display: block
}

.offer-card:hover .offer-img-wrap img {
    transform: scale(1.08)
}

.offer-ribbon {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #E53E3E;
    color: #fff;
    font-size: .78rem;
    font-weight: 900;
    padding: .3rem .7rem;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(229, 62, 62, .45);
    animation: pulse 1.8s ease-in-out infinite;
    z-index: 2
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.06)
    }
}

.offer-card .product-info {
    background: var(--card-bg);
    position: relative;
    z-index: 2
}

.offer-card .product-name {
    color: var(--text)
}

.offer-card .product-desc {
    color: var(--text-light)
}

.offer-timer {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .75rem;
    color: #C53030;
    font-weight: 700;
    margin-bottom: .8rem
}

.offer-timer svg {
    flex-shrink: 0
}

.timer-blocks {
    display: flex;
    gap: .25rem;
    align-items: center
}

.timer-block {
    background: #E53E3E;
    color: #fff;
    border-radius: 6px;
    padding: .15rem .4rem;
    font-size: .78rem;
    font-weight: 900;
    min-width: 26px;
    text-align: center
}

.timer-sep {
    color: #C53030;
    font-weight: 900;
    font-size: .85rem
}

.offer-prices {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    margin-bottom: .8rem;
    flex-wrap: wrap
}

.offer-new-price {
    font-size: 1.4rem;
    font-weight: 900;
    color: #C53030
}

.offer-old-price {
    font-size: .95rem;
    font-weight: 500;
    color: var(--text-light);
    text-decoration: line-through
}

.offer-unit {
    font-size: .78rem;
    color: var(--text-light)
}

.offer-saving {
    display: inline-block;
    background: rgba(229, 62, 62, .1);
    color: #C53030;
    border: 1px solid rgba(229, 62, 62, .3);
    border-radius: 20px;
    padding: .15rem .6rem;
    font-size: .75rem;
    font-weight: 700;
    margin-bottom: .8rem
}

.offer-add-btn {
    width: 100%;
    background: linear-gradient(135deg, #E53E3E, #C53030);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: .75rem;
    font-family: 'Tajawal', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    box-shadow: 0 4px 14px rgba(229, 62, 62, .35)
}

.offer-add-btn:hover {
    background: linear-gradient(135deg, #C53030, #9B2C2C);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(229, 62, 62, .5)
}

.offers-empty {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-size: 1rem
}

/* CART */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: all
}

.cart-sidebar {
    position: fixed;
    top: 0;
    left: -430px;
    width: 430px;
    max-width: 100vw;
    height: 100vh;
    background: var(--warm-white);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 30px rgba(0, 0, 0, .2);
    transition: left .35s cubic-bezier(.4, 0, .2, 1);
    border-right: 2px solid var(--border)
}

.cart-sidebar.open {
    left: 0
}

.cart-header {
    padding: 1.4rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--honey), var(--amber));
    color: #fff
}

.cart-header h3 {
    font-size: 1.15rem;
    font-weight: 700
}

.close-cart {
    background: rgba(255, 255, 255, .2);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s
}

.close-cart:hover {
    background: rgba(255, 255, 255, .35)
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light)
}

.cart-empty-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 1rem;
    opacity: .4
}

.cart-item {
    display: flex;
    gap: .8rem;
    padding: .9rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: .8rem;
    align-items: center
}

.cart-item-thumb {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--beige)
}

.cart-item-info {
    flex: 1;
    min-width: 0
}

.cart-item-name {
    font-weight: 700;
    font-size: .88rem;
    margin-bottom: .15rem
}

.cart-item-meta {
    font-size: .75rem;
    color: var(--text-light);
    margin-bottom: .3rem
}

.cart-item-price {
    font-weight: 700;
    color: var(--honey);
    font-size: .92rem
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: .4rem
}

.qty-btn {
    background: var(--beige);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s
}

.qty-btn:hover {
    background: var(--honey);
    color: #fff
}

.qty-num {
    font-weight: 700;
    font-size: .92rem;
    min-width: 20px;
    text-align: center
}

.remove-item {
    background: #FEE;
    border: none;
    color: #E53E3E;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: .85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s
}

.remove-item:hover {
    background: #E53E3E;
    color: #fff
}

.cart-footer {
    padding: 1.2rem 1.5rem;
    border-top: 1px solid var(--border);
    background: var(--card-bg)
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem
}

.cart-total-label {
    font-weight: 700;
    font-size: .95rem
}

.cart-total-price {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--honey)
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--honey), var(--amber));
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 1rem;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem
}

.checkout-btn:hover {
    opacity: .9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(200, 118, 10, .4)
}

/* MODALS */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    padding: 1rem
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all
}

.modal {
    background: var(--warm-white);
    border-radius: 24px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .3);
    transform: scale(.9);
    transition: transform .3s;
    border: 1px solid var(--border)
}

.modal-overlay.open .modal {
    transform: scale(1)
}

.modal-head {
    padding: 1.8rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--honey), var(--amber));
    border-radius: 24px 24px 0 0
}

.modal-head h3 {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700
}

.modal-head p {
    color: rgba(255, 255, 255, .85);
    font-size: .88rem;
    margin-top: .3rem
}

.modal-body {
    padding: 1.5rem
}

.form-group {
    margin-bottom: 1.2rem
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: .88rem;
    margin-bottom: .4rem;
    color: var(--text)
}

.form-input,
.form-textarea {
    width: 100%;
    padding: .8rem 1rem;
    background: var(--card-bg);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-family: 'Tajawal', sans-serif;
    font-size: .95rem;
    color: var(--text);
    outline: none;
    transition: border-color .2s, box-shadow .2s
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--honey);
    box-shadow: 0 0 0 3px rgba(200, 118, 10, .15)
}

.form-textarea {
    resize: vertical;
    min-height: 85px
}

.form-input.input-error {
    border-color: #E53E3E !important
}

.field-error {
    font-size: .78rem;
    color: #E53E3E;
    margin-top: .35rem;
    min-height: 1em;
    font-weight: 600
}

.gov-wrapper {
    position: relative
}

.gov-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    left: 0;
    z-index: 500;
    background: var(--warm-white);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    max-height: 220px;
    overflow-y: auto;
    box-shadow: 0 8px 24px var(--shadow)
}

.gov-dropdown.open {
    display: block
}

.gov-item {
    padding: .65rem 1rem;
    cursor: pointer;
    font-size: .92rem;
    transition: background .15s;
    color: var(--text)
}

.gov-item:hover {
    background: var(--beige);
    color: var(--dark-brown)
}

.gov-no-result {
    color: var(--text-light);
    cursor: default;
    font-size: .85rem
}

.gov-dropdown::-webkit-scrollbar {
    width: 5px
}

.gov-dropdown::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px
}

.order-summary {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem;
    margin-bottom: 1.2rem
}

.order-summary h4 {
    font-size: .88rem;
    font-weight: 700;
    margin-bottom: .7rem;
    color: var(--honey)
}

.sum-item {
    display: flex;
    justify-content: space-between;
    font-size: .82rem;
    margin-bottom: .4rem
}

.sum-total {
    border-top: 1px dashed var(--border);
    margin-top: .6rem;
    padding-top: .6rem;
    font-weight: 700;
    color: var(--honey);
    display: flex;
    justify-content: space-between
}

.wa-btn {
    width: 100%;
    padding: 1rem;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 14px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem
}

.wa-btn i {
    font-size: 1.2rem;
}

.wa-btn:hover {
    background: #1DA851;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, .4)
}

.wa-confirm-modal {
    max-width: 460px;
}

.wa-confirm-note {
    background: rgba(37, 211, 102, .08);
    border: 1px solid rgba(37, 211, 102, .22);
    color: var(--text);
    border-radius: 12px;
    padding: 1rem;
    line-height: 1.9;
    font-size: .92rem;
    margin-bottom: 1rem;
}

#confirmWaBtn:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.cancel-btn {
    width: 100%;
    margin-top: .7rem;
    padding: .75rem;
    background: none;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 600;
    cursor: pointer;
    color: var(--text);
    transition: background .2s
}

.cancel-btn:hover {
    background: var(--beige)
}

.det-modal .modal {
    max-width: 600px
}

.det-img {
    height: 240px;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    background: linear-gradient(135deg, #FFF3CC, #FFE08A)
}

.det-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

[data-theme="dark"] .det-img {
    background: linear-gradient(135deg, #3D2800, #4A3200)
}

.det-body {
    padding: 1.5rem 1.8rem
}

.det-name {
    font-family: 'Amiri', serif;
    font-size: 1.7rem;
    color: var(--dark-brown);
    margin-bottom: .5rem
}

[data-theme="dark"] .det-name {
    color: var(--light-gold)
}

.det-desc {
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: 1.3rem;
    font-size: .92rem
}

.det-weight-label {
    font-weight: 700;
    margin-bottom: .6rem;
    font-size: .9rem
}

.det-weights {
    display: flex;
    gap: .7rem;
    flex-wrap: wrap;
    margin-bottom: 1.4rem
}

.det-w-btn {
    border: 2px solid var(--border);
    background: transparent;
    border-radius: 14px;
    padding: .6rem 1.1rem;
    font-size: .88rem;
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    color: var(--text);
    text-align: center
}

.det-w-btn:hover,
.det-w-btn.active {
    background: var(--honey);
    color: #fff;
    border-color: var(--honey)
}

.det-w-btn .price {
    display: block;
    font-size: .78rem;
    margin-top: .1rem
}

.det-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-top: 1px dashed var(--border);
    margin-bottom: 1rem
}

.det-price {
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--honey)
}

.det-add-btn {
    background: var(--honey);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: .75rem 1.6rem;
    font-family: 'Tajawal', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    gap: .4rem
}

.det-add-btn:hover {
    background: var(--amber);
    transform: translateY(-2px)
}

.det-buy-btn {
    border: 1.5px solid var(--honey);
    color: var(--honey);
    background: transparent;
    border-radius: 14px;
    padding: .75rem 1.2rem;
    font-family: 'Tajawal', sans-serif;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
}

.det-buy-btn:hover {
    background: var(--honey);
    color: #fff;
}

/* TESTIMONIALS */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.testimonials-section {
    padding: 4.5rem 1.5rem 5rem;
    margin-top: 1rem;
    margin-bottom: 3.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto
}

.testimonials-header {
    margin-bottom: 2rem
}

.testimonials-package-wrap {
    margin-bottom: 2.25rem;
    text-align: center
}

.testimonials-package-slider {
    margin-top: .15rem
}

.testimonials-package-frame {
    max-width: 520px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid var(--border);
    box-shadow: 0 10px 32px var(--shadow);
    background: var(--card-bg);
    position: relative;
}

.testimonials-package-slides {
    position: relative;
    min-height: 160px
}

.testimonials-package-slides .tst-pkg-slide {
    display: none;
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    margin: 0 auto
}

.testimonials-package-slides .tst-pkg-slide.active {
    display: block
}

.testimonials-package-dots {
    gap: .45rem;
    justify-content: center;
    margin-top: .75rem;
    flex-wrap: wrap;
    padding: 0 .5rem
}

.tst-pkg-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: var(--border);
    cursor: pointer;
    transition: transform .15s, background .15s
}

.tst-pkg-dot.active {
    background: var(--gold);
    transform: scale(1.12)
}

.testimonials-marquee-outer {
    position: relative;
    margin: 0 -.5rem
}

.testimonials-group-controls {
    display: flex;
    gap: .5rem;
    justify-content: center;
    margin-top: .7rem;
}

.testimonials-group-arrow {
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--text);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: .95rem;
    font-weight: 800;
}

.testimonials-marquee-mask {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
    padding: .35rem 0
}

.testimonials-marquee-track {
    overflow: hidden
}

.testimonials-duplicated-row {
    display: flex;
    flex-direction: row;
    gap: 1.25rem;
    width: max-content;
    animation: testimonials-marquee-scroll var(--testimonials-marquee-duration, 40s) linear infinite;
    will-change: transform
}

.testimonials-duplicated-row:hover {
    animation-play-state: paused
}

@keyframes testimonials-marquee-scroll {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(calc(1 * var(--testimonials-marquee-shift, 25%)))
    }
}

@media (prefers-reduced-motion: reduce) {
    .testimonials-duplicated-row {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-width: 100%
    }
}

.testimonial-card {
    flex: 0 0 auto;
    width: 280px;
    max-width: 86vw;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    text-align: right;
    padding: 0;
    font: inherit;
    color: inherit;
    box-shadow: 0 6px 18px var(--shadow);
    transition: transform .2s, border-color .2s, box-shadow .2s
}

.testimonial-card:hover,
.testimonial-card:focus-visible {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 14px 36px var(--shadow);
    outline: none
}

.testimonial-card-img-wrap {
    height: 190px;
    background: linear-gradient(135deg, #FFF3CC, #FFE08A);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

[data-theme="dark"] .testimonial-card-img-wrap {
    background: linear-gradient(135deg, #3D2800, #4A3200)
}

.testimonial-card-img-wrap>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.tst-card-gallery {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 190px
}

.tst-card-slides {
    position: absolute;
    inset: 0
}

.tst-card-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .2s ease;
    pointer-events: none
}

.tst-card-slide.active {
    opacity: 1;
    pointer-events: auto
}

.tst-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s, transform 0.2s;
    pointer-events: auto;
}

.tst-nav-arrow:hover {
    background: var(--honey);
    transform: translateY(-50%) scale(1.1);
}

.tst-prev {
    left: 8px;
}

.tst-next {
    right: 8px;
}

.tst-card-dots {
    position: absolute;
    bottom: 6px;
    left: 0;
    right: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    max-width: 100%;
    padding: 0 4px;
    box-sizing: border-box;
    z-index: 2;
    pointer-events: auto
}

.tst-card-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
    cursor: pointer;
    flex-shrink: 0
}

.tst-card-dot.active {
    background: var(--gold)
}

.testimonial-card-img-wrap--placeholder {
    font-size: 2.8rem;
    opacity: .45
}

.testimonial-card-snippet {
    margin: 0;
    padding: .75rem .95rem .95rem;
    font-size: .86rem;
    line-height: 1.55;
    color: var(--text-light);

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;
    /* fallback */
}

.testimonials-empty {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-light);
    font-size: .95rem;
    line-height: 1.7
}

.testimonial-submit-box {
    margin-top: 3.5rem;
    background: var(--card-bg);
    border: 1.5px solid var(--border);
    border-radius: 18px;
    padding: 1.2rem;
    box-shadow: 0 6px 18px var(--shadow);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-toggle-btn {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: .48rem .75rem;
    background: linear-gradient(135deg, var(--honey), var(--amber));
    color: #fff;
    font-family: 'Tajawal', sans-serif;
    font-size: .82rem;
    font-weight: 800;
    cursor: pointer;
}

.testimonial-form-body {
    margin-top: .9rem;
}

.testimonial-form-body>p {
    color: var(--text-light);
    margin-bottom: .9rem;
    font-size: .9rem;
}

.testimonial-submit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
}

.testimonial-submit-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.testimonial-upload-btn {
    border: 1.5px dashed var(--border);
    border-radius: 12px;
    padding: .55rem .9rem;
    cursor: pointer;
    font-weight: 700;
    color: var(--text);
    background: rgba(200, 118, 10, .05);
}

.testimonial-image-preview {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--border);
    display: none;
}

.testimonial-image-preview.show {
    display: block;
}

.testimonial-submit-btn {
    width: 100%;
    margin-top: .85rem;
}

/* testimonial zoom modal */
.testimonial-zoom-modal {
    max-width: 520px;
    width: calc(100% - 2rem);
    max-height: 90vh;
    overflow-y: auto;
    padding: 0;
    border-radius: 20px
}

.testimonial-zoom-head {
    display: flex;
    justify-content: flex-end;
    padding: .5rem .6rem 0
}

.testimonial-zoom-close {
    background: rgba(0, 0, 0, .08);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text);
    line-height: 1
}

.testimonial-zoom-close:hover {
    background: var(--beige)
}

.testimonial-zoom-body {
    padding: 0 1.2rem 1.4rem
}

.testimonial-modal-media .testimonial-modal-single,
.testimonial-modal-media .tst-modal-slide.active {
    width: 100%;
    max-height: 55vh;
    object-fit: contain;
    border-radius: 12px;
    background: var(--cream);
    display: block;
    margin: 0 auto 1rem
}

.testimonial-modal-slides {
    position: relative;
    min-height: 120px;
    margin-bottom: .5rem
}

.testimonial-modal-slides .tst-modal-slide {
    display: none;
    width: 100%;
    max-height: 55vh;
    object-fit: contain;
    border-radius: 12px;
    background: var(--cream);
    margin: 0 auto
}

.testimonial-modal-slides .tst-modal-slide.active {
    display: block
}

.testimonial-modal-dots {
    display: flex;
    gap: .45rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
    margin-bottom: 1rem
}

.tst-modal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: var(--border);
    cursor: pointer;
    transition: background .15s, transform .15s
}

.tst-modal-dot.active {
    background: var(--gold);
    transform: scale(1.1)
}

.testimonial-zoom-text {
    margin: 0;
    font-size: .95rem;
    line-height: 1.85;
    color: var(--text);
    white-space: pre-wrap
}

/* CONTACT */
.contact-section {
    padding: 5rem 2rem 6rem;
    margin-top: 2rem;
    text-align: center
}

.contact-actions {
    display: flex;
    gap: .8rem;
    justify-content: center;

}

.btn-whatsapp,
.btn-facebook {
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: .5rem 1.3rem;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    transition: all .2s;
    box-shadow: 0 6px 18px rgba(24, 119, 242, .35)
}

.btn-whatsapp {
    background: #25D366;
    box-shadow: 0 6px 18px rgba(37, 211, 102, .35)
}

.btn-facebook {
    background: #1877F2
}

.btn-whatsapp .icon,
.btn-facebook .icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.btn-whatsapp .icon i,
.btn-facebook .icon i {
    font-size: 1.1rem;
    line-height: 1;
}

.btn-whatsapp:hover {
    background: #1DA851;
    transform: translateY(-2px)
}

.btn-facebook:hover {
    background: #145ec4;
    transform: translateY(-2px)
}

/* FOOTER */
footer {
    background: var(--dark-brown);
    color: #C4A07A;
    padding: 3rem 2rem 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1
}

footer h3 {
    font-family: 'Amiri', serif;
    font-size: 1.8rem;
    color: var(--light-gold);
    margin-bottom: .3rem
}

footer .logo {
    height: 60px;
    width: auto;
    max-width: 100%;
    display: inline-block;
    object-fit: contain;
    filter: drop-shadow(0 3px 8px rgba(61, 28, 2, .14));
    transition: .3s
}

[data-theme="dark"] footer .logo {
    content: url("img/logo/d-logo.webp")
}

footer p {
    font-size: .88rem;
    opacity: .8
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: .9rem;
    margin-top: 1.5rem;
    font-size: .78rem;
    opacity: .55;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem
}

.admin-footer-link {
    font-size: .85rem;
    opacity: .3;
    text-decoration: none;
    transition: opacity .2s;
    cursor: pointer
}

.admin-footer-link:hover {
    opacity: 1
}

/* TOAST */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--dark-brown);
    color: var(--light-gold);
    padding: .8rem 1.8rem;
    border-radius: 30px;
    font-weight: 700;
    z-index: 9999;
    transition: transform .3s;
    white-space: nowrap;
    font-size: .92rem
}

.toast.show {
    transform: translateX(-50%) translateY(0)
}

.admin-back-floating {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 2500;
    background: #2C1504;
    color: #FFD060;
    text-decoration: none;
    border-radius: 999px;
    padding: .6rem .95rem;
    font-size: .85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: all .6s ease-out
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0)
}

/* ANIMATIONS */
@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-5px)
    }
}

@keyframes spin {
    from {
        transform: rotate(0)
    }

    to {
        transform: rotate(360deg)
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* ===========================
   RESPONSIVE — TABLET (≤900px)
   =========================== */
@media(max-width:900px) {
    nav {
        grid-template-columns: auto 1fr auto
    }

    .nav-links {
        display: none
    }

    .hamburger {
        display: flex
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr))
    }
}

/* ===========================
   RESPONSIVE — MOBILE (≤600px)
   =========================== */
@media(max-width:600px) {
    .testimonial-submit-grid {
        grid-template-columns: 1fr;
    }

    nav {
        grid-template-columns: auto 1fr auto
    }

    .nav-search {
        display: none
    }

    .cart-sidebar {
        width: 100%;
        left: -100%
    }

    .modal {
        margin: .5rem;
        max-height: 95vh
    }

    .hero {
        padding: 5.4rem 1rem 2.2rem;
        min-height: 55svh;
        align-items: flex-end;
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        background-color: #FFF4D6
    }

    /* تدرج خفيف من الأسفل فقط — الصورة تظهر بوضوح بدون “بوكس” */
    .hero-overlay {
        background: linear-gradient(to top, rgba(20, 12, 4, 0.5) 0%, rgba(20, 12, 4, 0.14) 40%, transparent 68%)
    }

    .hero-content {
        max-width: 560px;
        width: 100%;
        padding: 0 .2rem;
        background: none;
        border: none;
        box-shadow: none;
        border-radius: 0
    }

    .hero h1 {
        color: #fff;
        text-shadow: 0 2px 28px rgba(0, 0, 0, .6), 0 1px 4px rgba(0, 0, 0, .85);
        font-weight: 800
    }

    .hero-sub {
        color: rgba(255, 255, 255, .97);
        text-shadow: 0 2px 16px rgba(0, 0, 0, .55), 0 1px 3px rgba(0, 0, 0, .65)
    }

    .hero p {
        color: rgba(255, 255, 255, .94);
        text-shadow: 0 2px 14px rgba(0, 0, 0, .52), 0 1px 2px rgba(0, 0, 0, .6)
    }

    .hero-badge {
        font-size: .78rem;
        padding: .3rem .9rem;
        box-shadow: 0 4px 16px rgba(0, 0, 0, .35)
    }

    [data-theme="dark"] .hero {
        background-color: #1a1208
    }

    [data-theme="dark"] .hero-overlay {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, .2) 42%, transparent 74%)
    }

    [data-theme="dark"] .hero-content {
        background: none;
        border: none;
        box-shadow: none
    }

    [data-theme="dark"] .hero h1 {
        color: #fff8ec;
        text-shadow: 0 3px 30px rgba(0, 0, 0, .7), 0 1px 4px rgba(0, 0, 0, .9)
    }

    [data-theme="dark"] .hero-sub {
        color: rgba(255, 244, 220, .96);
        text-shadow: 0 2px 18px rgba(0, 0, 0, .6)
    }

    [data-theme="dark"] .hero p {
        color: rgba(255, 240, 215, .92);
        text-shadow: 0 2px 14px rgba(0, 0, 0, .55)
    }

    .hero h1 {
        font-size: clamp(1.75rem, 7.5vw, 2.6rem);
        margin-bottom: .25rem
    }

    .hero-sub {
        font-size: clamp(.86rem, 3.2vw, 1.05rem);
        margin-bottom: .55rem
    }

    .hero p {
        font-size: .86rem;
        line-height: 1.65;
        margin-bottom: 1.2rem
    }

    .hero-btns .btn-primary,
    .hero-btns .btn-outline {
        padding: .62rem 1.15rem;
        font-size: .9rem
    }

    .hero-btns {
        gap: .7rem
    }

    .hero-btns .btn-primary {
        box-shadow: 0 6px 22px rgba(0, 0, 0, .38);
        text-shadow: 0 1px 2px rgba(0, 0, 0, .25)
    }

    .hero-btns .btn-outline {
        color: #fff;
        border-color: #fff;
        border-width: 2.5px;
        font-weight: 800;
        background: rgba(0, 0, 0, .22);
        box-shadow: 0 4px 18px rgba(0, 0, 0, .35);
        text-shadow: 0 1px 4px rgba(0, 0, 0, .5)
    }

    .hero-btns .btn-outline:hover {
        background: #fff;
        color: var(--dark-brown);
        border-color: #fff;
        text-shadow: none;
        box-shadow: 0 6px 22px rgba(0, 0, 0, .2)
    }

    .btn-primary,
    .btn-outline {
        padding: .7rem 1.2rem;
        font-size: .92rem
    }

    .cart-btn {
        padding: .4rem .8rem;
        font-size: .8rem
    }

    .theme-btn {
        width: 34px;
        height: 34px;
        font-size: .95rem
    }

    .features {
        padding: 3rem 1rem
    }

    .feat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: .9rem
    }

    .feat-card {
        padding: 1.2rem 1rem
    }

    .catalog {
        padding: 3rem 1rem
    }

    .tabs {
        gap: .4rem
    }

    .tab-btn {
        padding: .5rem 1rem;
        font-size: .85rem
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem
    }

    .product-img-wrap {
        height: 160px
    }

    .product-info {
        padding: 1rem
    }

    .herb-img {
        height: 140px
    }

    .mixture-img-wrap {
        height: 150px
    }

    .mixture-header {
        padding: .9rem 1rem .6rem
    }

    .mixture-price-tag {
        font-size: .9rem;
        padding: .35rem .7rem
    }

    .ingredients-list {
        padding: 0 1rem .8rem
    }

    .mixture-add-btn {
        width: calc(100% - 2rem);
        margin: 0 1rem 1rem
    }

    .testimonials-section {
        padding: 2.5rem 1rem 3rem;
        margin-bottom: 2rem
    }

    .testimonials-marquee-mask {
        -webkit-mask-image: none;
        mask-image: none;
        padding: .2rem 0;
    }

    .testimonials-duplicated-row {
        gap: .9rem;
    }

    .testimonial-card {
        width: 235px;
        max-width: 80vw
    }

    .testimonial-card-img-wrap {
        height: 165px;
    }

    .tst-card-gallery {
        min-height: 165px;
    }

    .contact-section {
        padding: 3rem 1rem
    }



    .modal-body {
        padding: 1.2rem
    }

    .det-body {
        padding: 1.2rem 1.4rem
    }

    .det-name {
        font-size: 1.4rem
    }
}

/* ===========================
   RESPONSIVE — SMALL (≤400px)
   =========================== */
@media(max-width:400px) {
    .testimonial-card {
        width: 210px;
        max-width: 84vw;
    }

    .testimonial-card-img-wrap {
        height: 150px;
    }

    .tst-card-gallery {
        min-height: 150px;
    }


    .hero {
        min-height: 70svh;
        background: url("img/1-bg.webp") center center / cover no-repeat;
        background-color: #FFF4D6
    }

    .hero h1 {
        font-size: clamp(1.45rem, 8vw, 2rem)
    }

    .products-grid {
        grid-template-columns: 1fr
    }

    .hero-btns {
        flex-direction: column;
        align-items: flex-start
    }

    .btn-primary,
    .btn-outline {
        padding: .56rem .9rem;
        font-size: .84rem
    }

    .cart-btn {
        padding: .34rem .7rem;
        font-size: .75rem
    }

    .feat-grid {
        grid-template-columns: 1fr 1fr
    }

    .tabs {
        flex-wrap: wrap;
        gap: .3rem
    }

    .tab-btn {
        font-size: .78rem;
        padding: .4rem .8rem
    }

    .cart-item {
        flex-wrap: wrap
    }

    .cart-item-controls {
        width: 100%;
        justify-content: flex-end;
        margin-top: .4rem
    }
}