:root {
    --brand-900: #0d3a2e;
    --brand-800: #125443;
    --brand-700: #1a6a55;
    --brand-100: #eaf6f2;
    --text-900: #0f1720;
    --text-600: #40525b;
    --bg: #f4f8f6;
    --white: #ffffff;
    --danger: #b93d3d;
    --radius: 18px;
    --shadow: 0 14px 34px rgba(13, 58, 46, 0.12);
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Cairo', 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text-900);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1220px, 92vw);
    margin: 0 auto;
}

.top-bar {
    background: linear-gradient(135deg, var(--brand-900), var(--brand-700));
    color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.nav-row {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0.3px;
    font-size: 1.7rem;
    line-height: 1.2;
}

.brand-logo {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: #ffffff;
}

.menu {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.clean-menu a {
    color: #e9f4ef;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.2px;
    position: relative;
    padding: 4px 0;
}

.clean-menu a::after {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    inset-block-end: -4px;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.25s ease;
}

.clean-menu a:hover::after {
    width: 100%;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.08);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 16px;
    height: 1.8px;
    background: #ffffff;
    border-radius: 999px;
}

.lang-pill,
.action-link {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.84rem;
    cursor: pointer;
    line-height: 1;
}

.action-link:hover,
.lang-pill:hover {
    background: rgba(255, 255, 255, 0.18);
}

.top-actions form {
    margin: 0;
}

.top-actions form button {
    font-family: inherit;
}

.cart-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.44);
    display: grid;
    place-items: center;
    position: relative;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.cart-link svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.cart-count {
    position: absolute;
    inset-block-start: -7px;
    inset-inline-start: -7px;
    min-width: 21px;
    height: 21px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--brand-900);
    font-size: 0.72rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border: 1px solid rgba(13, 58, 46, 0.2);
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 20, 16, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 80;
}

.mobile-menu {
    position: fixed;
    inset-block: 0;
    inset-inline-start: 0;
    width: min(320px, 86vw);
    background: #0c2f25;
    color: #e9f6f1;
    z-index: 90;
    padding: 18px 14px;
    box-shadow: none;
    transform: translateX(-100%);
    transition: transform 0.27s ease;
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
}

[dir='rtl'] .mobile-menu {
    inset-inline-start: auto;
    inset-inline-end: 0;
    transform: translateX(100%);
}

.mobile-menu-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.mobile-menu-head strong {
    font-size: 1.2rem;
}

.mobile-menu-close {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
}

.mobile-menu-nav {
    display: grid;
    gap: 8px;
}

.mobile-menu-nav a,
.mobile-menu-nav button {
    display: block;
    width: 100%;
    text-align: start;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
    color: inherit;
    border-radius: 10px;
    padding: 10px 12px;
    font-family: inherit;
    font-weight: 700;
}

.mobile-menu-nav form {
    margin: 0;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open .mobile-menu-overlay {
    opacity: 1;
    pointer-events: auto;
}

body.menu-open .mobile-menu {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
}

@media (min-width: 901px) {
    .mobile-menu-overlay,
    .mobile-menu {
        display: none !important;
    }

    body.menu-open {
        overflow: auto;
    }
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 999px;
    overflow: hidden;
    width: min(340px, 80vw);
}

.search-box input {
    border: 0;
    padding: 10px 14px;
    flex: 1;
    font-size: 0.92rem;
    font-family: inherit;
}

.search-box button {
    border: 0;
    background: var(--brand-800);
    color: var(--white);
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
}

.page-section {
    margin: 28px auto;
}

.alert {
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-weight: 700;
}

.alert.success {
    background: #d9f5e8;
    color: #0f5a37;
}

.alert.error {
    background: #ffe4e4;
    color: #842b2b;
}

.cart-toast {
    position: fixed;
    inset-block-start: 94px;
    inset-inline-end: 24px;
    z-index: 100;
    background: #113f32;
    color: #f2fff9;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 11px 16px;
    font-weight: 800;
    font-size: 0.87rem;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: 0.28s ease;
}

.cart-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.cart-toast.error {
    background: #862f2f;
}

.fly-dot {
    position: fixed;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--brand-800);
    z-index: 110;
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.6s ease;
}

.cart-bump {
    animation: cartBump 0.55s ease;
}

@keyframes cartBump {
    0% {
        transform: scale(1);
    }
    35% {
        transform: scale(1.28);
    }
    100% {
        transform: scale(1);
    }
}

.hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    min-height: 470px;
    box-shadow: var(--shadow);
    background: radial-gradient(circle at 18% 20%, #186e59, #0b3026 62%);
}

.slide-track {
    display: flex;
    width: 100%;
    will-change: transform;
    transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.slide {
    flex: 0 0 100%;
    min-width: 100%;
    position: relative;
    color: var(--white);
    background: radial-gradient(circle at 20% 20%, #1f8f72, #0b3026 60%);
    overflow: hidden;
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(13, 58, 46, 0.9), rgba(13, 58, 46, 0.5));
}

.slide-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(280px, 1.08fr) minmax(420px, 1.45fr);
    gap: 42px;
    align-items: center;
    padding: 52px 56px;
}

.slide-copy {
    max-width: 560px;
}

.slide h1,
.slide h2 {
    margin: 0 0 14px;
    font-size: clamp(1.5rem, 2.8vw, 2.5rem);
    line-height: 1.3;
}

.slide p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 550px;
}

.btn {
    border: none;
    background: var(--brand-100);
    color: var(--brand-900);
    font-weight: 800;
    border-radius: 12px;
    padding: 11px 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn.dark {
    background: var(--brand-900);
    color: var(--white);
}

.btn.outline {
    border: 1px solid var(--brand-800);
    color: var(--brand-800);
    background: transparent;
}

.slide-media {
    height: 360px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(130deg, #115442, #0a2f24);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(16px) scale(0.985);
    animation: floatCard 10s ease-in-out infinite;
}

.slide-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.04);
    animation: heroKenBurns 14s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
    0% {
        transform: scale(1.04) translate3d(0, 0, 0);
    }
    100% {
        transform: scale(1.12) translate3d(-2.5%, -1.5%, 0);
    }
}

.hero-slider--full-image {
    min-height: 560px;
}

.hero-slider--full-image .slide {
    background-image: var(--slide-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0b3026;
}

.hero-slider--full-image .slide::before {
    background: transparent;
}

.hero-slider--full-image .slide-content {
    grid-template-columns: 1fr;
    min-height: 560px;
    align-items: end;
}

.hero-slider--full-image .slide-copy {
    background: transparent;
    border: 0;
    border-radius: 18px;
    padding: 24px 26px;
    backdrop-filter: none;
    color: #ffffff;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.52);
}

.hero-slider--full-image .slide-copy h1,
.hero-slider--full-image .slide-copy h2 {
    color: #ffffff;
}

.hero-slider--full-image .slide-copy p {
    color: rgba(255, 255, 255, 0.95);
}

.hero-slider--full-image .slide-media {
    display: none;
}

@keyframes floatCard {
    50% {
        transform: translateY(0) scale(1);
    }
}

.slider-dots {
    position: absolute;
    inset-inline-end: 18px;
    inset-block-end: 18px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.slider-dots button {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
}

.slider-dots button.active {
    background: #ffffff;
    width: 25px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.section-head h3 {
    margin: 0;
    font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.stories-wrap {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.story-item {
    min-width: 110px;
    text-align: center;
}

.story-avatar {
    width: 88px;
    height: 88px;
    margin: 0 auto 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-700), var(--brand-900));
    padding: 3px;
}

.story-avatar div {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: var(--white);
    display: grid;
    place-items: center;
    font-weight: 800;
    color: var(--brand-900);
    font-size: 1.2rem;
}

.story-avatar img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    border: 2px solid #ffffff;
    background: #ffffff;
}

.story-item span {
    font-size: 0.83rem;
    color: var(--text-600);
    font-weight: 700;
}

.grid-products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.featured-head-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.featured-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #bfd0ca;
    background: #ffffff;
    color: #184f41;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s ease;
    line-height: 1;
    font-size: 1.4rem;
    font-weight: 700;
}

.featured-nav-btn:hover:not(:disabled) {
    border-color: #8cb0a5;
    background: #eef5f2;
}

.featured-nav-btn:disabled {
    opacity: 0.5;
    cursor: default;
}

.featured-carousel {
    position: relative;
    overflow: hidden;
}

.featured-track {
    display: flex;
    align-items: stretch;
    transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

.featured-item {
    flex: 0 0 25%;
    min-width: 25%;
    padding: 0 8px;
}

.featured-dots {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.featured-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 0;
    background: rgba(13, 58, 46, 0.24);
    cursor: pointer;
    transition: width 0.2s ease, background-color 0.2s ease;
}

.featured-dot.active {
    width: 24px;
    background: var(--brand-700);
}

.sale-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.collection-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 240px;
    border: 1px solid rgba(13, 58, 46, 0.14);
    box-shadow: 0 14px 28px rgba(13, 58, 46, 0.14);
    display: block;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.collection-card:hover {
    transform: translateY(-4px);
    border-color: rgba(13, 58, 46, 0.3);
    box-shadow: 0 18px 36px rgba(13, 58, 46, 0.2);
}

.collection-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    transition: transform 0.4s ease;
}

.collection-card:hover .collection-media {
    transform: scale(1.06);
}

.collection-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 52%),
        linear-gradient(170deg, rgba(9, 30, 24, 0.18), rgba(9, 30, 24, 0.5));
}

.collection-body {
    position: absolute;
    inset-inline: 0;
    inset-block-end: 0;
    padding: 16px;
    color: #fff;
    z-index: 1;
    background: linear-gradient(180deg, rgba(6, 22, 17, 0), rgba(6, 22, 17, 0.58) 42%, rgba(6, 22, 17, 0.78));
    backdrop-filter: blur(2px);
}

.collection-body h4 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    line-height: 1.35;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.34);
}

.collection-body span {
    font-size: 0.84rem;
    font-weight: 700;
    opacity: 0.92;
    letter-spacing: 0.1px;
}

.home-video-box {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.home-video-box::before {
    content: none;
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
}

.home-video-box video {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    border-radius: 22px;
    background: #000;
}

.sale-card {
    background: #f5efe7;
    border: 1px solid #e5d5c2;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 22px rgba(80, 45, 22, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sale-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(80, 45, 22, 0.16);
}

.sale-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px 0;
}

.sale-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #e0a66b;
    background: #fff7ee;
}

.sale-discount {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #ef8f2a;
    color: #ffffff;
    padding: 4px 10px;
    font-size: 0.74rem;
    font-weight: 800;
}

.sale-media {
    display: block;
    height: 220px;
    margin: 10px 12px 0;
    border-radius: 14px;
    background-size: cover;
    background-position: center;
    border: 1px solid #e3d1bd;
}

.sale-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.sale-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.45;
}

.sale-category {
    margin: 0;
    color: #5f5a52;
    font-size: 0.84rem;
    font-weight: 700;
}

.sale-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.sale-price strong {
    font-size: 1.06rem;
    color: #1f201e;
}

.sale-price .sale-old-price {
    text-decoration: line-through;
    color: #7f7267;
    font-size: 0.92rem;
    font-weight: 700;
}

.offer-box {
    border: 1px solid #e0d1c1;
    border-radius: 16px;
    background: #f7efe7;
    padding: 12px;
    margin: 14px 0;
}

.offer-box-head h3 {
    margin: 0;
    font-size: 1.05rem;
}

.offer-box-head p {
    margin: 5px 0 0;
    color: #635e58;
    font-size: 0.86rem;
    font-weight: 700;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.offer-card {
    border: 1px solid #d5cbc2;
    border-radius: 12px;
    padding: 10px;
    background: #ffffff;
    position: relative;
    display: grid;
    gap: 8px;
    align-content: start;
    transition: 0.2s ease;
}

.offer-card:hover {
    border-color: #e08f3a;
    transform: translateY(-1px);
}

.offer-card.active {
    border-color: #e87f1f;
    background: #fff4e5;
    box-shadow: 0 10px 20px rgba(216, 124, 38, 0.16);
}

.offer-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #d9cabc;
    background: #fff;
    justify-self: center;
    position: relative;
}

.offer-card.active .offer-radio {
    border-color: #df7d22;
}

.offer-card.active .offer-radio::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #df7d22;
}

.offer-thumb {
    height: 92px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
}

.offer-card h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
}

.offer-discount {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #ef8f2a;
    color: #fff;
    padding: 4px 10px;
    font-size: 0.74rem;
    font-weight: 800;
}

.offer-most-selling-badge {
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px 6px 14px;
    border-radius: 0 0 12px 0;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.18px;
    line-height: 1.05;
    color: #fff;
    background: linear-gradient(135deg, #e74b4b, #b21212 72%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-inline-start: 0;
    border-block-start: 0;
    box-shadow: 0 10px 20px rgba(140, 15, 15, 0.33);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.offer-most-selling-badge::after {
    content: '';
    position: absolute;
    inset-block-start: 100%;
    inset-inline-start: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 8px 0 0;
    border-color: #860f0f transparent transparent transparent;
}

[dir='rtl'] .offer-most-selling-badge {
    inset-inline-start: auto;
    inset-inline-end: 0;
    border-radius: 0 0 0 12px;
    padding: 6px 14px 6px 12px;
    border-inline-start: 1px solid rgba(255, 255, 255, 0.4);
    border-inline-end: 0;
}

[dir='rtl'] .offer-most-selling-badge::after {
    inset-inline-start: auto;
    inset-inline-end: 0;
    border-width: 8px 0 0 8px;
    border-color: #860f0f transparent transparent transparent;
}

.offer-prices {
    display: grid;
    gap: 2px;
    justify-items: center;
}

.offer-prices strong {
    font-size: 1.18rem;
    font-weight: 900;
    line-height: 1.1;
    color: #102c24;
}

.offer-prices .offer-old-price {
    font-size: 1.08rem;
    color: #c73838;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: #c73838;
    font-weight: 800;
}

.offer-prices .offer-discount-amount {
    display: none !important;
}

.offer-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(360px, 1fr);
    gap: 28px;
    align-items: start;
}

.offer-gallery {
    display: grid;
    gap: 10px;
    align-content: start;
    align-self: start;
    grid-auto-rows: max-content;
}

.offer-main-image {
    height: min(82vh, 920px);
    min-height: 520px;
    border-radius: 14px;
    border: 1px solid #e5d4c4;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.offer-main-image.product-media {
    height: min(82vh, 920px);
    min-height: 520px;
}

.offer-gallery-strip {
    display: flex;
    align-items: center;
    gap: 8px;
}

.offer-gallery-nav {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid #d6c9ba;
    background: #ffffff;
    color: #59524b;
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

.offer-gallery-nav:hover {
    border-color: #bf9d7e;
    color: #2d2924;
    background: #fff7ef;
}

.offer-gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    direction: ltr;
    scroll-behavior: smooth;
    padding: 2px;
    flex: 1;
    scrollbar-width: thin;
}

.offer-gallery-thumb {
    width: 62px;
    min-width: 62px;
    height: 62px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #d8cabc;
    padding: 0;
    background: #fff;
    opacity: 0.88;
    cursor: pointer;
    transition: 0.2s ease;
}

.offer-gallery-thumb.active {
    border-color: #e07f28;
    box-shadow: 0 0 0 2px rgba(224, 127, 40, 0.22);
    opacity: 1;
}

.offer-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.offer-panel {
    background: #f3ece5;
    border: 1px solid #e2d4c7;
}

.offer-reviews {
    margin: 0 0 12px;
    color: #2f2a25;
    font-weight: 800;
}

.offer-summary {
    border-top: 1px solid #dccdbc;
    border-bottom: 1px solid #dccdbc;
    padding: 10px 0;
    display: grid;
    gap: 8px;
}

.offer-summary div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.offer-summary span {
    color: #5a544e;
    font-weight: 700;
}

.offer-summary strong {
    font-weight: 800;
}

.offer-summary .offer-price-discount-value {
    color: #b52d2d;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid #dce6e2;
    box-shadow: 0 6px 18px rgba(13, 58, 46, 0.07);
    display: flex;
    flex-direction: column;
}

.free-delivery-card {
    border: 1px solid #c8e6da;
    border-radius: 14px;
    padding: 12px 14px;
    margin: 12px 0 14px;
    background: linear-gradient(135deg, rgba(17, 95, 72, 0.1), rgba(255, 255, 255, 0.92));
    box-shadow: 0 8px 20px rgba(13, 58, 46, 0.08);
    display: grid;
    gap: 4px;
}

.free-delivery-title {
    color: #0d3a2e;
    font-weight: 800;
}

.free-delivery-subtitle {
    color: #2b4a40;
    font-size: 0.9rem;
    font-weight: 600;
}

.checkout-coupon-block[hidden] {
    display: none !important;
}

.checkout-totals {
    margin-top: 10px;
    border: 1px solid #d6e4df;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
}

.checkout-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px dashed #d7e4df;
}

.checkout-total-row:last-child {
    border-bottom: 0;
}

.checkout-total-row span {
    font-weight: 800;
}

.checkout-total-row strong {
    font-size: 1rem;
    font-weight: 900;
}

.checkout-total-row--original {
    background: rgba(13, 58, 46, 0.06);
    color: #0f4b3b;
}

.checkout-total-row--discount {
    background: rgba(185, 61, 61, 0.08);
    color: #8e2f2f;
}

.checkout-total-row--final {
    background: linear-gradient(135deg, #0f5f49, #0b4032);
    color: #ffffff;
}

.checkout-discount-breakdown {
    margin-top: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.checkout-discount-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #c5d7d0;
    background: #f3f9f6;
    color: #2a4f44;
    padding: 5px 10px;
    font-size: 0.81rem;
    font-weight: 700;
}

.product-media {
    height: 210px;
    background: linear-gradient(135deg, #f3f8f6, #deece7);
    background-size: cover;
    background-position: center;
}

.product-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.product-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}

.product-category {
    color: var(--text-600);
    font-size: 0.84rem;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-weight: 800;
}

.price-row .current-price {
    font-size: 1.15rem;
    font-weight: 900;
    color: #102c24;
}

.price-row .old {
    text-decoration: line-through;
    color: #c73838;
    text-decoration-thickness: 2px;
    text-decoration-color: #c73838;
    font-size: 1.08rem;
    font-weight: 800;
}

.card-actions {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.about-box {
    background: linear-gradient(155deg, #113f32, #0b2e24);
    color: var(--white);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.about-box p {
    color: rgba(255, 255, 255, 0.92);
    max-width: 900px;
    line-height: 1.9;
}

.about-feature {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(340px, 1.05fr);
    gap: 26px;
    border-radius: 26px;
    overflow: hidden;
    padding: 24px;
    color: #ffffff;
    background:
        radial-gradient(circle at 20% 18%, rgba(46, 132, 106, 0.48), rgba(46, 132, 106, 0) 48%),
        linear-gradient(145deg, #103f32, #08271f 66%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 18px 40px rgba(8, 39, 31, 0.25);
}

.about-feature::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    inset-inline-end: -90px;
    inset-block-end: -140px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.about-feature-media {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 320px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 12px 28px rgba(4, 20, 15, 0.35);
}

.about-feature-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 48%);
    z-index: 1;
    pointer-events: none;
}

.about-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.55s ease;
}

.about-feature:hover .about-feature-media img {
    transform: scale(1.05);
}

.about-feature-badge {
    position: absolute;
    inset-inline-start: 14px;
    inset-block-start: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(5, 26, 20, 0.5);
    color: #f4fff9;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 7px 12px;
    letter-spacing: 0.2px;
}

.about-feature-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.about-feature-content h3 {
    margin: 0;
    font-size: clamp(1.55rem, 2.4vw, 2.2rem);
    line-height: 1.25;
}

.about-feature-content p {
    margin: 0;
    color: rgba(244, 255, 250, 0.93);
    line-height: 1.95;
    font-size: 1rem;
}

.footer {
    background: #072019;
    color: #ebf5f2;
    margin-top: 36px;
    padding: 28px 0;
}

.footer .row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-contact {
    display: grid;
    gap: 8px;
}

.footer-contact p {
    margin: 0;
}

.footer-contact a {
    color: #eaf9f2;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(235, 245, 242, 0.45);
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
    color: #effaf5;
}

.footer-social a:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.16);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-page {
    display: grid;
    gap: 16px;
}

.contact-hero {
    background: linear-gradient(145deg, #0f3f32, #08271f);
    color: #effaf5;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-hero .page-title {
    margin-bottom: 8px;
}

.contact-hero p {
    margin: 0;
    color: rgba(239, 250, 245, 0.9);
    line-height: 1.8;
    max-width: 860px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: inherit;
    transition: 0.2s ease;
}

.contact-item:hover {
    border-color: #bdd2ca;
    transform: translateY(-2px);
}

.contact-item-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid #caded6;
    background: #f3faf7;
    color: #0f4f3e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-item-content h3 {
    margin: 0 0 4px;
    font-size: 1rem;
}

.contact-item-content p {
    margin: 0;
    color: #3e5450;
    font-weight: 700;
    line-height: 1.6;
}

.contact-item-address {
    grid-column: 1 / -1;
}

.policy-page {
    display: grid;
    gap: 14px;
}

.policy-card {
    background: #ffffff;
    border: 1px solid #dbe7e3;
}

.policy-list {
    margin: 0;
    padding-inline-start: 22px;
    display: grid;
    gap: 10px;
    line-height: 1.95;
    color: #1f3731;
    font-weight: 700;
}

.whatsapp-float {
    position: fixed;
    inset-inline-end: 20px;
    inset-block-end: 20px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(145deg, #25d366, #179b48);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 30px rgba(21, 131, 62, 0.34);
    z-index: 115;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 18px 36px rgba(18, 122, 55, 0.4);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.page-title {
    margin: 0 0 16px;
    font-size: clamp(1.3rem, 2.2vw, 1.9rem);
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    border: 1px solid #dde6e3;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field label {
    font-weight: 700;
    color: #28473f;
}

.field input,
.field select,
.field textarea {
    border: 1px solid #cad7d2;
    border-radius: 10px;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 0.94rem;
    background: #fff;
}

.field textarea {
    min-height: 110px;
}

.checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #29473f;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #cad7d2;
    border-radius: 11px;
    background: #ffffff;
    padding: 4px;
    transition: opacity 0.2s ease;
}

.qty-control.is-updating {
    opacity: 0.72;
    pointer-events: none;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid #c6d5d0;
    background: #f6fbf9;
    color: #154b3e;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #ebf4f1;
}

.qty-input {
    width: 72px;
    min-width: 72px;
    height: 30px;
    border: 1px solid #cad7d2;
    border-radius: 8px;
    padding: 4px 8px;
    text-align: center;
    font-weight: 800;
    color: #0f342b;
    background: #ffffff;
}

.qty-control--compact {
    margin-top: 8px;
}

.checkout-line-item {
    padding: 0 0 12px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e0e8e4;
}

.checkout-line-main {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
}

.checkout-line-price-meta {
    font-size: 0.8rem;
    color: #4f615a;
    margin-top: 2px;
}

.checkout-line-item:last-of-type {
    border-bottom: 0;
    margin-bottom: 0;
}

.table-wrap {
    overflow: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

th,
td {
    padding: 11px 12px;
    border-bottom: 1px solid #e2ece8;
    text-align: start;
}

th {
    background: #edf5f2;
    color: #24423b;
    font-size: 0.88rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 800;
    background: #dff0e8;
    color: #0f5a37;
}

.badge.warn {
    background: #fff1d5;
    color: #8d5b05;
}

.badge.dark {
    background: #dbe7e2;
    color: #1d3932;
}

.auth-wrap {
    min-height: 70vh;
    display: grid;
    place-items: center;
    padding: 20px 0;
}

.auth-card {
    width: min(470px, 94vw);
}

.admin-shell {
    display: grid;
    grid-template-columns: 270px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: #0a2f25;
    color: #e8f3ef;
    padding: 22px 16px;
}

.admin-sidebar h2 {
    margin-top: 0;
    margin-bottom: 16px;
}

.admin-sidebar a,
.admin-sidebar button {
    display: block;
    width: 100%;
    text-align: start;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: inherit;
    padding: 10px 12px;
    margin-bottom: 9px;
    background: transparent;
    font-weight: 700;
    cursor: pointer;
}

.admin-content {
    padding: 22px;
}

.inline {
    display: inline;
}

.action-icons {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #c8d9d3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-900);
    background: #ffffff;
    cursor: pointer;
    transition: 0.2s ease;
}

.icon-btn:hover {
    background: #ebf3ef;
}

.icon-btn svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #d1dfda;
    background: #f0f6f3;
}

.error-text {
    color: #962f2f;
    font-size: 0.82rem;
    font-weight: 700;
}

.pagination {
    margin-top: 14px;
}

.pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 14px;
}

.pager-meta {
    margin: 0;
    color: #4a5f58;
    font-size: 0.84rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pager-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pager-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.pager-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #c8d9d3;
    border-radius: 10px;
    background: #ffffff;
    color: #134c3d;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

a.pager-btn:hover {
    background: #eef5f2;
    border-color: #9ebdb3;
    box-shadow: 0 2px 8px rgba(13, 58, 46, 0.08);
}

.pager-btn.is-current {
    background: var(--brand-800);
    border-color: var(--brand-800);
    color: #ffffff;
    cursor: default;
}

.pager-btn.is-disabled {
    background: #f2f6f4;
    color: #8aa098;
    border-color: #d7e3de;
    cursor: not-allowed;
    pointer-events: none;
}

.pager-sep {
    padding: 0 2px;
    color: #6a7e77;
    font-weight: 800;
    line-height: 1;
}

@media (max-width: 900px) {
    .admin-orders-table table {
        min-width: 0;
        width: 100%;
    }

    .admin-orders-table thead {
        display: none;
    }

    .admin-orders-table tbody,
    .admin-orders-table tr,
    .admin-orders-table td {
        display: block;
        width: 100%;
    }

    .admin-orders-table tbody tr {
        border: 1px solid #d7e3de;
        border-radius: 14px;
        padding: 10px 12px;
        background: #ffffff;
        margin-bottom: 12px;
    }

    .admin-orders-table tbody tr:last-child {
        margin-bottom: 0;
    }

    .admin-orders-table td {
        border-bottom: 1px dashed #dde8e3;
        padding: 9px 0;
        text-align: start;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 10px;
    }

    .admin-orders-table td:last-child {
        border-bottom: 0;
    }

    .admin-orders-table td::before {
        content: attr(data-label);
        color: #3d5a51;
        font-weight: 800;
        font-size: 0.84rem;
        flex: 0 0 44%;
    }

    .admin-orders-table td > :not(.action-icons) {
        max-width: 56%;
        word-break: break-word;
    }

    .admin-orders-table td[data-label="#"]::before {
        flex-basis: 24%;
    }

    .admin-orders-table td[colspan] {
        display: block;
        text-align: center;
        border-bottom: 0;
        padding: 4px 0;
    }

    .admin-orders-table td[colspan]::before {
        content: none;
    }

    .admin-orders-table .action-icons {
        justify-content: flex-end;
    }

    [dir='rtl'] .admin-orders-table td {
        text-align: right;
    }
}

@media (max-width: 640px) {
    .pagination .pager {
        justify-content: center;
    }

    .pager-meta {
        width: 100%;
        justify-content: center;
    }

    .pager-links {
        width: 100%;
        justify-content: center;
        gap: 6px;
    }

    .pager-numbers {
        width: 100%;
        justify-content: center;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .pager-btn {
        height: 34px;
        padding: 0 10px;
        font-size: 0.8rem;
    }
}

@media (max-width: 1100px) {
    .grid-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sale-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .collection-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .slide-content {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .slide-media {
        height: 300px;
    }

    .hero-slider--full-image {
        min-height: 500px;
    }

    .hero-slider--full-image .slide-content {
        min-height: 500px;
    }
}

@media (max-width: 900px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .grid-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .featured-item {
        flex-basis: 50%;
        min-width: 50%;
    }

    .sale-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .collection-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .offer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-item-address {
        grid-column: auto;
    }

    .offer-layout {
        grid-template-columns: 1fr;
    }

    .offer-layout--offers-page {
        gap: 14px;
        font-size: 0.93rem;
    }

    .offer-layout--offers-page .offer-panel.card {
        padding: 14px;
    }

    .offer-layout--offers-page .offer-box {
        padding: 10px;
        margin: 10px 0;
    }

    .offer-layout--offers-page .offer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .offer-layout--offers-page .offer-main-image,
    .offer-layout--offers-page .offer-main-image.product-media {
        height: 360px;
        min-height: 360px;
    }

    .offer-layout--offers-page .offer-card {
        padding: 8px;
        gap: 6px;
    }

    .offer-layout--offers-page .offer-thumb {
        height: 74px;
    }

    .offer-layout--offers-page .offer-card h4 {
        font-size: 0.86rem;
    }

    .offer-layout--offers-page .offer-prices strong {
        font-size: 0.92rem;
    }

    .offer-main-image {
        height: 430px;
    }

    .offer-main-image.product-media {
        height: 430px;
        min-height: 430px;
    }

    .offer-gallery-nav {
        width: 30px;
        height: 30px;
    }

    .offer-gallery-thumb {
        width: 56px;
        min-width: 56px;
        height: 56px;
    }
    
    .nav-row {
        flex-wrap: nowrap;
        gap: 10px;
    }

    .brand {
        flex: 1;
        font-size: 1.35rem;
        line-height: 1.1;
    }

    .clean-menu {
        display: none;
    }

    .top-actions {
        width: auto;
        justify-content: flex-end;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .top-actions .action-link,
    .top-actions form {
        display: none;
    }

    .lang-pill {
        width: 42px;
        height: 42px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.78rem;
    }

    .cart-toast {
        inset-inline: 14px;
        inset-block-start: 82px;
    }

    .hero-slider {
        min-height: 420px;
    }

    .slide-media {
        height: 250px;
        transform: none;
    }

    .hero-slider--full-image {
        min-height: 430px;
    }

    .hero-slider--full-image .slide-content {
        min-height: 430px;
        padding: 24px;
    }

    .hero-slider--full-image .slide-copy {
        max-width: 100%;
        padding: 18px;
    }

    .mobile-menu {
        transform: translateX(-110%);
    }

    [dir='rtl'] .mobile-menu {
        transform: translateX(110%);
    }

    .about-feature {
        grid-template-columns: 1fr;
        padding: 18px;
        gap: 16px;
    }

    .about-feature-media {
        min-height: 250px;
    }
}

@media (max-width: 600px) {
    .grid-products {
        grid-template-columns: 1fr;
    }

    .sale-grid {
        grid-template-columns: 1fr;
    }

    .collection-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .offer-thumb {
        height: 130px;
    }

    .offer-layout--offers-page .offer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .offer-layout--offers-page {
        font-size: 0.9rem;
        gap: 12px;
    }

    .offer-layout--offers-page .offer-panel.card {
        padding: 10px;
        min-width: 0;
    }

    .offer-layout--offers-page .offer-box {
        padding: 7px;
        margin: 7px 0;
        border-radius: 12px;
        min-width: 0;
        overflow: hidden;
    }

    .offer-layout--offers-page .offer-card {
        padding: 5px;
        gap: 4px;
        border-radius: 10px;
        min-width: 0;
    }

    .offer-layout--offers-page .offer-main-image,
    .offer-layout--offers-page .offer-main-image.product-media {
        height: 300px;
        min-height: 300px;
    }

    .offer-layout--offers-page .offer-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px;
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .offer-layout--offers-page .offer-grid .offer-card {
        min-width: 0;
    }

    .offer-layout--offers-page .offer-thumb {
        height: 50px;
        border-radius: 8px;
    }

    .offer-layout--offers-page .offer-card h4 {
        font-size: 0.72rem;
        line-height: 1.22;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: calc(1em * 1.22 * 2);
    }

    .offer-layout--offers-page .offer-prices strong {
        font-size: 0.96rem;
    }

    .offer-layout--offers-page .offer-prices .offer-old-price {
        font-size: 0.92rem;
    }

    .offer-layout--offers-page .offer-radio {
        width: 16px;
        height: 16px;
        border-width: 1.8px;
    }

    .offer-layout--offers-page .offer-card.active .offer-radio::after {
        inset: 2px;
    }

    .offer-layout--offers-page .offer-discount {
        font-size: 0.64rem;
        padding: 2px 7px;
    }

    .offer-layout--offers-page .offer-box-head h3 {
        font-size: 0.98rem;
    }

    .offer-layout--offers-page .offer-box-head p {
        font-size: 0.78rem;
    }

    .brand {
        font-size: 1.26rem;
    }

    .featured-head-actions {
        gap: 6px;
    }

    .featured-nav-btn {
        width: 34px;
        height: 34px;
    }

    .featured-item {
        flex-basis: 50%;
        min-width: 50%;
        padding: 0 6px;
    }

    .about-feature-content h3 {
        font-size: 1.5rem;
    }

    .about-feature-content p {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        inset-inline-end: 14px;
        inset-block-end: 14px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .offer-layout {
        grid-template-columns: 1fr;
    }

    .offer-layout--offers-page {
        gap: 12px;
    }

    .offer-layout--offers-page .offer-panel.card,
    .offer-layout--offers-page .offer-box,
    .offer-layout--offers-page .offer-grid,
    .offer-layout--offers-page .offer-card {
        min-width: 0;
        max-width: 100%;
    }

    .offer-layout--offers-page .offer-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
}

/* Offers Page Rebuild: stable fit on desktop + mobile */
.offer-layout--offers-page {
    align-items: start;
}

.offer-layout--offers-page .offer-grid.offer-grid--fixed {
    display: flex !important;
    flex-wrap: wrap !important;
    direction: ltr;
    width: 100%;
    margin: 0;
    gap: 8px !important;
}

.offer-layout--offers-page .offer-grid.offer-grid--fixed .offer-grid-item {
    width: calc((100% - 8px) / 2);
    padding: 0;
    min-width: 0;
}

.offer-layout--offers-page .offer-grid.offer-grid--fixed .offer-grid-item .offer-card {
    width: 100%;
    min-width: 0;
    height: 100%;
}

.offer-layout--offers-page .offer-panel.card,
.offer-layout--offers-page .offer-box,
.offer-layout--offers-page .offer-grid,
.offer-layout--offers-page .offer-card {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .offer-layout--offers-page {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .offer-layout--offers-page .offer-panel.card {
        padding: 10px !important;
        overflow: hidden;
    }

    .offer-layout--offers-page .offer-box {
        padding: 8px !important;
        margin: 8px 0 !important;
        overflow: hidden;
    }

    .offer-layout--offers-page .offer-grid {
        display: grid !important;
        direction: ltr !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }

    .offer-layout--offers-page .offer-grid.offer-grid--fixed {
        display: flex !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        margin: 0 !important;
        overflow-x: hidden !important;
        gap: 8px !important;
    }

    .offer-layout--offers-page .offer-grid.offer-grid--fixed .offer-grid-item {
        width: calc((100% - 8px) / 2) !important;
        padding: 0 !important;
        min-width: 0 !important;
    }

    .offer-layout--offers-page .offer-card {
        direction: rtl;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        padding: 6px !important;
        gap: 5px !important;
    }

    .offer-layout--offers-page .offer-thumb {
        height: 58px !important;
    }

    .offer-layout--offers-page .offer-card h4 {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
    }

    .offer-layout--offers-page .offer-prices strong {
        font-size: 1rem !important;
    }

    .offer-layout--offers-page .offer-prices .offer-old-price {
        font-size: 0.96rem !important;
    }
}

@media (max-width: 380px) {
    .offer-layout--offers-page .offer-grid.offer-grid--fixed .offer-grid-item {
        width: 100% !important;
    }
}

@media (max-width: 900px) {
    .qty-btn {
        width: 28px;
        height: 28px;
    }

    .qty-input {
        width: 60px;
        min-width: 60px;
        height: 28px;
    }

    .checkout-line-main {
        flex-direction: column;
        gap: 6px;
    }
}

/* Offers gallery hard-lock: keep long image sets inside slider (desktop + mobile) */
.offer-layout--offers-page {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: start;
}

.offer-layout--offers-page .offer-gallery {
    min-width: 0 !important;
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-rows: auto auto;
    gap: 12px;
    align-content: start;
}

.offer-layout--offers-page .offer-main-image,
.offer-layout--offers-page .offer-main-image.product-media {
    width: 100%;
    max-width: 100%;
    min-height: 0 !important;
    height: auto !important;
    max-height: min(72vh, 760px);
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
}

.offer-layout--offers-page .offer-gallery-strip {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.offer-layout--offers-page .offer-gallery-nav {
    width: 34px;
    height: 34px;
}

.offer-layout--offers-page .offer-gallery-thumbs {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    direction: ltr;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.offer-layout--offers-page .offer-gallery-thumbs::-webkit-scrollbar {
    display: none;
}

.offer-layout--offers-page .offer-gallery-thumb {
    flex: 0 0 64px;
    width: 64px;
    min-width: 64px;
    height: 64px;
    scroll-snap-align: center;
}

@media (min-width: 901px) {
    .offer-layout--offers-page .offer-gallery {
        position: sticky;
        top: 108px;
    }
}

@media (max-width: 900px) {
    .offer-layout--offers-page {
        grid-template-columns: 1fr !important;
    }

    .offer-layout--offers-page .offer-gallery {
        order: 1;
        position: static;
    }

    .offer-layout--offers-page .offer-panel.card {
        order: 2;
    }

    .offer-layout--offers-page .offer-main-image,
    .offer-layout--offers-page .offer-main-image.product-media {
        aspect-ratio: 1 / 1;
        max-height: 58vh;
        border-radius: 14px;
    }

    .offer-layout--offers-page .offer-gallery-strip {
        grid-template-columns: 32px minmax(0, 1fr) 32px;
        gap: 6px;
    }

    .offer-layout--offers-page .offer-gallery-nav {
        width: 30px;
        height: 30px;
    }

    .offer-layout--offers-page .offer-gallery-thumb {
        flex-basis: 54px;
        width: 54px;
        min-width: 54px;
        height: 54px;
        border-radius: 9px;
    }
}

/* Final offers isolation lock: gallery must not interfere with form */
.offer-layout--offers-page {
    overflow-x: hidden;
    overflow-y: visible;
}

.offer-layout--offers-page > .offer-gallery,
.offer-layout--offers-page > .offer-panel.card {
    min-width: 0 !important;
    max-width: 100%;
}

.offer-layout--offers-page .offer-gallery {
    position: static !important;
    align-self: start;
    isolation: isolate;
}

.offer-layout--offers-page .offer-gallery-strip {
    max-width: 100%;
}

.offer-layout--offers-page .offer-gallery-thumbs {
    display: flex !important;
    flex-wrap: nowrap !important;
    max-width: 100%;
}

.offer-layout--offers-page .offer-panel.card {
    overflow: hidden;
}

@media (max-width: 900px) {
    .offer-most-selling-badge {
        inset-block-start: 0;
        font-size: 0.62rem;
        padding: 5px 9px 5px 11px;
        border-radius: 0 0 10px 0;
    }

    .offer-most-selling-badge::after {
        border-width: 6px 6px 0 0;
    }

    [dir='rtl'] .offer-most-selling-badge {
        padding: 5px 11px 5px 9px;
        border-radius: 0 0 0 10px;
    }

    [dir='rtl'] .offer-most-selling-badge::after {
        border-width: 6px 0 0 6px;
    }
}
