:root {
    --primary: #ec4899;
    --primary-dark: #be185d;
    --primary-soft: #ffe4f1;
    --accent: #f472b6;
    --accent-soft: #fff1f7;
    --violet: #a855f7;
    --warning: #ffb703;
    --danger: #ef4444;
    --dark: #3a1f2d;
    --dark-soft: #5d2943;
    --text: #3d2733;
    --muted: #6f5264;
    --bg: #fff8fb;
    --card: #ffffff;
    --line: rgba(190, 24, 93, 0.12);
    --shadow: 0 20px 45px rgba(190, 24, 93, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, #f7fdfd 0%, #eef9ff 100%);
    color: var(--text);
}

a {
    text-decoration: none;
    color: inherit;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.section-spacing {
    padding: 5rem 0;
}

.eyebrow,
.kicker {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.12);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg, #fff7fb 0%, #ffe3f0 38%, #fff4fb 100%);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(236, 72, 153, 0.12);
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.08);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--dark);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #f9a8d4);
    color: white;
    box-shadow: 0 12px 28px rgba(236, 72, 153, 0.25);
}

.main-nav {
    display: flex;
    gap: 1.5rem;
    color: var(--muted);
    font-weight: 600;
}

.main-nav a:hover,
.main-nav a:focus {
    color: var(--primary-dark);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.12), rgba(255, 255, 255, 0.9));
    color: var(--primary-dark);
    font-weight: 600;
}

.cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    min-height: 1.5rem;
    border-radius: 999px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
}

.welcome-tag {
    color: var(--muted);
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 999px;
    padding: 0.9rem 1.3rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #f9a8d4);
    color: white;
    box-shadow: 0 14px 28px rgba(236, 72, 153, 0.25);
}

.btn-secondary,
.btn-ghost {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 228, 241, 0.9));
    color: var(--primary-dark);
    border: 1px solid rgba(236, 72, 153, 0.15);
}

.btn-block {
    width: 100%;
}

.floating-contact-bar {
    position: fixed;
    right: 18px;
    bottom: 22px;
    display: flex;
    gap: 12px;
    z-index: 120;
}

.floating-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    box-shadow: 0 18px 35px rgba(15, 118, 110, 0.2);
    font-size: 1.6rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-contact-btn:hover {
    transform: translateY(-2px);
}

.floating-contact-btn.whatsapp {
    background: linear-gradient(135deg, #25d366, #1eb857);
    color: white;
}

.floating-contact-btn.call {
    background: linear-gradient(135deg, #0f766e, #0a4c4a);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.stat-card,
.admin-panel {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.stat-card {
    padding: 1.2rem 1.25rem;
}

.stat-card span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.stat-card strong {
    font-size: 1.8rem;
    color: var(--dark);
}

.admin-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.admin-panel {
    padding: 1.5rem;
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.panel-head h2 {
    margin: 0;
    color: var(--dark);
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

th,
td {
    padding: 0.9rem 0.8rem;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

th {
    color: var(--primary-dark);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.inline-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.inline-stock-form,
.inline-status-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.inline-stock-form input,
.inline-status-form select {
    max-width: 120px;
    padding: 0.6rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.rule-list {
    margin-top: 1rem;
    display: grid;
    gap: 0.8rem;
}

.rule-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(15, 118, 110, 0.03);
}

.rule-row p {
    margin: 0.2rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.dashboard-image-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.dashboard-image-list legend {
    padding: 0 0.4rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.dashboard-image-item {
    display: grid;
    gap: 0.5rem;
    width: 120px;
    color: var(--muted);
    font-size: 0.8rem;
}

.dashboard-image-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.dashboard-video-item video {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    background: #171217;
    border-radius: 10px;
}

.rich-text {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.rich-text > :first-child {
    margin-top: 0;
}

.rich-text h2,
.rich-text h3,
.rich-text h4 {
    color: var(--primary-dark);
    line-height: 1.3;
    margin: 1.4em 0 0.55em;
}

.rich-text p,
.rich-text ul,
.rich-text ol,
.rich-text blockquote {
    margin: 0 0 1em;
}

.rich-text ul,
.rich-text ol {
    padding-left: 1.5rem;
}

.rich-text li + li {
    margin-top: 0.35em;
}

.rich-text blockquote {
    border-left: 3px solid var(--primary);
    padding: 0.7rem 1rem;
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.rich-text a {
    color: var(--primary-dark);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.dashboard-image-item span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

@media (max-width: 820px) {
    .admin-two-col {
        grid-template-columns: 1fr;
    }
}

.profile-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 228, 241, 0.9));
    color: var(--primary-dark);
    font-weight: 700;
    border: 1px solid rgba(236, 72, 153, 0.15);
}

.nav-toggle {
    display: none;
    border: none;
    background: rgba(15, 118, 110, 0.12);
    padding: 0.6rem 0.8rem;
    font-size: 1.25rem;
    border-radius: 12px;
    color: var(--primary-dark);
}

.hero {
    padding: 5rem 0 4rem;
    background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.12), transparent 35%),
                radial-gradient(circle at bottom right, rgba(124, 58, 237, 0.12), transparent 30%);
}

.hero-grid,
.story-grid,
.contact-grid,
.auth-grid,
.product-detail-grid,
.cart-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: center;
}

.hero-copy h1,
.page-hero h1 {
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    line-height: 1.04;
    margin: 0 0 1rem;
    color: var(--dark);
}

.hero-copy p,
.page-hero p,
.story-copy p,
.contact-info p,
.terms-box p {
    font-size: 1.04rem;
    color: var(--muted);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.stats-row div {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.stats-row strong {
    font-size: 1.5rem;
    color: var(--dark);
}

.stats-row span {
    color: var(--muted);
    font-size: 0.9rem;
}

.hero-visual {
    position: relative;
    min-height: 460px;
    display: grid;
    place-items: center;
}

.medicine-visual {
    position: relative;
    width: min(440px, 100%);
    height: 360px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.1), rgba(124, 58, 237, 0.08));
    border: 1px solid rgba(15, 118, 110, 0.08);
    box-shadow: var(--shadow);
    display: grid;
    place-items: center;
    animation: drift 6s ease-in-out infinite;
}

.medicine-box {
    width: 200px;
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, #ffffff, #eafef7);
    border-radius: 28px;
    border: 1px solid rgba(15, 118, 110, 0.12);
    text-align: center;
    box-shadow: 0 18px 36px rgba(15, 118, 110, 0.12);
}

.medicine-box span {
    display: block;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.medicine-box strong {
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.pill {
    position: absolute;
    width: 90px;
    height: 34px;
    border-radius: 999px;
    background: linear-gradient(135deg, #d5f6f4, #bff3df);
    border: 1px solid rgba(15, 118, 110, 0.16);
}

.pill-one {
    top: 52px;
    left: 72px;
    transform: rotate(-26deg);
}

.pill-two {
    right: 90px;
    bottom: 52px;
    transform: rotate(24deg);
}

.floating-card {
    position: absolute;
    padding: 0.85rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(16, 42, 67, 0.06);
    box-shadow: 0 22px 40px rgba(15, 118, 110, 0.12);
    backdrop-filter: blur(8px);
}

.floating-card span {
    display: block;
    color: var(--muted);
    font-size: 0.75rem;
}

.floating-card strong {
    color: var(--dark);
}

.card-one {
    top: 30px;
    right: 18px;
}

.card-two {
    bottom: 20px;
    left: 8px;
}

.feature-grid,
.testimonial-grid,
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.feature-card,
.testimonial,
.contact-card,
.contact-info .info-box,
.auth-card,
.cart-summary,
.terms-box,
.product-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--shadow);
}

.feature-card,
.testimonial,
.contact-card,
.auth-card,
.terms-box,
.cart-summary {
    padding: 1.7rem;
}

.feature-icon {
    width: 3.2rem;
    height: 3.2rem;
    display: grid;
    place-items: center;
    background: rgba(15, 118, 110, 0.08);
    border-radius: 18px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card h3,
.contact-card h2,
.cart-summary h3,
.auth-card h3,
.page-hero h1,
.story-copy h2,
.section-heading h2,
.terms-box h2 {
    color: var(--dark);
}

.feature-card p,
.testimonial,
.product-body p,
.empty-state p,
.info-box p {
    color: var(--muted);
    line-height: 1.7;
}

.section-heading {
    margin-bottom: 2rem;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 2.8rem);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.product-card {
    overflow: hidden;
}

.product-image-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.product-card:hover .product-image-wrap img {
    transform: scale(1.06);
}

.badge-save {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(34, 197, 94, 0.18);
    color: #166534;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.product-body {
    padding: 1.2rem 1rem 1.5rem;
}

.category {
    display: inline-block;
    color: var(--primary);
    background: rgba(15, 118, 110, 0.08);
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.product-body h3 {
    margin: 0 0 0.6rem;
    color: var(--dark);
    font-size: 1.15rem;
}

.product-meta,
.product-price-row,
.summary-row,
.price-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.product-meta {
    color: var(--muted);
    font-size: 0.83rem;
    margin: 0.8rem 0 1rem;
}

.rating {
    color: #f59e0b;
    font-weight: 700;
}

.price-line strong,
.product-price-row strong,
.detail-pricing strong {
    font-size: 1.4rem;
    color: var(--dark);
}

.product-price-row small,
.detail-pricing small {
    color: var(--muted);
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.mini-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.12);
    color: var(--primary-dark);
    padding: 0.7rem 1rem;
    font-weight: 700;
}

.mini-btn.danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.health-banner {
    padding-bottom: 5rem;
}

.banner-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2.1rem;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.96), rgba(19, 48, 104, 0.92));
    color: white;
    box-shadow: var(--shadow);
}

.banner-box h2 {
    margin: 0;
    color: white;
    font-size: clamp(1.5rem, 2vw, 2.4rem);
}

.testimonial {
    padding: 1.5rem;
    font-size: 1.02rem;
    line-height: 1.8;
}

.testimonial footer {
    margin-top: 1rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.page-hero {
    padding: 4rem 0 2rem;
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.08), rgba(255,255,255,0));
}

.narrow {
    max-width: 760px;
    text-align: center;
}

.story-visual img,
.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.story-visual {
    min-height: 360px;
}

.filter-bar {
    margin-bottom: 2rem;
}

.filter-form {
    display: grid;
    grid-template-columns: 1.5fr 1fr auto;
    gap: 1rem;
    align-items: center;
    background: rgba(255,255,255,0.85);
    border: 1px solid var(--line);
    padding: 1rem;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 118, 110, 0.06);
}

.filter-form input,
.filter-form select,
.field-group input,
.field-group textarea,
.field-group select,
.form-card textarea,
.form-card input {
    width: 100%;
    border: 1px solid rgba(15, 118, 110, 0.14);
    background: #f8fbfb;
    border-radius: 14px;
    padding: 0.9rem 1rem;
    color: var(--text);
}

.field-group {
    margin-bottom: 1rem;
}

.field-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.form-card {
    display: block;
}

.contact-grid,
.auth-grid {
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 1rem;
}

.info-box {
    padding: 1.6rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.82);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.switch-link {
    margin-top: 1rem;
    text-align: center;
    color: var(--muted);
}

.switch-link a {
    color: var(--primary-dark);
    font-weight: 700;
}

.error-text {
    display: block;
    margin-top: 0.35rem;
    color: var(--danger);
    font-size: 0.82rem;
}

.product-detail-grid {
    align-items: start;
}

.product-detail-image {
    min-height: 480px;
}

.product-detail-info h1 {
    margin: 0.7rem 0 1rem;
    font-size: clamp(2rem, 3vw, 3rem);
    color: var(--dark);
}

.product-description {
    color: var(--muted);
    line-height: 1.8;
    margin: 1.2rem 0 1.6rem;
}

.purchase-form {
    margin-top: 1.4rem;
}

.qty-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 0.7rem;
}

.qty-group input {
    width: 110px;
    border-radius: 14px;
    border: 1px solid var(--line);
    padding: 0.8rem 1rem;
}

.feature-list {
    margin: 1.8rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.8rem;
    color: var(--text);
    font-weight: 600;
}

.cart-layout {
    align-items: start;
}

.cart-items {
    display: grid;
    gap: 1rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 1rem;
    align-items: center;
    background: rgba(255,255,255,0.85);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 1rem;
    box-shadow: var(--shadow);
}

.cart-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 18px;
}

.cart-item h3 {
    margin: 0 0 0.5rem;
    color: var(--dark);
}

.cart-item-details p {
    margin: 0 0 0.8rem;
    color: var(--muted);
}

.cart-item-actions {
    text-align: right;
}

.line-total {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.8rem;
}

.cart-summary {
    position: sticky;
    top: 110px;
}

.summary-row {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}

.summary-row.total {
    color: var(--dark);
    font-weight: 800;
    border-bottom: none;
    font-size: 1.2rem;
}

.terms-box {
    max-width: 980px;
    margin: 0 auto;
}

.terms-box h2 {
    margin-top: 2rem;
}

.profile-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: start;
}

.profile-summary,
.profile-card {
    background: rgba(255,255,255,0.84);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.profile-summary {
    padding: 1.6rem;
    text-align: center;
}

.profile-avatar-wrap {
    width: 140px;
    height: 140px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(15, 118, 110, 0.12);
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(124, 58, 237, 0.12));
    display: grid;
    place-items: center;
}

.profile-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-fallback {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.profile-summary h2 {
    margin: 0.5rem 0;
    color: var(--dark);
}

.profile-meta-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    gap: 0.6rem;
    color: var(--muted);
}

.profile-card {
    padding: 1.8rem;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.full-width {
    grid-column: 1 / -1;
}

.form-errors {
    display: grid;
    gap: 0.4rem;
    margin: 1rem 0;
    color: var(--danger);
    font-size: 0.85rem;
}

.empty-state {
    background: rgba(255,255,255,0.85);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.alert {
    width: min(1120px, calc(100% - 2rem));
    margin: 1rem auto 0;
    padding: 0.9rem 1.1rem;
    border-radius: 16px;
    font-weight: 600;
    box-shadow: 0 12px 32px rgba(15, 118, 110, 0.1);
}

.alert-success {
    background: rgba(34, 197, 94, 0.12);
    color: #166534;
}

.alert-info {
    background: rgba(15, 118, 110, 0.1);
    color: var(--primary-dark);
}

.site-footer {
    margin-top: 3rem;
    background: linear-gradient(180deg, rgba(12, 27, 38, 0.98), rgba(12, 27, 38, 1));
    color: rgba(255,255,255,0.8);
}

.footer-grid {
    padding: 3rem 0;
}

.site-footer h3,
.site-footer h4 {
    color: white;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    gap: 0.65rem;
}

.site-footer a {
    color: rgba(255,255,255,0.8);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.2rem 0 2rem;
    text-align: center;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 0.8s ease forwards;
}

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

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

@media (max-width: 980px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-grid,
    .testimonial-grid,
    .footer-grid,
    .hero-grid,
    .story-grid,
    .contact-grid,
    .auth-grid,
    .product-detail-grid,
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .main-nav {
        position: absolute;
        top: 82px;
        left: 1rem;
        right: 1rem;
        display: none;
        flex-direction: column;
        padding: 1rem;
        background: rgba(255,255,255,0.96);
        border: 1px solid var(--line);
        border-radius: 18px;
        box-shadow: var(--shadow);
    }

    .main-nav.active {
        display: flex;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-actions {
        display: none;
    }
}

@media (max-width: 640px) {
    .site-header {
        position: sticky;
    }

    .hero {
        padding-top: 4rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .filter-form {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .qty-group,
    .banner-box {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cart-item img {
        margin: 0 auto;
    }
}

.logo{
    width:70px !important;
    height: 70px !important;
    border-radius: 50% !important;
}