/* ==========================================================================
   KWIACIARNIA OLA — UL. CHEŁMIŃSKA 83, GRUDZIĄDZ (EST. 2001)
   Stylistyka: jasne ivory i szałwia, czytelna typografia, naturalne zdjęcia,
   spokojne powierzchnie i wyraźna ścieżka zamówienia.
   ========================================================================== */


:root {
    --bg-page: #F7F8F5;
    --bg-card: #FFFFFF;
    --bg-glass: #FFFFFF;
    --bg-glass-card: #FFFFFF;
    --border-glass: #E7EBE6;
    --border-light: #E3E9E3;
    
    --green-deep: #203D30;
    --green-primary: #355D49;
    --green-soft: #668272;
    --green-light: #EDF3EE;
    
    --gold-accent: #B8757D;
    --gold-hover: #9D626B;
    --gold-light: #F8EEEE;
    
    --rose-nude: #F5EFEE;
    --rose-soft: #E6D5D5;
    
    --text-primary: #25332A;
    --text-secondary: #556259;
    --text-muted: #78837B;
    --text-on-dark: #FFFFFF;
    
    --shadow-subtle: 0 3px 18px rgba(32, 61, 48, 0.055);
    --shadow-hover: 0 12px 28px rgba(32, 61, 48, 0.09);
    --shadow-glass: 0 6px 24px rgba(32, 61, 48, 0.06);
    
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

/* ================= UTILITY & LAYOUT ================= */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-gold { color: var(--gold-accent); }
.text-green { color: var(--green-primary); }

.section-padding {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 55px;
}

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--gold-accent);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.85rem;
    font-weight: 600;
    color: var(--green-deep);
    line-height: 1.18;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ================= BUTTONS ================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--green-primary);
    color: var(--text-on-dark);
    box-shadow: 0 6px 18px rgba(31, 61, 46, 0.25);
}

.btn-primary:hover {
    background-color: var(--green-deep);
    box-shadow: 0 8px 24px rgba(31, 61, 46, 0.35);
    transform: translateY(-2px);
}

.btn-gold {
    background-color: var(--gold-accent);
    color: var(--text-on-dark);
    box-shadow: 0 6px 18px rgba(197, 160, 89, 0.3);
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--green-deep);
    border: 1.5px solid var(--green-deep);
}

.btn-outline-dark:hover {
    background-color: var(--green-deep);
    color: var(--text-on-dark);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.12);
    
    color: var(--text-on-dark);
    border: 1.5px solid rgba(255, 255, 255, 0.85);
}

.btn-outline-white:hover {
    background: #FFFFFF;
    color: var(--green-deep);
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 9px 18px;
    font-size: 0.82rem;
}

.btn-block {
    width: 100%;
}

/* ================= STICKY HEADER & TOP ANNOUNCEMENT BAR ================= */
.sticky-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: transparent;
}

.top-bar {
    background-color: var(--green-deep);
    color: #E2ECE5;
    font-size: 0.82rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    z-index: 1002;
    transition: var(--transition);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-phone-link {
    color: var(--gold-accent);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.top-phone-link:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* Fallback if elements are direct children of body without wrapper */
body > .top-bar {
    position: sticky;
    top: 0;
    z-index: 1002;
}

/* ================= HEADER & NAV ================= */
.site-header {
    position: relative;
    z-index: 1001;
    background: var(--bg-glass);
    
    -webkit-
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition);
}

body > .site-header {
    position: sticky;
    top: 38px;
    z-index: 1001;
}

.sticky-header-wrapper > .top-bar,
.sticky-header-wrapper > .site-header {
    position: relative;
    top: auto;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 82px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.brand-logo-slot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold-light);
    border: 1.5px solid var(--gold-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.2);
    transition: var(--transition);
}

.brand-logo:hover .brand-logo-slot {
    transform: scale(1.06);
    border-color: var(--green-primary);
}

.brand-logo-fallback {
    font-size: 1.4rem;
    line-height: 1;
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-text-wrap {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.95rem;
    font-weight: 700;
    color: var(--green-deep);
    line-height: 1;
    letter-spacing: 0.5px;
}

.brand-tagline {
    font-size: 0.72rem;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--gold-accent);
    font-weight: 500;
    margin-top: 3px;
}

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

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--gold-accent);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--green-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.customer-account-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    background: #FFFFFF;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.customer-account-btn:hover {
    border-color: var(--gold-accent);
    color: var(--green-deep);
    background: var(--gold-light);
}

.mobile-nav-account {
    display: none;
}

.cart-toggle-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--green-deep);
    cursor: pointer;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
}

.cart-toggle-btn:hover {
    border-color: var(--gold-accent);
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

.cart-badge {
    background-color: var(--gold-accent);
    color: #FFFFFF;
    font-size: 0.75rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--green-deep);
    cursor: pointer;
}

/* ================= HERO SECTION ================= */
.hero-section {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #FFFFFF;
    padding: 80px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        rgba(15, 33, 24, 0.88) 0%, 
        rgba(22, 43, 32, 0.72) 48%, 
        rgba(22, 43, 32, 0.45) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15);
    
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 22px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    line-height: 1.08;
    font-weight: 600;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-desc {
    font-size: 1.12rem;
    color: #E2ECE5;
    line-height: 1.65;
    margin-bottom: 36px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-highlights {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 24px;
}

.hero-highlight-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #F0F4F1;
}

/* ================= TRUST STRIP ================= */
.trust-strip {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    padding: 40px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.trust-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--green-light);
    color: var(--green-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.trust-title {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--green-deep);
    margin-bottom: 4px;
}

.trust-text {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

/* ================= PRODUCT COLLECTION & FILTERS ================= */
.filter-tabs-wrapper {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.filter-tab {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-subtle);
}

.filter-tab:hover, .filter-tab.active {
    background-color: var(--green-primary);
    color: #FFFFFF;
    border-color: var(--green-primary);
    box-shadow: 0 6px 16px rgba(31, 61, 46, 0.2);
}

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

.product-card {
    background: var(--bg-glass-card);
    
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold-accent);
}

.product-card-image-wrap {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    background-color: #F0EBE3;
    cursor: pointer;
}

.product-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(22, 43, 32, 0.85);
    
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-card-body {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-title {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--green-deep);
    margin-bottom: 8px;
    line-height: 1.25;
    cursor: pointer;
}

.product-card-title:hover {
    color: var(--gold-accent);
}

.product-card-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    gap: 12px;
}

.product-price-info {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
}

.price-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--green-deep);
}

.product-card-buttons {
    display: flex;
    gap: 8px;
}

/* ================= OCCASIONS SPOTLIGHT ================= */
.occasions-section {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.occasions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.occasion-card {
    background: var(--bg-page);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.occasion-card:hover {
    border-color: var(--gold-accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.occasion-icon-wrap {
    font-size: 2.2rem;
    color: var(--gold-accent);
    margin-bottom: 20px;
}

.occasion-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 600;
    color: var(--green-deep);
    margin-bottom: 14px;
}

.occasion-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* ================= CUSTOM BOUQUET FORM SECTION ================= */
.custom-bouquet-section {
    background: linear-gradient(180deg, var(--bg-page) 0%, #F3EDE3 100%);
    position: relative;
}

.custom-bouquet-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 55px;
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border-glass);
    max-width: 960px;
    margin: 0 auto;
}

.custom-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group-full {
    grid-column: span 2;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--green-deep);
    margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 13px 18px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border-light);
    background: #FFFFFF;
    font-size: 0.92rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--green-primary);
    box-shadow: 0 0 0 3px rgba(31, 61, 46, 0.12);
}

.form-textarea {
    min-height: 110px;
    resize: vertical;
}

.file-upload-box {
    border: 2px dashed var(--border-light);
    padding: 24px;
    border-radius: var(--radius-sm);
    text-align: center;
    background: var(--bg-page);
    cursor: pointer;
    transition: var(--transition);
}

.file-upload-box:hover {
    border-color: var(--gold-accent);
}

/* ================= DELIVERY & PICKUP ================= */
.delivery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}

.delivery-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 42px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-subtle);
}

.delivery-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background-color: var(--green-light);
    color: var(--green-deep);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.delivery-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    color: var(--green-deep);
    margin-bottom: 16px;
}

.delivery-list {
    list-style: none;
    margin: 20px 0;
}

.delivery-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.delivery-list li:last-child {
    border-bottom: none;
}

/* ================= ABOUT US ================= */
.about-section {
    background: var(--bg-card);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-text-content h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--green-deep);
    margin-bottom: 20px;
    line-height: 1.25;
}

.about-text-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 20px;
}

.about-highlight-box {
    background-color: var(--bg-page);
    border-left: 4px solid var(--gold-accent);
    padding: 24px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 30px 0;
    font-style: italic;
    color: var(--green-deep);
    font-size: 1.05rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 35px;
}

.stat-item h4 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: var(--green-primary);
    line-height: 1;
}

.stat-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.about-image-card {
    background: linear-gradient(145deg, #E6DDD3, #F5EFEB);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-hover);
    text-align: center;
}

.about-seal {
    width: 110px;
    height: 110px;
    margin: 0 auto 24px;
    border-radius: 50%;
    border: 2px dashed var(--gold-accent);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--green-deep);
    font-family: var(--font-heading);
    font-weight: 700;
}

/* ================= FAQ ================= */
.faq-grid {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}


.faq-question {
    appearance: none;
    border: none;
    background: transparent;
    text-align: left;
    font: inherit;
    display: flex;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    padding: 15px 0;
    font-weight: 600;
    color: var(--green-deep);
}
.faq-question:focus-visible { outline: 2px solid var(--gold-accent); outline-offset: 4px; }


.faq-question:hover {
    color: var(--gold-accent);
}

.faq-answer {
    padding: 0 24px 22px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-toggle-icon {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
}

/* ================= CONTACT SECTION ================= */
.contact-section {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-panel {
    background: var(--bg-page);
    padding: 44px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.contact-item {
    display: flex;
    gap: 18px;
    margin-bottom: 26px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--green-light);
    color: var(--green-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem;
    color: var(--green-deep);
    margin-bottom: 4px;
}

.contact-item p, .contact-item a {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.contact-phone-big {
    font-size: 1.45rem !important;
    font-weight: 700;
    color: var(--green-primary) !important;
}

.contact-phone-big:hover {
    color: var(--gold-accent) !important;
}

/* ================= FOOTER ================= */
.site-footer {
    background-color: var(--green-deep);
    color: #CCD8CF;
    padding: 70px 0 25px;
    border-top: 4px solid var(--gold-accent);
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 0.95rem;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #CCD8CF;
    font-size: 0.88rem;
}

.footer-col ul li a:hover {
    color: var(--gold-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    font-size: 0.82rem;
}

.admin-discreet-link {
    color: rgba(255, 255, 255, 0.45);
    transition: var(--transition);
}

.admin-discreet-link:hover {
    color: var(--gold-accent);
}

/* ================= MODALS & DRAWERS ================= */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 27, 20, 0.65);
    
    z-index: 2000;
    overflow-y: auto;
    padding: 30px 15px;
}

.modal-container {
    width: 100%;
    box-sizing: border-box;
    background: #FFFFFF;
    border-radius: var(--radius-md);
    max-width: 650px;
    margin: 40px auto;
    padding: 40px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-page);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.modal-close-btn:hover {
    background: var(--green-primary);
    color: #FFFFFF;
}

.modal-product-detail {
    max-width: 880px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 36px;
    align-items: center;
}

.detail-img-wrap {
    width: 100%;
    height: 440px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #F0EBE3;
}

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

.detail-content h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: var(--green-deep);
    margin-bottom: 8px;
}

.detail-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.detail-badge {
    background: var(--green-light);
    color: var(--green-deep);
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-weight: 500;
}

.detail-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 24px;
}

.detail-price-box {
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 18px;
    margin-bottom: 24px;
}

.detail-price-box strong {
    font-size: 1.25rem;
    color: var(--green-deep);
    display: block;
}

.detail-price-box p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ================= CART & CHECKOUT ================= */
.cart-drawer {
    max-width: 720px;
}

.cart-items-list {
    margin: 24px 0;
    max-height: 280px;
    overflow-y: auto;
}

.cart-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    gap: 16px;
}

.cart-item-info { flex: 1; min-width: 0; word-break: break-word; }
.cart-item-info strong {
    font-size: 0.95rem;
    color: var(--green-deep);
}

.cart-item-info span {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: block;
}

.cart-qty-ctrl {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: var(--bg-page);
    cursor: pointer;
    font-weight: 600;
}

.qty-btn:hover {
    background: var(--green-primary);
    color: #FFFFFF;
}

.cart-subtotal-box {
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 18px 24px;
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-subheading {
    font-size: 1.15rem;
    font-family: var(--font-heading);
    color: var(--green-deep);
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 8px;
    margin: 24px 0 16px;
}

/* ================= BLIK CONFIRMATION SCREEN ================= */
.order-success-screen {
    text-align: center;
}

.success-icon-wrap {
    width: 68px;
    height: 68px;
    background: #E8F5E9;
    color: #2E7D32;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.order-code-badge {
    display: inline-block;
    background: var(--green-deep);
    color: #FFFFFF;
    font-family: monospace;
    font-size: 1.35rem;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    letter-spacing: 2px;
    margin: 14px 0 24px;
}

.blik-manual-card {
    background: #FDF9F0;
    border: 2px solid #EAD8B5;
    border-radius: var(--radius-md);
    padding: 26px;
    text-align: left;
    margin: 24px 0;
}

.blik-manual-card h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #795548;
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.blik-steps-list {
    margin-left: 20px;
    margin-bottom: 18px;
}

.blik-steps-list li {
    font-size: 0.92rem;
    margin-bottom: 8px;
    color: #4A3B32;
}

.blik-phone-box {
    background: #FFFFFF;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid #D7CCC8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--green-deep);
    font-size: 1.1rem;
    margin-bottom: 16px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1280px) {
    .nav-container {
        gap: 20px;
    }
    .nav-links {
        gap: 16px;
    }
    .nav-link {
        font-size: 0.85rem;
    }
    .brand-name {
        font-size: 1.8rem;
    }
    .brand-tagline {
        font-size: 0.68rem;
        letter-spacing: 1.2px;
    }
}

@media (max-width: 1100px) {
    .nav-container {
        gap: 16px;
    }
    .nav-links {
        gap: 12px;
    }
    .nav-link {
        font-size: 0.82rem;
    }
}

@media (max-width: 1024px) {
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .occasions-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-top-grid { grid-template-columns: 1fr 1fr; }
    .hero-title { font-size: 3rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 14px; }
    .section-padding { padding: 60px 0; }
    .section-title { font-size: 2.2rem; }
    .nav-container {
        height: 64px;
        gap: 8px;
        justify-content: space-between;
    }
    .brand-logo {
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100% - 152px);
        gap: 8px;
    }
    .brand-logo-slot {
        width: 38px;
        height: 38px;
        min-width: 38px;
        flex-shrink: 0;
    }
    .brand-logo-fallback { font-size: 1.15rem; }
    .brand-text-wrap {
        min-width: 0;
        flex: 1 1 auto;
        overflow: hidden;
    }
    .brand-name {
        font-size: 1.15rem;
        line-height: 1.1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }
    .brand-tagline {
        font-size: 0.52rem;
        letter-spacing: 0.3px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        margin-top: 2px;
    }
    .nav-actions {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
    }
    .customer-account-btn {
        padding: 0;
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
        border-radius: var(--radius-sm);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.15rem;
    }
    .customer-account-btn .account-btn-text {
        display: none !important;
    }
    .cart-toggle-btn {
        padding: 0 10px;
        height: 42px;
        min-height: 42px;
        font-size: 0.78rem;
        gap: 5px;
        border-radius: var(--radius-sm);
    }
    .cart-toggle-btn span:first-child { display: none; }
    .cart-toggle-btn::before { content: '🛒'; }
    .cart-badge { width: 18px; height: 18px; font-size: 0.7rem; }
    .mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
        padding: 0;
        font-size: 1.35rem;
        line-height: 1;
        border-radius: var(--radius-sm);
        border: 1px solid var(--border-light);
        background: #FFF;
    }
    .mobile-nav-account {
        display: block;
        border-top: 1px solid var(--border-light);
        margin-top: 8px;
        padding-top: 8px;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: #FFFFFF;
        flex-direction: column;
        padding: 24px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid var(--border-light);
        z-index: 1000;
    }
    .nav-links.mobile-active { display: flex; }
    .hero-title { font-size: 2.4rem; }
    .hero-section { min-height: 70vh; }
    .products-grid { grid-template-columns: 1fr; }
    .custom-form-grid { grid-template-columns: 1fr; }
    .form-group-full { grid-column: span 1; }
    .delivery-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .detail-img-wrap { height: 280px; }
    .footer-top-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .custom-bouquet-card { padding: 28px 18px; }
    .modal-container { padding: 24px 14px !important; margin: 20px auto !important; }
    .modal-close-btn { top: 10px !important; right: 10px !important; }
}


/* UI Overflow and Responsive Fixes - v2 */
html {
    overflow-x: clip;
    scroll-behavior: smooth;
    scroll-padding-top: 135px;
}
body {
    overflow-x: clip;
}
section[id], [id] {
    scroll-margin-top: 135px;
}
*:focus-visible { outline: 2px solid var(--gold-accent) !important; outline-offset: 2px; }
.modal { overflow-y: auto; }

/* Grid overflow fixes */
.products-grid, .footer-top-grid, .custom-form-grid, .trust-box, .contact-info-panel, .site-header .nav-container, .site-header .brand-logo { min-width: 0; }

/* Specific word-break */
.contact-info-panel, .contact-info-panel a, .footer-contact a { word-break: break-word; overflow-wrap: break-word; }

@media (max-width: 992px) {
    .nav-actions a[href^="tel:"].btn { display: inline-flex; }
    .site-header .nav-container { flex-wrap: nowrap; }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 110px;
    }
    section[id], [id] {
        scroll-margin-top: 110px;
    }
    .top-bar {
        padding: 3px 0;
        font-size: 0.70rem;
        line-height: 1.25;
    }
    .top-bar-inner {
        flex-direction: column;
        gap: 1px;
        text-align: center;
        justify-content: center;
    }
    .top-bar-item {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1px 4px;
    }
    .top-phone-link {
        font-size: 0.74rem;
    }
}

@media (max-width: 500px) {
    .section-padding { padding: 40px 5% !important; box-sizing: border-box; width: 100%; }
    .trust-box, .contact-info-panel { width: 100%; box-sizing: border-box; padding: 20px; }
    .trust-box { flex-direction: column; align-items: center; text-align: center; }
    .footer-top-grid, .footer-bottom { padding: 0 5%; }
}

@media (max-width: 480px) {
    .top-bar {
        padding: 4px 0;
        font-size: 0.69rem;
    }
    .top-bar-inner {
        gap: 1px;
    }
}

@media (max-width: 380px) {
    .site-header .nav-container {
        padding: 0 4px;
        gap: 4px;
        height: 58px;
    }
    .brand-logo {
        gap: 6px;
        max-width: calc(100% - 130px);
    }
    .brand-logo-slot {
        width: 34px;
        height: 34px;
        min-width: 34px;
    }
    .brand-name {
        font-size: 0.96rem;
    }
    .brand-tagline {
        display: none !important;
    }
    .nav-actions {
        gap: 4px;
    }
    .customer-account-btn {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        font-size: 1.05rem;
    }
    .cart-toggle-btn {
        padding: 0 6px;
        height: 38px;
        min-height: 38px;
        font-size: 0.72rem;
        gap: 3px;
    }
    .mobile-menu-btn {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        font-size: 1.2rem;
    }
}

.delivery-choice { border: 1px solid var(--border-light); border-radius: 8px; padding: 12px 14px; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.delivery-choice legend { font-weight: 700; color: var(--green-deep); padding: 0 4px; }
.delivery-choice label { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
[hidden] { display: none !important; }

/* ================= MOBILE PRODUCT CARD FIXES ================= */
@media (max-width: 480px) {
    .product-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .product-price-info {
        align-items: flex-start;
        text-align: left;
    }
    .product-card-buttons {
        width: 100%;
        display: flex;
        gap: 8px;
    }
    .product-card-buttons .btn {
        flex: 1;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 0.85rem;
    }
}

/* ================= TYPOGRAPHY REFINEMENT ================= */
h1, h2, h3, h4, h5, h6, .hero-title, .section-title, .product-card-title {
    letter-spacing: -0.01em;
}
.hero-title {
    letter-spacing: -0.02em;
    font-weight: 500;
}
.section-title {
    letter-spacing: -0.015em;
    font-weight: 500;
}
.brand-name {
    letter-spacing: 0.02em;
}

/* Jeden produkt: czytelna karta i pełnej szerokości przycisk. */
.products-grid.single-product-grid {
    display: flex;
    justify-content: center;
}
.single-product-grid > .product-card {
    width: min(100%, 520px);
}
.product-card {
    background: #fff;
    
    border: 1px solid #e0e7df;
    box-shadow: 0 8px 24px rgba(26, 56, 39, 0.09);
}
.single-product-grid .product-card-image-wrap { height: 320px; }
.single-product-grid .product-card-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
}
.single-product-grid .product-card-buttons {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
}
.single-product-grid .product-card-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: 100%;
    min-height: 48px;
    white-space: normal;
    text-align: center;
    box-sizing: border-box;
}
.single-product-grid .product-card-buttons .btn-outline-dark { display: none; }
.product-price-note {
    display: block;
    margin-top: 3px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Koszyk ma jeden przewijany obszar i prosty rachunek. */
#cartModal {
    
    overscroll-behavior: contain;
}
html.modal-open, body.modal-open { overflow: hidden !important; }
#cartModal .cart-drawer { max-width: 760px; }
.cart-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 5vw, 2.2rem);
    line-height: 1.2;
    color: var(--green-deep);
    margin: 0 48px 8px 0;
}
.cart-intro { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.55; }
#cartModal .cart-items-list { max-height: none; overflow: visible; margin: 20px 0; }
#cartModal .cart-item-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; }
.cart-item-main { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 12px; min-width: 0; }
.cart-item-photo { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; }
.cart-item-info { min-width: 0; overflow-wrap: anywhere; }
.cart-qty-ctrl { flex-wrap: nowrap; white-space: nowrap; }
#cartModal .cart-subtotal-box {
    display: block;
    padding: 20px 24px;
    margin: 20px 0 26px;
    background: #f7faf7;
    border-color: #dce8de;
}
.cart-total-line { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 5px 0; font-size: 0.92rem; }
.cart-total-line span:last-child, .cart-grand-total strong:last-child { text-align: right; white-space: nowrap; }
.cart-grand-total { border-top: 1px solid #dce8de; margin-top: 8px; padding-top: 13px; color: var(--green-deep); font-size: 1.18rem; }
.cart-delivery-note { margin: 9px 0 0; color: var(--text-secondary); font-size: 0.8rem; line-height: 1.45; }
.cart-delivery-note:not([hidden]) { padding: 10px 12px; border: 1px solid #e8b8b8; border-radius: 6px; background: #fff4f4; color: #8b1e1e; font-size: 0.88rem; font-weight: 600; }

@media (max-width: 600px) {
    .single-product-grid .product-card-image-wrap { height: 250px; }
    .single-product-grid .product-card-body { padding: 20px; }
    .single-product-grid .product-card-title { font-size: 1.5rem; }
    #cartModal { padding: 8px; }
    #cartModal .cart-drawer { margin: 8px auto !important; padding: 24px 18px !important; }
    #cartModal .cart-item-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    #cartModal .cart-qty-ctrl { justify-content: flex-start; padding-left: 64px; }
    #cartModal .cart-subtotal-box { padding: 16px; }
}
@media (max-width: 350px) {
    #cartModal .cart-drawer { padding: 22px 14px !important; }
    #cartModal .cart-item-main { grid-template-columns: 44px minmax(0, 1fr); gap: 9px; }
    #cartModal .cart-item-photo { width: 44px; height: 44px; }
    #cartModal .cart-qty-ctrl { padding-left: 53px; }
}

.radio-group { display: inline-flex; align-items: center; gap: 8px; margin-right: 16px; margin-top: 8px; }
.radio-group input[type='radio'] { width: 18px; height: 18px; accent-color: var(--green-primary); cursor: pointer; }
.radio-group label { cursor: pointer; font-size: 0.95rem; }

/* Customer Panel Refined Styles */
.customer-order-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
}
.customer-order-card:hover {
    border-color: var(--gold-accent);
    box-shadow: 0 8px 24px rgba(22, 43, 32, 0.08);
}
#customerOrdersModal .modal-container {
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 50px rgba(22, 43, 32, 0.18);
}
#customerAuthModal .modal-container {
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 50px rgba(22, 43, 32, 0.18);
}


/* ================= PRODUCT CARD & EQUAL HEIGHTS FIX ================= */
.product-card {
    background: var(--bg-glass-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex !important;
    flex-direction: column !important;
    box-shadow: var(--shadow-subtle);
    height: 100% !important;
    min-width: 0;
}
.product-card-body {
    padding: 22px 24px;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    min-width: 0;
}
.product-card-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--green-deep);
    margin-bottom: 8px;
    line-height: 1.25;
    cursor: pointer;
}
.product-card-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 18px;
    flex-grow: 1 !important;
}
.product-card-footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
    margin-top: auto !important;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.product-price-info {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 4px 8px;
    width: 100%;
}
.product-price-info .price-label {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--text-muted);
}
.product-price-info .price-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--green-deep);
    white-space: nowrap;
}
.product-price-info .product-price-note {
    width: 100%;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
    line-height: 1.4;
}
.product-card-buttons {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0;
    box-sizing: border-box;
}
.product-card-buttons .btn {
    white-space: nowrap !important;
    text-align: center;
    justify-content: center;
    padding: 9px 12px !important;
    font-size: 0.85rem !important;
    min-height: 42px;
    box-sizing: border-box;
}
.product-card-buttons .btn-primary {
    font-weight: 600;
}

/* ================= MOBILE 390x844 & MODAL SCROLL POLISH ================= */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
}
#cartModal {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 12px 10px 60px !important;
    overscroll-behavior: contain;
}
#cartModal .cart-drawer {
    margin: 8px auto 44px !important;
    padding: 24px 16px 36px !important;
    max-width: 100% !important;
    box-sizing: border-box;
}
#cartModal #checkoutForm button[type="submit"] {
    margin-top: 16px;
    margin-bottom: 12px;
    min-height: 52px;
    width: 100%;
}

@media (max-width: 480px) {
    .product-card-body {
        padding: 18px 16px !important;
    }
    .product-card-buttons {
        grid-template-columns: auto 1fr !important;
        gap: 8px !important;
    }
    .product-card-buttons .btn {
        padding: 9px 10px !important;
        font-size: 0.82rem !important;
        white-space: nowrap !important;
    }
    #cartModal .cart-drawer {
        padding: 20px 14px 32px !important;
    }
}



/* ========================================================================== */
/* PRODUCTION UX POLISH — mikrointerakcje, skeletony, toasty, mobile sheet   */
/* ========================================================================== */

:root {
    --motion-fast: 180ms;
    --motion-base: 280ms;
    --ease-premium: cubic-bezier(.2,.8,.2,1);
}

.product-card {
    will-change: transform, box-shadow;
    transform: translateZ(0);
    transition: transform var(--motion-base) var(--ease-premium), box-shadow var(--motion-base) var(--ease-premium), border-color var(--motion-base) ease !important;
}
@media (hover:hover) and (pointer:fine) {
    .product-card:hover {
        transform: translateY(-6px) scale(1.012);
        box-shadow: 0 22px 54px rgba(24, 64, 41, .15) !important;
        border-color: rgba(55, 110, 73, .26);
    }
}
.product-card-image-wrap {
    position: relative;
    overflow: hidden;
    background: #eef2ef;
}
.product-card-image-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, #edf0ed 18%, #f7f9f7 38%, #edf0ed 62%);
    background-size: 220% 100%;
    animation: skeletonSweep 1.25s ease-in-out infinite;
    opacity: 0;
    transition: opacity .25s ease;
    z-index: 0;
}
.product-card-image-wrap.is-loading::before { opacity: 1; }
.product-card-image-wrap img { position: relative; z-index: 1; opacity: 0; transition: opacity .35s ease, transform .55s var(--ease-premium); }
.product-card-image-wrap img.is-loaded { opacity: 1; }
@keyframes skeletonSweep { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
.skeleton-shimmer {
    background: linear-gradient(100deg, #ecefec 18%, #f7f9f7 38%, #ecefec 62%);
    background-size: 220% 100%;
    animation: skeletonSweep 1.25s ease-in-out infinite;
}
.skeleton-image { height: 380px; }
.skeleton-line { height: 13px; border-radius: 999px; margin: 12px 0; width: 100%; }
.skeleton-title { height: 24px; width: 66%; margin-bottom: 18px; }
.skeleton-short { width: 72%; }
.skeleton-button { height: 48px; border-radius: 10px; margin-top: 28px; }
.product-skeleton { pointer-events:none; }

.btn { transition: transform var(--motion-fast) var(--ease-premium), box-shadow var(--motion-fast) ease, background-color var(--motion-fast) ease, border-color var(--motion-fast) ease, color var(--motion-fast) ease; }
.btn:active:not(:disabled) { transform: translateY(1px) scale(.985); }
.btn.is-busy { cursor: wait; opacity: .92; }
.btn-spinner {
    width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent;
    display: inline-block; vertical-align: -3px; margin-right: 9px; animation: buttonSpin .72s linear infinite;
}
@keyframes buttonSpin { to { transform: rotate(360deg); } }
.product-card-buttons .btn.add-success, .btn.add-success { background:#2e7d32 !important; border-color:#2e7d32 !important; color:#fff !important; box-shadow: 0 8px 24px rgba(46,125,50,.22); }
@keyframes cartBadgePulse { 0%{transform:scale(1)} 38%{transform:scale(1.42)} 68%{transform:scale(.92)} 100%{transform:scale(1)} }
.cart-badge-pulse { animation: cartBadgePulse .46s var(--ease-premium); }

.toast-stack {
    position: fixed; top: 18px; right: 18px; z-index: 20000; display:flex; flex-direction:column; gap:10px;
    width:min(390px, calc(100vw - 28px)); pointer-events:none;
}
.app-toast {
    display:grid; grid-template-columns: 30px minmax(0,1fr) 28px; gap:10px; align-items:center;
    color:#173223; background:rgba(255,255,255,.98); border:1px solid #dce7de; border-radius:14px;
    box-shadow:0 18px 54px rgba(14,42,26,.18); padding:13px 12px 13px 14px;
    opacity:0; transform:translateY(-10px) translateX(14px) scale(.98); transition:all .22s var(--ease-premium); pointer-events:auto;
    backdrop-filter: blur(12px);
}
.app-toast.is-visible { opacity:1; transform:none; }
.toast-icon { width:28px; height:28px; border-radius:50%; display:grid; place-items:center; font-weight:800; }
.toast-success { border-left:4px solid #2e7d32; } .toast-success .toast-icon { background:#e8f5e9; color:#1b5e20; }
.toast-error { border-left:4px solid #c62828; } .toast-error .toast-icon { background:#ffebee; color:#b71c1c; }
.toast-warning { border-left:4px solid #d97706; } .toast-warning .toast-icon { background:#fff7ed; color:#9a3412; }
.toast-info { border-left:4px solid #2563eb; } .toast-info .toast-icon { background:#eff6ff; color:#1d4ed8; }
.toast-message { font-size:.9rem; line-height:1.42; font-weight:600; }
.toast-close { border:0; background:transparent; color:#758178; cursor:pointer; font-size:1.35rem; line-height:1; min-width:28px; min-height:28px; border-radius:8px; }
.toast-close:hover { background:#f0f3f0; }

.field-error { min-height:18px; margin-top:5px; color:#b42318; font-size:.78rem; line-height:1.35; }
.form-input.is-invalid, .form-select.is-invalid, .form-textarea.is-invalid { border-color:#d92d20 !important; box-shadow:0 0 0 3px rgba(217,45,32,.10) !important; }
.form-input.is-valid { border-color:#79a884; }

/* Modal koszyka jako bottom-sheet na telefonie. */
@media (max-width: 720px) {
    .toast-stack { top:10px; right:10px; width:calc(100vw - 20px); }
    #cartModal { align-items:flex-end !important; justify-content:center !important; padding:0 !important; background:rgba(10,28,18,.56); }
    #cartModal .cart-drawer {
        width:100% !important; max-width:none !important; max-height:94svh; overflow-y:auto; overscroll-behavior:contain;
        margin:0 !important; padding:24px 16px calc(28px + env(safe-area-inset-bottom)) !important;
        border-radius:22px 22px 0 0 !important; animation:bottomSheetIn .32s var(--ease-premium);
        box-shadow:0 -18px 60px rgba(14,38,24,.25);
    }
    #cartModal .cart-drawer::before { content:''; display:block; width:46px; height:5px; border-radius:99px; background:#ccd7cf; margin:-10px auto 14px; }
    .btn, button, .filter-tab, .qty-btn, .form-input, .form-select { min-height:48px; }
    .qty-btn { min-width:48px; }
    .product-card-buttons .btn { min-height:48px !important; }
}
@keyframes bottomSheetIn { from { transform:translateY(100%); opacity:.5 } to { transform:translateY(0); opacity:1 } }

/* Strona /status */
.order-status-route { margin:0; min-height:100vh; background:radial-gradient(circle at 10% 0%, #eff8f1 0, transparent 38%), linear-gradient(180deg,#f9fbf9,#f1f5f2); color:#193323; }
.status-page-shell { min-height:100vh; width:min(920px, calc(100% - 28px)); margin:0 auto; padding:28px 0 56px; display:flex; flex-direction:column; justify-content:center; }
.status-brand { align-self:flex-start; display:inline-flex; align-items:center; gap:10px; text-decoration:none; color:#183725; font-family:var(--font-heading); font-size:1.15rem; font-weight:700; margin-bottom:18px; }
.status-brand-mark { width:38px; height:38px; border-radius:50%; display:grid; place-items:center; background:#214d32; color:#fff; box-shadow:0 8px 22px rgba(31,77,50,.22); }
.status-card { background:rgba(255,255,255,.96); border:1px solid #dce7de; border-radius:24px; padding:clamp(24px,5vw,48px); box-shadow:0 24px 70px rgba(23,59,37,.12); }
.status-eyebrow { color:#6b8b74; text-transform:uppercase; letter-spacing:.16em; font-size:.72rem; font-weight:800; }
.status-card h1 { font-family:var(--font-heading); font-size:clamp(2rem,6vw,3.25rem); line-height:1.05; margin:8px 0 12px; color:#153824; }
.status-lead { color:#617068; margin-bottom:30px; }
.status-stepper { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; margin:18px 0 34px; }
.status-step { position:relative; text-align:center; color:#8a9790; }
.status-step:not(:last-child)::after { content:''; position:absolute; height:3px; background:#e0e6e1; top:20px; left:calc(50% + 20px); right:calc(-50% + 20px); z-index:0; }
.status-step.is-complete:not(:last-child)::after { background:#4f8d62; }
.status-step-dot { position:relative; z-index:1; width:40px; height:40px; margin:0 auto 10px; border-radius:50%; display:grid; place-items:center; background:#eef1ef; border:2px solid #dbe3dc; color:#728077; font-weight:800; transition:.25s ease; }
.status-step.is-complete .status-step-dot { background:#2f7245; border-color:#2f7245; color:#fff; box-shadow:0 8px 20px rgba(47,114,69,.20); }
.status-step.is-current .status-step-dot { outline:5px solid rgba(47,114,69,.12); }
.status-step-label { font-size:.78rem; line-height:1.25; font-weight:700; padding:0 4px; }
.status-step.is-complete .status-step-label { color:#214d32; }
.status-summary-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:18px 0; }
.status-summary-grid > div { background:#f7faf8; border:1px solid #e3ebe5; border-radius:14px; padding:14px 16px; display:flex; flex-direction:column; gap:5px; }
.status-summary-grid span { font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; color:#7b887f; font-weight:700; }
.status-summary-grid strong { color:#203e2b; overflow-wrap:anywhere; }
.status-pill { align-self:flex-start; padding:5px 9px; border-radius:99px; background:#fff4e5; color:#9a5b00 !important; font-size:.82rem; }
.status-pill.paid { background:#e6f6ea; color:#19622f !important; }
.status-pay-btn { width:100%; margin-top:8px; min-height:52px; }
.status-help { color:#77837b; font-size:.82rem; margin-top:16px; }
.status-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:26px; }
.status-actions .btn { flex:1; min-width:180px; min-height:50px; display:flex; justify-content:center; align-items:center; }
.status-error-card { background:#fff1f0; border:1px solid #ffc9c4; color:#8c2f27; border-radius:12px; padding:16px; line-height:1.5; }
.status-loading { display:flex; justify-content:center; gap:7px; padding:36px; }.status-loading span{width:9px;height:9px;border-radius:50%;background:#4f8d62;animation:statusDot 1s infinite alternate}.status-loading span:nth-child(2){animation-delay:.15s}.status-loading span:nth-child(3){animation-delay:.3s}@keyframes statusDot{to{transform:translateY(-7px);opacity:.45}}

/* Admin confirm dialog */
.app-confirm-backdrop { position:fixed; inset:0; z-index:22000; background:rgba(10,28,18,.58); display:grid; place-items:center; padding:18px; backdrop-filter:blur(4px); }
.app-confirm-card { width:min(460px,100%); background:#fff; border-radius:18px; padding:24px; box-shadow:0 24px 80px rgba(10,28,18,.28); border:1px solid #dce7de; }
.app-confirm-card h3 { margin:0 0 8px; color:#193b28; font-family:var(--font-heading); font-size:1.55rem; }
.app-confirm-card p { margin:0 0 20px; color:#65736a; line-height:1.55; }
.app-confirm-actions { display:flex; gap:10px; justify-content:flex-end; }.app-confirm-actions .btn{min-height:48px;}

@media (max-width:600px) {
    .status-page-shell { width:min(100% - 18px,920px); padding:12px 0 28px; justify-content:flex-start; }
    .status-card { border-radius:18px; padding:22px 16px; }
    .status-stepper { grid-template-columns:1fr; gap:10px; }
    .status-step { display:grid; grid-template-columns:44px 1fr; align-items:center; text-align:left; gap:10px; }
    .status-step:not(:last-child)::after { width:3px; height:auto; left:20px; top:38px; bottom:-18px; right:auto; }
    .status-step-dot { margin:0; }
    .status-step-label { font-size:.88rem; }
    .status-summary-grid { grid-template-columns:1fr; }
    .status-actions { flex-direction:column; }.status-actions .btn{width:100%;}
}

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

.status-route-pending body { visibility:hidden !important; }

@media (max-width: 768px) {
    .skeleton-image { height: 280px; }
}

/* Delivery calendar, greeting card and anonymity options */
.date-picker-field { position:relative; z-index:2; min-width:0; }
.date-picker-trigger { display:flex; justify-content:space-between; align-items:center; gap:12px; min-height:48px; text-align:left; cursor:pointer; background:#fff; color:var(--text-primary,#26382d); }
.date-picker-trigger.is-invalid { border-color:#c62828; box-shadow:0 0 0 2px rgba(198,40,40,.12); }
.date-picker-error { margin:6px 0 0; color:#b42318; font-size:.82rem; }
.date-picker-popover { position:absolute; top:calc(100% + 7px); left:0; z-index:50; width:min(340px,calc(100vw - 32px)); padding:12px; border:1px solid #d8e1da; border-radius:12px; background:#fff; box-shadow:0 14px 36px rgba(20,43,29,.18); }
.date-picker-popover[hidden] { display:none !important; }
.date-picker-header { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:10px; }
.date-picker-header strong { text-transform:capitalize; color:#233d2b; }
.date-picker-header button { width:36px; height:36px; border:1px solid #dce5de; border-radius:8px; background:#fff; color:#24432f; font-size:1.25rem; cursor:pointer; }
.date-picker-header button:disabled { opacity:.38; cursor:not-allowed; }
.date-picker-weekdays,.date-picker-days { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:4px; text-align:center; }
.date-picker-weekdays { margin-bottom:4px; color:#68766c; font-size:.75rem; font-weight:700; }
.date-picker-weekdays span:last-child { color:#9b5b5b; }
.date-picker-day { min-height:38px; border:1px solid transparent; border-radius:8px; background:#f6f9f6; color:#26382d; font:inherit; cursor:pointer; }
.date-picker-day:hover:not(:disabled),.date-picker-day.is-selected { border-color:#2f6b43; background:#e7f3e9; color:#174425; font-weight:700; }
.date-picker-day:disabled { background:#f1f2f1; color:#a4aaa5; cursor:not-allowed; text-decoration:line-through; }
.date-picker-day.is-sunday:disabled { background:#f3eded; color:#b9a4a4; }
.date-picker-empty { min-height:38px; }
.card-note-counter { margin-top:4px; color:#68766c; font-size:.78rem; text-align:right; }
.anonymous-option { display:flex; align-items:flex-start; gap:9px; margin-top:12px; color:#24382a; font-size:.9rem; font-weight:600; cursor:pointer; }
.anonymous-option input { flex:0 0 auto; width:18px; height:18px; margin-top:1px; accent-color:#2f6b43; }
.privacy-note { display:block; margin:6px 0 0 27px; color:#68766c; font-size:.78rem; line-height:1.45; }

/* Panel administratora: drukuj wyłącznie wskazaną kartę zamówienia. */
@media print {
    @page { size: A4 portrait; margin: 12mm; }

    body.admin-print-mode {
        display: block !important;
        width: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #fff !important;
        color: #111 !important;
        font-family: Arial, Helvetica, sans-serif !important;
        line-height: 1.4 !important;
    }
    body.admin-print-mode * { visibility: hidden !important; }
    body.admin-print-mode .container {
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    body.admin-print-mode .container > header,
    body.admin-print-mode .container > .tabs,
    body.admin-print-mode #productsView,
    body.admin-print-mode #ordersContainer > :not(.print-active) {
        display: none !important;
    }
    body.admin-print-mode #ordersContainer {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
    }
    body.admin-print-mode .order-card.print-active {
        position: static !important;
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #fff !important;
        box-shadow: none !important;
        color: #111 !important;
    }
    body.admin-print-mode .order-card.print-active > :not(.print-sheet) { display: none !important; }
    body.admin-print-mode .order-card.print-active,
    body.admin-print-mode .order-card.print-active .print-sheet,
    body.admin-print-mode .order-card.print-active .print-sheet * { visibility: visible !important; }

    .print-sheet {
        display: block !important;
        width: 100% !important;
        color: #111 !important;
        background: #fff !important;
        font: 10.5pt/1.4 Arial, Helvetica, sans-serif !important;
    }
    .print-sheet h1,
    .print-sheet h2,
    .print-sheet h3,
    .print-sheet p { margin: 0; color: #111 !important; }
    .print-sheet h1 { font-size: 19pt; line-height: 1.15; }
    .print-sheet h2 { margin: 0 0 5mm; font-size: 13pt; text-transform: uppercase; letter-spacing: .04em; }
    .print-order-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 8mm; margin-bottom: 5mm; padding-bottom: 4mm; border-bottom: 1.5pt solid #222; }
    .print-order-meta { text-align: right; font-size: 9pt; }
    .print-order-meta p + p { margin-top: 1.5mm; }
    .print-section { margin: 0 0 4.5mm; break-inside: avoid; page-break-inside: avoid; }
    .print-section-title { margin-bottom: 1.5mm !important; font-weight: 700; font-size: 9pt; text-transform: uppercase; letter-spacing: .05em; }
    .print-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4mm 8mm; }
    .print-detail { overflow-wrap: anywhere; }
    .print-delivery-line { margin-bottom: 1mm !important; }
    .print-anonymous-warning { margin: 0 0 5mm; padding: 4mm; border: 2.5pt solid #9f1239; color: #881337 !important; background: #fff1f2 !important; font-size: 14pt; font-weight: 800; text-align: center; text-transform: uppercase; break-inside: avoid; page-break-inside: avoid; }
    .print-items { width: 100%; border-collapse: collapse; margin-top: 1mm; }
    .print-items th,
    .print-items td { padding: 1.6mm 1mm; border-bottom: .5pt solid #aaa; text-align: left; vertical-align: top; }
    .print-items th { border-bottom: 1.2pt solid #222; font-size: 8.5pt; text-transform: uppercase; }
    .print-items th:last-child,
    .print-items td:last-child { text-align: right; white-space: nowrap; }
    .print-notes { white-space: pre-wrap; overflow-wrap: anywhere; }
    .print-cutline { margin: 8mm 0 5mm; padding-top: 3mm; border-top: 1.5pt dashed #222; text-align: center; font-size: 9pt; font-weight: 700; }
    .print-greeting-card { min-height: 38mm; padding: 7mm; border: 1.2pt solid #777; border-radius: 3mm; background: #fffdf8 !important; }
    .print-greeting-title { margin-bottom: 3mm !important; font-size: 9pt; font-weight: 700; text-align: center; text-transform: uppercase; letter-spacing: .08em; }
    .print-greeting-text { min-height: 20mm; font: 16pt/1.5 Georgia, 'Times New Roman', serif !important; white-space: pre-wrap; overflow-wrap: anywhere; text-align: center; }
    * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
}

/* ==========================================================================
   KWIACIARNIA OLA — FINAL PREMIUM UI + NARZĘDZIA FLORYSTKI
   ========================================================================== */

:root {
    --ui-motion-fast: 160ms;
    --ui-motion-base: 240ms;
    --ui-motion-slow: 340ms;
    --ui-ease: cubic-bezier(.2, .8, .2, 1);
    --ui-ease-spring: cubic-bezier(.16, 1, .3, 1);
}

/* ================= GPU-FIRST MICRO-INTERACTIONS ================= */
.btn,
button,
.product-card,
.cart-toggle-btn,
.modal,
.modal-overlay,
.modal-container,
.order-card {
    -webkit-tap-highlight-color: transparent;
}

.btn,
button,
.product-card,
.cart-toggle-btn,
.modal-container,
.order-card {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.btn,
button {
    transition:
        transform var(--ui-motion-fast) var(--ui-ease),
        opacity var(--ui-motion-fast) ease,
        background-color var(--ui-motion-fast) ease,
        color var(--ui-motion-fast) ease,
        border-color var(--ui-motion-fast) ease,
        box-shadow var(--ui-motion-fast) ease;
}

.btn:active:not(:disabled),
button:active:not(:disabled) {
    transform: translate3d(0, 1px, 0) scale(.972);
}

.btn:disabled,
button:disabled {
    cursor: not-allowed;
}

/* ================= AUTH MOTION ================= */
@keyframes authShake {
    0%, 100% { transform: translate3d(0, 0, 0); }
    16% { transform: translate3d(-7px, 0, 0); }
    32% { transform: translate3d(6px, 0, 0); }
    48% { transform: translate3d(-5px, 0, 0); }
    64% { transform: translate3d(4px, 0, 0); }
    80% { transform: translate3d(-2px, 0, 0); }
}

@keyframes authFormEnter {
    from {
        opacity: 0;
        transform: translate3d(0, 13px, 0) scale(.982);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes authLoadingPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .82; }
}

@keyframes authSuccess {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(0, -2px, 0) scale(1.018); }
    100% { transform: translate3d(0, 0, 0) scale(1); }
}

.auth-shake {
    animation: authShake .44s ease;
}

.auth-form-enter {
    animation: authFormEnter .34s var(--ui-ease-spring);
}

.auth-loading {
    animation: authLoadingPulse 1.05s ease-in-out infinite;
}

.auth-success {
    animation: authSuccess .34s var(--ui-ease-spring);
}

.auth-inline-error,
.admin-login-error {
    display: block;
    margin: 0 0 14px;
    padding: 10px 12px;
    border: 1px solid #fecdd3;
    border-radius: 10px;
    background: #fff1f2;
    color: #9f1239;
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.42;
    opacity: 0;
    transform: translate3d(0, -6px, 0);
    transition:
        opacity var(--ui-motion-fast) ease,
        transform var(--ui-motion-fast) var(--ui-ease);
}

.auth-inline-error:not(.is-visible),
.admin-login-error:not(.is-visible) {
    pointer-events: none;
}

.auth-inline-error.is-visible,
.admin-login-error.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid,
input.is-invalid,
select.is-invalid,
textarea.is-invalid {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .10) !important;
}

.form-input.is-valid,
.form-select.is-valid,
.form-textarea.is-valid {
    border-color: #79a884;
}

/* ================= BUSY BUTTON ================= */
.btn.is-busy,
button.is-busy {
    pointer-events: none;
    opacity: .88;
}

.btn-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: uiSpinner .68s linear infinite;
}

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

/* ================= PRODUCT CARDS ================= */
.product-card {
    position: relative;
    isolation: isolate;
    transform: translate3d(0, 0, 0);
    transition: transform var(--ui-motion-base) var(--ui-ease);
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    box-shadow: 0 22px 56px rgba(17, 58, 35, .16);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ui-motion-base) ease;
}

@media (hover: hover) and (pointer: fine) {
    .product-card:hover {
        transform: translate3d(0, -7px, 0) scale(1.008);
    }

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

.product-card:active {
    transform: translate3d(0, -1px, 0) scale(.992);
}

.product-title-button {
    appearance: none;
    border: 0;
    padding: 0;
    background: transparent;
    width: 100%;
    text-align: left;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.product-card-image-wrap:is(button) {
    appearance: none;
    border: 0;
    padding: 0;
    width: 100%;
    text-align: inherit;
    color: inherit;
}

/* ================= ADD TO CART ================= */
.add-success {
    background: #258348 !important;
    border-color: #258348 !important;
    color: #fff !important;
    transform: translate3d(0, 0, 0) scale(1.025) !important;
}

.add-success-check {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    animation: addSuccessCheck .36s var(--ui-ease-spring);
}

@keyframes addSuccessCheck {
    from {
        opacity: 0;
        transform: scale(.35) rotate(-16deg);
    }
    65% {
        opacity: 1;
        transform: scale(1.15) rotate(2deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

@keyframes cartMenuBounce {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    28% { transform: translate3d(0, -8px, 0) scale(1.08); }
    52% { transform: translate3d(0, 1px, 0) scale(.97); }
    75% { transform: translate3d(0, -2px, 0) scale(1.025); }
    100% { transform: translate3d(0, 0, 0) scale(1); }
}

.cart-menu-bounce {
    animation: cartMenuBounce .58s var(--ui-ease-spring);
}

@keyframes cartBadgePulsePremium {
    0% { transform: scale(1); }
    42% { transform: scale(1.42); }
    68% { transform: scale(.92); }
    100% { transform: scale(1); }
}

.cart-badge-pulse {
    animation: cartBadgePulsePremium .48s var(--ui-ease-spring);
}

/* ================= MODALS — BLUR / SLIDE / SCALE ================= */
.modal,
.modal-overlay {
    opacity: 0;
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    transition:
        opacity var(--ui-motion-base) ease,
        backdrop-filter var(--ui-motion-base) ease,
        -webkit-backdrop-filter var(--ui-motion-base) ease;
    will-change: opacity;
}

.modal.is-open,
.modal-overlay.is-open {
    opacity: 1;
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
}

.modal.is-closing,
.modal-overlay.is-closing {
    opacity: 0;
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
}

.modal .modal-container,
.modal-overlay .modal-container,
.modal .cart-drawer,
.modal-overlay .cart-drawer {
    opacity: 0;
    transform: translate3d(0, 20px, 0) scale(.975);
    transition:
        opacity var(--ui-motion-fast) ease,
        transform var(--ui-motion-base) var(--ui-ease-spring);
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.modal.is-open .modal-container,
.modal-overlay.is-open .modal-container,
.modal.is-open .cart-drawer,
.modal-overlay.is-open .cart-drawer {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.modal.is-closing .modal-container,
.modal-overlay.is-closing .modal-container,
.modal.is-closing .cart-drawer,
.modal-overlay.is-closing .cart-drawer {
    opacity: 0;
    transform: translate3d(0, 12px, 0) scale(.985);
}

/* ================= TOASTS ================= */
.toast-stack,
.admin-toast-stack {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 50000;
    width: min(390px, calc(100vw - 28px));
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.app-toast,
.admin-toast {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 13px 12px 13px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: rgba(255, 255, 255, .98);
    color: #173223;
    box-shadow: 0 20px 54px rgba(15, 23, 42, .18);
    opacity: 0;
    transform: translate3d(14px, -7px, 0) scale(.98);
    pointer-events: auto;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition:
        transform .24s var(--ui-ease-spring),
        opacity .18s ease;
}

.app-toast.is-visible,
.admin-toast.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.toast-icon,
.admin-toast-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-weight: 800;
}

.toast-message,
.admin-toast-message {
    font-size: .88rem;
    line-height: 1.42;
    font-weight: 600;
}

.toast-close {
    min-width: 28px;
    min-height: 28px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #758178;
    cursor: pointer;
    font-size: 1.35rem;
    line-height: 1;
}

.toast-close:hover {
    background: #f0f3f0;
}

.toast-success,
.admin-toast-success { border-left: 4px solid #16a34a; }
.toast-success .toast-icon,
.admin-toast-success .admin-toast-icon { background: #dcfce7; color: #166534; }

.toast-error,
.admin-toast-error { border-left: 4px solid #dc2626; }
.toast-error .toast-icon,
.admin-toast-error .admin-toast-icon { background: #fee2e2; color: #991b1b; }

.toast-warning,
.admin-toast-warning { border-left: 4px solid #d97706; }
.toast-warning .toast-icon,
.admin-toast-warning .admin-toast-icon { background: #fef3c7; color: #92400e; }

.toast-info,
.admin-toast-info { border-left: 4px solid #2563eb; }
.toast-info .toast-icon,
.admin-toast-info .admin-toast-icon { background: #dbeafe; color: #1d4ed8; }

/* ================= ADMIN HEADER TOOLS ================= */
.admin-internal-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: 10px;
}

.admin-internal-tools[hidden] {
    display: none !important;
}

.admin-sound-toggle,
.btn-daily-report,
.btn-card-print {
    min-height: 42px;
    white-space: nowrap;
}

.admin-sound-toggle {
    padding: 9px 14px;
    background: #f8fafc;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.admin-sound-toggle:hover { background: #f1f5f9; }

.admin-sound-toggle.is-on {
    background: #ecfdf5;
    color: #166534;
    border-color: #86efac;
    box-shadow: 0 2px 8px rgba(22, 101, 52, .08);
}

.admin-sound-toggle.is-on:hover {
    background: #dcfce7;
    border-color: #4ade80;
}

.admin-sound-toggle.is-off {
    background: #f8fafc;
    color: #64748b;
    border-color: #cbd5e1;
}

.btn-daily-report {
    padding: 9px 14px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.btn-daily-report:hover {
    background: #dbeafe;
    border-color: #93c5fd;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, .10);
}

.btn-card-print {
    background: #faf5ff;
    color: #7e22ce;
    border: 1px solid #e9d5ff;
}

.btn-card-print:hover:not(:disabled) {
    background: #f3e8ff;
    border-color: #d8b4fe;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(126, 34, 206, .09);
}

.btn-card-print:disabled {
    opacity: .42;
    cursor: not-allowed;
    background: #f8fafc;
    color: #94a3b8;
    border-color: #e2e8f0;
}

/* ================= DAILY REPORT MODAL ================= */
body.daily-report-open {
    overflow: hidden;
}

.daily-report-overlay {
    position: fixed;
    inset: 0;
    z-index: 30000;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(15, 23, 42, .56);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity .18s ease;
}

.daily-report-overlay[hidden] {
    display: none !important;
}

.daily-report-overlay.is-open {
    opacity: 1;
}

.daily-report-modal {
    width: min(620px, 100%);
    max-height: min(780px, calc(100vh - 40px));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 24px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    color: #0f172a;
    box-shadow: 0 32px 90px rgba(15, 23, 42, .26);
    transform: translate3d(0, 14px, 0) scale(.985);
    opacity: .97;
    outline: none;
    transition:
        transform .20s var(--ui-ease-spring),
        opacity .20s ease;
}

.daily-report-overlay.is-open .daily-report-modal {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
}

.daily-report-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid #e2e8f0;
}

.daily-report-heading { min-width: 0; }

.daily-report-eyebrow {
    display: block;
    margin-bottom: 3px;
    color: #64748b;
    font-size: .71rem;
    font-weight: 800;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.daily-report-header h2 {
    margin: 0;
    color: #0f172a;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.2;
}

.daily-report-close {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #f1f5f9;
    color: #475569;
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
}

.daily-report-close:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: scale(1.04);
}

.daily-report-date {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 6px 11px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: .8rem;
    font-weight: 700;
}

.daily-report-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.daily-report-stat {
    min-height: 112px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
}

.daily-report-stat-label {
    color: #64748b;
    font-size: .79rem;
    font-weight: 700;
    line-height: 1.35;
}

.daily-report-stat-value {
    margin-top: auto;
    color: #0f172a;
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.daily-report-stat-money {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.daily-report-stat-money .daily-report-stat-label { color: #3f6f4b; }
.daily-report-stat-money .daily-report-stat-value { color: #166534; }

.daily-report-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 14px;
    padding: 17px 19px;
    border-radius: 13px;
    background: #0f172a;
    color: #fff;
}

.daily-report-total span {
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.daily-report-total strong {
    font-size: 1.55rem;
    font-weight: 800;
    text-align: right;
}

.daily-report-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}

.btn-report-copy {
    background: #f8fafc;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.btn-report-copy:hover:not(:disabled) {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.btn-report-copy.is-copied {
    background: #dcfce7;
    color: #166534;
    border-color: #86efac;
}

.btn-report-copy:disabled { cursor: wait; }

/* ================= ADMIN CUSTOM CONFIRM ================= */
.admin-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 60000;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(15, 23, 42, .58);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity .20s ease;
}

.admin-confirm-overlay[hidden] { display: none !important; }
.admin-confirm-overlay.is-open { opacity: 1; }

.admin-confirm-modal {
    width: min(430px, 100%);
    padding: 25px;
    border: 1px solid #e2e8f0;
    border-radius: 17px;
    background: #fff;
    color: #0f172a;
    box-shadow: 0 30px 84px rgba(15, 23, 42, .27);
    opacity: 0;
    transform: translate3d(0, 13px, 0) scale(.975);
    transition:
        transform .22s var(--ui-ease-spring),
        opacity .18s ease;
    text-align: center;
}

.admin-confirm-overlay.is-open .admin-confirm-modal {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.admin-confirm-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #fff1f2;
    color: #be123c;
    font-size: 1.35rem;
    font-weight: 900;
}

.admin-confirm-modal h2 {
    margin: 0 0 9px;
    font-size: 1.18rem;
}

.admin-confirm-modal p {
    margin: 0;
    color: #64748b;
    font-size: .90rem;
    line-height: 1.55;
}

.admin-confirm-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 22px;
}

.admin-confirm-cancel {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.admin-confirm-accept.is-danger {
    background: #dc2626;
    color: #fff;
    border: 1px solid #dc2626;
}

.admin-confirm-accept.is-primary {
    background: #0284c7;
    color: #fff;
    border: 1px solid #0284c7;
}

/* ================= NEW ORDER FLASH ================= */
@keyframes orderFlash {
    0% {
        background-color: rgba(34, 197, 94, 0);
        box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
        transform: translate3d(0, 8px, 0) scale(.992);
    }
    16% {
        background-color: rgba(240, 253, 244, .95);
        box-shadow:
            0 0 0 3px rgba(34, 197, 94, .18),
            0 18px 42px rgba(34, 197, 94, .13);
        transform: translate3d(0, -2px, 0) scale(1.004);
    }
    42% {
        background-color: rgba(240, 253, 244, .72);
        box-shadow:
            0 0 0 2px rgba(34, 197, 94, .11),
            0 12px 30px rgba(34, 197, 94, .08);
        transform: translate3d(0, 0, 0) scale(1);
    }
    72% {
        background-color: rgba(240, 253, 244, .28);
        box-shadow:
            0 0 0 1px rgba(34, 197, 94, .05),
            0 5px 15px rgba(0, 0, 0, .04);
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        background-color: transparent;
        box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
        transform: translate3d(0, 0, 0) scale(1);
    }
}

.order-card-new-flash {
    animation: orderFlash 3.1s var(--ui-ease) both;
}

.badge-status {
    transform: translate3d(0, 0, 0);
    transition:
        color var(--ui-motion-base) ease,
        background-color var(--ui-motion-base) ease,
        transform var(--ui-motion-base) var(--ui-ease-spring),
        opacity var(--ui-motion-fast) ease;
}

.badge-status-transition {
    transform: scale(1.06);
}

/* ================= ANONYMOUS ORDER SAFETY ================= */
.anonymous-notice {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: center;
    margin: 0 0 12px;
    padding: 12px 14px;
    border: 2px solid #be123c;
    border-radius: 10px;
    background: #fff1f2;
    color: #881337;
}

.anonymous-notice strong {
    font-size: .9rem;
    letter-spacing: .02em;
}

.anonymous-notice span { font-weight: 600; }

.payment-critical-alert {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 16px;
    padding: 14px 16px;
    border: 2px solid #dc2626;
    border-radius: 10px;
    background: #fef2f2;
    color: #991b1b;
    box-shadow: 0 3px 12px rgba(220, 38, 38, .08);
}

.payment-critical-alert strong {
    font-size: .8rem;
    letter-spacing: .07em;
}

/* ================= MICRO-PRINT BILECIKA ================= */
.card-print-sheet {
    display: none;
}

@media print {
    body.card-print-mode > *:not(#cardPrintSheet) {
        display: none !important;
    }

    body.card-print-mode {
        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #fff !important;
        color: #111 !important;
        font-family: Georgia, 'Times New Roman', serif !important;
    }

    body.card-print-mode #cardPrintSheet {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100mm;
        height: 150mm;
        min-width: 100mm;
        min-height: 150mm;
        max-width: 100mm;
        max-height: 150mm;
        margin: 0 !important;
        padding: 12mm 9mm !important;
        overflow: hidden;
        box-sizing: border-box;
        background: #fff !important;
        color: #111 !important;
        border: 0 !important;
        box-shadow: none !important;
        text-align: center;
        page: greeting-card;
    }

    .card-print-recipient {
        width: 100%;
        margin: 0 0 9mm;
        padding: 0 0 5mm;
        border-bottom: .35mm solid #d4d4d4;
        color: #222 !important;
        font-family: Georgia, 'Times New Roman', serif !important;
        font-size: 13.5pt;
        font-weight: 700;
        line-height: 1.25;
        letter-spacing: .02em;
        text-align: center;
    }

    .card-print-message {
        width: 100%;
        margin: auto 0;
        color: #111 !important;
        font-family: Georgia, 'Times New Roman', serif !important;
        font-size: 19pt;
        font-style: italic;
        font-weight: 400;
        line-height: 1.46;
        white-space: pre-wrap;
        overflow-wrap: anywhere;
        word-break: normal;
        text-align: center;
    }

    #cardPrintSheet .buyer-data,
    #cardPrintSheet .customer-data,
    #cardPrintSheet .price,
    #cardPrintSheet .address,
    #cardPrintSheet .phone,
    #cardPrintSheet .email {
        display: none !important;
    }
}

@page greeting-card {
    size: 100mm 150mm;
    margin: 0;
}

/* ================= MOBILE ================= */
@media (max-width: 720px) {
    .btn,
    button,
    .filter-tab,
    .qty-btn,
    .form-input,
    .form-select {
        min-height: 48px;
    }

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

    .product-card-buttons .btn {
        flex: 1 1 0;
        min-width: 0;
    }

    .toast-stack,
    .admin-toast-stack {
        top: 10px;
        right: 10px;
        width: calc(100vw - 20px);
    }

    .modal .cart-drawer,
    .modal-overlay .cart-drawer {
        transform: translate3d(0, 34px, 0) scale(1);
        opacity: 0;
    }

    .modal.is-open .cart-drawer,
    .modal-overlay.is-open .cart-drawer {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 1;
    }

    .modal.is-closing .cart-drawer,
    .modal-overlay.is-closing .cart-drawer {
        transform: translate3d(0, 34px, 0) scale(.995);
        opacity: 0;
    }

    .container > header {
        flex-wrap: wrap;
        gap: 12px;
    }

    .admin-internal-tools {
        order: 3;
        width: 100%;
        margin: 0;
        justify-content: stretch;
    }

    .admin-internal-tools .btn {
        flex: 1 1 calc(50% - 6px);
        min-height: 48px;
        justify-content: center;
        white-space: normal;
        text-align: center;
        line-height: 1.25;
    }

    .daily-report-overlay {
        place-items: end center;
        padding: 0;
    }

    .daily-report-modal {
        width: 100%;
        max-height: 92svh;
        margin: 0;
        padding: 21px 16px calc(20px + env(safe-area-inset-bottom));
        border-radius: 21px 21px 0 0;
        border-bottom: 0;
        transform: translate3d(0, 100%, 0);
    }

    .daily-report-overlay.is-open .daily-report-modal {
        transform: translate3d(0, 0, 0);
    }

    .daily-report-modal::before {
        content: '';
        display: block;
        width: 44px;
        height: 5px;
        margin: -8px auto 15px;
        border-radius: 999px;
        background: #cbd5e1;
    }

    .daily-report-grid {
        grid-template-columns: 1fr;
    }

    .daily-report-stat {
        min-height: 86px;
    }

    .daily-report-stat-value {
        font-size: 1.45rem;
    }

    .daily-report-actions {
        flex-direction: column;
    }

    .daily-report-actions .btn {
        width: 100%;
        min-height: 48px;
        justify-content: center;
    }

    .admin-confirm-overlay {
        place-items: end center;
        padding: 0;
    }

    .admin-confirm-modal {
        width: 100%;
        padding: 22px 16px calc(20px + env(safe-area-inset-bottom));
        border-radius: 20px 20px 0 0;
        transform: translate3d(0, 30px, 0);
    }

    .admin-confirm-actions {
        grid-template-columns: 1fr;
    }

    .admin-confirm-actions .btn {
        min-height: 48px;
    }
}

/* Nowe kompozycje i wygodne, przewijane filtry kategorii na telefonie. */
.new-bouquets-banner {
    position: relative;
    display: flex;
    align-items: center;
    gap: clamp(14px, 3vw, 24px);
    max-width: 900px;
    margin: 0 auto 30px;
    padding: clamp(18px, 3vw, 27px) clamp(18px, 4vw, 34px);
    overflow: hidden;
    color: #173323;
    background: linear-gradient(115deg, #f5f8f0 0%, #fffaf1 54%, #f7eee8 100%);
    border: 1px solid rgba(197, 160, 89, .35);
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(31, 61, 46, .08);
}
.new-bouquets-banner::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    right: -70px;
    top: -95px;
    border: 1px solid rgba(197, 160, 89, .19);
    border-radius: 50%;
    box-shadow: 0 0 0 18px rgba(197, 160, 89, .045), 0 0 0 38px rgba(197, 160, 89, .035);
    pointer-events: none;
}
.new-bouquets-banner__flower {
    display: grid;
    place-items: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    color: #fff;
    background: linear-gradient(145deg, #d9969d, #b96f7b);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(185, 111, 123, .22);
    font-size: 1.8rem;
}
.new-bouquets-banner__copy { position: relative; z-index: 1; }
.new-bouquets-banner__eyebrow {
    display: block;
    margin-bottom: 3px;
    color: #8b6a36;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.new-bouquets-banner h3 {
    margin: 0 0 4px;
    color: #1f3d2e;
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    line-height: 1.15;
}
.new-bouquets-banner p { margin: 0; color: #59685d; font-size: .92rem; line-height: 1.5; }
.filter-tabs-wrapper {
    min-width: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(31, 61, 46, .35) transparent;
    -webkit-overflow-scrolling: touch;
}
.filter-tabs-wrapper > button { scroll-snap-align: center; }
.filter-tabs-wrapper > button:focus-visible { outline: 3px solid #c5a059; outline-offset: 3px; }

@media (max-width: 720px) {
    .filter-tabs-wrapper {
        display: flex;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        gap: 9px !important;
        width: 100%;
        margin: 0 0 28px !important;
        padding: 4px 2px 12px;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x proximity;
        touch-action: pan-x pan-y;
        scrollbar-width: thin;
    }
    .filter-tabs-wrapper > button {
        flex: 0 0 auto;
        min-width: max-content;
        white-space: nowrap;
        scroll-snap-align: center;
    }
    .new-bouquets-banner { align-items: flex-start; margin-bottom: 24px; border-radius: 16px; }
    .new-bouquets-banner__flower { flex-basis: 44px; width: 44px; height: 44px; font-size: 1.5rem; }
    .new-bouquets-banner p { font-size: .84rem; }
}

@media (prefers-reduced-motion: reduce) {
    .filter-tabs-wrapper { scroll-behavior: auto; }
}

/* Nadpisuje wcześniejszy display:flex!important kart dla wyniku filtra. */
#publicProductGrid > .product-card[hidden] { display: none !important; }

/* ================= ACCESSIBILITY — REDUCED MOTION ================= */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        transition-delay: 0ms !important;
    }

    .auth-shake,
    .auth-form-enter,
    .auth-loading,
    .auth-success,
    .cart-menu-bounce,
    .cart-badge-pulse,
    .add-success-check,
    .order-card-new-flash,
    .btn-spinner {
        animation: none !important;
    }

    .modal,
    .modal-overlay,
    .modal.is-open,
    .modal-overlay.is-open,
    .modal.is-closing,
    .modal-overlay.is-closing,
    .daily-report-overlay,
    .admin-confirm-overlay {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .modal .modal-container,
    .modal-overlay .modal-container,
    .modal .cart-drawer,
    .modal-overlay .cart-drawer,
    .modal.is-open .modal-container,
    .modal-overlay.is-open .modal-container,
    .modal.is-open .cart-drawer,
    .modal-overlay.is-open .cart-drawer,
    .modal.is-closing .modal-container,
    .modal-overlay.is-closing .modal-container,
    .modal.is-closing .cart-drawer,
    .modal-overlay.is-closing .cart-drawer,
    .product-card,
    .product-card:hover,
    .product-card:active,
    .btn,
    .btn:active,
    button,
    button:active,
    .cart-toggle-btn,
    .badge-status,
    .order-card,
    .daily-report-modal,
    .admin-confirm-modal {
        transform: none !important;
    }

    .product-card,
    .product-card::after,
    .btn,
    button,
    .cart-toggle-btn,
    .badge-status,
    .modal,
    .modal-overlay,
    .modal-container,
    .cart-drawer,
    .auth-inline-error,
    .admin-login-error,
    .daily-report-overlay,
    .daily-report-modal,
    .admin-confirm-overlay,
    .admin-confirm-modal {
        transition: none !important;
    }
}

.hero-section-with-image {
    position: relative;
    overflow: hidden;
}

.hero-background-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 0;
}

.hero-section-with-image .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-section-with-image .hero-content {
    position: relative;
    z-index: 2;
}

/* Limited-time catalog promotion */
#promotionBanner[hidden] { display: none !important; }
.promotion-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(112deg, #173d2b 0%, #246542 58%, #b78635 140%);
    color: #fff;
    border-block: 1px solid rgba(255,255,255,.22);
    box-shadow: 0 10px 28px rgba(23,61,43,.18);
}
.promotion-banner-inner {
    min-height: 164px;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto auto;
    align-items: center;
    gap: clamp(20px,4vw,54px);
    padding-block: 24px;
}
.promotion-eyebrow,
.promotion-countdown-label,
.promotion-deadline {
    display: block;
    color: #e5efdf;
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.promotion-banner-copy h2 {
    margin: 5px 0;
    color: #fff;
    font: 600 clamp(1.55rem,3vw,2.15rem)/1.12 var(--font-heading);
}
.promotion-banner-copy p { margin: 0; color: #f1f6ee; font-size: .96rem; }
.promotion-countdown-wrap { min-width: 178px; text-align: center; }
.promotion-countdown {
    display: block;
    margin: 4px 0;
    font: 700 clamp(1.65rem,3vw,2.15rem)/1.2 ui-monospace,Consolas,monospace;
    font-variant-numeric: tabular-nums;
    letter-spacing: .04em;
}
.promotion-deadline { font-size: .67rem; letter-spacing: .02em; text-transform: none; }
.promotion-cta {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 1px solid #f4d995;
    border-radius: 999px;
    background: #f4d995;
    color: #173d2b;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .18s ease, background .18s ease;
}
.promotion-cta:hover { transform: translateY(-2px); background: #ffe7af; }
.product-price-old,
.cart-item-prices del { color: #78847b; font-size: .88em; font-weight: 500; }
.product-promo-badge {
    display: inline-block;
    margin-left: 5px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #fff0f0;
    color: #9d2738;
    font-size: .72rem;
    font-weight: 800;
    vertical-align: middle;
}
.cart-item-prices { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; color: var(--green-deep); }
.public-promo-price { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.public-promo-price strong { color: var(--green-deep); font-size: 1.08em; }
.cart-promo-discount { color: #9d2738; font-weight: 700; }
.order-success-price-summary {
    max-width: 520px;
    margin: 12px auto 18px;
    padding: 14px 18px;
    border: 1px solid #cfe0d3;
    border-radius: 10px;
    background: #f6faf6;
    color: #234a32;
    line-height: 1.65;
    text-align: left;
    white-space: pre-line;
}
.order-success-price-summary[hidden] { display: none !important; }
@media (max-width: 760px) {
    .promotion-banner-inner { grid-template-columns: 1fr auto; gap: 16px; }
    .promotion-countdown-wrap { grid-column: 1; grid-row: 2; text-align: left; }
    .promotion-cta { grid-column: 2; grid-row: 1 / span 2; white-space: normal; text-align: center; }
}
@media (max-width: 480px) {
    .promotion-banner-inner { grid-template-columns: 1fr; gap: 12px; padding-block: 20px; }
    .promotion-countdown-wrap { grid-column: auto; grid-row: auto; text-align: left; }
    .promotion-cta { grid-column: auto; grid-row: auto; justify-self: start; }
}

.seo-faq {
    padding: clamp(56px, 7vw, 96px) 20px;
    background: #faf7f2;
}

.seo-faq__container {
    width: min(100%, 980px);
    margin: 0 auto;
}

.seo-faq__header {
    max-width: 720px;
    margin: 0 auto 34px;
    text-align: center;
}

.seo-faq__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #2c6346;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.seo-faq__title {
    margin: 0;
    color: #162b20;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.08;
}

.seo-faq__lead {
    margin: 16px auto 0;
    color: #58635d;
    font-size: clamp(.96rem, 2vw, 1.05rem);
    line-height: 1.7;
}

.seo-faq__list {
    display: grid;
    gap: 12px;
}

.seo-faq__item {
    overflow: clip;
    border: 1px solid rgba(22, 43, 32, .12);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 26px rgba(22, 43, 32, .045);
}

.seo-faq__question {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 68px;
    padding: 20px 58px 20px 22px;
    color: #162b20;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
    cursor: pointer;
    list-style: none;
    transition:
        background-color .2s ease,
        color .2s ease;
}

.seo-faq__question::-webkit-details-marker {
    display: none;
}

.seo-faq__question::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #edf5f0;
    color: #2c6346;
    font-size: 1.25rem;
    line-height: 1;
    transform: translateY(-50%);
    transition: transform .2s ease;
}

.seo-faq__item[open] .seo-faq__question {
    background: #f7fbf8;
}

.seo-faq__item[open] .seo-faq__question::after {
    transform: translateY(-50%) rotate(45deg);
}

.seo-faq__answer {
    padding: 0 22px 22px;
    color: #56615b;
    font-size: .96rem;
    line-height: 1.72;
}

.seo-faq__answer p {
    margin: 0;
}

.seo-faq__question:focus-visible {
    outline: 3px solid rgba(44, 99, 70, .26);
    outline-offset: -3px;
}

@media (max-width: 640px) {
    .seo-faq {
        padding: 48px 14px;
    }

    .seo-faq__header {
        margin-bottom: 26px;
    }

    .seo-faq__question {
        min-height: 62px;
        padding: 17px 50px 17px 17px;
        font-size: .94rem;
    }

    .seo-faq__question::after {
        right: 15px;
        width: 26px;
        height: 26px;
    }

    .seo-faq__answer {
        padding: 0 17px 18px;
        font-size: .92rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .seo-faq__question,
    .seo-faq__question::after {
        transition: none;
    }
}

.hero-delivery-banner {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;

    max-width: 100%;

    margin-bottom: 18px;
    padding: 10px 15px;

    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;

    background: rgba(15, 43, 29, .72);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    color: #fff;

    font-size: clamp(.78rem, 2vw, .9rem);
    font-weight: 600;
    line-height: 1.35;

    box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
}

.hero-delivery-banner strong {
    color: #f5d98a;
}

@media (max-width: 640px) {
    .hero-delivery-banner {
        justify-content: center;
        border-radius: 14px;
        text-align: center;
        padding: 9px 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-delivery-banner {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

/* ======================================================================
   SHARED STOREFRONT DESIGN — calm, editorial and mobile-first
   Applies to / and /sklep/. Checkout, pricing and API behavior are unchanged.
   ====================================================================== */

/* Sitelink anchors and keyboard access */
html.ola-sitelinks-ready { scroll-padding-top: 0; }
#katalog, #bukiety, #kwiaty, #dostawa, #funeralne, #kontakt, #wszystkich-swietych, #faq {
    scroll-margin-top: var(--ola-anchor-offset, 150px);
}
.ads-anchor-alias { display: block; height: 0; position: relative; }
.skip-to-content {
    position: fixed; top: 8px; left: 12px; z-index: 110000; transform: translateY(-160%);
    padding: 12px 18px; border-radius: 9px; background: #fff; color: var(--green-deep);
    font-weight: 700; box-shadow: 0 4px 18px rgba(0,0,0,.12);
}
.skip-to-content:focus { transform: translateY(0); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible { outline: 3px solid #B8757D; outline-offset: 3px; }

/* Header and navigation */
.sticky-header-wrapper { position: sticky; top: 0; z-index: 1000; overflow: visible; background: #fff; }
.site-header { position: relative; z-index: 1001; overflow: visible; max-height: none; background: rgba(255,255,255,.97); border-bottom: 1px solid #E8ECE7; box-shadow: 0 3px 14px rgba(32,61,48,.035); }
.site-header .nav-container { height: auto; min-height: 76px; padding-top: 8px; padding-bottom: 8px; gap: 18px; overflow: visible; }
.site-header .brand-logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; max-width: none; overflow: visible; }
.site-header .brand-logo-slot { display: flex; width: 50px; min-width: 50px; height: 50px; flex: 0 0 50px; align-items: center; justify-content: center; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.site-header .brand-logo-img { display: block; width: 50px; min-width: 50px; max-width: 50px; height: 50px; max-height: 50px; flex-shrink: 0; object-fit: contain; }
.site-header .nav-links { gap: clamp(8px,1vw,16px); }
.site-header .nav-link { padding: 8px 2px; color: #42564A; font-size: .86rem; font-weight: 600; text-decoration: none; transition: color .18s ease; }
.site-header .nav-link:hover, .site-header .nav-link:focus-visible { color: var(--green-primary); }
.site-header .nav-links .nav-link-seasonal { padding: 8px 12px; border: 1px solid #DCE8DE; border-radius: 8px; background: #F1F5F1; color: #365B45; font-size: .82rem; font-weight: 700; }
.site-header .mobile-menu-btn { border: 1px solid #E1E8E2; border-radius: 9px; background: #fff; color: var(--green-deep); }
.site-header .nav-actions { gap: 8px; }

/* One consistent button system */
.btn { min-height: 44px; border-radius: 9px; padding: 11px 18px; font-size: .91rem; font-weight: 600; letter-spacing: 0; transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.btn-primary, .btn-gold { border: 1px solid var(--green-primary); background: var(--green-primary); color: #fff; box-shadow: none; }
.btn-primary:hover, .btn-gold:hover { border-color: var(--green-deep); background: var(--green-deep); box-shadow: 0 5px 13px rgba(32,61,48,.12); transform: translateY(-1px); }
.btn-outline-dark { border: 1px solid #CBD8CE; background: #fff; color: var(--green-deep); }
.btn-outline-dark:hover { border-color: var(--green-primary); background: #F1F5F1; color: var(--green-deep); transform: translateY(-1px); }
.btn-outline-white { border: 1px solid #C9D7CC; background: rgba(255,255,255,.8); color: var(--green-deep); }
.btn-outline-white:hover { border-color: #AFC4B4; background: #fff; color: var(--green-deep); transform: translateY(-1px); }

/* Hero: clean typography, real bouquet photography, quiet sage details */
.boutique-hero {
    position: relative; isolation: isolate; display: flex; align-items: center; overflow: hidden;
    min-height: clamp(560px, 50vw, 680px); padding: clamp(52px,7vw,88px) 0;
    background: #F5F7F3; color: var(--text-primary); text-align: left;
}
.boutique-hero .hero-overlay { display: none; }
.boutique-hero .hero-background-image {
    position: absolute; top: 48px; right: max(24px, calc((100vw - 1240px)/2)); bottom: 48px; left: auto;
    width: min(41vw, 510px); height: calc(100% - 96px); object-fit: cover; object-position: center;
    border-radius: 18px; box-shadow: 0 12px 36px rgba(32,61,48,.10); z-index: 0;
}
.boutique-hero .hero-content { position: relative; z-index: 2; width: 100%; max-width: 1240px; margin: 0 auto; text-align: left; }
.boutique-hero .hero-tag { padding: 6px 11px; border: 1px solid #DDE8DF; border-radius: 7px; background: #EDF3EE; color: #52715D; font-size: .74rem; font-weight: 700; letter-spacing: .07em; }
.boutique-hero .hero-title {
    max-width: min(54%, 15ch); margin: 18px 0 16px; color: #233B2D;
    font: 600 clamp(2.6rem,4.3vw,4rem)/1.03 var(--font-heading); letter-spacing: -.025em; text-shadow: none; text-wrap: balance;
}
.boutique-hero .hero-desc { max-width: 53%; margin: 0 0 25px; color: #59665D; font-size: 1.02rem; line-height: 1.72; text-wrap: pretty; }
.boutique-hero .hero-cta-group { display: flex; max-width: 53%; gap: 10px; margin: 0 0 22px; }
.boutique-hero .hero-cta-group .btn { min-height: 48px; }
.boutique-hero .hero-highlights { display: flex; max-width: 53%; gap: 10px 18px; padding-top: 17px; border-top: 1px solid #E1E8E1; }
.boutique-hero .hero-highlight-pill { color: #53665A; font-size: .83rem; }
.hero-delivery-banner { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 7px; max-width: 53%; margin: 0; padding: 8px 11px; border: 1px solid #DCE8DE; border-radius: 8px; background: #EDF3EE; color: #365B45; font-size: .82rem; font-weight: 600; line-height: 1.4; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hero-delivery-banner strong { color: #365B45; }

/* Clear section rhythm and card hierarchy */
.section-padding { padding-top: clamp(52px,6.4vw,84px); padding-bottom: clamp(52px,6.4vw,84px); }
.section-header { margin-bottom: clamp(28px,4vw,44px); }
.section-tag, .seo-faq__eyebrow { margin-bottom: 9px; color: #66816D; font-size: .74rem; font-weight: 700; letter-spacing: .12em; }
.section-title { margin-bottom: 12px; color: #263D30; font-size: clamp(2rem,4vw,2.9rem); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.section-subtitle { color: #5B685F; font-size: 1rem; line-height: 1.7; }
.boutique-collections { background: #FAFBF9; }
.boutique-proof { background: #fff; }
.boutique-collections .section-title, .boutique-proof .section-title { max-width: 760px; margin-inline: auto; text-align: center; }
.boutique-collection-grid, .boutique-proof-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 28px; }
.boutique-collection-card { display: flex; min-width: 0; flex-direction: column; gap: 11px; padding: clamp(21px,2.5vw,28px); border: 1px solid #E5EAE5; border-radius: 14px; background: #fff; box-shadow: 0 3px 16px rgba(32,61,48,.04); }
.boutique-collection-card:first-child { border-color: #DDE7DF; background: #F5F8F5; }
.boutique-collection-card h3 { color: #2B4736; font-size: 1.4rem; line-height: 1.22; }
.boutique-collection-card p, .boutique-proof-grid p { color: #59665D; font-size: .93rem; line-height: 1.65; }
.boutique-collection-card small { color: #778178; font-size: .81rem; line-height: 1.55; }
.collection-eyebrow { color: #748A78; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.collection-from { color: #315741; font-size: 1.25rem; font-weight: 700; }
.boutique-collection-card .btn { margin-top: auto; }
.collection-phone { color: #506A58; font-size: .88rem; font-weight: 600; text-align: center; text-decoration: underline; text-underline-offset: 3px; }
.boutique-proof-grid article { padding: 22px; border: 1px solid #E8ECE8; border-radius: 13px; background: #FAFBFA; }
.boutique-proof-grid article > span { font-size: 1.45rem; }
.boutique-proof-grid h3 { margin: 9px 0; color: #2D4636; font-size: 1.12rem; }
.boutique-proof-grid p { margin-bottom: 11px; }
.boutique-proof-grid a { color: #41664E; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.trust-strip { padding: 28px 0; border: 0; background: #F2F5F1; }
.trust-grid { gap: 22px; }
.trust-icon { border-radius: 11px; background: #E4ECE5; color: #4B7056; }
.trust-title { color: #2C4535; }
.trust-text { color: #657168; }

/* Budget controls and calm product cards */
#kwiaty { background: #fff; }
.budget-filter { margin: 22px 0 26px; padding: clamp(16px,2.5vw,22px); border: 1px solid #E7ECE7; border-radius: 13px; background: #FAFBF9; }
.budget-filter h3 { margin: 0 0 12px; color: #3B5143; font-size: 1rem; font-weight: 600; }
.budget-filter-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.budget-btn { min-height: 43px; padding: 9px 14px; border: 1px solid #DCE5DD; border-radius: 8px; background: #fff; color: #46594B; font-size: .87rem; font-weight: 600; box-shadow: none; }
.budget-btn:hover, .budget-btn.active { border-color: #53765E; background: #53765E; color: #fff; box-shadow: none; }
.budget-btn:focus-visible { outline: 3px solid #B8757D; outline-offset: 2px; }
.budget-result { margin-top: 10px; color: #748078; font-size: .82rem; }
.budget-empty { margin-top: 14px; padding: 20px; border: 1px solid #E5EAE5; border-radius: 12px; background: #fff; color: #4D5D52; }
.budget-empty[hidden], .product-card[hidden], #promotionBanner[hidden], [data-promotion-message][hidden] { display: none !important; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,290px),1fr)); align-items: stretch; gap: clamp(14px,2vw,22px); }
.products-grid.single-product-grid { display: flex; justify-content: center; }
.single-product-grid > .product-card { width: min(100%,520px); }
.product-card, .ads-funeral-card {
    display: flex !important; min-width: 0; height: 100%; flex-direction: column; overflow: hidden;
    border: 1px solid #E7EBE7; border-radius: 14px; background: #fff;
    box-shadow: 0 3px 16px rgba(32,61,48,.045); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.product-card-image-wrap { display: block; width: 100%; height: auto; aspect-ratio: 4 / 4.25; overflow: hidden; padding: 0; border: 0; border-radius: 0; background: #F0F3F0; text-align: left; cursor: pointer; }
.product-card-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .28s ease; }
.card-tag { top: 12px; left: 12px; padding: 5px 10px; border: 0; border-radius: 6px; background: rgba(37,61,46,.88); font-size: .68rem; letter-spacing: .05em; }
.product-card-body, .ads-funeral-card-body { display: flex !important; min-width: 0; flex: 1 1 auto; flex-direction: column !important; gap: 0; padding: 19px; }
.product-card-title { margin-bottom: 7px; color: #2B4434; font-size: 1.27rem; font-weight: 600; line-height: 1.25; }
.product-card-title:hover { color: #41664E; }
.product-card-desc { margin-bottom: 16px; color: #5C685F; font-size: .9rem; line-height: 1.58; }
.product-card-footer { display: flex !important; width: 100%; min-width: 0; flex-direction: column !important; align-items: stretch !important; gap: 12px !important; margin-top: auto !important; padding-top: 13px; border-top: 1px solid #EDF0ED; }
.product-price-info { display: flex !important; width: 100%; flex-direction: row !important; flex-wrap: wrap !important; align-items: baseline !important; justify-content: space-between !important; gap: 4px 8px; }
.product-price-info .price-label { color: #748078; font-size: .72rem; letter-spacing: .06em; }
.product-price-info .price-value, .public-promo-price strong { color: #2E4E39; font-size: 1.15rem; font-weight: 700; }
.product-price-note { width: 100%; margin-top: 2px; color: #78827A; font-size: .76rem; line-height: 1.42; }
.product-card-buttons { display: grid !important; width: 100% !important; min-width: 0; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 8px !important; box-sizing: border-box; }
.product-card-buttons > .btn { display: inline-flex; width: 100%; min-width: 0; min-height: 48px; align-items: center; justify-content: center; padding: 9px 8px !important; border-radius: 8px; font-size: .82rem !important; line-height: 1.25; text-align: center; white-space: normal !important; overflow-wrap: anywhere; }
.product-card-buttons .btn-outline-dark { background: #fff; }
.single-product-grid .product-card-image-wrap { height: auto; aspect-ratio: 4 / 4.25; }
.single-product-grid .product-card-body { padding: 19px; }

/* Seasonal and funeral offers remain distinct from the main bouquet catalogue */
.seasonal-funeral { background: #F7F8F5; }
.saints-category-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 26px 0; }
.saints-category-card { padding: 22px; border: 1px solid #E5EAE5; border-radius: 13px; background: #fff; box-shadow: none; }
.saints-category-card > span { display: block; margin-bottom: 10px; font-size: 1.7rem; }
.saints-category-card h3 { margin-bottom: 8px; color: #344E3B; font-size: 1.12rem; }
.saints-category-card p { color: #5E6A61; font-size: .9rem; line-height: 1.62; }
.saints-reservation { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; padding: 22px; border: 1px solid #E0E8E1; border-radius: 13px; background: #EEF3EE; }
.saints-reservation > div { min-width: 0; flex: 1; }
.saints-reservation h3 { margin-bottom: 6px; color: #2D4937; font-size: 1.14rem; }
.saints-reservation p { color: #5B685F; font-size: .91rem; line-height: 1.6; }
.saints-reservation .btn { flex-shrink: 0; white-space: normal; text-align: center; }
.saints-products-heading { margin: 26px 0 18px; color: #334A3A; font-size: 1.22rem; }
.ads-delivery-section { background: #F7F8F5; }
.ads-step-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.ads-step-card { padding: 22px; border: 1px solid #E5EAE5; border-radius: 13px; background: #fff; box-shadow: none; }
.ads-step-number { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; margin-bottom: 15px; border-radius: 10px; background: #E9F0EA; color: #4B7056; font-weight: 700; }
.ads-step-card h3 { margin-bottom: 8px; color: #334C3B; font-size: 1.13rem; }
.ads-step-card p, .ads-funeral-note p { color: #5B685F; font-size: .92rem; line-height: 1.65; }
.ads-delivery-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 20px; }
.ads-delivery-cost { max-width: 620px; color: #3F5847; font-size: .94rem; font-weight: 600; line-height: 1.6; }
.ads-funeral-section { border-block: 1px solid #E8ECE8; background: #F3F6F2; }
.ads-funeral-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr)); align-items: stretch; gap: 18px; }
.ads-funeral-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #EDF1ED; }
.ads-funeral-card-body { gap: 9px; padding: 19px; }
.ads-funeral-card-body h3 { color: #2D4736; font-size: 1.2rem; line-height: 1.25; }
.ads-funeral-card-body p { color: #5D6960; font-size: .9rem; line-height: 1.6; }
.ads-funeral-card-body .product-card-buttons { margin-top: auto; padding-top: 8px; }
.ads-funeral-price { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.ads-funeral-price strong { color: #315541; font-size: 1.08rem; }
.ads-funeral-price del, .product-price-old, .cart-item-prices del { color: #79847B; font-size: .88em; }
.ads-funeral-note { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 24px; padding: 22px; border: 1px solid #E5EAE5; border-left: 3px solid #C58B91; border-radius: 12px; background: #fff; }
.ads-funeral-note h3 { margin-bottom: 6px; color: #344C3B; }
.ads-funeral-note .btn { flex-shrink: 0; }

/* Contact and FAQ use the same quiet surface system */
.ads-contact-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-bottom: 34px; padding: 22px; border: 1px solid #E5EAE5; border-radius: 13px; background: #F3F6F2; color: var(--text-primary); }
.ads-contact-strip > div { display: flex; min-width: 0; flex-direction: column; gap: 6px; }
.ads-contact-label { color: #76877A; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ads-contact-strip strong, .ads-contact-strip a { color: #345640; font-size: 1.04rem; font-weight: 700; }
.ads-contact-strip a { text-decoration: underline; text-underline-offset: 3px; }
.ads-contact-strip span:not(.ads-contact-label) { color: #647067; font-size: .86rem; line-height: 1.5; }
.contact-section { border-top: 1px solid #E8ECE8; background: #FAFBF9; }
.contact-info-panel { border: 1px solid #E6EBE6; border-radius: 14px; background: #fff; }
.contact-icon { background: #EDF3EE; color: #53745D; }
.contact-phone-big { color: #365C45 !important; }
.about-highlight-box { border-left-color: #B8757D; background: #F8F2F1; }
.seo-faq { background: #fff; }
.seo-faq__title { color: #263D30; font-size: clamp(2rem,4vw,2.8rem); }
.seo-faq__eyebrow { color: #66816D; }
.seo-faq__lead { color: #606D63; }
.seo-faq__list { gap: 9px; }
.seo-faq__item { border: 1px solid #E6EBE6; border-radius: 11px; background: #fff; box-shadow: none; }
.seo-faq__question { min-height: 60px; padding: 16px 54px 16px 18px; color: #344C3B; font-size: .97rem; line-height: 1.48; }
.seo-faq__question::after { color: #6B8672; }
.seo-faq__item[open] .seo-faq__question { background: #F7F9F7; color: #2D4937; }
.seo-faq__answer { color: #5B685F; font-size: .92rem; line-height: 1.72; }
.site-footer { border-top: 0; background: #243F31; }
.site-footer a { text-underline-offset: 3px; }

/* Announcement and active promotion remain legible without competing with the offer */
.promotion-extension-bar { padding: 8px 14px; background: #EEF3EE; color: #3C5C47; font-size: .82rem; font-weight: 600; line-height: 1.45; text-align: center; }
.promotion-extension-note { width: fit-content; max-width: 100%; margin: 0 auto 22px; padding: 10px 15px; border: 1px solid #E0E8E1; border-radius: 9px; background: #F3F6F2; color: #3C5945; font-size: .88rem; text-align: center; }
#promotionBanner { border: 0; background: #EAF1EB; color: #334D3B; box-shadow: none; }
.promotion-banner-inner { min-height: 126px; gap: clamp(14px,3vw,34px); padding-block: 18px; }
.promotion-eyebrow, .promotion-countdown-label, .promotion-deadline { color: #62776A; font-size: .72rem; }
.promotion-banner-copy h2 { color: #2B4736; font-size: clamp(1.45rem,3vw,2rem); }
.promotion-banner-copy p { color: #5A685F; font-size: .92rem; }
.promotion-countdown { color: #345640; font-size: clamp(1.45rem,3vw,1.9rem); }
.promotion-cta { min-height: 44px; border: 1px solid #355D49; border-radius: 8px; background: #355D49; color: #fff; }
.promotion-cta:hover { background: #203D30; }
.product-promo-badge { border-radius: 5px; background: #F8EEEE; color: #985962; }
.cart-promo-discount { color: #92535D; }
.ads-catalog-promotion { width: fit-content; margin: 0 auto 20px; padding: 10px 15px; border: 1px solid #E5D7D7; border-radius: 8px; background: #FBF5F5; color: #82565D; font-weight: 600; text-align: center; }
.order-success-price-summary { border: 1px solid #DBE7DD; border-radius: 10px; background: #F4F8F4; color: #365640; }

/* Seasonal reservation, mobile menu and floating call bar */
.seasonal-funeral-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.catalog-status-card { grid-column: 1 / -1; max-width: 680px; margin: 18px auto; padding: 22px; border: 1px solid #E5EAE5; border-radius: 12px; background: #fff; color: #536159; text-align: center; box-shadow: none; }
.catalog-status-card h3 { margin: 0 0 8px; color: #345640; font-size: 1.2rem; }
.catalog-status-card p { margin: 0; line-height: 1.65; }
.catalog-status-card a { color: #41664E; font-weight: 700; text-underline-offset: 3px; }
.floating-call { display: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.floating-call:focus-visible { outline: 3px solid #F1DADD; outline-offset: -5px; }
.checkout-subheading, .delivery-choice { scroll-margin-top: 100px; }

@media (hover: hover) and (pointer: fine) {
    .product-card:hover, .ads-funeral-card:hover { transform: translateY(-2px); border-color: #D7E2D9; box-shadow: 0 9px 23px rgba(32,61,48,.075); }
    .product-card:hover .product-card-image-wrap img { transform: scale(1.018); }
}
@media (max-width: 1100px) {
    .site-header .nav-container { min-height: 68px; gap: 10px; }
    .site-header .mobile-menu-btn { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
    .site-header .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; width: auto; max-height: calc(100dvh - 150px); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 3px; padding: 14px 18px; border-top: 1px solid #E8ECE8; background: #fff; box-shadow: 0 12px 22px rgba(32,61,48,.09); z-index: 1003; }
    .site-header .nav-links.mobile-active { display: flex; }
    .site-header .nav-link { display: block; min-height: 44px; padding: 11px 12px; white-space: normal; }
    .site-header .nav-links .nav-link-seasonal { margin-bottom: 3px; }
    .site-header .nav-actions { flex-shrink: 0; gap: 7px; }
    .site-header .brand-logo { flex-shrink: 0; }
    .site-header .nav-actions a[href^="tel:"].btn { display: inline-flex; }
}
@media (max-width: 960px) {
    .boutique-hero .hero-background-image { right: 22px; width: 39vw; }
    .boutique-hero .hero-title, .boutique-hero .hero-desc, .boutique-hero .hero-cta-group, .boutique-hero .hero-highlights, .hero-delivery-banner { max-width: 54%; }
    .boutique-collection-grid, .boutique-proof-grid { gap: 13px; }
}
@media (max-width: 820px) {
    .boutique-hero { min-height: 0; flex-direction: column; align-items: stretch; padding: 14px 0 0; }
    .boutique-hero .hero-background-image { position: relative; inset: auto; display: block; width: calc(100% - 28px); height: clamp(220px,56vw,310px); max-height: 310px; margin: 0 14px; border-radius: 13px; box-shadow: none; }
    .boutique-hero .hero-content { max-width: 760px; padding-top: 24px; padding-bottom: 34px; }
    .boutique-hero .hero-title { max-width: 19ch; margin: 12px 0; font-size: clamp(2.15rem,6vw,3.2rem); }
    .boutique-hero .hero-desc, .boutique-hero .hero-cta-group, .boutique-hero .hero-highlights, .hero-delivery-banner { max-width: 100%; }
    .boutique-hero .hero-desc { font-size: .98rem; }
    .boutique-hero .hero-highlights { gap: 8px 15px; }
    .boutique-collection-grid, .boutique-proof-grid, .saints-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .ads-step-grid { grid-template-columns: 1fr; }
    .ads-contact-strip { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .container { padding-inline: 16px; }
    .section-padding { padding-top: 48px; padding-bottom: 48px; }
    .section-header { margin-bottom: 25px; }
    .section-title { font-size: clamp(1.85rem,8vw,2.35rem); }
    .boutique-hero .hero-content { padding-top: 20px; padding-bottom: 30px; }
    .boutique-hero .hero-title { max-width: 100%; font-size: clamp(2rem,9vw,2.65rem); }
    .boutique-hero .hero-desc { margin-bottom: 18px; }
    .boutique-hero .hero-cta-group { flex-direction: column; align-items: stretch; gap: 8px; margin-bottom: 16px; }
    .boutique-hero .hero-cta-group .btn { width: 100%; white-space: normal; }
    .boutique-hero .hero-highlights { display: grid; grid-template-columns: 1fr; gap: 7px; margin-top: 16px; }
    .hero-delivery-banner { align-items: flex-start; border-radius: 8px; font-size: .78rem; }
    .boutique-collection-grid, .boutique-proof-grid, .saints-category-grid { grid-template-columns: 1fr; gap: 12px; }
    .boutique-collection-card, .boutique-proof-grid article, .saints-category-card { padding: 19px; }
    .budget-filter { margin: 17px 0 20px; padding: 15px; }
    .budget-filter-buttons { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
    .budget-btn { min-width: 0; padding: 9px 7px; font-size: .82rem; }
    .budget-btn:first-child { grid-column: 1 / -1; }
    .products-grid, .ads-funeral-grid { grid-template-columns: 1fr; gap: 14px; }
    .product-card-image-wrap { aspect-ratio: 4 / 3.4; }
    .product-card-body, .ads-funeral-card-body, .single-product-grid .product-card-body { padding: 16px; }
    .product-card-title { font-size: 1.18rem; }
    .product-card-buttons { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 7px !important; }
    .product-card-buttons > .btn { min-height: 48px; padding: 8px 6px !important; font-size: .77rem !important; }
    .single-product-grid .product-card-image-wrap { aspect-ratio: 4 / 3.4; }
    .ads-funeral-card img { aspect-ratio: 4 / 3; }
    .saints-reservation, .ads-funeral-note { flex-direction: column; align-items: stretch; gap: 13px; padding: 17px; }
    .saints-reservation .btn, .ads-funeral-note .btn, .ads-delivery-summary .btn { width: 100%; white-space: normal; text-align: center; }
    .ads-delivery-summary { align-items: stretch; }
    .ads-contact-strip { gap: 13px; margin-bottom: 24px; padding: 18px; }
    .promotion-banner-inner { grid-template-columns: 1fr; gap: 11px; padding-block: 17px; }
    .promotion-countdown-wrap { grid-column: auto; grid-row: auto; text-align: left; }
    .promotion-cta { grid-column: auto; grid-row: auto; justify-self: stretch; }
    .site-header .nav-container { min-height: 64px; padding-top: 6px; padding-bottom: 6px; gap: 6px; }
    .site-header .brand-logo-slot, .site-header .brand-logo-img { width: 44px; min-width: 44px; max-width: 44px; height: 44px; max-height: 44px; flex-basis: 44px; }
    .site-header .nav-actions { gap: 5px; }
    .site-header .nav-actions a[href^="tel:"].btn { min-width: 42px; width: 42px; min-height: 42px; justify-content: center; overflow: hidden; padding: 0 !important; font-size: 0; }
    .site-header .nav-actions a[href^="tel:"].btn::before { content: "☎"; font-size: 1rem; }
    .site-header .cart-toggle-btn { min-height: 42px; }
    .floating-call { position: fixed; right: 0; bottom: 0; left: 0; z-index: 1500; display: flex; min-height: calc(62px + env(safe-area-inset-bottom)); align-items: center; justify-content: center; gap: 8px; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); border-radius: 0; background: #355D49; color: #fff; box-shadow: 0 -3px 14px rgba(32,61,48,.10); font-size: .92rem; font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; }
    body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}
@media (max-width: 480px) {
    #cartModal { padding: 8px 8px calc(70px + env(safe-area-inset-bottom)) !important; }
    #cartModal .cart-drawer { margin: 8px auto 20px !important; padding: 22px 15px 28px !important; max-width: 100% !important; }
    #cartModal .cart-item-row { grid-template-columns: minmax(0,1fr); gap: 10px; }
    #cartModal .cart-subtotal-box { padding: 15px; }
    #checkoutForm .checkout-subheading { margin-top: 18px; font-size: 1rem; }
    #checkoutForm .delivery-choice { padding: 14px; }
    .product-card-buttons > .btn { min-height: 50px; padding: 8px 6px !important; font-size: .76rem !important; }
}
@media (min-width: 360px) and (max-width: 480px) {
    .product-card-buttons { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
    .product-card-buttons > .btn { white-space: normal !important; overflow-wrap: anywhere; }
}
@media (max-width: 359px) {
    .product-card-buttons { grid-template-columns: 1fr !important; }
    .product-card-buttons > .btn { min-height: 48px; padding: 10px 12px !important; font-size: .9rem !important; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    .product-card, .ads-funeral-card, .product-card:hover, .ads-funeral-card:hover, .product-card-image-wrap img, .btn:hover { transform: none !important; transition: none !important; }
}
@media print { .floating-call { display: none !important; } }


/* First-party aggregate statistics consent */
.analytics-consent-banner{position:fixed;z-index:10050;inset:auto 16px 16px;display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:900px;margin-inline:auto;padding:18px 20px;background:#fffdf8;color:#26352d;border:1px solid #cdd7cb;border-radius:16px;box-shadow:0 16px 48px #15251b40;font:500 14px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif}
.analytics-consent-banner[hidden]{display:none}.analytics-consent-copy{max-width:650px}.analytics-consent-copy h2{margin:0 0 5px;color:#1f3d2e;font-size:1.05rem}.analytics-consent-copy p{margin:0 0 6px}.analytics-consent-copy a{color:#23533a;text-underline-offset:3px}.analytics-consent-actions{display:flex;flex:none;gap:8px}.analytics-consent-actions button,.analytics-consent-settings{min-height:42px;padding:9px 14px;border:1px solid #536c59;border-radius:999px;background:#fff;color:#26352d;font:700 14px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer}.analytics-consent-actions .analytics-consent-accept{background:#23533a;color:#fff}.analytics-consent-settings{margin:12px 0 0;font-size:12px;min-height:36px}.analytics-consent-actions button:focus-visible,.analytics-consent-settings:focus-visible{outline:3px solid #c5a059;outline-offset:2px}
@media(max-width:700px){.analytics-consent-banner{inset:auto 10px 10px;display:block;padding:15px;border-radius:14px;font-size:13px}.analytics-consent-actions{margin-top:12px}.analytics-consent-actions button{flex:1}.analytics-consent-copy p{max-height:6.5em;overflow:auto}}
