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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--dark);
    min-height: 100vh;
    overflow-x: hidden;
}
:root {

    --lw-bg: #ffffff;
    --lw-text: #222;
    --lw-shadow: 0 6px 18px rgba(41,165,162,0.08);
    --green: #1b5e20;
    --green-light: #2e7d32;
    --green-glow: rgba(46,125,50,0.15);
    --red: #c62828;
    --cream: #f7f3ec;
    --white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-200: #e8e8e8;
    --gray-500: #9e9e9e;
    --dark: #1a1a1a;
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.13);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-pill: 999px;
    --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}
/* ====================== ANNOUNCEMENT BAR ====================== */

.announcement-bar {
    background: linear-gradient(90deg, #1b5e20, #2e7d32);
    color: white;
    text-align: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.03em;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.announcement-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shimmer 4s infinite linear;
}
/* ====================== ANNOUNCEMENT BAR END ====================== */

/* Header */
.header {
    width: 100%;
    background: var(--cream);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    backdrop-filter: blur(12px);
    background: rgba(247,243,236,0.95);
}

.header-inner {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    border-radius: 14px;
    padding: 8px 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    flex-wrap: nowrap;
}

/* Header Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
    min-width: 0;
}
.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
    position: relative;
}
.nav-link:hover {
    color: var(--green);
    background: rgba(46,125,50,0.06);
}
.nav-link.active {
    color: var(--green);
    font-weight: 700;
}
.nav-link.active::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 5px;
    height: 1.5px;
    background: var(--green);
    border-radius: 1px;
}
.nav-more {
    display: none;
    color: var(--dark);
}
.nav-more-dots {
    letter-spacing: 1px;
    font-weight: 700;
}
.nav-hide-md {
    display: inline;
}

.menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 9px 6px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    transition: var(--transition);
    white-space: nowrap;
}

.menu-btn:hover {
    color: var(--green);
    transform: translateY(-1px);
}

.menu-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 14px;
    cursor: pointer;
    animation: logoReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.logo-icon-wrap {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 50%;
}

.logo-icon-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.65) 48%, transparent 62%);
    transform: translateX(-130%);
    pointer-events: none;
}

.logo-icon {
    height: 46px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.logo:hover .logo-icon {
    transform: scale(1.08);
}

.logo:hover .logo-icon-wrap::after {
    animation: logoShine 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    overflow: hidden;
}

.logo-main {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--green);
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.logo:hover .logo-main {
    letter-spacing: 1px;
}

.logo-main strong {
    font-weight: 900;
}

.logo-tagline {
    font-size: 11px;
    font-weight: 500;
    color: var(--green);
    opacity: 0.75;
    white-space: nowrap;
    position: relative;
}

.logo-tagline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--green);
    transition: width 0.4s ease;
}

.logo:hover .logo-tagline::after {
    width: 100%;
}

@keyframes logoReveal {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(0.94);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes logoShine {
    to {
        transform: translateX(130%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo,
    .logo-icon,
    .logo-icon-wrap::after {
        animation: none;
    }
    .logo-icon,
    .logo-main,
    .logo-tagline::after {
        transition: none;
    }
}

@media (max-width: 480px) {
    .logo-icon { height: 38px; }
    .logo-main { font-size: 17px; }
    .logo-tagline { font-size: 10px; }
}

/* Search */
.search-wrap {
    position: relative;
    flex: 0 1 270px;
    max-width: 320px;
    min-width: 155px;
    margin: 0;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1.5px solid var(--green-light);
    border-radius: 50px;
    overflow: hidden;
    height: 46px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.search-icon-btn {
    width: 46px;
    height: 46px;
    border: none;
    background: transparent;
    color: var(--dark);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Wrapper-ը input-ի ու submit կոճակի շուրջ. պետք է flex լինի, որ input-ը իրոք լայնանա */
.search-fields {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

#searchInput {
    flex: 1;
    min-width: 0;
    border: none;
    padding: 0 10px 0 0;
    outline: none;
    background: transparent;
    font-size: 15px;
}

.search-box:focus-within {
    border-color: var(--green-light);
    background: white;
    box-shadow: 0 0 0 3px var(--green-glow);
}
.search-submit-btn {
    width: 46px;
    height: 46px;
    border: none;
    background: var(--green);
    color: white;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search-box input {
    flex: 1;
    border: none;
    padding: 0 16px;
    outline: none;
    background: transparent;
    font-size: 15px;
    color: var(--dark);
    height: 100%;
}

.search-box input::placeholder {
    color: var(--gray-500);
}

.search-btn {
    background: var(--green);
    border: none;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.search-btn:hover {
    background: var(--green-light);
}

.search-btn i {
    color: white;
    font-size: 18px;
}


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

.phone-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 12px;
    transition: all 0.3s;
    background: rgba(27, 94, 32, 0.05);
}

.phone-link:hover {
    background: rgba(27, 94, 32, 0.12);
    transform: translateY(-1px);
}

.phone-link i {
    font-size: 20px;
    color: var(--green);
}

.phone-label {
    font-size: 12px;
    color: #666;
    display: block;
    line-height: 1;
}

.phone-number {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--dark);
    white-space: nowrap;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.action-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: transparent;
    border: none;
    color: var(--dark);
    font-size: 17px;
    transition: var(--transition);
}

.action-btn:hover {
    background: var(--dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.action-btn .badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--red);
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

@keyframes cartIconBounce {
    0% { transform: scale(1) rotate(0); }
    30% { transform: scale(1.18) rotate(-8deg); }
    60% { transform: scale(0.94) rotate(6deg); }
    100% { transform: scale(1) rotate(0); }
}

.action-btn.cart-bounce i {
    animation: cartIconBounce 0.5s ease;
}

@keyframes badgePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.35); }
    100% { transform: scale(1); }
}

.action-btn .badge.pulse {
    animation: badgePulse 0.3s ease;
}

.fly-to-cart {
    position: fixed;
    z-index: 9999;
    border-radius: 50%;
    object-fit: cover;
    pointer-events: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    transition: top 0.7s cubic-bezier(0.55, 0, 0.1, 1),
                left 0.7s cubic-bezier(0.55, 0, 0.1, 1),
                width 0.7s ease, height 0.7s ease,
                opacity 0.7s ease 0.4s;
}

.action-divider {
    width: 1px;
    height: 28px;
    background: var(--gray-200);
    margin: 0 4px;
}
/* Hero Section */
.hero-section {
    max-width: 1600px;
    margin: 32px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.hero-slider-panel {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.55);
    color: var(--dark);
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.5);
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 14px rgba(0,0,0,0.14), inset 0 1px 0 rgba(255,255,255,0.6);
    backdrop-filter: blur(4px);
    transition: var(--transition);
}

.hero-nav-btn:hover {
    background: white;
    box-shadow: 0 8px 22px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.8);
    transform: translateY(-50%) scale(1.08);
}

.hero-nav-prev { left: 18px; }
.hero-nav-next { right: 18px; }

.heroSlider {
    width: 100%;
    height: 600px;
    background: linear-gradient(160deg, #1b5e20 0%, #0f2014 100%);
}

.heroSlider .swiper-wrapper {
    width: 100%;
    height: 100%;
}

.heroSlider .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #1b5e20 0%, #0f2014 100%);
}

.hero-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 60px 48px 44px;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.hero-slide-overlay h2 {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: white;
    margin: 0;
    line-height: 1.15;
}

.hero-slide-overlay p {
    color: rgba(255,255,255,0.72);
    font-size: 14px;
    margin: 0 0 4px;
    max-width: 460px;
}

.hero-slide-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: rgba(255,255,255,0.6);
    font-size: 15px;
}

/* Swiper pagination dots */
.swiper-pagination {
    position: absolute;
    bottom: 22px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 5;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.4);
    opacity: 1;
    margin: 0 4px !important;
    border-radius: 999px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: rgba(255,255,255,0.9);
    width: 28px;
    height: 8px;
    border-radius: 999px;
}



.slide-tag-accent {
    color: #ffc107;
    font-weight: 900;
    font-size: 17px;
}

.slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: none;
    padding: 8px 8px 8px 26px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    width: fit-content;
    background: #ffc107;
    color: var(--dark);
    transition: var(--transition);
}

.slide-cta:hover .slide-cta-arrow {
    transform: translateX(3px);
}

.slide-cta-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--dark);
    border-radius: 50%;
    font-size: 17px;
    transition: transform 0.3s ease;
}

/* Side Banners */
.hero-banners {
    display: flex;
    flex-direction: column;
    gap:24px;
}

/* Hero-ի կողքի "Զեղչված ապրանքներ" / "Հատուկ առաջարկ" քարտեր (իրական ապրանքի նկարով ֆոն) */
.banner-img-card {
    position: relative;
    flex: 1;
    min-height: 288px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-img-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.banner-img-card:active {
    transform: translateY(-1px) scale(0.98);
}

.banner-img-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-img-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 24px;
    background: linear-gradient(0deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.5) 38%, rgba(0,0,0,0.12) 68%, transparent 100%);
}

.banner-img-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 800;
    color: white;
    margin-bottom: 4px;
    line-height: 1.2;
}

.banner-img-overlay p {
    font-size: 13.5px;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

.banner-round-arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #ffc107;
    color: var(--dark);
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.banner-round-arrow:hover {
    transform: translateX(3px);
}

/* "Մեր ապրանքները" հորիզոնական scroll շարք */
.new-arrivals-section {
    max-width: 1600px;
    margin: 60px auto;
    padding: 0 24px;
}

.new-arrivals-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.new-arrivals-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--green);
    margin: 0;
}

.new-arrivals-arrows {
    display: flex;
    gap: 10px;
}

.round-scroll-btn {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--gray-200);
    border-radius: 50%;
    background: white;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
}

.round-scroll-btn:hover {
    background: var(--green);
    color: white;
    border-color: var(--green);
}

.new-arrivals-scroll {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    padding: 6px 2px 16px;
    scrollbar-width: thin;
}

.new-arrivals-scroll .product-card {
    flex: 0 0 230px;
    scroll-snap-align: start;
}

/* ====================== ԱՊՐԱՆՔՆԵՐԻ ԲԱԺԻՆ (Sati.am ոճ) ====================== */

.products-section {
    max-width: 1600px;
    margin: 60px auto;
    padding: 0 24px;
    scroll-margin-top: 90px; /* sticky header-ի տակ չմնա վերնագիրը scroll-ից հետո */
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 38px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #1b5e20;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-header h2.reveal-in {
    opacity: 1;
    transform: translateY(0);
}

.category-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 20px;
    background: white;
    border: 1.5px solid #e0e0e0;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
}

.category-btn.active,
.category-btn:hover {
    background: #1b5e20;
    color: white;
    border-color: #1b5e20;
}

.category-btn-extra {
    display: none;
}

.category-filters.expanded .category-btn-extra {
    display: inline-block;
}

.category-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: transparent;
    border: 1.5px dashed #c8c8c8;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    transition: all 0.3s;
    white-space: nowrap;
}

.category-more-btn:hover {
    border-color: #1b5e20;
    color: #1b5e20;
}

.category-more-btn i {
    font-size: 11px;
    transition: transform 0.25s ease;
}

.category-more-btn.open i {
    transform: rotate(180deg);
}

/* ====================== ԱՊՐԱՆՔՆԵՐԻ ՔԱՐՏԵՐ  ====================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    row-gap: 20px;
    column-gap: 28px;
    padding: 30px 0;
    align-items: stretch;
}

.no-results-msg {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    font-size: 1.1rem;
    color: #777;
    animation: cardFadeIn 0.7s ease both;
}

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

.product-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    opacity: 0;
}

.product-card.reveal {
    animation: cardFadeIn 0.6s ease both;
}

/* animationend-ից հետո JS-ը փոխարինում է .reveal-ը սրանով, որ transform-ը
   կրկին ազատ լինի :hover transition-ի համար (fill-mode: both հակառակ դեպքում արգելափակում է այն) */
.product-card.revealed {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
    border-color: rgba(27,94,32,0.22);
}

.product-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--cream);
    padding: 16px;
    box-sizing: border-box;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transform: scale(var(--img-zoom, 1));
    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: scale(calc(var(--img-zoom, 1) * 1.05));
}

/* Զեղչի/նորույթի badge՝ նկարի վրա, վերևից ձախ */
.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 20px;
    z-index: 5;
    color: white;
}

.card-badge-discount {
    background: #1b5e20;
    animation: badgeBreathe 2.6s ease-in-out infinite;
}

.card-badge-new {
    background: #f59e0b;
}

@keyframes badgeBreathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

/* Ընտրյալների (wishlist) սրտիկը՝ նկարի վրա, վերևից աջ */
.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.wishlist-btn:hover {
    transform: scale(1.1);
}

.wishlist-btn.active {
    color: #e53935;
}

@keyframes heartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.25); }
    100% { transform: scale(1); }
}

.wishlist-btn.pop i {
    animation: heartPop 0.3s ease;
}

.product-info {
    padding: 21px 15px 15px;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-name {
    font-size: 15.5px;
    font-weight: 600;
    margin: 0 0 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    height: 40px;
}

.product-desc {
    font-size: 12.5px;
    color: #8a8a8a;
    line-height: 1.35;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Հին/նոր գին, qty-stepper, "Ավելացնել" կոճակ՝ միշտ տեսանելի, ոչ թե միայն hover-ի ժամանակ */
.price-static-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 2px 0 12px;
    flex-wrap: wrap;
}

.price-static-row .price-discounted {
    font-size: 18px;
    font-weight: 700;
    color: #1b5e20;
}

.price-static-row .price-original {
    font-size: 13px;
    color: #bbbbbb;
    text-decoration: line-through;
}

.price-static-row .discount-badge {
    display: none;
}

.card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}

.qty-stepper {
    display: flex;
    align-items: center;
    gap: 2px;
    border: 1.5px solid #e0e0e0;
    border-radius: 30px;
    padding: 2px;
    flex-shrink: 0;
}

.qty-stepper button {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #444;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.qty-stepper button:hover {
    background: #f0f0f0;
}

.qty-stepper span {
    min-width: 19px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.add-to-cart {
    flex: 1;
    background: #1b5e20;
    color: white;
    border: none;
    padding: 11px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    transition: 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.add-to-cart:hover {
    background: #2e7d32;
}

/* ====================== ԶԱՄԲՅՈՒՂԻ ՄՈԴԱԼ ====================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1500; /* Ավելի բարձր, քան header-ը (z-index: 1000), հակառակ դեպքում header-ը ծածկում է close-modal կոճակը */
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    background: white;
    width: 90%;
    max-width: 520px;
    border-radius: 16px;
    max-height: 85vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    animation: modalPopIn .35s cubic-bezier(.22, 1, .36, 1);
}

@keyframes modalPopIn {
    from {
        opacity: 0;
        transform: scale(.94) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-modal-icon {
    color: #1b5e20;
    font-size: 19px;
    animation: cartIconPop .5s cubic-bezier(.34, 1.56, .64, 1) .1s both;
}

@keyframes cartIconPop {
    0% { opacity: 0; transform: scale(.5) rotate(-15deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* "Մեր մասին" / "Ծառայություններ" / "Նորություններ" — բովանդակությունը դեռ դատարկ է,
   min-height-ը պահում է որ մոդալը կոկիկ տեսք ունենա, մինչև ձեռքով լրացվի */
.info-modal-body {
    padding: 24px 20px;
    min-height: 120px;
    color: #555;
    line-height: 1.6;
}

.cart-items {
    padding: 15px 20px;
    max-height: 420px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    animation: cartItemIn .4s cubic-bezier(.22, 1, .36, 1) both;
}

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

.cart-item img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1 1 140px;
    min-width: 0;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 4px;
    overflow-wrap: break-word;
}

.cart-item-info .price {
    font-size: 17px;
    font-weight: 700;
    color: #1b5e20;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 2px;
    border: 1.5px solid #e0e0e0;
    border-radius: 30px;
    padding: 3px;
    transition: border-color .25s ease;
}

.cart-item-qty:hover {
    border-color: #c8e6c9;
}

.cart-item-qty button {
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #444;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, color .2s ease, transform .2s cubic-bezier(.34, 1.56, .64, 1);
}

.cart-item-qty button:hover {
    background: #1b5e20;
    color: #fff;
    transform: scale(1.12);
}

.cart-item-qty button:active {
    transform: scale(.92);
}

.cart-item-qty span {
    min-width: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 13.5px;
}

.cart-item-remove {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    border: none;
    background: rgba(198,40,40,.08);
    color: #c62828;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: background .25s ease, color .25s ease, transform .25s cubic-bezier(.34, 1.56, .64, 1);
}

.cart-item-remove:hover {
    background: #c62828;
    color: #fff;
    transform: scale(1.1) rotate(-8deg);
}

.cart-item-remove:active {
    transform: scale(.9);
}

.cart-total {
    padding: 15px 20px;
    border-top: 2px solid #eee;
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
}

.modal-actions {
    padding: 15px 20px;
    display: flex;
    gap: 12px;
    border-top: 1px solid #eee;
}

.btn-secondary {
    flex: 1;
    padding: 14px;
    background: #f5f5f5;
    color: #333;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary {
    flex: 1;
    padding: 14px;
    background: #1b5e20;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background .25s ease, transform .2s ease, box-shadow .25s ease;
}

.btn-primary:hover {
    background: #2e7d32;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -6px rgba(27,94,32,.5);
}

.btn-secondary:hover {
    background: #ececec;
    transform: translateY(-2px);
}

/* Cart modal-ը 100% responsive՝ desktop/tablet/mobile բոլորի համար */
@media (max-width: 600px) {
    .modal-content {
        width: 94%;
        max-height: 90vh;
    }
    .cart-items {
        padding: 12px 16px;
        max-height: 50vh;
    }
    .cart-item {
        gap: 12px;
        padding: 12px 0;
    }
    .cart-item img {
        width: 56px;
        height: 56px;
    }
    .cart-total,
    .modal-actions {
        padding: 14px 16px;
    }
}

@media (max-width: 400px) {
    .cart-item-actions {
        margin-left: 0;
        width: 100%;
        justify-content: space-between;
        padding-left: 68px; /* նկարի լայնությանը հավասարվում է, որ actions-ը info-ի տակ հավասարվի */
    }
    .modal-actions {
        flex-direction: column;
    }
}
/* ====================== ԺԱՄԱՆԱԿԱԿԻՑ ԼԵԶՈՒՆԵՐԻ ԸՆՏՐԱՑՈՒՑԱԿ ====================== */
/* ====================== ՄԵՆՅՈՒ ՄՈԴԱԼ ====================== */
.menu-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9999 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.menu-modal.active {
    opacity: 1;
    visibility: visible;
}
.menu-modal-content {
z-index: 10000 !important;    /* Ավելի բարձր, քան header-ը */
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: white;
    box-shadow: 5px 0 30px rgba(0,0,0,0.2);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}
.menu-modal.active .menu-modal-content {
    transform: translateX(0);
}
.menu-header {
  padding: 20px 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    position: sticky;
    top: 0;
    z-index: 20000000;
}

.menu-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #1b5e20;
}

.menu-items {
    padding: 10px 0;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 25px;
    color: #333;
    text-decoration: none;
    font-size: 16.5px;
    font-weight: 500;
    border-bottom: 1px solid #f8f9fa;
    transition: background 0.3s ease, color 0.3s ease, padding-left 0.3s ease;
    opacity: 0;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background: #f0f7f0;
    color: #1b5e20;
    padding-left: 30px;
}

/* Մենյուն բացվելիս item-երը cascading են հայտնվում ձախից, ոչ թե ամբողջը միանգամից */
.menu-modal.active .menu-item {
    animation: menuItemIn .45s cubic-bezier(.22, 1, .36, 1) both;
}

.menu-modal.active .menu-item:nth-child(1)  { animation-delay: .04s; }
.menu-modal.active .menu-item:nth-child(2)  { animation-delay: .08s; }
.menu-modal.active .menu-item:nth-child(3)  { animation-delay: .12s; }
.menu-modal.active .menu-item:nth-child(4)  { animation-delay: .16s; }
.menu-modal.active .menu-item:nth-child(5)  { animation-delay: .20s; }
.menu-modal.active .menu-item:nth-child(6)  { animation-delay: .24s; }
.menu-modal.active .menu-item:nth-child(7)  { animation-delay: .28s; }
.menu-modal.active .menu-item:nth-child(8)  { animation-delay: .32s; }
.menu-modal.active .menu-item:nth-child(9)  { animation-delay: .36s; }
.menu-modal.active .menu-item:nth-child(10) { animation-delay: .40s; }
.menu-modal.active .menu-item:nth-child(11) { animation-delay: .44s; }
.menu-modal.active .menu-item:nth-child(12) { animation-delay: .48s; }
.menu-modal.active .menu-item:nth-child(13) { animation-delay: .52s; }

@keyframes menuItemIn {
    from {
        opacity: 0;
        transform: translateX(-14px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.menu-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(46,125,50,.08);
    border: 1.5px solid rgba(46,125,50,.2);
    transition: background .35s cubic-bezier(.34,1.56,.64,1), border-color .35s ease, transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease;
}

.menu-item-icon i {
    font-size: 16px;
    color: #2e7d32;
    transition: color .3s ease, transform .35s cubic-bezier(.34,1.56,.64,1);
}

.menu-item:hover .menu-item-icon {
    background: #1b5e20;
    border-color: #1b5e20;
    transform: scale(1.12) rotate(-6deg);
    box-shadow: 0 6px 16px -4px rgba(27,94,32,.5);
}

.menu-item:hover .menu-item-icon i {
    color: #fff;
    transform: scale(1.05);
}
 /* Թաքցնում ենք վերևի toolbar-ը */
 .goog-te-banner-frame.skiptranslate { display: none !important; }
 body { top: 0px !important; }
 
 /* Թաքցնում ենք գունավոր background-ը body-ի վերևից */
 body > .skiptranslate { display: none !important; }
.lw-wrap * { box-sizing: border-box; }

.lw-wrap{
 position: relative;
 display: inline-block;
 z-index: 9999;
}

.lw-btn{
 display: flex;
 align-items: center;
 gap: 6px;
 padding: 6px 12px;
 background: var(--lw-bg);
 border-radius: 12px;
 box-shadow: 0 2px 6px rgba(0,0,0,0.05);
 border: 1px solid rgba(0,0,0,0.06);
 cursor: pointer;
 user-select: none;
 white-space: nowrap;
 transition: transform .12s ease;
 position: relative;
 z-index: 300;
}

.lw-btn:active{transform: translateY(1px);}

.lw-flag img{width: 20px;}

.lw-label{font-weight: 600; color: var(--lw-text); font-size: 14px;}
.lw-caret{margin-left:auto; font-size: 14px; color: rgba(0,0,0,0.85); transition: transform .18s;}

.lw-menu{
 position: absolute;
 right: 0;
 top: calc(100% + 8px);
 background: var(--lw-bg);
 border-radius: 12px;
 padding: 6px 0;
 box-shadow: 0 18px 40px rgba(23,45,56,0.08);
 min-width: 180px;
 border: 1px solid rgba(0,0,0,0.04);
 opacity: 0;
 transform: translateY(-6px) scale(.98);
 pointer-events: none;
 transition: opacity .18s ease, transform .18s ease;
 z-index: 100;
}

.lw-menu.lw-show{
 opacity: 1;
 transform: translateY(0) scale(1);
 pointer-events: auto;
}

.lw-option{
 display: flex;
 gap: 10px;
 align-items: center;
 padding: 8px 14px;
 border-radius: 10px;
 cursor: pointer;
 transition: background .12s ease;
 text-decoration: none;
 color: var(--lw-text);
 font-size: 14px;
}

.lw-option img{
 width: 20px;
}

.lw-option:hover{
 background: rgba(41,165,162,0.06);
}

.lw-option[data-checked="true"]{
 background: linear-gradient(90deg, rgba(41,165,162,0.10), rgba(41,165,162,0.03));
}
.currency-wrapper { display: flex; align-items: center; }
.currency-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
    white-space: nowrap;
    transition: var(--transition);
}
.currency-btn:hover,
.currency-btn.open {
    border-color: var(--green);
}
.currency-btn .lw-caret {
    transition: transform 0.25s ease;
    font-size: 11px;
    color: var(--green);
}
.currency-btn.open .lw-caret {
    transform: rotate(180deg);
}

.currency-wrap { position: relative; }
.currency-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    min-width: 220px;
    padding: 6px;
    z-index: 100;
}
.currency-menu.show { display: block; }

.currency-menu .currency-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    border-left: 3px solid transparent;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
}
.currency-menu .currency-option:hover { background: var(--gray-100); }

.currency-menu .currency-option .curr-symbol {
    width: 22px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    flex-shrink: 0;
}
.currency-menu .currency-option .curr-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    line-height: 1.3;
}
.currency-menu .currency-option .curr-code {
    font-weight: 700;
    font-size: 14px;
    color: var(--dark);
}
.currency-menu .currency-option .curr-name {
    font-size: 12px;
    color: #888;
}
.currency-menu .currency-option .curr-check {
    opacity: 0;
    color: var(--green);
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
}

.currency-menu .currency-option[data-checked="true"] {
    background: var(--green-glow, rgba(27,94,32,0.08));
    border-left-color: var(--green);
}
.currency-menu .currency-option[data-checked="true"] .curr-symbol,
.currency-menu .currency-option[data-checked="true"] .curr-code {
    color: var(--green);
}
.currency-menu .currency-option[data-checked="true"] .curr-check {
    opacity: 1;
}
.price-original {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-right: 8px;
}
.price-discounted {
    color: #c62828;
    font-weight: 700;
    font-size: 18px;
}
.discount-badge {
    background: #c62828;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
}
.product-image-wrap {
    position: relative;
    overflow: hidden;
}

.featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 4px 11px;
    border-radius: 20px;
    background: linear-gradient(135deg, #1b5e20, #2e7d32);
    color: white;
    z-index: 5;
}
.product-modal-content {
    width: min(1100px, 95%);
    max-width: 1100px;
    position: relative;
    border-radius: 20px;
    overflow: visible;
    padding: 0;
}
/* close-modal կոճակը այս wrapper-ից դուրս է (dialog-ի հին անկյունային դիրքում, ֆիքսված),
   scroll-ը կիրառվում է միայն ներսի բովանդակության վրա, որ կարծիք գրելիս scroll անելիս
   X-ը երբեք չհեռանա էկրանից */
.product-modal-scroll {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 85vh;
    border-radius: inherit;
}
.product-modal-image{
    background:#f8f8f8;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:30px;
}
.product-modal-image img{
    width:100%;
    max-height:500px;
    object-fit:contain;
}
.product-modal-info{
    padding:40px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:18px;
}
.product-modal-info h2{
    font-size:36px;
    font-weight:700;
    line-height:1.2;
}
.price{
    font-size:34px;
    font-weight:700;
    color:#d32f2f;
}
.product-modal-body{
    display:grid;
    grid-template-columns:55% 45%;
}
.quantity-control{
    display:flex;
    align-items:center;
    gap:20px;
    margin-top:20px;
}
.quantity-btn{
    width:42px;
    height:42px;
    border-radius:10px;
    font-size:22px;
}

.add-to-cart{
    flex-shrink: 0;
    background: #1b5e20;
    color: white;
    border: none;
    padding: 7px 13px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12.5px;
    cursor: pointer;
    transition: 0.25s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}
.add-to-cart i {
    font-size: 11px;
}

/* ====================== ԱՍՏՂԱՆԻՇՆԵՐ / ԿԱՐԾԻՔՆԵՐ ====================== */
.card-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #f5a623;
    font-size: 13px;
    height: 16px;
    margin-bottom: 6px;
}

.card-rating-empty {
    visibility: hidden;
}

.card-rating .rating-count {
    color: #6b6b6b;
    font-weight: 600;
    font-size: 12px;
}

.reviews-section {
    padding: 24px 40px 40px;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

.reviews-section h3 {
    font-size: 18px;
    margin-bottom: 14px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 26px;
    max-height: 260px;
    overflow-y: auto;
}

.review-item {
    padding: 12px 14px;
    background: #f8f8f8;
    border-radius: 10px;
}

.review-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.review-item-header strong {
    font-size: 14px;
    min-width: 0;
    overflow-wrap: break-word;
}

.review-stars {
    color: #f5a623;
    font-size: 12px;
    flex-shrink: 0;
}

.review-comment {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

.no-reviews {
    color: #888;
    font-size: 14px;
}

.review-form {
    border-top: 1px dashed #ddd;
    padding-top: 20px;
}

.review-form h4 {
    font-size: 15px;
    margin-bottom: 12px;
}

.review-form-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.review-form-row input {
    flex: 1;
    min-width: 160px;
    padding: 10px 14px;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
}

.review-star-picker {
    display: flex;
    gap: 4px;
    font-size: 20px;
    color: #f5a623;
}

.review-star-picker i {
    cursor: pointer;
    padding: 6px 2px;
    transition: transform 0.15s ease;
}

.review-star-picker i:hover {
    transform: scale(1.15);
}

.review-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    resize: vertical;
    margin-bottom: 12px;
    font-family: inherit;
}

.review-message {
    margin-top: 10px;
    font-size: 13.5px;
    min-height: 18px;
}

.review-message.success {
    color: #1b5e20;
}

.review-message.error {
    color: #c62828;
}

/* ==================== CHECKOUT (երկսյուն դիզայն) ==================== */
.checkout-modal-content {
    max-width: 920px;
    width: 92%;
    padding: 0;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    max-height: 88vh;
}

/* --- Ձախ sidebar (ամփոփում + վստահության badge-ներ + լոգո) --- */
.checkout-sidebar {
    width: 300px;
    flex-shrink: 0;
    background: linear-gradient(160deg, #1b5e20 0%, #0f2014 100%);
    color: #fff;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    overflow-y: auto;
}

.checkout-sidebar-header {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.checkout-sidebar-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.checkout-sidebar-header h2 {
    font-size: 17px;
    margin: 0 0 4px;
}

.checkout-sidebar-header p {
    font-size: 12.5px;
    color: rgba(255,255,255,0.75);
    margin: 0;
    line-height: 1.4;
}

.checkout-sidebar-section h4 {
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: rgba(255,255,255,0.65);
    margin: 0 0 10px;
    font-weight: 700;
}

.checkout-summary {
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 12px 14px;
    max-height: 140px;
    overflow-y: auto;
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    padding: 4px 0;
    color: rgba(255,255,255,0.9);
}

.checkout-summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    border-top: 1px dashed rgba(255,255,255,0.25);
    margin-top: 8px;
    padding-top: 8px;
}

.checkout-sidebar-trust {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.checkout-trust-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.checkout-trust-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    color: #a5d6a7;
}

.checkout-trust-item strong {
    display: block;
    font-size: 13px;
    margin-bottom: 2px;
}

.checkout-trust-item span {
    font-size: 11.5px;
    color: rgba(255,255,255,0.65);
}

/* Sidebar-ը ձևաթղթի հետ հավասար բարձրության է ձգվում (flex stretch), ուստի trust
   badge-ների տակ հաճախ մնում է ազատ տարածք. լոգոն զբաղեցնում է հենց այդ տարածքը
   (flex: 1), կենտրոնացված, նուրբ փայլով, փոխանակ ներքևի եզրին կպած մնալու */
.checkout-sidebar-logo {
    flex: 1;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
}

.checkout-sidebar-logo::before {
    content: '';
    position: absolute;
    width: min(260px, 85%);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 72%);
    border-radius: 50%;
    pointer-events: none;
    animation: checkoutLogoGlow 4s ease-in-out infinite;
}

.checkout-sidebar-fruit {
    position: relative;
    width: clamp(92px, 44%, 150px);
    height: auto;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,0.4));
    animation: checkoutLogoFloat 4s ease-in-out infinite;
}

.checkout-sidebar-wordmark {
    position: relative;
    width: clamp(120px, 52%, 190px);
    height: auto;
    opacity: 0.96;
}

@keyframes checkoutLogoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(-2deg); }
}

@keyframes checkoutLogoGlow {
    0%, 100% { opacity: 0.75; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
    .checkout-sidebar-fruit,
    .checkout-sidebar-logo::before {
        animation: none;
    }
}

/* --- Աջ panel (ֆորմ) --- */
.checkout-form-panel {
    flex: 1;
    min-width: 0;
    padding: 28px 30px;
    overflow-y: auto;
}

.checkout-form-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    padding-right: 44px; /* տեղ close-modal կոճակի համար, որը absolute դիրքով է card-ի անկյունում */
}

.checkout-form-header-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #eef6ee;
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.checkout-form-header-text {
    flex: 1;
}

.checkout-form-header-text h2 {
    font-size: 18px;
    margin: 0 0 4px;
    color: #222;
}

.checkout-form-header-text p {
    font-size: 12.5px;
    color: #777;
    margin: 0;
}

.checkout-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--green);
    margin: 20px 0 12px;
}

.checkout-section-title:first-of-type {
    margin-top: 0;
}

.checkout-section-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: #eef6ee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.checkout-form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.checkout-input-icon-wrap {
    flex: 1;
    min-width: 160px;
    position: relative;
    display: flex;
    align-items: center;
}

.checkout-input-icon-wrap.checkout-input-full {
    flex-basis: 100%;
}

.checkout-input-icon-wrap i {
    position: absolute;
    left: 14px;
    color: #999;
    font-size: 13px;
    pointer-events: none;
}

.checkout-input-icon-wrap input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
}

.checkout-input-icon-wrap input:focus {
    outline: none;
    border-color: var(--green);
}

.checkout-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    resize: vertical;
    margin-bottom: 14px;
    font-family: inherit;
}

.checkout-payment-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.checkout-payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
    border: 1.5px solid #ddd;
    border-radius: 12px;
    padding: 12px 14px;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.checkout-payment-option:has(input:checked) {
    border-color: var(--green);
    background: #f3f9f3;
}

.checkout-payment-option input[type="radio"] {
    accent-color: var(--green);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.checkout-payment-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 13px;
    flex-shrink: 0;
}

.checkout-payment-note {
    display: none;
    align-items: flex-start;
    gap: 10px;
    background: #f3f9f3;
    border: 1px solid #d5ead5;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 12.5px;
    color: #33513a;
    line-height: 1.4;
    margin: -2px 0 0;
}

.checkout-payment-note.visible {
    display: flex;
}

.checkout-payment-note i {
    color: var(--green);
    margin-top: 1px;
}

.checkout-actions {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.checkout-actions .btn-secondary,
.checkout-actions .btn-primary {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.checkout-message {
    margin-top: 10px;
    font-size: 13.5px;
    min-height: 18px;
    text-align: center;
}

.checkout-message.success {
    color: var(--green);
}

.checkout-message.error {
    color: #c62828;
}

/* Պլանշետներ (~761-900px). Երկսյուն layout-ը մնում է, բայց sidebar-ն ավելի նեղ է,
   որ ձևաթուղթն ունենա բավարար լայնություն */
@media (max-width: 900px) and (min-width: 761px) {
    .checkout-sidebar {
        width: 250px;
        padding: 22px 18px;
    }
    .checkout-form-panel {
        padding: 24px 22px;
    }
}

/* Հեռախոսներ (≤760px). Sidebar-ը stack է լինում ձևաթղթի վրայից, ներքին
   padding/gap-երը սեղմվում են, որ ձևաթուղթին հասնելու համար քիչ scroll պետք գա */
@media (max-width: 760px) {
    .checkout-modal-content {
        flex-direction: column;
        max-height: 92vh;
        width: 94%;
    }
    .checkout-sidebar {
        width: auto;
        padding: 20px 20px 16px;
        gap: 16px;
    }
    .checkout-sidebar-trust {
        gap: 10px;
    }
    .checkout-sidebar-logo {
        min-height: 70px;
    }
    .checkout-form-panel {
        padding: 20px 18px;
    }
    .checkout-form-header {
        padding-right: 40px;
        margin-bottom: 16px;
    }
    .checkout-section-title {
        margin: 16px 0 10px;
    }
}

/* Շատ նեղ էկրաններ (փոքր հեռախոսներ, ~360px և պակաս) */
@media (max-width: 380px) {
    .checkout-sidebar {
        padding: 16px 16px 12px;
        gap: 12px;
    }
    .checkout-sidebar-header h2 {
        font-size: 15.5px;
    }
    .checkout-sidebar-header p {
        font-size: 11.5px;
    }
    .checkout-form-panel {
        padding: 16px 14px;
    }
    .checkout-form-header-text h2 {
        font-size: 16px;
    }
    .checkout-input-icon-wrap input {
        font-size: 13.5px;
        padding: 9px 12px 9px 34px;
    }
}

/* Ցածր բարձրության էկրաններ (landscape հեռախոսներ) — ուղղահայաց տարածքը
   սղում ենք, որ մոդալն ամբողջությամբ տեղավորվի առանց չափազանց scroll-ի */
@media (max-height: 700px) {
    .checkout-modal-content {
        max-height: 96vh;
    }
    .checkout-sidebar-logo {
        min-height: 50px;
    }
    .checkout-sidebar-fruit {
        width: clamp(60px, 30%, 90px);
    }
}

.order-confirmation-content {
    text-align: center;
    padding: 40px 30px;
    max-width: 420px;
}

.order-confirmation-icon {
    font-size: 56px;
    color: var(--green);
    margin-bottom: 16px;
}

.order-confirmation-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--green);
    margin: 10px 0;
}

.close-modal{
   position: absolute;
    top: 15px;
    right: 15px;
    left: auto;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    font-size: 30px;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    z-index: 9999;
    transition: all .25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.close-modal:hover {
    background: #e53935;
    color: #fff;
    transform: rotate(90deg);
}
.modal-category {
    color: #1b5e20;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.modal-stock {
    font-size: 14px;
    color: #555;
}

.modal-description {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* ==========================================
   ARM GROUP PREMIUM FOOTER
========================================== */

.footer{
    background:linear-gradient(165deg, #163d24 0%, #0b2e1c 60%, #0a2418 100%);
    color:#fff;
    max-width:1600px;
    margin:96px auto 40px;
    padding:60px 0 0;
    border-radius:28px;
    overflow:hidden;
    position:relative;
    border:1px solid rgba(255,255,255,.06);
}

.footer::before{
    content:"";
    position:absolute;
    inset:0;
    background:
    radial-gradient(circle at top left,
    rgba(46,125,50,.22),
    transparent 45%);
    pointer-events:none;
}

.footer-container{
    width:90%;
    max-width:1400px;
    margin:auto;
    position:relative;
    z-index:2;
}

/* Decorative պտուղ, մի փոքր դուրս "հոսող" անկյունից, ցածր opacity-ով */
.footer-deco-fruit{
    position:absolute;
    left:-60px;
    bottom:-60px;
    width:280px;
    height:auto;
    opacity:.12;
    pointer-events:none;
    transform:rotate(-12deg);
    z-index:1;
}

.footer-top{
    display:flex;
    flex-wrap:wrap;
    gap:50px;
    align-items:flex-start;
    padding-bottom:50px;
}

.footer-top-v2{
    gap:36px;
}

/* flex-basis-ը որոշում է սյուների հարաբերական լայնությունը, բայց յուրաքանչյուրն
   իր սեփական բովանդակության բարձրությունն ունի (ոչ թե ձգվում է ամենաբարձրի հետ հավասար) */
.footer-top-v2 > .footer-brand{ flex:1.6 1 260px; }
.footer-top-v2 > .footer-column{ flex:1 1 160px; }

/* =======================
      BRAND
======================= */

.footer-brand{
    display:flex;
    align-items:flex-start;
}

.footer-brand-content{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

/* =======================
      LOGO LOCKUP (icon + wordmark, animated)
======================= */

.footer-logo-row{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:16px;
}

.footer-logo-badge{
    position:relative;
    width:48px;
    height:48px;
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
}

.footer-logo-halo{
    position:absolute;
    inset:-14px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(255,193,7,.35) 0%, rgba(255,193,7,0) 68%);
    filter:blur(2px);
    animation:footerHaloPulse 4.2s ease-in-out infinite;
    z-index:0;
    pointer-events:none;
}

.footer-logo-ring{
    position:absolute;
    inset:-3px;
    border-radius:50%;
    border:1px solid rgba(255,193,7,.4);
    opacity:0;
    transform:scale(.85);
    transition:opacity .45s ease, transform .45s ease;
    pointer-events:none;
}

.footer-logo-badge:hover .footer-logo-ring{
    opacity:1;
    transform:scale(1);
}

.footer-logo-img-wrap{
    position:relative;
    display:block;
    width:100%;
    height:100%;
    border-radius:50%;
    overflow:hidden;
    z-index:1;
    animation:footerLogoFloat 4.2s ease-in-out infinite;
    transition:transform .5s cubic-bezier(.34,1.56,.64,1);
}

.footer-logo-badge:hover .footer-logo-img-wrap{
    transform:scale(1.12) rotate(-6deg);
}

.footer-logo-icon{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
    margin:0;
    filter:drop-shadow(0 3px 6px rgba(0,0,0,.35));
}

.footer-logo-shine{
    position:absolute;
    top:0; left:-60%;
    width:40%; height:100%;
    display:block;
    background:linear-gradient(115deg, transparent 0%, rgba(255,255,255,.55) 45%, transparent 90%);
    transform:skewX(-18deg);
    opacity:0;
    z-index:2;
    pointer-events:none;
}

.footer-logo-badge:hover .footer-logo-shine{
    opacity:1;
    animation:footerShineSweep .9s ease forwards;
}

@keyframes footerLogoFloat{
    0%,100%{ transform:translateY(0); }
    50%{ transform:translateY(-4px); }
}
@keyframes footerHaloPulse{
    0%,100%{ opacity:.55; transform:scale(.92); }
    50%{ opacity:1; transform:scale(1.08); }
}
@keyframes footerShineSweep{
    0%{ left:-60%; opacity:0; }
    12%{ opacity:1; }
    100%{ left:130%; opacity:0; }
}

.footer-logo-text{
    display:flex;
    flex-direction:column;
    min-width:0;
}

.footer-wordmark{
    display:block;
    font-family:'Playfair Display', serif;
    font-size:24px;
    font-weight:700;
    letter-spacing:.5px;
    line-height:1.1;
    color:#fff;
    margin:0;
}

.footer-wordmark span{
    font-weight:700;
    color:#ffc107;
}

.footer-tagline{
    font-size:10.5px;
    font-weight:600;
    letter-spacing:1.6px;
    text-transform:uppercase;
    color:#ffc107;
    margin:5px 0 0;
    opacity:.9;
}

.footer-description{
    color:#c8d6c8;
    font-size:14.5px;
    line-height:1.7;
    margin-bottom:22px;
    max-width:340px;
}

/* =======================
      COLUMNS
======================= */

.footer-column h3{
    color:#ffc107;
    margin-bottom:12px;
    font-size:17px;
    font-weight:700;
    position:relative;
    padding-bottom:12px;
}

.footer-column h3::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:26px;
    height:2px;
    background:#ffc107;
    border-radius:2px;
}

.footer-column ul{
    list-style:none;
}

.footer-column li{
    margin-bottom:13px;
}

.footer-column a{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#b8bcc6;
    text-decoration:none;
    font-size:14.5px;
    transition:.25s;
}

.footer-column a i{
    font-size:10px;
    color:rgba(255,255,255,.45);
    transition:transform .25s, color .25s;
}

.footer-column a:hover{
    color:#fff;
    font-weight:600;
}

.footer-column a:hover i{
    color:#ffc107;
    font-size:12px;
    transform:translateX(4px);
}

/* =======================
      ԿԱՊ (contact info սյուն)
======================= */

.footer-contact-item{
    display:flex;
    align-items:flex-start;
    gap:10px;
    font-size:13.5px;
    color:#b8bcc6;
    line-height:1.4;
}

.footer-contact-item i{
    color:#ffc107;
    font-size:14px;
    margin-top:2px;
    width:16px;
    text-align:center;
    flex-shrink:0;
}

.footer-contact-item a{
    color:#b8bcc6;
    text-decoration:none;
    transition:.2s;
}

.footer-contact-item a:hover{
    color:#fff;
}

/* =======================
      SOCIAL (outlined)
======================= */

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

.social-icons a{
    width:42px;
    height:42px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:transparent;
    border:1px solid rgba(255,255,255,.16);
    color:#e8e8e8;
    font-size:16px;
    transition:.3s ease;
}

.social-icons a:hover{
    background:#ffbd00;
    border-color:#ffbd00;
    color:#06351f;
    transform:translateY(-4px);
}

/* =======================
      TRUST/FEATURE ROW
======================= */

.footer-features{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    border-top:1px solid rgba(255,255,255,.08);
    border-bottom:1px solid rgba(255,255,255,.08);
    padding:32px 0;
    position:relative;
    overflow:hidden;
}

.footer-features::before{
    content:"";
    position:absolute;
    top:-1px; left:-20%;
    width:18%; height:1px;
    background:linear-gradient(90deg, transparent, #ffe08a 50%, transparent);
    animation:footerBorderSweep 5.5s ease-in-out infinite;
    opacity:.9;
    pointer-events:none;
}

@keyframes footerBorderSweep{
    0%{ left:-20%; }
    60%,100%{ left:110%; }
}

.footer-feature{
    display:flex;
    align-items:center;
    gap:16px;
    padding:8px 20px;
    border-right:1px solid rgba(255,255,255,.08);
    border-radius:14px;
    opacity:0;
    transform:translateY(14px);
    animation:footerFeatureIn .65s cubic-bezier(.22,1,.36,1) forwards;
    transition:background .35s ease, transform .35s ease;
}

.footer-feature:hover{
    background:rgba(255,193,7,.06);
    transform:translateY(-3px);
}

.footer-feature:nth-child(1){ animation-delay:.05s; }
.footer-feature:nth-child(2){ animation-delay:.16s; }
.footer-feature:nth-child(3){ animation-delay:.27s; }
.footer-feature:nth-child(4){ animation-delay:.38s; }

@keyframes footerFeatureIn{
    to{ opacity:1; transform:translateY(0); }
}

.footer-feature:last-child{
    border-right:none;
}

.footer-feature-icon{
    position:relative;
    width:44px;
    height:44px;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(255,193,7,.09);
    border:1px solid rgba(255,193,7,.25);
    transition:transform .5s cubic-bezier(.34,1.56,.64,1), background .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.footer-feature-icon::before{
    content:"";
    position:absolute;
    inset:-5px;
    border-radius:50%;
    background:conic-gradient(from 0deg, transparent 0%, #ffc107 12%, transparent 26%, transparent 100%);
    -webkit-mask:radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
    mask:radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
    animation:footerRingSpin 3.4s linear infinite;
    opacity:.6;
    pointer-events:none;
}

@keyframes footerRingSpin{
    to{ transform:rotate(360deg); }
}

.footer-feature-icon i{
    position:relative;
    z-index:1;
    font-size:19px;
    color:#66bb6a;
    transition:transform .4s ease, color .35s ease;
}

.footer-feature:hover .footer-feature-icon{
    background:linear-gradient(135deg, #ffc107, #ffe08a);
    border-color:transparent;
    transform:scale(1.1) rotate(-8deg);
    box-shadow:0 10px 22px -8px rgba(255,193,7,.6);
}

.footer-feature:hover .footer-feature-icon i{
    color:#0b2e1c;
    transform:scale(1.08) rotate(8deg);
}

.footer-feature strong{
    display:block;
    color:#fff;
    font-size:15px;
    margin-bottom:3px;
}

.footer-feature span{
    color:#8a8f9c;
    font-size:13px;
}

/* =======================
      BOTTOM
======================= */

.footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:20px;
    padding:24px 0;
}

.footer-bottom p{
    color:#8a8f9c;
    font-size:13.5px;
    margin:0;
}

.footer-bottom-left{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.footer-bottom-dot{
    color:#5a6560;
    font-size:13.5px;
}

.footer-made{
    color:#8a8f9c;
    font-size:13.5px;
    display:flex;
    align-items:center;
    gap:6px;
}

.footer-heart{
    display:inline-block;
    transform-origin:center;
    animation:footerHeartbeat 1.9s ease-in-out infinite;
}

@keyframes footerHeartbeat{
    0%,100%{ transform:scale(1); }
    15%{ transform:scale(1.3); }
    30%{ transform:scale(1); }
    45%{ transform:scale(1.22); }
    62%{ transform:scale(1); }
}

.footer-scrolltop{
    position:relative;
    width:38px;
    height:38px;
    border-radius:50%;
    background:transparent;
    border:1.5px solid #ffc107;
    color:#ffc107;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    transition:background .3s, color .3s, transform .3s, box-shadow .3s;
}

.footer-scrolltop::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:50%;
    border:1.5px solid #ffc107;
    opacity:.6;
    animation:footerRipple 2.6s ease-out infinite;
    pointer-events:none;
}

@keyframes footerRipple{
    0%{ transform:scale(1); opacity:.55; }
    100%{ transform:scale(1.9); opacity:0; }
}

.footer-scrolltop i{
    animation:footerArrowBob 2.2s ease-in-out infinite;
}

@keyframes footerArrowBob{
    0%,100%{ transform:translateY(0); }
    50%{ transform:translateY(-2px); }
}

.footer-scrolltop:hover{
    background:#ffc107;
    color:#0b2e1c;
    transform:translateY(-4px);
    box-shadow:0 8px 18px -6px rgba(255,193,7,.6);
}

.footer-scrolltop:hover::before{
    animation:none;
    opacity:0;
}

.footer-scrolltop:hover i{
    animation:none;
    transform:translateY(-2px);
}

@media (max-width: 767px) {
    .footer-top {
        display: flex;
        flex-direction: column;
        gap: 34px;
        text-align: center;
    }
    .footer-top-v2 > .footer-brand,
    .footer-top-v2 > .footer-column {
        flex: none;
        width: 100%;
    }
    .footer-brand {
        flex-direction: column;
        align-items: center;
    }
    .footer-brand-content {
        align-items: center;
    }
    .footer-description {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }
    .social-icons {
        justify-content: center;
    }
    .footer-column h3 {
        font-size: 15px;
        margin-bottom: 10px;
    }
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-column li {
        margin-bottom: 8px;
        font-size: 13px;
    }
    .footer-column a {
        justify-content: center;
    }
    .footer-contact-item {
        justify-content: center;
    }
    .footer-logo-row {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }
    .footer-logo-text {
        align-items: center;
        text-align: center;
    }
    .footer-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 0;
    }
    .footer-feature {
        border-right: none;
        justify-content: flex-start;
        text-align: left;
        padding: 8px 12px;
        min-width: 0;
    }
    .footer-feature > div {
        min-width: 0;
    }
    .footer-feature:nth-child(odd) {
        border-right: 1px solid rgba(255,255,255,.08);
    }
    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
    .footer-bottom-left {
        justify-content: center;
    }
}

/* ---- Tablet (768–1024px): balanced 2-column layout between mobile stack and desktop row ---- */
@media (min-width: 768px) and (max-width: 1024px) {
    .footer {
        margin: 72px auto 32px;
        padding: 48px 0 0;
        border-radius: 22px;
    }
    .footer-top-v2 {
        gap: 34px 22px;
    }
    .footer-top-v2 > .footer-brand {
        flex: 1 1 100%;
    }
    .footer-top-v2 > .footer-column,
    .footer-top-v2 > .footer-contact-column {
        flex: 1 1 calc(50% - 22px);
    }
    .footer-description {
        max-width: 480px;
    }
    .footer-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 26px 12px;
    }
    .footer-feature {
        border-right: none !important;
        padding: 8px 12px;
    }
}

/* ---- Small phones: extra breathing room, single-column trust row ---- */
@media (max-width: 420px) {
    .footer {
        margin: 56px auto 24px;
        padding: 40px 0 0;
        border-radius: 20px;
    }
    .footer-container {
        width: 92%;
    }
    .footer-wordmark {
        font-size: 21px;
    }
    .footer-logo-badge {
        width: 42px;
        height: 42px;
    }
    .footer-description {
        font-size: 13.5px;
    }
    .footer-features {
        grid-template-columns: 1fr;
        gap: 18px 0;
    }
    .footer-feature:nth-child(odd) {
        border-right: none;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 14px;
    }
    .footer-bottom-left {
        flex-direction: column;
        gap: 6px;
    }
    .footer-bottom-dot {
        display: none;
    }
}

/* Respect reduced-motion preference: keep the footer's decorative loops still */
@media (prefers-reduced-motion: reduce) {
    .footer-logo-halo,
    .footer-logo-img-wrap,
    .footer-feature-icon::before,
    .footer-features::before,
    .footer-heart,
    .footer-scrolltop::before,
    .footer-scrolltop i {
        animation: none !important;
    }
    .footer-feature {
        opacity: 1;
        transform: none;
        animation: none !important;
    }
}

/* =======================
      RESPONSIVE - Header/Nav matches design mockup
======================= */

/* Search backdrop (global) */
.search-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 32, 20, 0.25);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
    pointer-events: none;
}
.search-backdrop.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ========== DESKTOP (≥ 1440px) — default styles already match ========== */
/* Menu text visible, full nav, full search input */

/* ========== LAPTOP (1200px – 1439px) ========== */
@media (max-width: 1439px) {
    .header-inner {
        gap: 12px;
        padding: 8px 16px;
    }
    .nav-link {
        padding: 8px 10px;
        font-size: 13.5px;
    }
    /* Search collapses to icon only */
    .search-wrap {
        flex: 0 0 auto;
        max-width: 48px;
        margin: 0;
    }
    .search-box {
        max-width: 48px;
        overflow: visible;
        position: relative;
    }
    .search-box input,
    .search-fields {
        /* JS toggles full dropdown on click for ≤1300; here keep compact */
    }
    .search-box:not(.active) input {
        width: 0;
        padding: 0;
        opacity: 0;
        pointer-events: none;
    }
    .search-box:not(.active) .search-submit-btn {
        display: none;
    }
}

/* ========== Search expand behavior for medium screens ========== */
@media (max-width: 1300px) {
    .search-box {
        max-width: 48px;
        position: relative;
        overflow: visible;
    }
    .search-box.active {
        background: white;
    }
    .search-fields {
        position: fixed;
        left: 12px;
        right: 12px;
        top: 80px;
        height: 52px;
        background: white;
        border-radius: 16px;
        box-shadow: var(--shadow-lg), 0 0 0 3px var(--green-glow);
        padding: 0 6px 0 18px;
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-14px) scale(0.97);
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.3s;
        display: flex;
        align-items: center;
    }
    .search-box.active .search-fields {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }
    .search-submit-btn {
        display: flex;
    }
}

/* ========== TABLET LANDSCAPE (992px – 1199px) ========== */
@media (max-width: 1199px) {
    .header-inner {
        gap: 10px;
        padding: 8px 14px;
    }
    .menu-btn span {
        display: none; /* only icon */
    }
    .logo-tagline {
        display: none;
    }
    .logo-main {
        font-size: 18px;
    }
    .logo-icon {
        height: 42px;
    }
    /* Hide less important nav links, show "Ավելին" */
    .nav-hide-md {
        display: none;
    }
    .nav-more {
        display: inline-flex;
        align-items: center;
        gap: 2px;
    }
    .nav-link {
        padding: 7px 9px;
        font-size: 13px;
    }
    .header-nav {
        gap: 2px;
    }
    .search-wrap {
        flex: 0 0 auto;
        max-width: 46px;
    }
}

/* ========== TABLET PORTRAIT (768px – 991px) ========== */
@media (max-width: 991px) {
    .header-inner {
        gap: 10px;
        padding: 8px 12px;
        flex-wrap: nowrap;
    }
    /* Hide entire horizontal nav — use hamburger menu */
    .header-nav {
        display: none;
    }
    /* Search becomes full expandable bar in the middle */
    .search-wrap {
        flex: 1 1 auto;
        max-width: none;
        min-width: 0;
        margin: 0 4px;
    }
    .search-box {
        max-width: none;
        width: 100%;
        height: 44px;
        overflow: hidden;
    }
    .search-box input {
        width: 100% !important;
        opacity: 1 !important;
        padding: 0 12px !important;
        pointer-events: auto !important;
        font-size: 14px;
    }
    .search-box .search-icon-btn {
        display: flex;
    }
    .search-fields {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto !important;
        box-shadow: none !important;
        height: auto !important;
        background: transparent !important;
        padding: 0 !important;
    }
    .search-submit-btn {
        display: none !important;
    }
    .currency-btn #currencyLabel {
        display: inline;
    }
}

/* ========== LARGE PHONE LANDSCAPE (576px – 767px) ========== */
@media (max-width: 767px) {
    /* Նեղ քարտերի վրա "Ավելացնել զամբյուղ" կոճակի տեքստը (հատկապես երկար լեզուներում՝ ru/pl)
       չէր տեղավորվում qty-stepper-ի կողքին ու կտրվում էր քարտի overflow:hidden-ից.
       Խմբագրից ցածր՝ կոճակը զբաղեցնում է ամբողջ լայնությունը */
    .card-actions {
        flex-wrap: wrap;
    }
    .qty-stepper {
        order: 1;
    }
    .add-to-cart {
        order: 2;
        flex: 1 1 100%;
        justify-content: center;
    }
    .header {
        padding: 8px 0;
    }
    .header-inner {
        gap: 8px;
        padding: 7px 10px;
        border-radius: 12px;
    }
    .logo-main {
        font-size: 16px;
    }
    .logo-icon {
        height: 38px;
    }
    .logo-tagline {
        display: none;
    }
    .menu-btn {
        padding: 6px;
    }
    .menu-btn span {
        display: none;
    }
    .action-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .currency-btn {
        padding: 6px 10px;
        font-size: 13px;
    }
    .lw-btn {
        padding: 6px 8px;
    }
    .hero-section {
        grid-template-columns: 1fr;
        padding: 0 12px;
        margin: 12px auto;
        gap: 14px;
    }
    .heroSlider, .heroSlider .swiper-slide {
        height: 340px !important;
    }
    /* Ցածր բարձրության slider-ում սլաքները վրադրվում են overlay-ի տեքստի հետ, swipe/pagination dots-ը բավարար են */
    .hero-nav-btn {
        display: none;
    }
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
        padding: 0 8px;
    }
    .product-modal-body {
        grid-template-columns: 1fr;
    }
    .product-modal-content {
        width: 95%;
    }
    .reviews-section {
        padding: 20px 20px 28px;
    }
}

/* ========== PHONE PORTRAIT (375px – 575px) ========== */
@media (max-width: 575px) {
    .header {
        padding: 6px 0 0;
    }
    .header-inner {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "menu logo actions"
            "search search search";
        gap: 8px 6px;
        padding: 8px 10px 10px;
        border-radius: 12px;
        align-items: center;
    }
    .menu-btn {
        grid-area: menu;
        padding: 6px;
    }
    .logo {
        grid-area: logo;
        justify-self: center;
        gap: 6px;
    }
    .logo-icon {
        height: 36px;
    }
    .logo-main {
        font-size: 15px;
    }
    .logo-tagline {
        display: none;
    }
    .header-nav {
        display: none;
    }
    .header-actions {
        grid-area: actions;
        gap: 4px;
        justify-self: end;
    }
    /* Currency hidden on very small to save space — keep lang + cart */
    .currency-wrapper {
        display: none;
    }
    .search-wrap {
        grid-area: search;
        flex: none;
        max-width: none;
        width: 100%;
        margin: 0;
    }
    .search-box {
        width: 100%;
        max-width: none;
        height: 42px;
        border-radius: 50px;
    }
    .search-box input {
        font-size: 14px;
        padding: 0 14px !important;
        opacity: 1 !important;
        width: 100% !important;
    }
    .action-btn {
        width: 38px;
        height: 38px;
    }
    .hero-banners {
        display: none;
    }
    .heroSlider, .heroSlider .swiper-slide {
        height: 280px !important;
    }
    .hero-slide-overlay {
        padding: 30px 22px 24px;
    }
    .hero-slide-overlay h2 {
        font-size: 22px;
    }
    .hero-nav-btn {
        width: 36px;
        height: 36px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .product-card img {
        height: 140px;
    }
    .section-header h2 {
        font-size: 20px;
    }
    .announcement-bar {
        font-size: 12px;
        padding: 8px 10px;
    }
}

/* ========== SMALL PHONE (320px – 374px) ========== */
@media (max-width: 374px) {
    .header-inner {
        padding: 6px 8px 8px;
        gap: 6px 4px;
    }
    .logo-main {
        font-size: 14px;
    }
    .logo-icon {
        height: 32px;
    }
    .search-box {
        height: 40px;
    }
    .action-btn {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }
    .heroSlider, .heroSlider .swiper-slide {
        height: 240px !important;
    }
    .hero-slide-overlay h2 {
        font-size: 18px;
    }
    .products-grid {
        gap: 8px;
    }
    .product-card img {
        height: 125px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}