:root {
    --cream: #FFF8F0;
    --light-brown: #D4A574;
    --medium-brown: #8B6F47;
    --dark-brown: #4A3728;
    --white: #FFFFFF;
    --shadow: rgba(74, 55, 40, 0.1);
    --shadow-md: rgba(74, 55, 40, 0.15);
    --shadow-lg: rgba(74, 55, 40, 0.2);
    --site-font: "Vazirmatn", "IRANSans", "Yekan Bakh", "Segoe UI", Tahoma, Arial, sans-serif;
}

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

body {
    font-family: var(--site-font);
    background: var(--cream);
    color: var(--dark-brown);
    line-height: 1.6;
    overflow-x: hidden;
}

input,
select,
textarea,
button {
    font-family: var(--site-font);
    letter-spacing: 0;
}

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

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: 0 2px 20px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease;
}

.promo-banner {
    background: linear-gradient(135deg, #ff6b35 0%, #d94b1f 100%);
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
}

.promo-banner-inner {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 8px;
    padding-inline-end: 52px;
    padding-bottom: 8px;
}

.promo-banner-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.95rem;
}

.promo-banner-content strong {
    font-size: 1rem;
    font-weight: 800;
}

.promo-code {
    direction: rtl;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 30px;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px dashed rgba(255, 255, 255, 0.55);
    color: inherit;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    font-weight: 800;
    letter-spacing: 0;
}

.promo-code-form {
  margin: 0;
}

.promo-code:hover,
.promo-code:focus-visible {
    background: rgba(255, 255, 255, 0.24);
    outline: none;
}

.promo-copy-feedback {
    font-size: 0.82rem;
    font-weight: 800;
}

.promo-banner-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 14px;
    border-radius: 8px;
    background: var(--white);
    color: #d94b1f;
    text-decoration: none;
    font-weight: 800;
    transition: transform 0.2s, box-shadow 0.2s;
}

.promo-banner-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(74, 55, 40, 0.18);
}

.promo-banner-close {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-end: 14px;
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.78);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    cursor: pointer;
    font-family: inherit;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
    transform: translateY(-50%);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.promo-banner-close:hover,
.promo-banner-close:focus-visible {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
    outline: none;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 2.5rem;
    animation: rotate 20s linear infinite;
}

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

.logo-text h1 {
    font-size: 1.5rem;
    color: var(--dark-brown);
    font-weight: 700;
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.75rem;
    color: var(--medium-brown);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-brown);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--light-brown);
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--light-brown);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    isolation: isolate;
    transition: gap 0.28s ease;
}

.nav-icons.search-active {
    gap: 0.55rem;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: var(--dark-brown);
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.icon-btn:hover {
    background: var(--cream);
    color: var(--light-brown);
    transform: translateY(-2px);
}

.account-menu {
    position: relative;
}

.account-menu-toggle[aria-expanded="true"] {
    background: var(--cream);
    color: var(--light-brown);
}

.account-menu-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 210px;
    padding: 10px;
    border: 1px solid rgba(212, 165, 116, 0.22);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 16px 36px rgba(74, 55, 40, 0.16);
    z-index: 30;
}

.account-menu-panel[hidden] {
    display: none;
}

.account-menu-panel::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 16px;
    width: 12px;
    height: 12px;
    background: var(--white);
    border-top: 1px solid rgba(212, 165, 116, 0.22);
    border-right: 1px solid rgba(212, 165, 116, 0.22);
    transform: rotate(-45deg);
}

.account-menu-head {
    padding: 8px 10px 10px;
    border-bottom: 1px solid rgba(139, 111, 71, 0.14);
    margin-bottom: 6px;
}

.account-menu-head span,
.account-menu-head strong {
    display: block;
}

.account-menu-head span {
    color: var(--medium-brown);
    font-size: 0.78rem;
}

.account-menu-head strong {
    color: var(--dark-brown);
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-menu-panel a {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 7px;
    color: var(--dark-brown);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.account-menu-panel a:hover,
.account-menu-panel a:focus-visible {
    background: var(--cream);
    color: var(--light-brown);
    outline: none;
}

.account-menu-panel .account-menu-logout {
    color: #d94b1f;
}

.search-btn[aria-expanded="true"] {
    background: linear-gradient(135deg, var(--light-brown), var(--medium-brown));
    color: var(--white);
    box-shadow: 0 10px 24px rgba(139, 111, 71, 0.26);
    transform: translateY(-1px);
}

.search-btn svg {
    transition: transform 0.28s ease;
}

.search-btn[aria-expanded="true"] svg {
    transform: scale(0.92) rotate(-8deg);
}

.header-search {
    display: flex;
    align-items: center;
    width: min(310px, 34vw);
    min-width: 230px;
    height: 46px;
    padding: 4px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 244, 0.98)) padding-box,
        linear-gradient(135deg, rgba(212, 165, 116, 0.85), rgba(255, 107, 53, 0.45), rgba(139, 111, 71, 0.42)) border-box;
    box-shadow:
        0 12px 28px rgba(74, 55, 40, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transform-origin: right center;
    animation: searchInlineOpen 0.34s cubic-bezier(0.2, 0.9, 0.24, 1.12) both;
    backdrop-filter: blur(8px);
}

.header-search[hidden] {
    display: none;
}

.header-search.is-closing {
    pointer-events: none;
    animation: searchInlineClose 0.22s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.header-search input {
    flex: 1;
    min-width: 0;
    height: 38px;
    padding: 0 16px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 248, 239, 0.82);
    color: var(--dark-brown);
    font-family: var(--site-font);
    font-size: 0.92rem;
    font-weight: 600;
    outline: none;
    transition: background 0.2s, box-shadow 0.2s;
}

.header-search input::placeholder {
    color: rgba(139, 111, 71, 0.72);
    font-weight: 500;
}

.header-search input:focus {
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.18);
}

@keyframes searchInlineOpen {
    from {
        opacity: 0;
        width: 44px;
        transform: scaleX(0.58);
        filter: blur(2px);
    }
    70% {
        opacity: 1;
        width: min(318px, 35vw);
        transform: scaleX(1.02);
        filter: blur(0);
    }
    to {
        opacity: 1;
        width: min(310px, 34vw);
        transform: scaleX(1);
        filter: blur(0);
    }
}

@keyframes searchInlineClose {
    from {
        opacity: 1;
        width: min(310px, 34vw);
        transform: scaleX(1);
        filter: blur(0);
    }
    to {
        opacity: 0;
        width: 44px;
        transform: scaleX(0.68);
        filter: blur(1px);
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.password-field {
    position: relative;
    display: flex;
    align-items: center;
}

.password-field input {
    padding-left: 52px;
}

.password-toggle {
    position: absolute;
    left: 8px;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--medium-brown);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease, color 0.2s ease;
}

.password-toggle:hover,
.password-toggle:focus-visible {
    background: var(--cream);
    color: var(--dark-brown);
    outline: none;
}

.password-toggle svg {
    flex: 0 0 auto;
}

.password-toggle .password-toggle-eye-off,
.password-toggle.is-visible .password-toggle-eye,
.password-toggle[aria-pressed="true"] .password-toggle-eye {
    display: none;
}

.password-toggle.is-visible .password-toggle-eye-off,
.password-toggle[aria-pressed="true"] .password-toggle-eye-off {
    display: block;
}

.password-toggle svg[hidden] {
    display: none !important;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--light-brown);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--dark-brown);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cream) 0%, #FFF5E8 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.grain-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--light-brown);
    opacity: 0.15;
    border-radius: 50%;
    animation: float-particle 15s infinite ease-in-out;
}

.grain-particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.grain-particle:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: 2s;
}

.grain-particle:nth-child(3) {
    top: 40%;
    right: 15%;
    animation-delay: 4s;
}

.grain-particle:nth-child(4) {
    top: 70%;
    right: 25%;
    animation-delay: 6s;
}

.grain-particle:nth-child(5) {
    top: 30%;
    left: 50%;
    animation-delay: 8s;
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
    }
    25% {
        transform: translateY(-30px) translateX(20px) scale(1.2);
    }
    50% {
        transform: translateY(-60px) translateX(-20px) scale(0.8);
    }
    75% {
        transform: translateY(-30px) translateX(20px) scale(1.1);
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInLeft 1s ease;
}

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

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--light-brown), var(--medium-brown));
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
    animation: bounce 2s infinite;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark-brown);
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: linear-gradient(135deg, var(--light-brown), var(--medium-brown));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--medium-brown);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--light-brown), var(--medium-brown));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(212, 165, 116, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(212, 165, 116, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--dark-brown);
    border-color: var(--medium-brown);
}

.btn-secondary:hover {
    background: var(--medium-brown);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--medium-brown);
    border-color: var(--medium-brown);
}

.btn-outline:hover {
    background: var(--medium-brown);
    color: var(--white);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--light-brown);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--medium-brown);
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
}

.hero-banner-photo {
    position: absolute;
    inset: 55px 20px 35px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 70px var(--shadow-lg);
    background: var(--white);
}

.hero-banner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
    animation: float 3s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 15%;
    left: -10%;
    animation-delay: 1.5s;
}

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

.card-icon {
    font-size: 2rem;
}

.card-text strong {
    display: block;
    font-size: 1.2rem;
    color: var(--dark-brown);
    font-weight: 700;
}

.card-text span {
    font-size: 0.85rem;
    color: var(--medium-brown);
}

.rice-bowl-3d {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    animation: float-bowl 4s ease-in-out infinite;
}

@keyframes float-bowl {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0) rotateY(0deg);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-30px) rotateY(10deg);
    }
}

.bowl-shadow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 30px;
    background: radial-gradient(ellipse, rgba(74, 55, 40, 0.2), transparent);
    border-radius: 50%;
    animation: shadow-pulse 4s ease-in-out infinite;
}

@keyframes shadow-pulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateX(-50%) scale(1.2);
        opacity: 0.2;
    }
}

.rice-bowl-3d::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
    border-radius: 50%;
    box-shadow: 
        inset 0 -20px 40px rgba(212, 165, 116, 0.2),
        0 20px 60px rgba(74, 55, 40, 0.15);
}

.rice-grains {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 150px;
}

.rice-grains span {
    position: absolute;
    width: 6px;
    height: 12px;
    background: linear-gradient(135deg, #FFF 0%, var(--cream) 100%);
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: grain-float 3s ease-in-out infinite;
}

.rice-grains span:nth-child(1) {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.rice-grains span:nth-child(2) {
    top: 40%;
    left: 50%;
    animation-delay: 0.5s;
}

.rice-grains span:nth-child(3) {
    top: 30%;
    right: 30%;
    animation-delay: 1s;
}

.rice-grains span:nth-child(4) {
    top: 60%;
    left: 40%;
    animation-delay: 1.5s;
}

.rice-grains span:nth-child(5) {
    top: 50%;
    right: 40%;
    animation-delay: 2s;
}

@keyframes grain-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

/* Categories Section */
.categories {
    padding: 3rem 0 4rem;
    background: var(--white);
}

.categories-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.6rem;
}

.categories-all-link {
    color: var(--medium-brown);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.categories-all-link:hover,
.categories-all-link:focus-visible {
    color: var(--light-brown);
    outline: none;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.category-card {
    background: var(--cream);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    display: block;
    color: inherit;
    text-decoration: none;
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: var(--light-brown);
    box-shadow: 0 10px 30px var(--shadow-md);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.category-card h3 {
    font-size: 1.3rem;
    color: var(--dark-brown);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.category-card p {
    color: var(--medium-brown);
    font-size: 0.9rem;
}

/* Featured Products Section */
.featured-products {
    padding: 5rem 0;
    background: var(--cream);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.section-title-wrapper {
    text-align: right;
}

.section-badge {
    display: inline-block;
    background: var(--light-brown);
    color: var(--white);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-brown);
    font-weight: 800;
}

.section-tabs {
    display: flex;
    gap: 1rem;
    background: var(--white);
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px var(--shadow);
}

.tab-btn {
    padding: 0.7rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--medium-brown);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.tab-btn.active,
.tab-btn:hover {
    background: linear-gradient(135deg, var(--light-brown), var(--medium-brown));
    color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 4px 20px var(--shadow);
    animation: fadeInUp 0.6s ease;
}

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

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px var(--shadow-lg);
}

.product-badges {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge {
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.badge-sale {
    background: linear-gradient(135deg, #FF6B6B, #FF5252);
}

.badge-new {
    background: linear-gradient(135deg, #4CAF50, #45A049);
}

.badge-custom {
    background: linear-gradient(135deg, #cfa169, #a67b49);
}

.badge-bestseller {
    background: linear-gradient(135deg, #FFC107, #FFB300);
}

.badge-hot {
    background: transparent;
    font-size: 1.2rem;
    padding: 0.2rem;
    animation: fire 1s infinite;
}

@keyframes fire {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(10deg); }
}

.product-wishlist {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    background: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px var(--shadow);
}

.product-wishlist:hover {
    background: var(--light-brown);
    color: var(--white);
    transform: scale(1.1);
}

.product-image {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, var(--cream) 0%, #FFF5E8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-img-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-card:hover .product-img-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.rice-bag-modern {
    width: 150px;
    height: 200px;
    background: linear-gradient(135deg, var(--light-brown) 0%, var(--medium-brown) 100%);
    border-radius: 10px;
    position: relative;
    box-shadow: 0 10px 30px rgba(74, 55, 40, 0.3);
}

.rice-bag-modern::before {
    content: '🌾';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    opacity: 0.3;
}

.rice-bag-modern::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

.quick-view {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--white);
    color: var(--dark-brown);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow);
    text-decoration: none;
    white-space: nowrap;
}

.product-card:hover .quick-view {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.quick-view:hover {
    background: var(--light-brown);
    color: var(--white);
}

.product-info {
    padding: 1.5rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.stars {
    color: #FFC107;
    font-size: 0.9rem;
}

.rating-count {
    font-size: 0.85rem;
    color: var(--medium-brown);
}

.product-title {
    font-size: 1.1rem;
    color: var(--dark-brown);
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.4;
}

.product-title a {
    color: inherit;
    text-decoration: none;
}

.product-title a:hover {
    color: var(--light-brown);
}

.product-desc {
    font-size: 0.9rem;
    color: var(--medium-brown);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(139, 111, 71, 0.1);
}

.product-weight {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--medium-brown);
}

.product-stock {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

.product-stock.in-stock {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.product-stock.out-of-stock {
    background: rgba(244, 67, 54, 0.1);
    color: #F44336;
}

.product-stock.low-stock {
    background: rgba(255, 193, 7, 0.14);
    color: #B77900;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.price-old {
    font-size: 0.9rem;
    color: var(--medium-brown);
    text-decoration: line-through;
    opacity: 0.7;
}

.price-new {
    font-size: 1.3rem;
    color: var(--dark-brown);
    font-weight: 800;
}

.price-new small {
    font-size: 0.75rem;
    font-weight: 500;
}

.btn-add-cart {
    background: linear-gradient(135deg, var(--light-brown), var(--medium-brown));
    color: var(--white);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
}

.btn-add-cart:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.6);
}

.btn-add-cart:disabled {
    background: #b2aaa1;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-add-cart:disabled:hover {
    transform: none;
}

.btn-add-cart.added {
    background: #4CAF50;
    animation: success-pop 0.5s ease;
}

.cart-action-loading {
    pointer-events: none;
    opacity: 0.72;
    position: relative;
}

.cart-action-loading::after {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
    animation: cartSpin 0.75s linear infinite;
}

.cart-count-bump {
    animation: cartBump 0.35s ease;
}

.cart-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 3000;
    max-width: min(360px, calc(100vw - 32px));
    padding: 13px 18px;
    border-radius: 10px;
    background: #1f2933;
    color: white;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.18);
    transform: translateY(18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    font-size: 0.92rem;
    font-weight: 600;
}

.cart-toast.success {
    background: #1f7a4d;
}

.cart-toast.error {
    background: #b42318;
}

.cart-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Support Widget */
.support-widget {
    position: fixed;
    left: 24px;
    right: auto;
    bottom: 24px;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.support-widget-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 154px;
    min-height: 58px;
    padding: 10px 18px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #7567ff 0%, #2577ff 100%);
    color: var(--white);
    box-shadow: 0 16px 34px rgba(37, 119, 255, 0.3);
    cursor: pointer;
    font: inherit;
    font-weight: 900;
    letter-spacing: 0;
    transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.18s ease;
}

.support-widget-toggle:hover,
.support-widget-toggle:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(37, 119, 255, 0.38);
    outline: none;
}

.support-widget-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}

.support-widget-badge {
    position: absolute;
    top: -6px;
    left: -6px;
    min-width: 25px;
    min-height: 25px;
    display: inline-grid;
    place-items: center;
    padding: 0 7px;
    border: 2px solid var(--white);
    border-radius: 999px;
    background: #ef4444;
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(239, 68, 68, 0.3);
    animation: supportBadgePulse 1.45s ease-in-out infinite;
}

.support-widget-badge[hidden] {
    display: none;
}

.support-widget.is-open .support-widget-toggle {
    display: none;
}

.support-widget-panel {
    width: min(390px, calc(100vw - 32px));
    max-height: calc(100vh - 112px);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(212, 165, 116, 0.22);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(74, 55, 40, 0.22);
    overflow-y: auto;
    transform: translateY(12px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.support-widget.is-open .support-widget-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.support-widget-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 18px 14px;
    background: linear-gradient(135deg, #2f7d5f 0%, #184b3d 100%);
    color: var(--white);
}

.support-widget-eyebrow {
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    opacity: 0.78;
    margin-bottom: 4px;
}

.support-widget-head h2 {
    font-size: 1.15rem;
    line-height: 1.4;
    margin: 0;
    font-weight: 900;
}

.support-widget-close {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    cursor: pointer;
}

.support-widget-copy {
    padding: 14px 18px 0;
    color: var(--medium-brown);
    font-size: 0.9rem;
}

.support-widget-choice {
    display: grid;
    gap: 10px;
    padding: 16px 18px 18px;
}

.support-widget-choice[hidden],
.support-chat-box[hidden],
.support-widget-form[hidden] {
    display: none;
}

.support-widget-choice button {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 11px;
    row-gap: 2px;
    width: 100%;
    min-height: 74px;
    padding: 12px;
    border: 1px solid rgba(139, 111, 71, 0.16);
    border-radius: 13px;
    background: #fffaf3;
    color: var(--dark-brown);
    text-align: right;
    cursor: pointer;
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.support-widget-choice button:hover,
.support-widget-choice button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(47, 125, 95, 0.48);
    box-shadow: 0 12px 24px rgba(74, 55, 40, 0.11);
    outline: none;
}

.support-choice-icon {
    grid-row: 1 / span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eaf2ff;
    color: #2577ff;
}

.support-widget-choice button:nth-child(2) .support-choice-icon {
    background: #e8f7ef;
    color: #2f7d5f;
}

.support-widget-choice strong {
    align-self: end;
    font-size: 0.94rem;
    font-weight: 900;
}

.support-widget-choice small {
    color: var(--medium-brown);
    font-size: 0.78rem;
    line-height: 1.7;
}

.support-widget-back {
    width: calc(100% - 24px);
    margin: 12px 12px 0;
    min-height: 36px;
    border: 1px solid rgba(139, 111, 71, 0.16);
    border-radius: 10px;
    background: var(--white);
    color: var(--medium-brown);
    cursor: pointer;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
}

.support-widget-status {
    margin: 12px 18px 0;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.86rem;
    font-weight: 800;
}

.support-widget-status.info {
    color: #1b5f90;
    background: #e8f4ff;
}

.support-widget-status.success {
    color: #206444;
    background: #e8f7ef;
}

.support-widget-status.error {
    color: #9f2f2f;
    background: #fff0f0;
}

.support-chat-box {
    margin: 14px 18px 0;
    border: 1px solid rgba(139, 111, 71, 0.16);
    border-radius: 14px;
    background: #fffaf3;
    overflow: hidden;
}

.support-chat-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 13px;
    border-bottom: 1px solid rgba(139, 111, 71, 0.12);
}

.support-chat-title strong {
    color: var(--dark-brown);
    font-size: 0.92rem;
}

.support-chat-title span {
    color: var(--medium-brown);
    font-size: 0.76rem;
}

.support-chat-messages {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 178px;
    overflow-y: auto;
    padding: 12px;
    background: linear-gradient(180deg, #fffdfa, #fff8f0);
}

.support-chat-placeholder {
    margin: auto;
    color: var(--medium-brown);
    font-size: 0.82rem;
    text-align: center;
}

.support-chat-bubble {
    max-width: 86%;
    padding: 9px 11px;
    border-radius: 12px;
    font-size: 0.84rem;
    line-height: 1.7;
}

.support-chat-bubble strong {
    display: block;
    margin-bottom: 2px;
    font-size: 0.75rem;
    opacity: 0.74;
}

.support-chat-bubble p {
    margin: 0;
    overflow-wrap: anywhere;
}

.support-chat-bubble.user {
    align-self: flex-start;
    background: #eaf2ff;
    color: #183b66;
    border-bottom-right-radius: 4px;
}

.support-chat-bubble.admin {
    align-self: flex-end;
    background: #e8f7ef;
    color: #184b3d;
    border-bottom-left-radius: 4px;
}

.support-chat-form {
    display: grid;
    gap: 10px;
    padding: 12px;
    border-top: 1px solid rgba(139, 111, 71, 0.12);
}

.support-chat-form label {
    display: grid;
    gap: 6px;
    color: var(--dark-brown);
    font-size: 0.78rem;
    font-weight: 800;
}

.support-chat-send-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 8px;
}

.support-chat-form input {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(139, 111, 71, 0.2);
    border-radius: 10px;
    background: var(--white);
    color: var(--dark-brown);
    font: inherit;
    font-size: 0.86rem;
    padding: 0 11px;
    outline: none;
}

.support-chat-form input:focus {
    border-color: #2f7d5f;
    box-shadow: 0 0 0 3px rgba(47, 125, 95, 0.12);
}

.support-chat-send-row button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 0;
    border-radius: 10px;
    background: #2577ff;
    color: var(--white);
    cursor: pointer;
}

.support-chat-send-row button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.support-widget-form {
    display: grid;
    gap: 12px;
    padding: 16px 18px 18px;
}

.support-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.support-widget-form label {
    display: grid;
    gap: 7px;
    color: var(--dark-brown);
    font-size: 0.84rem;
    font-weight: 800;
}

.support-widget-form small {
    color: var(--medium-brown);
    font-size: 0.72rem;
    font-weight: 700;
}

.support-widget-form input,
.support-widget-form select,
.support-widget-form textarea {
    width: 100%;
    border: 1px solid rgba(139, 111, 71, 0.2);
    border-radius: 10px;
    background: #fffdfa;
    color: var(--dark-brown);
    font: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.support-widget-form input,
.support-widget-form select {
    min-height: 44px;
    padding: 0 12px;
}

.support-widget-form textarea {
    min-height: 104px;
    resize: vertical;
    padding: 12px;
}

.support-widget-form input:focus,
.support-widget-form select:focus,
.support-widget-form textarea:focus {
    border-color: #2f7d5f;
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(47, 125, 95, 0.12);
}

.support-widget-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #2f7d5f 0%, #184b3d 100%);
    color: var(--white);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.support-widget-submit:hover,
.support-widget-submit:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(47, 125, 95, 0.26);
    outline: none;
}

.support-widget-submit:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
    box-shadow: none;
}

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

@keyframes success-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

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

@keyframes cartBump {
    0% { transform: scale(1); }
    45% { transform: scale(1.28); }
    100% { transform: scale(1); }
}

.section-footer {
    text-align: center;
}

.home-products-message {
    grid-column: 1 / -1;
    background: var(--white);
    border: 1px solid rgba(139, 111, 71, 0.16);
    border-radius: 16px;
    padding: 2rem;
    color: var(--medium-brown);
}

.home-products-message h3 {
    color: var(--dark-brown);
    margin-bottom: 0.5rem;
}

.home-media-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
}

.home-media-box {
    max-width: 860px;
    margin: 2rem auto 0;
    padding: 1.5rem;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid rgba(139, 111, 71, 0.16);
    box-shadow: 0 10px 30px var(--shadow);
    text-align: center;
}

.home-media-box video,
.home-media-box audio {
    display: block;
    width: 100%;
    max-height: 520px;
    border-radius: 14px;
}

.home-media-box p {
    color: var(--medium-brown);
    margin: 0;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: var(--cream);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-md);
}

.feature-icon-wrapper {
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--light-brown), var(--medium-brown));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    font-weight: 800;
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.3);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg);
}

.feature-card h3 {
    font-size: 1.2rem;
    color: var(--dark-brown);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--medium-brown);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Testimonials Section */
/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--cream) 0%, #fff 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonials-slider {
    margin-top: 50px;
}

.testimonials-viewport {
    overflow: hidden;
    margin: 0 -15px;
}

.testimonials-track {
    display: flex;
    align-items: stretch;
    direction: ltr;
    transition: transform 0.65s ease;
}

.testimonial-slide {
    flex: 0 0 33.3333%;
    display: flex;
    padding: 0 15px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(74, 55, 40, 0.08);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(74, 55, 40, 0.15);
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

.testimonial-rating .star {
    color: #FFD700;
    font-size: 18px;
}

.testimonial-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 18px;
    border-radius: 8px;
    background: #1f1712;
    object-fit: cover;
}

.testimonial-text {
    color: var(--dark-brown);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 2px solid var(--cream);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--light-brown), var(--medium-brown));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.author-info h4 {
    color: var(--dark-brown);
    margin: 0 0 5px 0;
    font-size: 16px;
}

.author-info p {
    color: var(--medium-brown);
    margin: 0;
    font-size: 14px;
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.testimonial-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(74, 55, 40, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.testimonial-dot.active {
    background: var(--medium-brown);
    transform: scale(1.2);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-brown) 0%, #2d1f15 100%);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--light-brown);
    margin-bottom: 20px;
    font-size: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--light-brown), transparent);
    border-radius: 2px;
}

.footer-section p,
.footer-section ul {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
    transition: all 0.3s ease;
    padding-right: 10px;
}

.footer-section ul li:hover {
    padding-right: 0;
    color: var(--light-brown);
    transform: translateX(-5px);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--light-brown);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item svg {
    width: 20px;
    height: 20px;
    fill: var(--light-brown);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--light-brown);
    transform: translateY(-5px) rotate(360deg);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Shared PHP Footer */
.footer {
    background:
        radial-gradient(circle at top right, rgba(212, 165, 116, 0.18), transparent 34%),
        linear-gradient(135deg, var(--dark-brown) 0%, #2d1f15 100%);
    color: var(--white);
    padding: 46px 0 22px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.45fr) minmax(150px, 0.75fr) minmax(160px, 0.8fr) minmax(360px, 1.55fr);
    gap: 24px;
    align-items: start;
}

.footer-column {
    min-width: 0;
    padding: 2px 0;
}

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

.footer-logo .logo-icon {
    font-size: 2rem;
}

.footer-logo h3,
.footer-column h4 {
    color: var(--white);
    margin-bottom: 14px;
}

.footer-column h4 {
    position: relative;
    padding-bottom: 10px;
    font-size: 1rem;
}

.footer-column h4::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 42px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--light-brown));
}

.footer-logo p,
.footer-desc,
.footer-column li,
.footer-column a {
    color: rgba(255, 255, 255, 0.78);
}

.footer-desc {
    max-width: 340px;
    line-height: 1.85;
    margin-bottom: 18px;
}

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

.footer-column li {
    margin-bottom: 9px;
    line-height: 1.75;
}

.footer-column a {
    text-decoration: none;
    transition: color 0.2s ease, padding-right 0.2s ease;
}

.footer-column a:hover {
    color: var(--light-brown);
    padding-right: 4px;
}

.footer .social-links {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.footer .social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.footer .social-links a:hover {
    background: var(--light-brown);
    transform: translateY(-3px);
}

.footer .contact-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.footer .contact-list li {
    direction: rtl;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    margin-bottom: 0;
    min-height: 42px;
    padding: 7px 9px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.035);
}

.footer .contact-list li:nth-child(5) {
    grid-column: 1 / -1;
    align-items: start;
}

.footer .contact-list li:nth-child(6) {
    grid-column: 1 / -1;
    min-height: 38px;
    background: rgba(212, 165, 116, 0.09);
}

.footer .contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 7px;
    background: rgba(212, 165, 116, 0.16);
    font-size: 0.9rem;
    line-height: 1;
}

.footer .contact-text {
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.55;
    font-size: 0.9rem;
}

.footer .footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-content h1 {
        font-size: 48px;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .products-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .footer-grid .footer-column:last-child {
        grid-column: 1 / -1;
    }

    .footer .contact-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .promo-banner-inner {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .promo-banner-content {
        justify-content: center;
        text-align: center;
    }

    .promo-banner-link {
        width: 100%;
    }

    .promo-banner-close {
        inset-block-start: 10px;
        transform: none;
    }

    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .stat-item h3 {
        font-size: 28px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-slide {
        flex-basis: 50%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .footer-grid .footer-column:last-child {
        grid-column: auto;
    }

    .footer .contact-list {
        grid-template-columns: 1fr;
    }

    .footer .contact-list li:nth-child(5),
    .footer .contact-list li:nth-child(6) {
        grid-column: auto;
    }

    .footer {
        padding: 36px 0 20px;
    }

    .footer-desc {
        max-width: none;
    }

    .support-widget {
        left: 16px;
        right: auto;
        bottom: 16px;
    }

    .support-widget-toggle {
        min-width: 136px;
        min-height: 54px;
        padding: 9px 15px;
    }

    .support-field-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .nav-icons {
        gap: 0.35rem;
    }

    .icon-btn {
        width: 36px;
        height: 36px;
    }

    .header-search {
        width: min(220px, 44vw);
        min-width: 150px;
        height: 44px;
        padding: 4px;
        animation: searchInlineOpenMobile 0.32s cubic-bezier(0.2, 0.9, 0.24, 1.12) both;
    }

    .header-search.is-closing {
        animation: searchInlineCloseMobile 0.22s cubic-bezier(0.4, 0, 0.2, 1) both;
    }

    .header-search input {
        height: 36px;
        padding: 0 12px;
        font-size: 0.82rem;
    }

    .account-menu-panel {
        left: -6px;
        width: min(210px, calc(100vw - 24px));
    }
    
    header {
        padding: 15px 0;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 28px;
    }

    .testimonials-viewport {
        margin: 0 -8px;
    }

    .testimonial-slide {
        flex-basis: 100%;
        padding: 0 8px;
    }
    
    .product-tabs {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .tab-btn {
        padding: 8px 16px;
        font-size: 14px;
    }

    .support-widget {
        left: 12px;
        right: auto;
        bottom: 12px;
        align-items: stretch;
    }

    .support-widget-toggle {
        align-self: flex-start;
        min-width: 58px;
        width: 58px;
        padding: 0;
    }

    .support-widget-toggle-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .support-widget-panel {
        width: 100%;
        max-height: calc(100vh - 96px);
        overflow-y: auto;
        border-radius: 16px;
    }
}

/* Animations for scroll reveal */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    animation: slideUp 0.6s ease forwards;
}

/* Loading animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

@keyframes searchInlineOpenMobile {
    from {
        opacity: 0;
        width: 40px;
        transform: scaleX(0.62);
        filter: blur(2px);
    }
    70% {
        opacity: 1;
        width: min(226px, 46vw);
        transform: scaleX(1.02);
        filter: blur(0);
    }
    to {
        opacity: 1;
        width: min(220px, 44vw);
        transform: scaleX(1);
        filter: blur(0);
    }
}

@keyframes searchInlineCloseMobile {
    from {
        opacity: 1;
        width: min(220px, 44vw);
        transform: scaleX(1);
        filter: blur(0);
    }
    to {
        opacity: 0;
        width: 40px;
        transform: scaleX(0.68);
        filter: blur(1px);
    }
}
