
html {
    font-family: 'DM Sans', system-ui, sans-serif;
}

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #1e2d24;
    line-height: 1.65;
}

/* ===== Heading typography ===== */
h1, h2 {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #12201a;
}

h3, h4, h5, h6 {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-weight: 500;
    color: #1e2d24;
}

/* ===== Quantity input invalid state ===== */
.fp-qty-invalid {
    background-color: #dc3545 !important;
    color: #fff !important;
    border-color: #dc3545 !important;
}

.fp-qty-invalid:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.4) !important;
}

/* wrapper-based: ���� �� parent div ���� �� class, �������� �� ��������� input ����� �� �� ������� � Blazor */
.fp-qty-invalid-wrap input {
    background-color: #dc3545 !important;
    color: #fff !important;
    border-color: #dc3545 !important;
}

.fp-qty-invalid-wrap input:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.4) !important;
    outline: none;
}

/* Username input � placeholder sentence case, typed text uppercase */
.fp-input-upper::placeholder {
    text-transform: none;
}

.fp-input-upper {
    text-transform: uppercase;
}


@media (max-width: 575.98px) {
    .fp-topbar {
        font-size: 0.7rem;
    }
    .fp-topbar a {
        font-size: 0.7rem;
    }
}

/* ===== Product image zoom on click-drag ===== */
.fp-zoom-container {
    overflow: hidden;
    cursor: crosshair;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
}

/* Touch devices: ����+drag � cursors ��� grab */
@media (pointer: coarse) {
    .fp-zoom-container {
        cursor: zoom-in;
    }
}

/* -- �������� ��� ProductDetail -- */
.fp-detail-fav {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.90);
    border: 1px solid rgba(220,53,69,0.18);
    color: #bbb;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    font-size: 1.05rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.13);
    opacity: 0.55;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}

/* Inline variant � ���� ���� �����, �������� ��� �������� */
.fp-detail-fav.fp-detail-fav--inline {
    position: static;
    display: inline-flex;
    vertical-align: middle;
    flex-shrink: 0;
    opacity: 0.7;
    box-shadow: 0 1px 6px rgba(0,0,0,0.10);
    margin-right: 6px;
    margin-top: -4px;
}

.fp-detail-fav:hover {
    opacity: 1;
    transform: scale(1.15);
    color: #e74c6a;
    background: #fff;
    border-color: rgba(231,76,106,0.5);
    box-shadow: 0 4px 16px rgba(231,76,106,0.3);
}

.fp-detail-fav.fp-detail-fav--active {
    opacity: 1;
    color: #e74c6a;
    background: rgba(255,255,255,0.96);
    border-color: rgba(231,76,106,0.35);
}



@media (pointer: coarse) {
    .fp-zoom-container.fp-zoomed {
        cursor: grab;
    }

    .fp-zoom-container.fp-zoomed.fp-dragging {
        cursor: grabbing;
    }
}

.fp-zoom-img {
    transform-origin: 0 0;
    transition: transform 0.15s ease;
    pointer-events: none;
    display: block;
    width: 100%;
}

/* ===== ��������� ������ �������� � ������ ���� ��� 440px ===== */
@media (max-width: 439.98px) {
    .fp-thead-hide-xs {
        display: none;
    }
}

/* ===== ����� �������� � scrollable container ?768px ===== */
.fp-color-scroll-wrap {
    overflow: hidden;
}

@media (min-width: 768px) {
    .fp-color-scroll-wrap {
        max-height: 420px;
        overflow-y: auto;
        overflow-x: clip;
        overscroll-behavior: contain;
        border: 1px solid #dee2e6;
        border-radius: 0.375rem;
    }

    /* ���� ��� �������� sticky ���� ��� scroll container */
    .fp-color-scroll-wrap thead th {
        position: sticky;
        top: 0;
        z-index: 10;
        background-color: #f8f9fa;
        box-shadow: 0 1px 0 #dee2e6;
    }

    /* ����� scrollbar ��� desktop */
    .fp-color-scroll-wrap::-webkit-scrollbar {
        width: 6px;
    }
    .fp-color-scroll-wrap::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }
    .fp-color-scroll-wrap::-webkit-scrollbar-thumb {
        background: #adb5bd;
        border-radius: 3px;
    }
    .fp-color-scroll-wrap::-webkit-scrollbar-thumb:hover {
        background: var(--fp-green);
    }
}

/* ===== Sticky header �� hide-on-scroll-down / show-on-scroll-up ===== */
.fp-header-wrap {
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    will-change: transform;
    box-shadow: 0 2px 20px rgba(26,122,58,0.08);
}

/* ===== GDPR Consent Shake Effect ===== */
@keyframes fp-shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-6px); }
    20%, 40%, 60%, 80% { transform: translateX(6px); }
}
.fp-shake {
    animation: fp-shake 0.5s ease-in-out;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.5) !important;
}

/* ===== Heart-fly animation: pulse on target button ===== */
@keyframes fp-heart-pulse {
    0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(231,76,111,0.6); }
    40%  { transform: scale(1.18); box-shadow: 0 0 0 6px rgba(231,76,111,0.25); }
    70%  { transform: scale(1.10); box-shadow: 0 0 0 10px rgba(231,76,111,0.08); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(231,76,111,0); }
}
.fp-heart-pulse {
    animation: fp-heart-pulse 0.65s ease-out !important;
}

/* ===== Heart-fly animation: bounce on favorites badge ===== */
@keyframes fp-badge-bounce {
    0%   { transform: scale(1); }
    25%  { transform: scale(1.55) rotate(-8deg); }
    50%  { transform: scale(1.35) rotate(6deg); }
    70%  { transform: scale(1.15) rotate(-4deg); }
    85%  { transform: scale(1.08) rotate(2deg); }
    100% { transform: scale(1) rotate(0deg); }
}
.fp-badge-bounce {
    animation: fp-badge-bounce 0.6s cubic-bezier(0.36,0.07,0.19,0.97) !important;
    display: inline-block;
}

/* ===== Rich animated background ===== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 60% at 10%  5%,  rgba(26,122,58,0.10) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 90% 95%,  rgba(184,134,11,0.08) 0%, transparent 50%),
        radial-gradient(ellipse 55% 45% at 80% 20%,  rgba(46,184,78,0.06) 0%, transparent 45%),
        radial-gradient(ellipse 60% 55% at 20% 80%,  rgba(15,82,40,0.07)  0%, transparent 50%),
        linear-gradient(150deg, #eaf6ef 0%, #f4faf6 35%, #fdfbf3 70%, #f2f8f0 100%);
    z-index: -2;
    pointer-events: none;
    animation: fpBgPulse 18s ease-in-out infinite alternate;
}

@keyframes fpBgPulse {
    0%   { opacity: 1; }
    50%  { opacity: 0.88; }
    100% { opacity: 1; }
}

/* ===== Watermark Logo Background ===== */
body::after {
    content: '';
    position: fixed;
    top: 59%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: url('/images/logo-watermark.png') no-repeat center center;
    background-size: contain;
    opacity: 0.13;
    pointer-events: none;
    z-index: -1;
}

:root {
    /* -- Brand greens -- */
    --fp-green:        #1a7a3a;
    --fp-green-dark:   #0f5228;
    --fp-green-light:  #2eb84e;
    --fp-green-muted:  #d6edde;
    --fp-green-subtle: #edf7f0;

    /* -- Gold / Amber -- */
    --fp-gold:       #b8860b;
    --fp-gold-light: #e0a832;
    --fp-gold-pale:  #fdf3d7;
    --fp-amber:      #f5a623;

    /* -- Ink / Neutrals -- */
    --fp-ink:      #0e1f15;
    --fp-ink-soft: #2a3d30;
    --fp-muted:    #6b8070;
    --fp-border:   rgba(26,122,58,0.12);
    --fp-surface:  #f5fbf7;

    /* -- Gradients -- */
    --fp-grad-green:  linear-gradient(135deg, #071a0e 0%, #0f5228 40%, #1a7a3a 70%, #2eb84e 100%);
    --fp-grad-gold:   linear-gradient(135deg, #7a5500 0%, #b8860b 50%, #e0a832 100%);
    --fp-grad-card:   linear-gradient(160deg, #ffffff 0%, #f0faf4 100%);
    --fp-grad-hero:   linear-gradient(135deg, #071a0e 0%, #0f3d1e 40%, #1a6635 100%);
    --fp-grad-glass:  linear-gradient(135deg, rgba(255,255,255,0.55) 0%, rgba(240,250,244,0.45) 100%);

    /* -- Elevation -- */
    --fp-shadow-sm:  0 2px 14px rgba(15,82,40,0.08);
    --fp-shadow-md:  0 6px 30px rgba(15,82,40,0.13);
    --fp-shadow-lg:  0 16px 56px rgba(15,82,40,0.18);
    --fp-shadow-xl:  0 28px 80px rgba(15,82,40,0.22);
    --fp-glow-green: 0 0 32px rgba(26,122,58,0.28);
    --fp-glow-gold:  0 0 24px rgba(224,168,50,0.30);

    /* -- Shape -- */
    --fp-radius:      14px;
    --fp-radius-lg:   20px;
    --fp-radius-xl:   28px;
    --fp-radius-pill: 50px;

    /* -- Motion -- */
    --fp-transition:      0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --fp-transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --fp-spring:          0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
}

a, .btn-link {
    color: var(--fp-green);
    transition: color var(--fp-transition);
}

a:hover {
    color: var(--fp-green-dark);
}

.btn-primary {
    color: #fff;
    background-color: var(--fp-green);
    border-color: var(--fp-green-dark);
}

.btn-primary:hover {
    background-color: var(--fp-green-dark);
    border-color: var(--fp-green-dark);
}

.bg-fp-green {
    background-color: var(--fp-green) !important;
}

/* ===== Top Bar ===== */
.fp-topbar {
    background: linear-gradient(90deg, #071a0e 0%, #0f5228 30%, #1a7a3a 65%, #2eb84e 90%, #1a7a3a 100%) !important;
    font-size: 0.74rem;
    letter-spacing: 0.02em;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.fp-topbar::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; right: -100%; bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.04) 50%, transparent 100%);
    animation: fpTopbarShimmer 6s linear infinite;
    pointer-events: none;
}

@keyframes fpTopbarShimmer {
    0%   { transform: translateX(-30%); }
    100% { transform: translateX(30%); }
}

.fp-topbar a {
    transition: opacity var(--fp-transition);
    opacity: 0.82;
}

.fp-topbar a:hover {
    opacity: 1;
    text-decoration: underline !important;
}

/* ===== Header ===== */
.fp-header,
.fp-header.bg-light {
    background: rgba(255,255,255,0.82) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(26,122,58,0.14) !important;
    box-shadow: 0 4px 24px rgba(15,82,40,0.09), 0 1px 0 rgba(255,255,255,0.8) inset !important;
}

.fp-header-wrap .fp-header {
    background: rgba(255,255,255,0.82) !important;
}

.fp-header-wrap {
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    will-change: transform;
}

/* Social icons in header */
.fp-header-social a {
    color: #9aada0 !important;
    font-size: 1.1rem;
    transition: color var(--fp-transition), transform var(--fp-transition);
    display: inline-block;
}

.fp-header-social a:hover {
    color: var(--fp-green) !important;
    transform: translateY(-2px);
}

/* ===== ������� theme background � ������ ����� ��� �� header ===== */
.bg-light:not(.fp-header):not(.fp-header *) {
    background-color: #eef6f0 !important;
}

/* bg-light ���� �� cards/panels > ��� ���� ������� */
.card .bg-light,
.rounded .bg-light,
.p-3.bg-light,
.p-2.bg-light {
    background-color: #eef6ee !important;
}

.text-fp-green {
    color: var(--fp-green) !important;
}

.btn-fp-green {
    color: #fff;
    background: linear-gradient(135deg, var(--fp-green-dark) 0%, var(--fp-green) 60%, var(--fp-green-light) 100%);
    background-size: 200% 100%;
    background-position: left;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: background-position 0.4s ease, box-shadow var(--fp-transition), transform var(--fp-transition);
    box-shadow: 0 2px 10px rgba(26,122,58,0.22);
}

.btn-fp-green:hover {
    color: #fff;
    background-position: right;
    box-shadow: 0 6px 20px rgba(26,122,58,0.35);
    transform: translateY(-2px);
}

.btn-fp-green:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(26,122,58,0.2);
}

.btn-outline-fp-green {
    color: var(--fp-green);
    border-color: var(--fp-green);
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: background-color var(--fp-transition), box-shadow var(--fp-transition), transform var(--fp-transition), color var(--fp-transition);
}

.btn-outline-fp-green:hover {
    color: #fff;
    background-color: var(--fp-green);
    border-color: var(--fp-green);
    box-shadow: 0 4px 14px rgba(26,122,58,0.25);
    transform: translateY(-1px);
}

.badge-fp-green {
    background-color: var(--fp-green) !important;
}

.border-fp-green {
    border-color: var(--fp-green) !important;
}

/* ������� ���������� ��� ������ ��������� */
.fp-product-category-btn {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    letter-spacing: 0.02em;
    color: var(--fp-green);
    background-color: var(--fp-green-subtle);
    border: 1.5px solid var(--fp-green-muted);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.fp-product-category-btn:hover {
    background-color: var(--fp-green);
    color: #fff;
    border-color: var(--fp-green);
    transform: translateY(-1px);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ===== Modern Category Card ===== */
.fp-cat-card {
    border-radius: var(--fp-radius-xl);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--fp-shadow-md);
    transition: transform var(--fp-spring), box-shadow var(--fp-transition);
    cursor: pointer;
    border: 1px solid rgba(26,122,58,0.10);
    position: relative;
}

.fp-cat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--fp-radius-xl);
    background: linear-gradient(135deg, rgba(46,184,78,0.06) 0%, rgba(224,168,50,0.06) 100%);
    opacity: 0;
    transition: opacity var(--fp-transition);
    pointer-events: none;
    z-index: 1;
}

.fp-cat-card:hover {
    transform: translateY(-10px) scale(1.018);
    box-shadow: var(--fp-shadow-xl), var(--fp-glow-green);
    border-color: rgba(26,122,58,0.22);
}

.fp-cat-card:hover::after {
    opacity: 1;
}

.fp-cat-no-img {
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--fp-green-subtle), var(--fp-green-muted));
    font-size: 3rem;
    color: var(--fp-green);
}

/* -- Label: glass overlay at the bottom of the image -- */
.fp-cat-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 14px 12px;
    background: linear-gradient(0deg, rgba(5,20,10,0.72) 0%, rgba(5,20,10,0.30) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 3px;
    z-index: 6;
    transition: padding var(--fp-transition), background var(--fp-transition);
}

.fp-cat-card:hover .fp-cat-label {
    padding-bottom: 14px;
    background: linear-gradient(0deg, rgba(5,20,10,0.78) 0%, rgba(5,20,10,0.35) 55%, transparent 100%);
}

.fp-cat-name {
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.06em;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.35);
    text-transform: uppercase;
}

.fp-cat-sub {
    font-size: 0.7rem;
    color: var(--fp-gold-light);
    font-weight: 600;
    opacity: 0.9;
    letter-spacing: 0.03em;
}

/* ===== Category Thumbnail Grid � 1 full > hover reveals 2?2 ===== */
.fp-cat-img-grid {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, var(--fp-green-subtle), var(--fp-green-muted));
}

/* All 4 images stacked full-size; each will scale to its corner */
.fp-cat-img-grid img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.48s cubic-bezier(0.4, 0, 0.2, 1),
        opacity   0.38s cubic-bezier(0.4, 0, 0.2, 1),
        filter    0.35s ease;
}

/* -- DEFAULT: img 1 fills everything, 2-4 invisible -- */
.fp-cat-img-grid img:nth-child(1) {
    transform: scale(1);
    transform-origin: top left;
    opacity: 1;
    z-index: 4;
    filter: brightness(0.90) saturate(0.90) contrast(1);
}
.fp-cat-img-grid img:nth-child(2) {
    transform: scale(0.5);
    transform-origin: top right;
    opacity: 0;
    z-index: 3;
}
.fp-cat-img-grid img:nth-child(3) {
    transform: scale(0.5);
    transform-origin: bottom left;
    opacity: 0;
    z-index: 2;
}
.fp-cat-img-grid img:nth-child(4) {
    transform: scale(0.5);
    transform-origin: bottom right;
    opacity: 0;
    z-index: 1;
}

/* -- HOVER: img 1 shrinks to top-left quadrant, others appear in their corners -- */
.fp-cat-card:hover .fp-cat-img-grid img:nth-child(1) {
    transform: scale(0.5);
}
.fp-cat-card:hover .fp-cat-img-grid img:nth-child(2) {
    transform: scale(0.5);
    opacity: 1;
}
.fp-cat-card:hover .fp-cat-img-grid img:nth-child(3) {
    transform: scale(0.5);
    opacity: 1;
}
.fp-cat-card:hover .fp-cat-img-grid img:nth-child(4) {
    transform: scale(0.5);
    opacity: 1;
}

/* Brightness lift on hover � ������� �� ������� */
.fp-cat-card:hover .fp-cat-img-grid img {
    filter: brightness(1) saturate(0.75) contrast(1);
}

/* Divider seam */
.fp-cat-img-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(var(--fp-green-muted) 0 0) center / 100% 2px no-repeat,
        linear-gradient(90deg, var(--fp-green-muted) 0 0) center / 2px 100% no-repeat;
    opacity: 0;
    transition: opacity 0.48s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
}
.fp-cat-card:hover .fp-cat-img-grid::before {
    opacity: 1;
}

/* Single-image: never scale down */
.fp-cat-img-grid img:only-child {
    transform: scale(1) !important;
    opacity: 1 !important;
}


.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* -- FaitakisPack � ������� checkbox & radio ----------------------------- */
.form-check-input[type="checkbox"],
.form-check-input[type="radio"] {
    width: 1.2em;
    height: 1.2em;
    border: 2px solid #5a9a6a;          /* ����� ������� ���������� ����� �� ���� ����� */
    background-color: #fff;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}

.form-check-input[type="checkbox"]:checked,
.form-check-input[type="radio"]:checked {
    background-color: var(--fp-green);
    border-color: var(--fp-green-dark);
}

.form-check-input[type="checkbox"]:focus,
.form-check-input[type="radio"]:focus {
    border-color: var(--fp-green);
    box-shadow: 0 0 0 0.2rem rgba(26, 122, 58, 0.25);
    outline: none;
}

.form-check-input[type="checkbox"]:hover,
.form-check-input[type="radio"]:hover {
    border-color: var(--fp-green-dark);
}
/* --------------------------------------------------------------------------- */

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* �������� spinner arrows ��� number inputs */
.fp-no-spinners::-webkit-outer-spin-button,
.fp-no-spinners::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.fp-no-spinners {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* ===== Lightbox / Zoom ===== */
.fp-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.fp-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    cursor: default;
    overflow: visible;
}

.fp-lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
}

/* ===== Color rows: divider ===== */
/* Mobile (<1400px): γραμμή κάτω από ποσότητα, όχι κάτω από χρώμα */
@media (max-width: 1399.98px) {
    tr.fp-color-name-row > td {
        border-bottom: 0 !important;
    }
    tr.fp-color-qty-row > td {
        border-top: 0 !important;
        border-bottom: 0 !important;
    }
    tr.fp-color-qty-row {
        border-bottom: 2px solid #212529 !important;
    }
}
/* Desktop (>=1400px): γραμμή κάτω από τη γραμμή χρώματος (κανονικά) */
@media (min-width: 1400px) {
    tr.fp-color-name-row {
        border-bottom: 2px solid #212529 !important;
    }
    tr.fp-color-name-row > td {
        border-bottom: 0 !important;
    }
}

/* ===== Cart Thumbnail with Zoom ===== */
/* Cart row background via CSS variable � override Bootstrap --bs-table-bg */
tr[style*="--fp-row-bg"] > td {
    background-color: var(--fp-row-bg) !important;
    transition: background-color 0.3s;
}

.fp-cart-thumb {
    position: relative;
    width: 60px;
    height: 60px;
    display: inline-block;
    overflow: visible;
}

.fp-cart-thumb-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    display: block;
}

.fp-cart-thumb-zoom {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    font-size: 0.65rem;
    line-height: 1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #bbb;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: background 0.15s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.fp-cart-thumb-zoom:hover {
    background: #fff;
    border-color: #1a7a3a;
    color: #1a7a3a;
}

/* ===== Global Loading Overlay ===== */
.fp-loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    pointer-events: all;
}

.fp-loading-tree {
    text-align: center;
}

.fp-loading-text {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    font-family: 'DM Sans', system-ui, sans-serif;
}

/* ������: �������� �������, ����������� */
.fp-tree-trunk {
    opacity: 0;
    animation: fpTrunkGrow 0.4s ease-out 0.1s forwards;
}

@keyframes fpTrunkGrow {
    from { opacity: 0; transform: scaleY(0); transform-origin: bottom center; }
    to   { opacity: 1; transform: scaleY(1); transform-origin: bottom center; }
}

/* �����: �������� ������� (����, �����, ������) � ���������� ��� ���� ���� */
.fp-leaf {
    opacity: 0;
    animation: fpLeafRise 0.6s ease-out forwards;
}

.fp-leaf-1 { animation-delay: 0.3s; }
.fp-leaf-2 { animation-delay: 0.5s; }
.fp-leaf-3 { animation-delay: 0.5s; }
.fp-leaf-4 { animation-delay: 0.7s; }
.fp-leaf-5 { animation-delay: 0.7s; }
.fp-leaf-6 { animation-delay: 0.9s; }

@keyframes fpLeafRise {
    0% {
        opacity: 0;
        transform: translateY(140px) scale(0.3) rotate(-20deg);
    }
    60% {
        opacity: 1;
        transform: translateY(-10px) scale(1.05) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

/* ���� ��� ������������, ��� ���� "�������" effect */
.fp-loading-overlay[style*="display: flex"] .fp-leaf,
.fp-loading-overlay:not([style*="display: none"]) .fp-leaf {
    animation: fpLeafRise 0.6s ease-out forwards, fpLeafBreathe 2s ease-in-out 1.5s infinite;
}

@keyframes fpLeafBreathe {
    0%, 100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-3px) scale(1.03); }
}

/* ===== Mega-Menu Navigation ===== */
.fp-mega-nav {
    position: relative;
}

.fp-mega-nav .navbar-nav {
    gap: 0;
    flex-wrap: wrap;
}

/* Uniform padding & underline effect for ALL nav-links */
.fp-mega-nav .navbar-nav .nav-link {
    position: relative;
    padding-top: 0.10rem !important;
    padding-bottom: 0.10rem !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    height: auto;
    transition: color 0.2s, background-color 0.2s;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'DM Sans', system-ui, sans-serif;
    letter-spacing: 0.03em;
}

/* ������ 1200px�1400px: ��������� font ��� padding ���� �� ������ �� ��������� ������� */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .fp-mega-nav .navbar-nav .nav-link {
        font-size: 0.8rem;
        padding-left: 0.45rem !important;
        padding-right: 0.45rem !important;
    }
}

.fp-nav-arrow {
    font-size: 0.6rem;
    vertical-align: middle;
    margin-left: 2px;
    transition: transform 0.2s;
}

.fp-mega-dropdown.open .fp-nav-arrow {
    transform: rotate(180deg);
}

.fp-mega-nav .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--fp-green), var(--fp-gold-light));
    border-radius: 2px;
    transition: width 0.25s ease, left 0.25s ease;
}

.fp-mega-nav .navbar-nav .nav-link:hover::after {
    width: 100%;
    left: 0;
}

.fp-mega-nav .navbar-nav .nav-link:hover {
    color: var(--fp-green) !important;
}

.fp-mega-dropdown {
    position: static !important;
}

.fp-mega-dropdown.open > .nav-link::after {
    width: 100%;
    left: 0;
}

.fp-mega-dropdown.open > .nav-link {
    color: var(--fp-green) !important;
}

.fp-mega-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(245,253,247,0.97) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 3px solid transparent;
    border-image: var(--fp-grad-green) 1;
    border-bottom: 1px solid rgba(26,122,58,0.08);
    box-shadow: 0 16px 48px rgba(15,82,40,0.15), 0 4px 16px rgba(15,82,40,0.08);
    padding: 1.5rem 0;
    z-index: 1050;
    animation: fpMegaFadeIn 0.22s ease;
}

/* Invisible bridge: covers the gap between nav-link and the mega-menu panel */
.fp-mega-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
}

.fp-mega-dropdown.open > .fp-mega-menu {
    display: block;
}

@keyframes fpMegaFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Column-flow layout: top-to-bottom, then next column */
.fp-mega-columns {
    column-count: 5;
    column-gap: 1.5rem;
}

.fp-mega-col-item {
    break-inside: avoid;
    margin-bottom: 1rem;
}

@media (max-width: 1199.98px) {
    .fp-mega-columns {
        column-count: 2;
    }
}

@media (max-width: 575.98px) {
    .fp-mega-columns {
        column-count: 1;
    }
}

.fp-mega-heading {
    display: block;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.76rem;
    color: var(--fp-green);
    text-decoration: none;
    padding-bottom: 0.35rem;
    margin-bottom: 0.35rem;
    border-bottom: 1px solid rgba(26,122,58,0.10);
    letter-spacing: 0.02em;
}

.fp-mega-heading:hover {
    color: var(--fp-green-dark);
}

.fp-mega-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fp-mega-links li a {
    display: block;
    padding: 0.18rem 0;
    font-size: 0.76rem;
    color: #555;
    text-decoration: none;
    transition: color 0.15s, padding-left 0.15s;
}

.fp-mega-links li a:hover {
    color: var(--fp-green);
    padding-left: 4px;
}

.fp-mega-more {
    font-weight: 600;
    color: var(--fp-green) !important;
    font-size: 0.74rem !important;
    margin-top: 0.25rem;
}

/* Mobile/Tablet: mega-menu ���� ��� collapse */
@media (max-width: 1199.98px) {
    .fp-mega-menu {
        position: static;
        box-shadow: none;
        border-top: none;
        border-left: 3px solid var(--fp-green);
        padding: 0.5rem 0 0.5rem 1rem;
        animation: none;
    }

    .fp-mega-dropdown.open > .fp-mega-menu {
        display: block;
    }

    .fp-mega-dropdown > .nav-link::after {
        display: none;
    }

    /* SearchBar wrapper ��� nav bar ��� mobile */
    .fp-mobile-search-wrapper {
        padding: 0.4rem 0;
    }
}

/* ===== Mobile/Tablet Header Layout (���� ��� xl = 1200px) ===== */
@media (max-width: 1199.98px) {
    .fp-mobile-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0.6rem 0.75rem 0.5rem;
        gap: 0.5rem;
    }

    .fp-mobile-header-logo {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .fp-mobile-header-controls {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0.5rem;
        width: 100%;
        flex-wrap: wrap;
    }

    /* �� ������� �������� �� ������ �� ������� �� ����� font */
    .fp-mobile-header-controls .btn {
        font-size: 0.78rem;
        padding: 0.3rem 0.6rem;
        white-space: nowrap;
    }
}

/* ===== Mobile Floating Hamburger ===== */
/* ������� ����� header ��� �� ��� ����������� ��� �� sticky transition */
.fp-mobile-hamburger {
    position: fixed;
    top: 28px;
    left: 5px;
    z-index: 1050;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 0.4rem 0.65rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    line-height: 1;
    cursor: pointer;
    transition: box-shadow 0.2s;
    font-size: 1.4rem;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.fp-mobile-hamburger:hover,
.fp-mobile-hamburger:focus {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22) !important;
    outline: none;
}

/* ===== Mobile Offcanvas Menu ===== */
.fp-mobile-offcanvas {
    max-width: 310px;
}

.fp-mobile-offcanvas .offcanvas-body,
.fp-mobile-offcanvas .fp-mobile-accordion,
.fp-mobile-offcanvas .fp-mac-item,
.fp-mobile-offcanvas .fp-mobile-cat-btn,
.fp-mobile-offcanvas .fp-mobile-sub-toggle,
.fp-mobile-offcanvas .fp-mobile-cat-all,
.fp-mobile-offcanvas .fp-mobile-sub-link,
.fp-mobile-offcanvas .fp-mobile-subsub-item,
.fp-mobile-offcanvas .fp-mobile-cat-simple {
    position: relative;
    pointer-events: auto;
}

.fp-mobile-offcanvas {
    pointer-events: auto;
}

.fp-mobile-offcanvas .offcanvas-body {
    z-index: 1;
}

.fp-mobile-offcanvas .offcanvas-header {
    background-color: #f8f9fa;
}

/* -- ������ ���������� (1� �������) -- */
.fp-mobile-cat-btn {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    background-color: #fff;
    border: none;
    padding: 0.85rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    color: #333;
    cursor: pointer;
    transition: color 0.15s, background-color 0.15s;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.fp-mobile-cat-btn:hover,
.fp-mobile-cat-btn.fp-open {
    color: var(--fp-green);
    background-color: #f0f8f2;
}

.fp-mobile-cat-arrow {
    font-size: 0.7rem;
    transition: transform 0.2s;
}

.fp-mobile-cat-btn.fp-open .fp-mobile-cat-arrow {
    transform: rotate(180deg);
}

.fp-mobile-cat-body {
    border-top: 1px solid #e8e8e8;
}

/* "��� ���" ��������� ���������� */
.fp-mobile-cat-all {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--fp-green);
    text-decoration: none;
    background-color: #f0f8f2;
    border-bottom: 1px solid #e0ede3;
}

.fp-mobile-cat-all:hover {
    background-color: #e2f2e6;
    color: var(--fp-green-dark);
}

/* -- ������������ �� ������ (2� �������) -- */
.fp-mobile-sub-group {
    border-bottom: 1px solid #f0f0f0;
}

.fp-mobile-sub-toggle {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 0.55rem 1rem 0.55rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.fp-mobile-sub-toggle:hover,
.fp-mobile-sub-toggle.fp-open {
    color: var(--fp-green);
    background-color: #f6fcf7;
}

.fp-mobile-sub-arrow {
    font-size: 0.65rem;
    transition: transform 0.2s;
    display: inline-block;
}

.fp-mobile-sub-toggle.fp-open .fp-mobile-sub-arrow {
    transform: rotate(90deg);
}

/* -- ����� 3�� �������� -- */
.fp-mobile-subsub-list {
    background-color: #fafafa;
    padding: 0.25rem 0;
}

.fp-mobile-subsub-item {
    display: block;
    padding: 0.4rem 1rem 0.4rem 2.75rem;
    font-size: 0.8rem;
    color: #555;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.15s, background 0.15s;
}

.fp-mobile-subsub-item:last-child {
    border-bottom: none;
}

.fp-mobile-subsub-item:hover {
    color: var(--fp-green);
    background-color: #f0f8f2;
}

.fp-mobile-subsub-all {
    font-weight: 600;
    color: var(--fp-green) !important;
    font-size: 0.78rem;
}

/* -- ������������ ����� ������ -- */
.fp-mobile-sub-link {
    display: block;
    padding: 0.5rem 1rem 0.5rem 1.5rem;
    font-size: 0.85rem;
    color: #555;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.15s, background 0.15s;
}

.fp-mobile-sub-link:hover {
    color: var(--fp-green);
    background-color: #f6fcf7;
}

/* ��������� ����� ������������� */
.fp-mobile-cat-simple {
    display: block;
    padding: 0.85rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: color 0.15s, background 0.15s;
}

.fp-mobile-cat-simple:hover {
    color: var(--fp-green);
    background-color: #f6fcf7;
}

/* 5-column grid ��� xl+ */
.col-xl-fp5 {
    flex: 0 0 auto;
    width: 20%;
}

@media (max-width: 1199.98px) {
    .col-xl-fp5 { width: 25%; }
}
@media (max-width: 991.98px) {
    .col-xl-fp5 { width: 33.3333%; }
}
@media (max-width: 767.98px) {
    .col-xl-fp5 { width: 50%; }
}
@media (max-width: 575.98px) {
    .col-xl-fp5 { width: 100%; }
}

/* 5-column grid ��� lg+ */
.col-lg-fp5 {
    flex: 0 0 auto;
    width: 20%;
}

@media (max-width: 991.98px) {
    .col-lg-fp5 { width: 33.3333%; }
}
@media (max-width: 767.98px) {
    .col-lg-fp5 { width: 50%; }
}
@media (max-width: 575.98px) {
    .col-lg-fp5 { width: 100%; }
}

/* 200px side padding ��� lg+ */
.px-xl-fp200 {
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 992px) {
    .px-xl-fp200 {
        padding-left: 190px;
        padding-right: 190px;
    }
}

/* ===== Floating category path tooltip ===== */
#fp-cat-tooltip {
    position: fixed;
    z-index: 99999;
    pointer-events: none;
    background: rgba(15, 82, 40, 0.92);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 400;
    padding: 5px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
#fp-cat-tooltip.fp-cat-tooltip-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Modern Section Titles ===== */
.fp-section-title {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 2.2rem;
    font-weight: 400;
    background: var(--fp-grad-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1.2;
}

.fp-section-title::after {
    content: '';
    display: block;
    width: 72px;
    height: 3px;
    background: linear-gradient(90deg, var(--fp-green-dark), var(--fp-green-light), var(--fp-gold-light));
    border-radius: 2px;
    margin: 10px auto 0;
    box-shadow: 0 2px 10px rgba(26,122,58,0.28);
}

/* ===== Modern Product Card ===== */
/* ===== Product Card � Wow-level redesign ===== */
.product-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(26,122,58,0.09);
    box-shadow: var(--fp-shadow-sm);
    transition: transform var(--fp-transition), box-shadow var(--fp-transition), border-color var(--fp-transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.013);
    box-shadow: var(--fp-shadow-xl), var(--fp-glow-green);
    border-color: rgba(26,122,58,0.22);
}

/* Image wrapper � no overflow so zoom button isn't clipped */
.product-card-img-wrap {
    position: relative;
    background: linear-gradient(155deg, #f0faf4 0%, #fdfaf0 100%);
    border-radius: 20px 20px 0 0;
}

/* Inner clip div � clips image zoom effect */
.product-card-img-clip {
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    position: relative;
    z-index: 1;
    display: block;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 10px;
    transition: transform var(--fp-transition-slow);
    display: block;
}

.product-card:hover .product-image {
    transform: scale(1.06);
}

.product-image-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f7f2, #e2f0e5);
    font-size: 2.5rem;
    color: #b0c8b8;
}

/* Badges */
.fp-badge {
    position: absolute;
    top: 10px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    border-radius: 6px;
    padding: 3px 9px;
    z-index: 2;
    text-transform: uppercase;
}

.fp-badge-new {
    left: 10px;
    background: linear-gradient(135deg, #0f5228 0%, #1a7a3a 60%, #2eb84e 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(26,122,58,0.4);
    font-weight: 500;
}

.fp-badge-offer {
    right: 10px;
    background: linear-gradient(135deg, var(--fp-gold) 0%, var(--fp-amber) 100%);
    color: #2a1a00;
    box-shadow: 0 2px 8px rgba(184,134,11,0.4);
}

.fp-badge-soldout {
    left: 10px;
    bottom: 10px;
    top: auto;
    background: linear-gradient(135deg, #c0392b 0%, #922b21 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(192,57,43,0.4);
}

.fp-badge-cancelled {
    left: 10px;
    bottom: 10px;
    top: auto;
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(73,80,87,0.35);
}

/* Zoom button � always visible at 45% opacity, always clickable */
.fp-card-zoom {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--fp-green);
    opacity: 0.45;
    transform: scale(1);
    transition: opacity var(--fp-transition), transform var(--fp-spring), box-shadow var(--fp-transition);
    border: 1px solid rgba(26,122,58,0.18);
    box-shadow: 0 2px 10px rgba(0,0,0,0.14);
    z-index: 10;
    pointer-events: all;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.product-card:hover .fp-card-zoom {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(26,122,58,0.35);
}

/* Details button overlay � fade in on hover */
.fp-card-overlay {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    padding: 0;
    background: transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 9;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.product-card:hover .fp-card-overlay {
    opacity: 1;
}

.fp-card-overlay-title,
.fp-card-overlay-price,
.fp-card-overlay-lock {
    display: none;
}

.fp-price-old {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.55);
    text-decoration: line-through;
}

.fp-price-current {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--fp-gold-light);
}

.fp-card-overlay-lock {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.6);
}

.fp-card-overlay-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.74rem;
    font-weight: 700;
    text-decoration: none;
    padding: 5px 18px;
    border-radius: var(--fp-radius-pill);
    /* Transparent background */
    background: transparent;
    border: 0;
    position: relative;
    pointer-events: all;
    transition: box-shadow 0.25s ease, background 0.25s ease;
    /* Gradient text */
    background-image: linear-gradient(135deg, #1a7a3a 0%, #2eb84e 50%, #b8860b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gradient border only � mask trick */
.fp-card-overlay-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--fp-radius-pill);
    padding: 1.5px;
    background: linear-gradient(135deg, #1a7a3a, #2eb84e, #b8860b);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.fp-card-overlay-btn:hover {
    background-image: linear-gradient(135deg, #1a7a3a 0%, #2eb84e 50%, #b8860b 100%);
    box-shadow: 0 4px 18px rgba(26,122,58,0.22);
}

/* Card body below image */
.product-card-body {
    padding: 0.65rem 0.75rem 0.5rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    border-top: 1px solid rgba(26,122,58,0.07);
    background: linear-gradient(180deg, #ffffff 0%, #f6fcf8 100%);
    position: relative;
    z-index: 1;
    border-radius: 0 0 20px 20px;
}

.product-card-title a {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--fp-green) !important;
    line-height: 1.35;
    text-decoration: none;
    transition: color var(--fp-transition);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card:hover .product-card-title a {
    color: var(--fp-green) !important;
}

.product-card-title .fp-card-title-btn {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--fp-green) !important;
    line-height: 1.35;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color var(--fp-transition);
    text-align: left;
    width: 100%;
}

.product-card:hover .product-card-title .fp-card-title-btn {
    color: var(--fp-green) !important;
}

.product-card-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.fp-price-old-sm {
    font-size: 0.72rem;
    color: #a0b0a4;
    text-decoration: line-through;
}

.fp-price-current-sm {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--fp-green);
}

.product-card-lock {
    font-size: 0.7rem;
    color: #9aab9e;
}



/* ===== Home sections backgrounds ===== */
.fp-section-categories {
    background:
        radial-gradient(ellipse 70% 90% at  0% 110%, rgba(46,184,78,0.07) 0%, transparent 55%),
        radial-gradient(ellipse 60% 70% at 100%  -5%, rgba(224,168,50,0.05) 0%, transparent 50%),
        linear-gradient(180deg, rgba(243,251,246,0.45) 0%, rgba(232,245,238,0.50) 100%);
    padding: 5rem 0;
    position: relative;
}

.fp-section-categories::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(46,184,78,0.4), var(--fp-gold-light), rgba(46,184,78,0.4), transparent);
}

.fp-section-newproducts {
    background:
        radial-gradient(ellipse 80% 60% at 100% 100%, rgba(26,122,58,0.06) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at   0%   0%, rgba(184,134,11,0.04) 0%, transparent 50%),
        linear-gradient(180deg, rgba(237,247,240,0.42) 0%, rgba(220,240,228,0.48) 100%);
    padding: 5rem 0;
    border-top: 1px solid rgba(26,122,58,0.10);
}

/* ===== Loading placeholders (���������� Layout Shift) ===== */
.fp-loading-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* �������� ���� ����������: ~2 ������ ? 280px + gap */
.fp-loading-categories {
    min-height: 620px;
}

/* �������� ���� ���� ���������: ~3 ������ ? 340px + gap */
.fp-loading-products {
    min-height: 1100px;
}

@media (max-width: 767.98px) {
    .fp-loading-categories { min-height: 900px; }
    .fp-loading-products   { min-height: 1400px; }
}

/* ===== Load More button area ===== */
.fp-loadmore-wrap {
    padding: 2.5rem 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.fp-loadmore-wrap .btn-fp-green {
    padding: 0.65rem 2.5rem;
    font-size: 0.9rem;
}

/* ===== Subtle entry animation for product cards ===== */
@keyframes fpCardFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fp-newproducts-grid .col-xl-fp5,
.fp-newproducts-grid [class*="col-"] {
    animation: fpCardFadeUp 0.4s ease both;
}

/* ===== bg-light override for new products section ===== */
.fp-section-newproducts.bg-light {
    background: linear-gradient(180deg, #ffffff 0%, #f2f8f4 100%) !important;
}

/* ===== Banner Carousel ===== */
.fp-banner-section {
    background: linear-gradient(135deg, #071a0e 0%, #0f3d1e 50%, #1a6635 100%);
    position: relative;
}

.fp-banner-bg {
    background: linear-gradient(135deg, #071a0e 0%, #0f3d1e 100%);
}

.fp-hero-slide {
    height: 680px;
}

.fp-banner-img-wrap {
    display: block;
    width: 100%;
    overflow: hidden;
    background-color: #0f1c14;
    position: relative;
}

.fp-banner-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.18) 100%);
    pointer-events: none;
}

.fp-banner-img-wrap img,
.fp-banner-img-wrap a img {
    display: block;
    width: 100%;
    height: 480px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item.active .fp-banner-img-wrap img,
.carousel-item.active .fp-banner-img-wrap a img {
    transform: scale(1.01);
}

/* Indicators � ������� ����, ���� ��� ��� ����������� */
.fp-banner-section .carousel {
    padding-bottom: 36px;
    background-color: #0f1c14;
}

.fp-banner-section .carousel-indicators {
    bottom: 0;
    margin-bottom: 8px;
    gap: 6px;
    opacity: 0.85;
}

.fp-banner-section .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.35);
    border: none;
    opacity: 1;
    transition: background-color 0.35s, width 0.35s, border-radius 0.35s;
}

.fp-banner-section .carousel-indicators .active {
    background-color: var(--fp-gold);
    width: 24px;
    border-radius: 4px;
}

/* Prev / Next controls */
.fp-banner-section .carousel-control-prev,
.fp-banner-section .carousel-control-next {
    width: 44px;
    height: 44px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    opacity: 0;
    transition: opacity 0.3s, background 0.3s, transform 0.3s;
}

.fp-banner-section:hover .carousel-control-prev,
.fp-banner-section:hover .carousel-control-next {
    opacity: 1;
}

.fp-banner-section .carousel-control-prev:hover,
.fp-banner-section .carousel-control-next:hover {
    background: rgba(255,255,255,0.22);
    transform: translateY(-50%) scale(1.08);
}

.fp-banner-section .carousel-control-prev {
    left: 16px;
}

.fp-banner-section .carousel-control-next {
    right: 16px;
}

.fp-banner-section .carousel-control-prev-icon,
.fp-banner-section .carousel-control-next-icon {
    width: 18px;
    height: 18px;
}

/* Responsive */
@media (max-width: 767.98px) {
    .fp-banner-img-wrap img,
    .fp-banner-img-wrap a img {
        height: 220px;
        object-fit: cover;
        object-position: center center;
    }

    .fp-hero-slide h1 {
        font-size: 1.75rem;
    }

    .fp-hero-slide .lead {
        font-size: 1rem;
    }
}

/* ===== Favorites Page ===== */
.fp-fav-page-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffeef2 0%, #ffd6de 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #e74c6a;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(231,76,106,0.18);
}

.fp-fav-empty {
    max-width: 420px;
    margin: 0 auto;
}

/* Wrap ���� ��� ProductCard ��� �� ������ �� remove button */
.fp-fav-card-wrap {
    position: relative;
}

.fp-fav-remove-btn {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid rgba(231,76,106,0.35);
    color: #e74c6a;
    font-size: 0.65rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s, background 0.2s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.fp-fav-card-wrap:hover .fp-fav-remove-btn {
    opacity: 1;
}

.fp-fav-remove-btn:hover {
    background: #e74c6a;
    color: #fff;
    transform: scale(1.15);
}

/* Responsive */
@media (max-width: 575.98px) {
    .fp-fav-page-icon {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }

    .fp-fav-remove-btn {
        opacity: 1; /* ����� ����� �� mobile (��� ������� hover) */
    }
}

/* SortableJS & Drag/Drop Custom Styles */
.fp-drag-handle {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1.5px solid rgba(26, 107, 48, 0.2);
    color: #1a6b30;
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s, color 0.2s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}
.fp-drag-handle:active {
    cursor: grabbing;
    background: #1a6b30;
    color: #fff;
}
.col-drag-item {
    transition: transform 0.2s ease;
}

/* ===== Favorites grid � �������������� ���� ��� ��� ��� ������� ������ ===== */
.fp-favorites-grid *,
.fp-favorites-grid *::before,
.fp-favorites-grid *::after {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    will-change: auto !important;
    box-shadow: none !important;
}
/* ������������ ���� �� ���������� box-shadows ��� �� ��������� �� cards */
.fp-favorites-grid .product-card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}
.fp-favorites-grid .fp-card-fav {
    opacity: 1 !important;
}
.fp-favorites-grid .fp-card-zoom {
    display: none !important;
}
.fp-favorites-grid .fp-card-overlay {
    display: none !important;
}

.fp-sortable-ghost {
    opacity: 0.3 !important;
    background: #e8f5e9 !important;
    border: 2px dashed #1a6b30 !important;
    border-radius: 8px;
}
.fp-sortable-chosen {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
}
.fp-sortable-drag {
    opacity: 0.95 !important;
    pointer-events: none !important;
    z-index: 99999 !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.22) !important;
}

/* ===== Guarantees bar ===== */
.fp-guarantees {
    background:
        radial-gradient(ellipse 90% 140% at 50% 50%, rgba(26,122,58,0.09) 0%, transparent 65%),
        linear-gradient(135deg, #dff2e8 0%, #edf8f3 40%, #fdf6e0 100%);
    border-top: 2px solid rgba(26,122,58,0.14);
    border-bottom: 1px solid rgba(26,122,58,0.08);
    padding: 2.5rem 0;
    position: relative;
    overflow: hidden;
}

.fp-guarantees::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a7a3a' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.fp-guarantee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1.25rem 1rem;
    border-radius: var(--fp-radius);
    transition: background var(--fp-transition), box-shadow var(--fp-transition), transform var(--fp-transition);
    cursor: default;
}

.fp-guarantee-item:hover {
    background: rgba(255,255,255,0.9);
    box-shadow: var(--fp-shadow-sm);
    transform: translateY(-3px);
}

.fp-guarantee-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--fp-green-dark) 0%, var(--fp-green) 55%, var(--fp-green-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    box-shadow: 0 4px 16px rgba(26,122,58,0.30), 0 0 0 4px rgba(26,122,58,0.08);
    flex-shrink: 0;
    transition: transform var(--fp-transition), box-shadow var(--fp-transition);
}

.fp-guarantee-item:hover .fp-guarantee-icon {
    transform: scale(1.1) rotate(-4deg);
    box-shadow: 0 6px 20px rgba(26,122,58,0.38), 0 0 0 5px rgba(26,122,58,0.10);
}

.fp-guarantee-label {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--fp-ink-soft);
    text-align: center;
    line-height: 1.35;
    letter-spacing: 0.015em;
}

/* ===== Main content area ===== */
main.fp-content {
    min-height: 40vh;
}

/* ===== Footer ===== */
.fp-footer {
    background:
        radial-gradient(ellipse 100% 40% at 50% 0%,  rgba(46,184,78,0.18) 0%, transparent 55%),
        radial-gradient(ellipse 60% 30%  at 10% 100%, rgba(26,122,58,0.14) 0%, transparent 50%),
        radial-gradient(ellipse 50% 25%  at 90% 80%,  rgba(184,134,11,0.10) 0%, transparent 50%),
        linear-gradient(180deg, #0a1c0e 0%, #071409 60%, #040a06 100%);
    color: rgba(255,255,255,0.75);
    padding-top: 4rem;
    padding-bottom: 2rem;
    border-top: 2px solid rgba(46,184,78,0.20);
    position: relative;
    overflow: hidden;
}

.fp-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--fp-green-light), var(--fp-gold-light), var(--fp-green-light), transparent);
    opacity: 0.6;
}

.fp-footer-brand img {
    filter: brightness(0) invert(1);
    opacity: 0.85;
    height: 44px;
}

.fp-footer-tagline {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    margin-top: 0.5rem;
    line-height: 1.5;
}

.fp-footer-heading {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fp-gold);
    margin-bottom: 1rem;
}

.fp-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fp-footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color var(--fp-transition), padding-left var(--fp-transition);
    display: inline-block;
}

.fp-footer-links a:hover {
    color: rgba(255,255,255,0.95);
    padding-left: 5px;
}

.fp-footer-contact {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
}

.fp-footer-social {
    display: flex;
    gap: 0.65rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.fp-footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    text-decoration: none;
    transition: background var(--fp-transition), color var(--fp-transition), transform var(--fp-spring), border-color var(--fp-transition), box-shadow var(--fp-transition);
}

.fp-footer-social a:hover {
    background: linear-gradient(135deg, var(--fp-green-dark), var(--fp-green-light));
    border-color: var(--fp-green);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(26,122,58,0.4);
}

.fp-footer-divider {
    border-color: rgba(255,255,255,0.07);
    margin: 2rem 0 1.25rem;
}

.fp-footer-bottom {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.3);
    text-align: center;
    line-height: 1.8;
}

.fp-footer-bottom a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
}

.fp-footer-bottom a:hover {
    color: var(--fp-gold-light);
    text-shadow: 0 0 12px rgba(224,168,50,0.4);
}

/* ===== Global micro-animations ===== */

/* Float animation for guarantee icons */
@keyframes fpFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    35%       { transform: translateY(-5px) rotate(-3deg); }
    70%       { transform: translateY(-3px) rotate(2deg); }
}

.fp-guarantee-item:hover .fp-guarantee-icon {
    animation: fpFloat 1.6s ease-in-out infinite;
    box-shadow: 0 8px 24px rgba(26,122,58,0.40), 0 0 0 6px rgba(26,122,58,0.08);
}

/* Staggered fade-up for category cards */
@keyframes fpFadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fp-section-categories .col-6,
.fp-section-categories .col-sm-4,
.fp-section-categories .col-md-3,
.fp-section-categories .col-lg-2,
.fp-section-categories [class*="col-"] {
    animation: fpFadeUp 0.5s ease both;
}

/* Staggered delay for first 8 items */
.fp-section-categories [class*="col-"]:nth-child(1)  { animation-delay: 0.05s; }
.fp-section-categories [class*="col-"]:nth-child(2)  { animation-delay: 0.10s; }
.fp-section-categories [class*="col-"]:nth-child(3)  { animation-delay: 0.15s; }
.fp-section-categories [class*="col-"]:nth-child(4)  { animation-delay: 0.20s; }
.fp-section-categories [class*="col-"]:nth-child(5)  { animation-delay: 0.25s; }
.fp-section-categories [class*="col-"]:nth-child(6)  { animation-delay: 0.30s; }
.fp-section-categories [class*="col-"]:nth-child(7)  { animation-delay: 0.35s; }
.fp-section-categories [class*="col-"]:nth-child(8)  { animation-delay: 0.40s; }

/* Product card staggered entrance */
.fp-newproducts-grid [class*="col-"]:nth-child(1)  { animation-delay: 0.04s; }
.fp-newproducts-grid [class*="col-"]:nth-child(2)  { animation-delay: 0.08s; }
.fp-newproducts-grid [class*="col-"]:nth-child(3)  { animation-delay: 0.12s; }
.fp-newproducts-grid [class*="col-"]:nth-child(4)  { animation-delay: 0.16s; }
.fp-newproducts-grid [class*="col-"]:nth-child(5)  { animation-delay: 0.20s; }
.fp-newproducts-grid [class*="col-"]:nth-child(6)  { animation-delay: 0.24s; }
.fp-newproducts-grid [class*="col-"]:nth-child(7)  { animation-delay: 0.28s; }
.fp-newproducts-grid [class*="col-"]:nth-child(8)  { animation-delay: 0.32s; }
.fp-newproducts-grid [class*="col-"]:nth-child(9)  { animation-delay: 0.36s; }
.fp-newproducts-grid [class*="col-"]:nth-child(10) { animation-delay: 0.40s; }

/* Shimmer for NEW badge */
@keyframes fpShimmer {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}

.fp-badge-new {
    background-size: unset;
    animation: none;
}

/* Pulse ring removed � caused conflicts with hover box-shadow transition */

/* Scroll-smoothed header (sticky) */
.fp-header-wrap {
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: box-shadow var(--fp-transition);
}

/* ===== Responsive: mobile product-card image taller ===== */
@media (max-width: 575px) {
    .product-image {
        height: 170px;
    }
    .fp-cat-img-grid {
        aspect-ratio: 3 / 2;
    }
}

/* ===== Loading Tree Animation � now inline in LoadingTree.razor ===== */
/* ===== PRODUCT DRAWER OVERLAY ===== */
.fp-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1040;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.fp-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100vh;
    z-index: 1045;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #f0f9f2 0%, #f8fdf9 100%);
    overflow: hidden;
    /* ??????? slide-in animation */
    animation: fp-drawer-in 0.28s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes fp-drawer-in {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ?? ??????? ??????: ????????????? card-style ???? ??? full-screen */
@media (min-width: 900px) {
    .fp-drawer-backdrop {
        backdrop-filter: blur(2px);
    }
    .fp-drawer {
        top: 0;
        left: 50%;
        right: auto;
        bottom: 0;
        transform: translateX(-50%);
        width: min(92vw, 1100px);
        max-height: 100vh;
        border-radius: 12px;
        box-shadow: 0 24px 60px rgba(0,0,0,0.28);
        animation: fp-drawer-in-desktop 0.28s cubic-bezier(0.4, 0, 0.2, 1) both;
    }
    @keyframes fp-drawer-in-desktop {
        from { opacity: 0; transform: translateX(-50%) translateY(30px); }
        to   { opacity: 1; transform: translateX(-50%) translateY(0); }
    }
}

.fp-drawer-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.4rem 0.75rem;
    border-bottom: 1px solid rgba(26,122,58,0.12);
    flex-shrink: 0;
    background: linear-gradient(90deg, #e6f4ea 0%, #f0f9f2 100%);
}

.fp-drawer-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(90deg, #1a6b30 0%, #4caf50 100%);
    border: none;
    padding: 0.35rem 0.85rem 0.35rem 0.6rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    border-radius: 20px;
    line-height: 1;
    letter-spacing: 0.02em;
    transition: opacity 0.15s, transform 0.1s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    box-shadow: 0 2px 6px rgba(26,107,48,0.18);
}

.fp-drawer-back i {
    font-size: 1rem;
}

.fp-drawer-back:hover,
.fp-drawer-back:focus-visible {
    opacity: 0.88;
    transform: translateX(-2px);
}

.fp-drawer-body {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* ===== User dropdown ���� ��� �� product drawer ===== */
#fp-user-dropdown-btn + .dropdown-menu,
#fp-user-dropdown-btn-mob + .dropdown-menu,
#fp-user-dropdown-btn ~ .dropdown-menu,
#fp-user-dropdown-btn-mob ~ .dropdown-menu {
    z-index: 1060 !important;
}
