/* ==========================================================================
   NORDIC FROST THEME
   Minimalist Scandinavian Pharmacy
   Prefix: nf-
   ========================================================================== */

:root {
    --nf-frost: #4A90A4;
    --nf-frost-dark: #3A7388;
    --nf-frost-light: #6BB3C9;
    --nf-ice: #E8F4F8;
    --nf-snow: #FFFFFF;
    --nf-cloud: #F5F7F9;
    --nf-mist: #E5E9ED;
    --nf-stone: #9AABB8;
    --nf-slate: #5C6B77;
    --nf-charcoal: #2D3B45;
    --nf-midnight: #1A252D;
    --nf-aurora: #7BCDC8;
    --nf-berry: #D4687A;
    --nf-amber: #E8B84A;
    --nf-font: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --nf-font-display: 'Cormorant Garamond', Georgia, serif;
    --nf-max: 1200px;
    --nf-radius: 6px;
    --nf-speed: 200ms;
}

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

html { font-size: 16px; }

body, .nf-page {
    font-family: var(--nf-font);
    font-weight: 400;
    line-height: 1.6;
    color: var(--nf-charcoal);
    background: var(--nf-cloud);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ==========================================================================
   ANNOUNCEMENT BAR
   ========================================================================== */
.nf-announcement {
    background: linear-gradient(135deg, var(--nf-frost) 0%, var(--nf-frost-dark) 100%);
    color: var(--nf-snow);
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
}

.nf-announcement-text {
    opacity: 0.9;
}

/* ==========================================================================
   SITE HEADER
   ========================================================================== */
.nf-site-header {
    background: var(--nf-snow);
    border-bottom: 1px solid var(--nf-mist);
}

.nf-header-row {
    max-width: var(--nf-max);
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
}

/* Menu toggle mobile */
.nf-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 32px;
    height: 32px;
    gap: 6px;
}

.nf-menu-toggle span {
    display: block;
    height: 2px;
    background: var(--nf-charcoal);
    border-radius: 1px;
    transition: var(--nf-speed);
}

.nf-menu-toggle span:first-child { width: 100%; }
.nf-menu-toggle span:nth-child(2) { width: 80%; }
.nf-menu-toggle span:last-child { width: 60%; }

/* Brand */
.nf-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-self: start;
}

.nf-brand-img {
    height: 48px;
    width: auto;
}

.nf-brand-mark {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--nf-frost) 0%, var(--nf-frost-dark) 100%);
    color: var(--nf-snow);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    border-radius: 12px;
}

.nf-brand-label {
    font-family: var(--nf-font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--nf-midnight);
}

/* Search */
.nf-search-block {
    width: 80%;
    position: relative;
    justify-self: center;
}

.nf-search-field {
    display: flex;
    align-items: center;
    background: var(--nf-cloud);
    border: 2px solid var(--nf-mist);
    border-radius: 50px;
    overflow: hidden;
    transition: var(--nf-speed);
}

.nf-search-field:focus-within {
    border-color: var(--nf-frost);
    box-shadow: 0 0 0 4px var(--nf-ice);
    background: var(--nf-snow);
}

.nf-search-field input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--nf-charcoal);
    outline: none;
}

.nf-search-field input::placeholder {
    color: var(--nf-stone);
}

.nf-search-field button {
    padding: 1rem 1.25rem;
    color: var(--nf-snow);
    background: var(--nf-frost);
    display: flex;
    transition: background var(--nf-speed);
    margin: 4px;
    border-radius: 50px;
}

.nf-search-field button:hover {
    background: var(--nf-frost-dark);
}

.nf-search-field svg {
    width: 20px;
    height: 20px;
}

.nf-search-block .autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    border-radius: var(--nf-radius);
}

/* Quick actions */
.nf-quick-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-self: end;
}

.nf-quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.6rem 1rem;
    border-radius: var(--nf-radius);
    transition: background var(--nf-speed);
    position: relative;
}

.nf-quick-link:hover {
    background: var(--nf-ice);
}

.nf-quick-link svg {
    width: 24px;
    height: 24px;
    color: var(--nf-frost);
}

.nf-quick-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--nf-slate);
}

.nf-quick-cart svg {
    color: var(--nf-frost);
}

.nf-cart-dot {
    position: absolute;
    top: 0.4rem;
    right: 0.6rem;
    width: 10px;
    height: 10px;
    background: var(--nf-berry);
    border-radius: 50%;
    border: 2px solid var(--nf-snow);
}

/* ==========================================================================
   CATEGORIES BAR
   ========================================================================== */
.nf-categories-bar {
    background: var(--nf-snow);
    border-bottom: 1px solid var(--nf-mist);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.nf-categories-bar::-webkit-scrollbar { display: none; }

.nf-categories-scroll {
    max-width: var(--nf-max);
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.nf-cat-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: var(--nf-slate);
    background: var(--nf-cloud);
    border-radius: 50px;
    transition: all var(--nf-speed);
}

.nf-cat-chip:hover {
    background: var(--nf-frost);
    color: var(--nf-snow);
}

.nf-cat-home {
    padding: 0.5rem 0.75rem;
}

.nf-cat-home svg {
    width: 18px;
    height: 18px;
}

/* ==========================================================================
   DRAWER MOBILE
   ========================================================================== */
.nf-drawer {
    position: fixed;
    inset: 0;
    z-index: 1000;
    visibility: hidden;
    pointer-events: none;
}

.nf-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

.nf-drawer-shade {
    position: absolute;
    inset: 0;
    background: rgba(26, 37, 45, 0.6);
    opacity: 0;
    transition: opacity var(--nf-speed);
}

.nf-drawer.is-open .nf-drawer-shade {
    opacity: 1;
}

.nf-drawer-box {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 80vw;
    background: var(--nf-snow);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform var(--nf-speed);
}

.nf-drawer.is-open .nf-drawer-box {
    transform: translateX(0);
}

.nf-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--nf-mist);
}

.nf-drawer-title {
    font-family: var(--nf-font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--nf-midnight);
}

.nf-drawer-x {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nf-slate);
}

.nf-drawer-x svg {
    width: 20px;
    height: 20px;
}

.nf-drawer-search {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--nf-mist);
}

.nf-drawer-search input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--nf-mist);
    border-radius: 50px;
    font-size: 0.9rem;
    outline: none;
}

.nf-drawer-search input:focus {
    border-color: var(--nf-frost);
}

.nf-drawer-menu {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem;
}

.nf-drawer-menu li a {
    display: block;
    padding: 0.85rem 1rem;
    color: var(--nf-charcoal);
    border-radius: var(--nf-radius);
    transition: all var(--nf-speed);
}

.nf-drawer-menu li a:hover {
    background: var(--nf-ice);
    color: var(--nf-frost);
}

.nf-drawer-foot {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--nf-mist);
    background: var(--nf-cloud);
}

.nf-drawer-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--nf-frost);
    font-weight: 500;
}

.nf-drawer-contact svg {
    width: 18px;
    height: 18px;
}

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.nf-trust-strip {
    background: var(--nf-ice);
    border-bottom: 1px solid var(--nf-mist);
}

.nf-trust-strip-inner {
    max-width: var(--nf-max);
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.nf-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.nf-trust-item svg {
    width: 32px;
    height: 32px;
    color: var(--nf-frost);
    flex-shrink: 0;
}

.nf-trust-item span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--nf-charcoal);
    line-height: 1.3;
    text-align: center;
}

/* Trust Section (home page) */
.nf-trust-section {
    background: var(--nf-snow);
    border-radius: var(--nf-radius);
    padding: 2rem;
    margin-top: 3rem;
}

.nf-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.nf-trust-section .nf-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.nf-trust-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nf-ice);
    border-radius: 50%;
    color: var(--nf-frost);
    margin-bottom: 0.5rem;
}

.nf-trust-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--nf-charcoal);
}

.nf-trust-desc {
    font-size: 0.85rem;
    color: var(--nf-slate);
}

/* ==========================================================================
   PRODUCT PAGE
   ========================================================================== */
.nf-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.nf-product-gallery {
    position: sticky;
    top: 2rem;
    align-self: start;
}

.nf-product-image-main {
    position: relative;
    background: var(--nf-snow);
    border-radius: var(--nf-radius);
    overflow: hidden;
    margin-bottom: 1rem;
}

.nf-product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--nf-berry);
    color: var(--nf-snow);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.nf-main-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    cursor: zoom-in;
}

.nf-product-thumbs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nf-thumb {
    width: 70px;
    height: 70px;
    padding: 0;
    border: 2px solid var(--nf-mist);
    border-radius: var(--nf-radius);
    overflow: hidden;
    cursor: pointer;
    background: var(--nf-snow);
    transition: border-color var(--nf-speed);
}

.nf-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nf-thumb:hover,
.nf-thumb-active {
    border-color: var(--nf-frost);
}

.nf-product-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.nf-product-ref {
    font-size: 0.8rem;
    color: var(--nf-stone);
}

.nf-product-stock {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
}

.nf-stock-available {
    background: var(--nf-ice);
    color: var(--nf-frost-dark);
}

.nf-product-title {
    font-family: var(--nf-font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--nf-midnight);
    line-height: 1.3;
}

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

.nf-stars {
    display: flex;
    color: var(--nf-amber);
}

.nf-star {
    font-size: 1.1rem;
}

.nf-rating-text {
    font-size: 0.9rem;
    color: var(--nf-slate);
}

.nf-product-excerpt {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--nf-charcoal);
}

.nf-product-summary {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--nf-slate);
    margin-top: 0.75rem;
    padding: 1rem;
    background: var(--nf-ice);
    border-radius: var(--nf-radius);
}

.nf-check {
    color: var(--nf-frost);
    font-weight: 600;
}

.nf-product-pricing {
    background: var(--nf-ice);
    padding: 1.25rem;
    border-radius: var(--nf-radius);
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.75rem;
}

.nf-product-pricing .nf-price-current {
    font-size: 2rem;
    font-weight: 700;
    color: var(--nf-frost-dark);
}

.nf-product-pricing .nf-price-old {
    font-size: 1.1rem;
    color: var(--nf-stone);
    text-decoration: line-through;
}

.nf-product-pricing .nf-price-save {
    font-size: 0.85rem;
    color: var(--nf-berry);
    font-weight: 500;
}

.nf-btn-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.1rem 2rem;
    background: var(--nf-frost);
    color: var(--nf-snow);
    border: none;
    border-radius: var(--nf-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--nf-speed);
}

.nf-btn-buy:hover {
    background: var(--nf-frost-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 164, 0.3);
}

.nf-guarantees {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--nf-mist);
}

.nf-guarantee {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.nf-guarantee svg {
    color: var(--nf-frost);
}

.nf-guarantee span {
    font-size: 0.8rem;
    color: var(--nf-slate);
}

.nf-description-section {
    background: var(--nf-snow);
    border-radius: var(--nf-radius);
    padding: 2rem;
    margin-bottom: 3rem;
}

.nf-description-title {
    font-family: var(--nf-font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--nf-midnight);
    margin-bottom: 1.25rem;
}

.nf-description-content {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--nf-charcoal);
}

.nf-description-content h2,
.nf-description-content h3 {
    font-family: var(--nf-font-display);
    color: var(--nf-midnight);
    margin: 1.5rem 0 1rem;
}

.nf-description-content p {
    margin-bottom: 1rem;
}

.nf-description-content ul,
.nf-description-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.nf-description-content li {
    margin-bottom: 0.5rem;
    list-style: disc;
}

.nf-similar-section {
    margin-bottom: 3rem;
}

.nf-similar-section .nf-section-title {
    margin-bottom: 1.5rem;
}

/* Sticky mobile CTA */
.nf-sticky-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--nf-snow);
    padding: 0.75rem 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
    align-items: center;
    gap: 0.75rem;
}

.nf-sticky-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: var(--nf-radius);
    background: var(--nf-cloud);
}

.nf-sticky-info {
    flex: 1;
    min-width: 0;
}

.nf-sticky-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--nf-charcoal);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nf-sticky-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--nf-frost-dark);
}

.nf-sticky-btn {
    padding: 0.75rem 1.25rem;
    background: var(--nf-frost);
    color: var(--nf-snow);
    border: none;
    border-radius: var(--nf-radius);
    font-weight: 600;
    cursor: pointer;
}

/* Image modal */
.nf-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.nf-modal.is-open {
    display: flex;
}

.nf-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.5rem;
    color: var(--nf-snow);
    cursor: pointer;
    line-height: 1;
}

.nf-modal-img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */
.nf-main {
    background: var(--nf-cloud);
    padding: 2rem 0 4rem;
    min-height: 50vh;
}

/* Hero Section */
.nf-hero-section {
    text-align: center;
    padding: 2rem 1rem;
    margin-bottom: 1rem;
}

.nf-hero-title {
    font-family: var(--nf-font-display);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--nf-midnight);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.nf-hero-intro {
    font-size: 1.05rem;
    color: var(--nf-slate);
    line-height: 1.7;
}

.nf-content {
    max-width: var(--nf-max);
    margin: 0 auto;
    min-height: 50vh;
}

/* Container */
.nf-container {
    max-width: var(--nf-max);
    margin: 0 auto;
}

/* Breadcrumb */
.nf-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--nf-stone);
    margin-bottom: 1.5rem;
}

.nf-breadcrumb a {
    color: var(--nf-frost);
}

.nf-breadcrumb a:hover {
    text-decoration: underline;
}

/* Section header */
.nf-section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.5rem;
}

.nf-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--nf-mist);
    margin-top: 23px;
}

.nf-section-header .nf-section-title {
    margin: 0;
    position: relative;
    padding-left: 1rem;
}

.nf-section-header .nf-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: linear-gradient(180deg, var(--nf-frost) 0%, var(--nf-frost-dark) 100%);
    border-radius: 2px;
}

.nf-results-count {
    font-size: 0.9rem;
    color: var(--nf-slate);
    background: var(--nf-ice);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 500;
}

.nf-section-title {
    font-family: var(--nf-font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--nf-midnight);
}

.nf-section-more {
    font-size: 0.9rem;
    color: var(--nf-frost);
}

.nf-section-more:hover {
    text-decoration: underline;
}

/* ==========================================================================
   PRODUCT GRID
   ========================================================================== */
.nf-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* ==========================================================================
   PRODUCT TILE
   ========================================================================== */
.nf-product-tile {
    background: var(--nf-snow);
    border-radius: var(--nf-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--nf-speed), transform var(--nf-speed);
}

.nf-product-tile:hover {
    box-shadow: 0 8px 30px rgba(45, 59, 69, 0.12);
    transform: translateY(-4px);
}

.nf-tile-link {
    display: block;
}

.nf-tile-media {
    position: relative;
    aspect-ratio: 1;
    background: var(--nf-cloud);
    overflow: hidden;
}

.nf-tile-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.nf-product-tile:hover .nf-tile-media img {
    transform: scale(1.05);
}

.nf-tile-tag {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--nf-berry);
    color: var(--nf-snow);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
}

.nf-tile-body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nf-tile-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--nf-charcoal);
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--nf-speed);
}

.nf-tile-name:hover {
    color: var(--nf-frost);
}

.nf-tile-rating {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    margin-bottom: 0.75rem;
}

.nf-tile-rating svg {
    width: 14px;
    height: 14px;
    fill: var(--nf-mist);
    stroke: none;
}

.nf-tile-rating svg.is-filled {
    fill: var(--nf-amber);
}

.nf-tile-rating span {
    font-size: 0.75rem;
    color: var(--nf-stone);
    margin-left: 0.25rem;
}

.nf-tile-desc {
    font-size: 0.82rem;
    color: var(--nf-slate);
    line-height: 1.5;
    margin: 0.5rem 0 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nf-tile-pricing {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    margin-top: auto;
}

.nf-tile-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--nf-frost-dark);
}

.nf-tile-was {
    font-size: 0.85rem;
    color: var(--nf-stone);
    text-decoration: line-through;
}

.nf-tile-avail {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.nf-tile-avail.is-available {
    color: var(--nf-aurora);
}

.nf-tile-avail.is-limited {
    color: var(--nf-amber);
}

.nf-tile-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: calc(100% - 2rem);
    margin: 0 1rem 1rem;
    padding: 0.7rem;
    background: var(--nf-frost);
    color: var(--nf-snow);
    border-radius: var(--nf-radius);
    font-size: 0.85rem;
    font-weight: 600;
    transition: background var(--nf-speed);
}

.nf-tile-cart:hover {
    background: var(--nf-frost-dark);
}

.nf-tile-cart svg {
    width: 18px;
    height: 18px;
}

/* ==========================================================================
   CATEGORY HEADER
   ========================================================================== */
.nf-category-header {
    margin-bottom: 2rem;
}

.nf-category-title {
    font-family: var(--nf-font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--nf-midnight);
    margin-bottom: 0.5rem;
}

.nf-category-desc {
    color: var(--nf-slate);
}

.nf-category-count {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--nf-frost);
    background: var(--nf-ice);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

/* Toolbar */
.nf-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
}

.nf-sort-select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: 1px solid var(--nf-mist);
    border-radius: var(--nf-radius);
    font-size: 0.85rem;
    color: var(--nf-charcoal);
    background: var(--nf-snow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235C6B77' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
    appearance: none;
    cursor: pointer;
}

.nf-sort-select:focus {
    outline: none;
    border-color: var(--nf-frost);
}

/* Pagination */
.nf-pagination {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 2.5rem;
}

.nf-pagination a,
.nf-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    border-radius: var(--nf-radius);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--nf-speed);
}

.nf-pagination a {
    color: var(--nf-slate);
    background: var(--nf-snow);
    border: 1px solid var(--nf-mist);
}

.nf-pagination a:hover {
    background: var(--nf-frost);
    color: var(--nf-snow);
    border-color: var(--nf-frost);
}

.nf-pagination .current {
    background: var(--nf-frost);
    color: var(--nf-snow);
}

/* Empty state */
.nf-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--nf-stone);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.nf-site-footer {
    background: var(--nf-snow);
    margin-top: auto;
}

/* Subscribe */
.nf-subscribe {
    background: linear-gradient(135deg, var(--nf-frost) 0%, var(--nf-frost-dark) 100%);
    padding: 3rem 1.5rem;
}

.nf-subscribe-inner {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
}

.nf-subscribe-title {
    font-family: var(--nf-font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--nf-snow);
    margin-bottom: 0.25rem;
}

.nf-subscribe-desc {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.nf-subscribe-form {
    display: flex;
    background: var(--nf-snow);
    border-radius: 50px;
    overflow: hidden;
}

.nf-subscribe-form input {
    flex: 1;
    padding: 0.9rem 1.25rem;
    border: none;
    font-size: 0.95rem;
    outline: none;
}

.nf-subscribe-form button {
    padding: 0.9rem 1.25rem;
    background: var(--nf-midnight);
    color: var(--nf-snow);
    display: flex;
    transition: background var(--nf-speed);
}

.nf-subscribe-form button:hover {
    background: var(--nf-charcoal);
}

.nf-subscribe-form svg {
    width: 20px;
    height: 20px;
}

/* Footer grid */
.nf-footer-grid {
    max-width: var(--nf-max);
    margin: 0 auto;
    padding: 3rem 1.5rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
}

.nf-footer-block {
    min-width: 0;
}

.nf-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.nf-footer-mark {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--nf-frost);
}

.nf-footer-name {
    font-family: var(--nf-font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--nf-midnight);
}

.nf-footer-bio {
    font-size: 0.9rem;
    color: var(--nf-slate);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.nf-social-row {
    display: flex;
    gap: 0.5rem;
}

.nf-social-row a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--nf-cloud);
    border-radius: 50%;
    color: var(--nf-slate);
    transition: all var(--nf-speed);
}

.nf-social-row a:hover {
    background: var(--nf-frost);
    color: var(--nf-snow);
}

.nf-social-row svg {
    width: 16px;
    height: 16px;
}

.nf-footer-heading {
    font-family: var(--nf-font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--nf-midnight);
    margin-bottom: 1rem;
}

.nf-footer-list li {
    margin-bottom: 0.5rem;
}

.nf-footer-list a {
    font-size: 0.9rem;
    color: var(--nf-slate);
    transition: color var(--nf-speed);
}

.nf-footer-list a:hover {
    color: var(--nf-frost);
}

.nf-footer-contact {
    font-style: normal;
    font-size: 0.9rem;
    color: var(--nf-slate);
    line-height: 1.7;
}

.nf-footer-contact a {
    display: block;
    color: var(--nf-frost);
}

.nf-footer-contact a:hover {
    text-decoration: underline;
}

.nf-footer-hours {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--nf-slate);
    line-height: 1.6;
}

.nf-footer-hours strong {
    color: var(--nf-charcoal);
}

/* Footer legal */
.nf-footer-legal {
    background: var(--nf-midnight);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.nf-footer-legal p {
    font-size: 0.8rem;
    color: var(--nf-stone);
}

.nf-payment-row {
    display: flex;
    gap: 0.5rem;
}

.nf-payment-row span {
    padding: 0.25rem 0.6rem;
    background: rgba(255,255,255,0.1);
    color: var(--nf-mist);
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 3px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.nf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--nf-radius);
    transition: all var(--nf-speed);
}

.nf-btn-primary {
    background: var(--nf-frost);
    color: var(--nf-snow);
}

.nf-btn-primary:hover {
    background: var(--nf-frost-dark);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--nf-radius);
    background: var(--nf-frost);
    color: var(--nf-snow);
    border: none;
    cursor: pointer;
    transition: all var(--nf-speed);
}

.btn-primary:hover {
    background: var(--nf-frost-dark);
}

/* ==========================================================================
   AUTOCOMPLETE
   ========================================================================== */
.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--nf-snow);
    border: 2px solid var(--nf-mist);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    max-height: 420px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.autocomplete-dropdown.show {
    display: block;
    animation: nf-dropdown-in 0.2s ease;
}

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

.autocomplete-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--nf-cloud);
    transition: background var(--nf-speed);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

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

.autocomplete-item:hover,
.autocomplete-item.selected {
    background: var(--nf-ice);
}

.autocomplete-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--nf-cloud);
    padding: 4px;
    flex-shrink: 0;
}

.autocomplete-text {
    flex: 1;
    min-width: 0;
}

.autocomplete-name {
    font-weight: 500;
    color: var(--nf-charcoal);
    font-size: 0.95rem;
    margin-bottom: 4px;
    display: block;
}

.autocomplete-name strong {
    color: var(--nf-frost);
    font-weight: 600;
}

.autocomplete-price {
    font-size: 1rem;
    color: var(--nf-frost-dark);
    font-weight: 700;
}

.autocomplete-loading,
.autocomplete-no-results,
.autocomplete-error {
    padding: 1.5rem;
    text-align: center;
    color: var(--nf-stone);
    font-size: 0.9rem;
}

/* ==========================================================================
   RESPONSIVE - TABLET
   ========================================================================== */
@media (max-width: 1024px) {
    .nf-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .nf-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   RESPONSIVE - MOBILE
   ========================================================================== */
@media (max-width: 768px) {
    .nf-header-row {
        display: flex;
        padding: 1rem;
        gap: 1rem;
    }

    .nf-menu-toggle {
        display: flex;
        order: 1;
    }

    .nf-brand {
        order: 2;
        flex: 1;
    }

    .nf-search-block {
        display: none;
    }

    .nf-quick-actions {
        order: 3;
        gap: 0.25rem;
    }

    .nf-quick-label {
        display: none;
    }

    .nf-quick-link {
        padding: 0.5rem;
    }

    .nf-categories-bar {
        display: none;
    }

    .nf-trust-strip-inner {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        padding: 1rem;
    }

    .nf-trust-item svg {
        width: 24px;
        height: 24px;
    }

    .nf-trust-item span {
        font-size: 0.7rem;
    }

    .nf-trust-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .nf-trust-icon {
        width: 50px;
        height: 50px;
    }

    /* Product page responsive */
    .nf-product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nf-product-gallery {
        position: static;
    }

    .nf-product-title {
        font-size: 1.4rem;
    }

    .nf-product-pricing .nf-price-current {
        font-size: 1.6rem;
    }

    .nf-guarantees {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .nf-guarantee span {
        font-size: 0.7rem;
    }

    .nf-sticky-mobile {
        display: flex;
    }

    .nf-main {
        padding-bottom: 80px;
    }

    .nf-description-section {
        padding: 1.5rem;
    }

    .nf-content {
        padding: 1.5rem 1rem 3rem;
    }

    .nf-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .nf-tile-body {
        padding: 0.75rem;
    }

    .nf-tile-name {
        font-size: 0.8rem;
    }

    .nf-tile-price {
        font-size: 1rem;
    }

    .nf-tile-cart {
        margin: 0 0.75rem 0.75rem;
    }

    .nf-tile-cart span {
        display: none;
    }

    .nf-subscribe {
        padding: 2rem 1rem;
    }

    .nf-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .nf-footer-brand {
        justify-content: center;
    }

    .nf-social-row {
        justify-content: center;
    }

    .nf-footer-legal {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   RESPONSIVE - SMALL
   ========================================================================== */
@media (max-width: 480px) {
    .nf-product-grid {
        grid-template-columns: 1fr;
    }

    .nf-tile-cart span {
        display: inline;
    }

    .nf-section-title {
        font-size: 1.3rem;
    }

    .nf-product-title {
        font-size: 1.25rem;
    }

    .nf-guarantees {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .nf-guarantee {
        flex-direction: row;
        justify-content: center;
        gap: 0.75rem;
    }

    .nf-guarantee span {
        font-size: 0.85rem;
    }

    .nf-product-thumbs {
        justify-content: center;
    }

    .nf-thumb {
        width: 60px;
        height: 60px;
    }
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.nf-legal-page {
    background: var(--nf-snow);
    border-radius: var(--nf-radius);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.nf-legal-title {
    font-family: var(--nf-font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--nf-midnight);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--nf-ice);
}

.nf-legal-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--nf-slate);
}

.nf-legal-content h2 {
    font-family: var(--nf-font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--nf-charcoal);
    margin: 32px 0 16px;
}

.nf-legal-content p {
    margin-bottom: 16px;
}

.nf-legal-content ul,
.nf-legal-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.nf-legal-content li {
    margin-bottom: 8px;
    list-style: disc;
}

.nf-company-info {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid var(--nf-ice);
}

.nf-company-info h2 {
    font-family: var(--nf-font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--nf-charcoal);
    margin-bottom: 16px;
}

.nf-company-info p {
    color: var(--nf-slate);
    margin-bottom: 8px;
}

.nf-company-info a {
    color: var(--nf-frost);
    text-decoration: none;
}

.nf-company-info a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .nf-legal-page {
        padding: 24px 16px;
    }

    .nf-legal-title {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
    .nf-announcement,
    .nf-site-header,
    .nf-categories-bar,
    .nf-drawer,
    .nf-trust-strip,
    .nf-subscribe {
        display: none !important;
    }
}
