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

:root {
    --trust-ticker-height: 34px;
    --trust-ticker-color: #FDB5DD;
    --primary-color: #1d1d1f;
    --secondary-color: #86868b;
    --accent-color: #FDB5DD;
    --accent-hover: #EF95C7;
    --discount-badge-bg: #c52222;
    --bg-light: #f5f5f7;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --white: #ffffff;
    --gradient-start: #FDB5DD;
    --gradient-end: #E985B7;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-primary);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.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;
}

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

/* Trust ticker */
.trust-ticker {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1001;
    height: var(--trust-ticker-height);
    overflow: hidden;
    background: var(--trust-ticker-color);
    box-shadow: 0 1px 0 rgba(111, 39, 74, 0.09);
}

.trust-ticker__viewport {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.trust-ticker__track,
.trust-ticker__group {
    display: flex;
    align-items: center;
}

.trust-ticker__track {
    width: max-content;
    min-width: 100%;
    height: 100%;
    animation: trust-ticker-scroll 22s linear infinite;
    will-change: transform;
}

.trust-ticker__group {
    flex: 0 0 auto;
    height: 100%;
}

.trust-ticker__item {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 0 clamp(26px, 5vw, 56px);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(109, 37, 72, 0.24);
    white-space: nowrap;
}

.trust-ticker__item::before {
    content: '✦';
    margin-right: clamp(18px, 3vw, 32px);
    font-size: 10px;
}

.trust-ticker__item--desktop-repeat {
    display: none;
}

@keyframes trust-ticker-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .trust-ticker__track {
        width: 100%;
        justify-content: center;
        animation: none;
    }

    .trust-ticker__group[aria-hidden='true'] {
        display: none;
    }

    .trust-ticker__item {
        padding: 0 clamp(10px, 2vw, 22px);
    }
}

/* Desktop ticker: larger type and two identical full-width runs keep the
   message continuous from one edge of the screen to the other. */
@media (min-width: 769px) {
    :root {
        --trust-ticker-height: 44px;
    }

    .trust-ticker__track {
        min-width: 0;
        animation-duration: 30s;
    }

    .trust-ticker__group {
        width: max-content;
        min-width: 0;
        justify-content: flex-start;
    }

    .trust-ticker__item {
        padding: 0 13px;
        font-size: 15px;
        letter-spacing: 0.065em;
    }

    .trust-ticker__item--desktop-repeat {
        display: inline-flex;
    }

    .trust-ticker__item::before {
        margin-right: 10px;
        font-size: 12px;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: var(--trust-ticker-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--text-primary);
    text-decoration: none;
}

.site-wordmark {
    display: inline-flex;
    align-items: baseline;
    color: var(--trust-ticker-color);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 40px;
    font-style: italic;
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 1;
    -webkit-text-stroke: 0.12px currentColor;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9), 0 3px 10px rgba(189, 83, 138, 0.12);
    transition: transform 0.2s ease;
    white-space: nowrap;
}

.site-wordmark__she {
    margin-right: 0.1em;
}

.mobile-header-actions {
    display: none;
}

.logo a:hover .site-wordmark {
    transform: scale(1.03);
}

.logo a:focus-visible {
    outline: 3px solid rgba(253, 181, 221, 0.55);
    outline-offset: 3px;
    border-radius: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--text-primary);
}

.nav-menu a.nav-active {
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
}

.nav-menu a.nav-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-color);
    border-radius: 2px;
}

.cart-count {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 5px;
    font-weight: 600;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 40px 80px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 80px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 80px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 21px;
    line-height: 1.6;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 17px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(253, 181, 221, 0.3);
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(253, 181, 221, 0.4);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Новий SVG флакон */
.perfume-bottle {
    position: relative;
    width: 250px;
    height: 450px;
    animation: gentleFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 30px 60px rgba(253, 181, 221, 0.3));
}

.bottle-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

.bottle-body {
    transition: all 0.3s ease;
}

.perfume-bottle:hover .bottle-body {
    filter: brightness(1.1);
}

.bottle-liquid {
    animation: liquidMove 4s ease-in-out infinite;
}

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

.bottle-shine {
    animation: shineMove 3s ease-in-out infinite;
}

@keyframes shineMove {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(0px);
    }
    50% {
        opacity: 0.5;
        transform: translateX(5px);
    }
}

.spray-button {
    cursor: pointer;
    transition: all 0.3s ease;
}

.perfume-bottle:hover .spray-button {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* Іскри навколо флакона */
.sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    font-size: 24px;
    animation: sparkleFloat 4s ease-in-out infinite;
    opacity: 0.8;
}

.sparkle:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    top: 50%;
    right: 5%;
    animation-delay: 1.3s;
}

.sparkle:nth-child(3) {
    bottom: 20%;
    left: 15%;
    animation-delay: 2.6s;
}

@keyframes sparkleFloat {
    0%, 100% {
        transform: translateY(0px) scale(1) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) scale(1.2) rotate(10deg);
        opacity: 1;
    }
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

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

/* Featured Categories */
.featured {
    padding: 120px 0;
    background: var(--bg-light);
}

.section-title {
    font-size: 56px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: -1.5px;
    color: var(--text-primary);
}

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

.category-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-color);
}

.category-icon {
    font-size: 64px;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.category-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.category-card p {
    font-size: 15px;
    color: var(--text-secondary);
}

/* Bestsellers */
.bestsellers {
    padding: 120px 0;
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.62);
    box-shadow: 0 8px 24px rgba(212, 122, 170, 0.12);
    backdrop-filter: blur(10px);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(253, 181, 221, 0.05) 0%, rgba(233, 133, 183, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 70px rgba(253, 181, 221, 0.25);
    border-color: rgba(253, 181, 221, 0.3);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-image {
    height: 300px; /* Оптимальна висота */
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(240,240,240,0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 15px; /* Відступ для фото */
}

.product-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}

.product-card:hover .product-image::before {
    transform: translateX(100%);
}

.product-placeholder {
    width: 100%;
    height: 100%;
    min-height: 180px;
    border-radius: 18px;
    background: #e5e7eb;
    position: relative;
    z-index: 1;
}

.product-placeholder::after {
    content: 'Фото відсутнє';
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #9ca3af;
    font-size: 14px;
    font-weight: 600;
}

/* Стилі для реальних фото - ОПТИМІЗОВАНО */
.product-real-photo {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Показує всю фотку без обрізання */
    padding: 15px; /* Відступ щоб фото не прилипало до країв */
    transition: transform 0.5s ease, filter 0.3s ease;
    filter: brightness(1);
}

.product-card:hover .product-real-photo {
    transform: scale(1.05); /* Менше збільшення для кращого вигляду */
    filter: brightness(1.1);
}

.product-detail-photo {
    max-width: 100%;
    max-height: 500px; /* Обмежуємо висоту */
    width: auto;
    height: auto;
    object-fit: contain; /* Показує всю фотку */
    margin: 0 auto;
    display: block;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(240,240,240,0.1) 100%);
}

/* @keyframes float - визначено вище (line ~284) */

.product-info {
    padding: 30px;
}

.product-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.product-card:hover .product-info h3 {
    color: var(--accent-color);
}

.product-brand {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.price-old {
    font-size: 16px;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.price-new {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
}

.discount-badge {
    background: var(--discount-badge-bg);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.product-price-single {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.product-volume {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

/* Why Us */
.why-us {
    padding: 120px 0;
    background: var(--bg-light);
}

.benefits-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    margin-top: 60px;
}

.benefit-item {
    position: relative;
}

.benefit-number {
    font-size: 120px;
    font-weight: 700;
    color: rgba(253, 181, 221, 0.1);
    line-height: 1;
    margin-bottom: -40px;
    letter-spacing: -5px;
}

.benefit-item h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.benefit-item p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    padding: clamp(40px, 6vw, 72px) 0 28px;
    background: var(--text-primary);
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(32px, 8vw, 112px);
    align-items: start;
}

.footer-content h2 {
    margin: 0 0 16px;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--white);
}

.footer-brand h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 32px;
}

.footer-brand p {
    max-width: 39ch;
    font-size: 16px;
    line-height: 1.65;
    color: var(--white);
}

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

.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    font-size: 16px;
    line-height: 1.45;
    color: var(--white);
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-links a:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 3px;
}

.footer-bottom {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--white);
}

.contact-page {
    max-width: 660px;
    margin: 0 auto;
    padding: calc(var(--trust-ticker-height) + 92px) 0 64px;
}

.contact-page h1 {
    margin: 0 0 14px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2;
}

.contact-page p {
    margin-bottom: 22px;
    color: var(--text-secondary);
}

.contact-page address {
    font-style: normal;
}

.contact-page__links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-page__links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    max-width: 100%;
    color: var(--text-primary);
    overflow-wrap: anywhere;
    text-underline-offset: 4px;
}

.legal-document {
    max-width: 840px;
    margin: 0 auto;
    padding: calc(var(--trust-ticker-height) + 92px) 0 64px;
    color: var(--text-primary);
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.legal-document h1 {
    margin: 0 0 10px;
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.15;
}

.legal-document > header > p:first-of-type {
    margin: 0 0 24px;
    font-size: 18px;
    font-weight: 600;
}

.legal-document section {
    margin-top: 28px;
    scroll-margin-top: calc(var(--trust-ticker-height) + 76px);
}

.legal-document h2 {
    font-size: clamp(18px, 2.4vw, 24px);
    line-height: 1.3;
    margin: 0 0 10px;
}

.legal-document h3 {
    margin: 16px 0 8px;
    font-size: 17px;
}

.legal-document p,
.legal-document address,
.legal-document ul {
    margin: 0 0 12px;
}

.legal-document address {
    font-style: normal;
}

.legal-document ul {
    padding-inline-start: 24px;
}

.legal-document a {
    color: var(--text-primary);
    text-underline-offset: 3px;
}

/* Messages & Alerts */
.messages {
    margin: 20px 0;
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 15px;
    font-weight: 500;
    animation: slideDown 0.3s ease-out;
}

.alert-error {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    border-left: 4px solid #c92a2a;
}

.alert-success {
    background: linear-gradient(135deg, #51cf66 0%, #37b24d 100%);
    color: white;
    border-left: 4px solid #2b8a3e;
}

.alert-warning {
    background: linear-gradient(135deg, #ffd43b 0%, #fab005 100%);
    color: #333;
    border-left: 4px solid #e67700;
}

.alert-info {
    background: linear-gradient(135deg, #74c0fc 0%, #339af0 100%);
    color: white;
    border-left: 4px solid #1864ab;
}

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

/* Покращений адаптивний дизайн */
@media (max-width: 1024px) {
    .hero {
        gap: 60px;
        padding: 100px 30px 60px;
    }

    .hero-title {
        font-size: 64px;
    }

    .perfume-bottle {
        width: 220px;
        height: 400px;
    }
}

@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 60px;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 56px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .hero-description {
        font-size: 18px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .perfume-bottle {
        width: 200px;
        height: 350px;
    }

    .section-title {
        font-size: 42px;
    }

    .nav-menu {
        gap: 20px;
    }

    .nav-menu a {
        font-size: 13px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 30px;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 20px 40px;
        min-height: auto;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .perfume-bottle {
        width: 180px;
        height: 320px;
    }

    .sparkle {
        font-size: 20px;
    }

    .section-title {
        font-size: 36px;
        margin-bottom: 50px;
    }

    .featured,
    .bestsellers,
    .why-us {
        padding: 80px 0;
    }

    .product-image {
        height: 250px;
    }

    .benefit-number {
        font-size: 100px;
        margin-bottom: -30px;
    }

    .footer {
        padding: 40px 0 24px;
    }

    .footer-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .footer-links a {
        min-height: 44px;
    }
}

@media (max-width: 640px) {
    .nav-container {
        padding: 0 15px;
        height: 55px;
    }

    .logo a {
        font-size: 18px;
    }

    .nav-menu {
        gap: 15px;
    }

    .nav-menu a {
        font-size: 12px;
    }

    .hero {
        padding: 70px 15px 30px;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-description {
        font-size: 16px;
    }

    .perfume-bottle {
        width: 160px;
        height: 280px;
    }

    .sparkle {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .categories-grid,
    .products-grid,
    .benefits-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .container {
        padding: 0 15px;
    }

    .category-card {
        padding: 40px 30px;
    }

    .category-icon {
        font-size: 48px;
    }

    .product-card {
        max-width: 100%;
    }

    .product-image {
        height: 220px;
    }

    .cta-button {
        padding: 14px 32px;
        font-size: 16px;
    }

    .benefit-number {
        font-size: 80px;
        margin-bottom: -25px;
    }

    .benefit-item h3 {
        font-size: 20px;
    }

    .benefit-item p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-description {
        font-size: 14px;
    }

    .perfume-bottle {
        width: 140px;
        height: 250px;
    }

    .section-title {
        font-size: 24px;
    }

    /* Nav items handled by hamburger menu — не ховаємо тут */

    .product-image {
        height: 200px;
    }

    .product-info {
        padding: 20px;
    }

    .product-info h3 {
        font-size: 18px;
    }

    .category-card h3 {
        font-size: 20px;
    }

    .featured,
    .bestsellers,
    .why-us {
        padding: 60px 0;
    }
}
/* POST-only logout keeps session mutation behind Django CSRF protection. */
.logout-form {
    margin: 0;
}

.logout-button {
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

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

/* Desktop navigation: keep the wordmark centred in the full white bar and
   group every navigation action at the right edge. Mobile has its own header. */
@media (min-width: 969px) {
    .nav-container {
        position: relative;
        max-width: none;
        padding: 0 56px;
    }

    .logo {
        position: absolute;
        top: 50%;
        left: 50%;
        z-index: 1;
        transform: translate(-50%, -50%);
    }

    .site-wordmark {
        font-size: 48px;
    }

    .nav-menu {
        margin-left: auto;
        gap: clamp(16px, 1.8vw, 32px);
    }
}
