/*
 Theme Name:   Astra Child - Bless Tea
 Theme URI:    https://blesstea.ru
 Description:  Custom child theme for Bless Tea - Crystal Tea Bombs
 Author:       Developer
 Author URI:   https://blesstea.ru
 Template:     astra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  astra-child
*/

/* ==========================================================================
   BLESS TEA - Custom Styles
   ========================================================================== */

:root {
    /* Brand Colors - Green Theme */
    --bt-green: #3D7A4A;
    --bt-green-light: #5A9B68;
    --bt-green-dark: #2D5A38;
    --bt-green-pale: #E8F5E9;
    --bt-cream: #F5F9F6;
    --bt-cream-light: #FAFDFB;
    --bt-brown: #3D2B1F;
    --bt-brown-dark: #2A1F15;
    --bt-gold: #C9A961;
    --bt-text: #3D2B1F;
    --bt-text-light: #5C4A3A;
    --bt-white: #FFFFFF;

    /* Legacy aliases for compatibility */
    --bt-rose: var(--bt-green);
    --bt-rose-light: var(--bt-green-pale);
    --bt-rose-dark: var(--bt-green-dark);
    --bt-pink: var(--bt-green-light);
    --bt-pink-light: var(--bt-green-pale);

    /* Typography */
    --bt-font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --bt-font-body: 'Montserrat', 'Open Sans', sans-serif;
    --bt-font-script: 'Marck Script', cursive;

    /* Spacing */
    --bt-section-padding: 50px;
    --bt-container-width: 1140px;

    /* Shadows - green tinted */
    --bt-shadow-soft: 0 4px 20px rgba(61, 122, 74, 0.1);
    --bt-shadow-medium: 0 8px 30px rgba(61, 122, 74, 0.15);
    --bt-shadow-card: 0 10px 40px rgba(61, 122, 74, 0.12);
}

/* ==========================================================================
   HIDE DEFAULT ASTRA HEADER & FOOTER
   ========================================================================== */

/* Hide Astra default header */
.ast-primary-header,
.ast-mobile-header-wrap,
#ast-desktop-header,
.site-header,
header.site-header,
.ast-main-header-wrap,
.main-header-bar {
    display: none !important;
}

/* Hide Astra default footer */
.site-footer,
.ast-footer-overlay,
footer.site-footer,
.ast-small-footer {
    display: none !important;
}

/* Hide page title on homepage */
.home .entry-title,
.home .page-title,
.home .ast-archive-description,
.page-header,
.ast-page-builder-template .entry-header,
.entry-header {
    display: none !important;
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

body {
    font-family: var(--bt-font-body);
    background-color: var(--bt-cream);
    color: var(--bt-text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Remove any top margin/padding from WordPress wrappers */
html,
body,
#page,
#content,
#primary,
.site,
.site-content,
.site-main,
.ast-container,
.entry-content,
.ast-separate-container,
.ast-page-builder-template,
main,
article,
.hentry {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Homepage specific - ensure no gap at top */
.home #primary,
.home .site-main,
.home .ast-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Remove Astra's default spacing */
.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--bt-font-heading);
    color: var(--bt-brown-dark);
    font-weight: 500;
}

/* ==========================================================================
   HEADER / NAVIGATION - Sticky & Contained
   ========================================================================== */

/* Fixed header wrapper - sticks to top */
.bt-header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 20px;
    transition: all 0.3s ease;
}

.bt-header-wrapper.scrolled {
    padding: 10px 20px;
    background: transparent;
}

/* Header bar - contained width */
.bt-header {
    max-width: var(--bt-container-width);
    margin: 0 auto;
    background: var(--bt-white);
    padding: 12px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(61, 122, 74, 0.1);
    transition: all 0.3s ease;
}

.bt-header-wrapper.scrolled .bt-header {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

/* Spacer to push content below fixed header */
.bt-header-spacer {
    height: 100px;
    background: transparent !important;
}

/* Remove white box from Astra containers around header */
.ast-separate-container .entry-content > .bt-header-wrapper,
.ast-separate-container .entry-content > .bt-header-spacer {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    background: transparent !important;
}

/* Remove any gap above header on all pages */
.home .entry-content .bt-header,
.page-template-default .entry-content .bt-header {
    margin-top: 0 !important;
}

/* Target Astra's article wrapper */
.ast-article-single > .entry-content,
.ast-article-post > .entry-content,
article.post > .entry-content,
article.page > .entry-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Remove any potential gap from Astra's box layout */
.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post {
    padding-top: 0 !important;
    margin-top: 0 !important;
    background: transparent !important;
}

/* Override Astra's separate container internal padding */
.ast-separate-container .site-main > article .entry-content {
    padding-top: 0 !important;
}

/* Fix homepage-specific gap - target Astra's containers */
.home .ast-container,
.home .site-content,
.home article.post,
.home article.page,
.home .ast-article-single,
.home .ast-article-post,
.home .entry-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Ensure entry-content has no top spacing on any page */
.entry-content:first-child,
article .entry-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Remove Astra's separate container background/spacing for our pages */
.ast-separate-container .site-main > article,
.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post {
    background: transparent !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Remove white box from Astra content wrapper - aggressive override */
.ast-separate-container .site-content .ast-container,
.ast-separate-container #primary,
.ast-separate-container .site-main,
.ast-separate-container article,
.ast-separate-container .entry-content,
body.ast-separate-container .site-main > article,
body .ast-separate-container .site-main > article,
.ast-separate-container.ast-two-container #primary,
.ast-separate-container.ast-right-sidebar #primary,
.ast-separate-container.ast-left-sidebar #primary,
.ast-separate-container.ast-no-sidebar #primary {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
}

/* Force override any box styling added by JS */
body .ast-article-post,
body .ast-article-single,
body article.post,
body article.page {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
}

/* Ultra-specific override for Astra's dynamically added styles */
html body.ast-separate-container .ast-article-single,
html body.ast-separate-container .ast-article-post,
html body .site-main > article.ast-article-single,
html body .site-main > article.ast-article-post,
html body #primary article,
html body.ast-separate-container #primary article {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
}

/* Target Astra blocks layout attribute (present on homepage) */
[data-ast-blocks-layout="true"],
.entry-content[data-ast-blocks-layout="true"] {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Ensure no gap from Gutenberg blocks wrapper */
.wp-block-group,
.wp-block-group__inner-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.bt-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.bt-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.bt-logo-img {
    height: 50px !important;
    width: auto !important;
    max-width: 160px !important;
    object-fit: contain;
}

.bt-nav {
    display: flex;
    gap: 35px;
    align-items: center;
}

.bt-nav a {
    font-family: var(--bt-font-body);
    font-size: 14px;
    color: var(--bt-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.bt-nav a:hover {
    color: var(--bt-green);
}

.bt-header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.bt-header-icons a {
    color: var(--bt-text);
    font-size: 18px;
    transition: color 0.3s ease;
}

.bt-header-icons a:hover {
    color: var(--bt-green);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.bt-hero {
    background: linear-gradient(135deg, var(--bt-cream-light) 0%, var(--bt-cream) 100%);
    padding: 40px 0 50px;
    position: relative;
    overflow: hidden;
}

.bt-hero-container {
    max-width: var(--bt-container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 0 20px;
}

.bt-hero-content {
    z-index: 2;
}

.bt-hero-title {
    font-family: var(--bt-font-heading);
    font-size: 52px;
    line-height: 1.2;
    color: var(--bt-brown-dark);
    margin-bottom: 10px;
    font-weight: 500;
}

.bt-hero-title .script {
    font-family: var(--bt-font-script);
    color: var(--bt-rose);
    font-size: 58px;
    font-weight: 400;
}

.bt-hero-subtitle {
    font-size: 18px;
    color: var(--bt-text-light);
    margin-bottom: 30px;
    font-weight: 400;
}

.bt-hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.bt-btn-primary {
    background: linear-gradient(135deg, var(--bt-green) 0%, var(--bt-green-dark) 100%);
    color: var(--bt-white);
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(61, 122, 74, 0.4);
    display: inline-block;
}

.bt-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(61, 122, 74, 0.5);
    color: var(--bt-white);
}

.bt-btn-secondary {
    background: var(--bt-white);
    color: var(--bt-text);
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 1px solid var(--bt-rose-light);
    display: inline-block;
}

.bt-btn-secondary:hover {
    background: var(--bt-cream);
    border-color: var(--bt-rose);
    color: var(--bt-text);
}

.bt-hero-image {
    position: relative;
    z-index: 1;
}

.bt-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

/* ==========================================================================
   PROCESS STEPS BAR
   ========================================================================== */

.bt-process-bar {
    background: var(--bt-white);
    padding: 25px 0;
    box-shadow: var(--bt-shadow-soft);
}

.bt-process-container {
    max-width: var(--bt-container-width);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 0 20px;
}

.bt-process-step {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bt-process-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.bt-process-text {
    font-size: 14px;
    color: var(--bt-text);
    font-weight: 500;
}

.bt-process-step .step-number {
    color: var(--bt-rose);
    font-weight: 600;
    margin-right: 5px;
}

.bt-process-divider {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--bt-rose-light), var(--bt-rose));
    border-radius: 1px;
}

/* ==========================================================================
   SECTION TITLES
   ========================================================================== */

.bt-section-title {
    text-align: center;
    margin-bottom: 30px;
}

.bt-section-title h2 {
    font-family: var(--bt-font-heading);
    font-size: 36px;
    color: var(--bt-brown-dark);
    position: relative;
    display: inline-block;
    font-weight: 500;
}

.bt-section-title h2::before,
.bt-section-title h2::after {
    content: '—';
    color: var(--bt-rose);
    margin: 0 15px;
}

.bt-section-title p {
    color: var(--bt-text-light);
    font-size: 16px;
    margin-top: 10px;
}

/* ==========================================================================
   CHOOSE YOUR STYLE SECTION
   ========================================================================== */

.bt-styles-section {
    padding: var(--bt-section-padding) 0;
    background: var(--bt-cream);
}

.bt-styles-container {
    max-width: var(--bt-container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.bt-styles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.bt-style-card {
    background: var(--bt-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--bt-shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.bt-style-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(139, 115, 85, 0.2);
}

.bt-style-card-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.bt-style-card-content {
    padding: 25px;
    text-align: center;
    background: linear-gradient(180deg, var(--bt-brown) 0%, var(--bt-brown-dark) 100%);
}

.bt-style-card h3 {
    font-family: var(--bt-font-heading);
    font-size: 22px;
    color: var(--bt-white);
    margin-bottom: 5px;
    font-weight: 500;
}

.bt-style-card p {
    font-size: 13px;
    color: var(--bt-rose-light);
    font-style: italic;
}

/* ==========================================================================
   TEA BOMB CONFIGURATOR SECTION
   ========================================================================== */

.bt-configurator-section {
    padding: 30px 0 40px;
    background: linear-gradient(180deg, var(--bt-cream) 0%, var(--bt-cream-light) 100%);
}

.bt-configurator-section .bt-section-title {
    margin-bottom: 25px;
}

.bt-configurator-container {
    max-width: var(--bt-container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
    padding: 0 20px;
}

.bt-configurator-preview {
    position: sticky;
    top: 100px;
    text-align: center;
}

.bt-configurator-preview img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 20px;
    box-shadow: var(--bt-shadow-medium);
    object-fit: contain;
}

.bt-configurator-panel {
    background: var(--bt-white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--bt-shadow-card);
}

/* Config rows for 2-column layout */
.bt-config-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.bt-config-option {
    margin-bottom: 20px;
}

.bt-config-option:last-child {
    margin-bottom: 0;
}

.bt-config-option.bt-config-half {
    margin-bottom: 0;
}

.bt-config-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--bt-text);
    margin-bottom: 10px;
    display: block;
}

.bt-config-label .step-num {
    color: var(--bt-green);
    margin-right: 5px;
}

.bt-config-shapes,
.bt-config-colors,
.bt-config-extras {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.bt-shape-option,
.bt-color-option,
.bt-extra-option {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 2px solid var(--bt-cream);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bt-cream-light);
    font-size: 18px;
}

.bt-shape-option:hover,
.bt-color-option:hover,
.bt-extra-option:hover,
.bt-shape-option.active,
.bt-color-option.active,
.bt-extra-option.active {
    border-color: var(--bt-rose);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

.bt-color-option.pink { background: var(--bt-pink); }
.bt-color-option.rose { background: var(--bt-rose-light); }
.bt-color-option.purple { background: #C9B8D9; }
.bt-color-option.green { background: #B8D9C9; }
.bt-color-option.gold { background: var(--bt-gold); }

.bt-config-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bt-config-checkboxes-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
}

.bt-checkbox-item {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.bt-checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--bt-green);
}

.bt-checkbox-item label {
    font-size: 12px;
    color: var(--bt-text);
    cursor: pointer;
}

/* Config footer with price and button */
.bt-config-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--bt-cream);
}

.bt-config-footer .bt-price-display {
    flex: 1;
    margin-top: 0;
    padding: 15px;
    background: var(--bt-cream-light);
}

.bt-config-footer .bt-add-to-cart {
    margin-top: 0;
    white-space: nowrap;
    padding: 15px 30px;
}

.bt-add-to-cart {
    background: linear-gradient(135deg, var(--bt-green) 0%, var(--bt-green-dark) 100%);
    color: var(--bt-white);
    padding: 16px 40px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(61, 122, 74, 0.4);
    width: 100%;
    margin-top: 20px;
}

.bt-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(61, 122, 74, 0.5);
}

.bt-add-to-cart:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Tea Select Dropdown */
.bt-tea-select {
    width: 100%;
    padding: 14px 45px 14px 15px;
    border: 2px solid var(--bt-cream);
    border-radius: 10px;
    font-size: 15px;
    font-family: var(--bt-font-body);
    color: var(--bt-text);
    background-color: var(--bt-cream-light);
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238B7355' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    line-height: 1.4;
    height: 52px;
    box-sizing: border-box;
}

.bt-tea-select:hover,
.bt-tea-select:focus {
    border-color: var(--bt-green);
    outline: none;
    box-shadow: 0 4px 12px rgba(61, 122, 74, 0.2);
}

.bt-tea-select optgroup {
    font-weight: 600;
    color: var(--bt-brown-dark);
    padding: 10px 0;
}

.bt-tea-select option {
    padding: 10px;
    font-weight: 400;
}

/* Quantity Selector */
.bt-quantity-selector {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--bt-cream-light);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--bt-cream);
    width: fit-content;
}

.bt-qty-btn {
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: var(--bt-brown);
    cursor: pointer;
    transition: all 0.2s ease;
}

.bt-qty-btn:hover {
    background: var(--bt-green-pale);
    color: var(--bt-green-dark);
}

.bt-qty-input {
    width: 45px;
    height: 38px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--bt-font-body);
    color: var(--bt-text);
    -moz-appearance: textfield;
}

.bt-qty-input::-webkit-outer-spin-button,
.bt-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.bt-qty-input:focus {
    outline: none;
}

/* ==========================================================================
   BOX BUILDER STYLES
   ========================================================================== */

/* Box size selection grid */
.bt-box-size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bt-box-size-option {
    flex: 1;
    min-width: 80px;
    padding: 15px 10px;
    background: var(--bt-cream-light);
    border: 2px solid var(--bt-cream);
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.bt-box-size-option:hover {
    border-color: var(--bt-green-light);
    transform: translateY(-2px);
}

.bt-box-size-option.active {
    border-color: var(--bt-green);
    background: linear-gradient(145deg, var(--bt-green-pale) 0%, #d4edda 100%);
    box-shadow: 0 4px 15px rgba(61, 122, 74, 0.2);
}

.bt-box-size-option .bt-size-count {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--bt-green-dark);
    line-height: 1;
}

.bt-box-size-option .bt-size-label {
    display: block;
    font-size: 12px;
    color: var(--bt-text-light);
    margin-bottom: 5px;
}

.bt-box-size-option .bt-size-price {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--bt-green);
}

/* Shape and Tea row layout */
.bt-shape-tea-row {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.bt-shape-tea-row .bt-config-shapes {
    flex-shrink: 0;
}

.bt-shape-tea-row .bt-tea-select {
    flex: 1;
}

/* Shape options with text - match tea select height */
.bt-config-shapes .bt-shape-option {
    width: auto;
    padding: 14px 18px;
    font-size: 15px;
    gap: 8px;
    min-height: 52px;
    box-sizing: border-box;
}

/* Allergy section styles */
.bt-allergy-section {
    background: var(--bt-cream-light);
    border-radius: 12px;
    padding: 15px;
}

.bt-allergy-options {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

.bt-radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.bt-radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--bt-green);
    cursor: pointer;
}

.bt-radio-label {
    font-size: 14px;
    color: var(--bt-text);
}

.bt-allergy-details {
    margin-top: 15px;
}

.bt-allergy-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--bt-cream);
    border-radius: 10px;
    font-size: 14px;
    font-family: var(--bt-font-body);
    color: var(--bt-text);
    background-color: var(--bt-white);
    transition: border-color 0.3s ease;
}

.bt-allergy-input:focus {
    outline: none;
    border-color: var(--bt-green);
}

.bt-allergy-input::placeholder {
    color: var(--bt-text-light);
}

/* Add to box button */
.bt-add-to-box {
    background: linear-gradient(135deg, var(--bt-green-light) 0%, var(--bt-green) 100%);
    color: var(--bt-white);
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 15px;
}

.bt-add-to-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(61, 122, 74, 0.4);
}

.bt-add-to-box:disabled {
    background: var(--bt-cream);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.bt-add-to-box i {
    font-size: 14px;
}

/* Box items container - looks like a gift box */
.bt-box-items {
    background: linear-gradient(145deg, #f8f4f0 0%, #efe9e3 100%);
    border: 3px solid var(--bt-gold);
    border-radius: 16px;
    padding: 25px 20px 20px;
    position: sticky;
    top: 100px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
    align-self: start;
}

/* Ribbon decoration */
.bt-box-items::before {
    content: '🎁 Ваш набор';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bt-gold);
    color: white;
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Box items grid - dynamic based on size */
.bt-box-list {
    display: grid;
    gap: 10px;
}

/* Grid layouts for different box sizes */
.bt-box-items[data-size="1"] .bt-box-list {
    grid-template-columns: 1fr;
    max-width: 120px;
    margin: 0 auto;
}

.bt-box-items[data-size="2"] .bt-box-list {
    grid-template-columns: repeat(2, 1fr);
}

.bt-box-items[data-size="4"] .bt-box-list {
    grid-template-columns: repeat(2, 1fr);
}

.bt-box-items[data-size="6"] .bt-box-list {
    grid-template-columns: repeat(3, 1fr);
}

.bt-box-items[data-size="12"] .bt-box-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.bt-box-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--bt-white);
    padding: 12px 8px;
    border-radius: 12px;
    border: 2px solid var(--bt-green-pale);
    position: relative;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.bt-box-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61, 122, 74, 0.15);
    border-color: var(--bt-green-light);
}

.bt-box-item-num {
    position: absolute;
    top: -8px;
    left: -8px;
    background: var(--bt-green);
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.bt-box-item-icon {
    font-size: 28px;
    margin-bottom: 6px;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.1));
}

.bt-box-item-info {
    font-size: 11px;
    color: var(--bt-text);
    line-height: 1.3;
    word-break: break-word;
    max-height: 32px;
    overflow: hidden;
}

.bt-box-item-remove {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff4757;
    border: none;
    color: white;
    font-size: 14px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
    opacity: 0;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.bt-box-item:hover .bt-box-item-remove {
    opacity: 1;
}

.bt-box-item-remove:hover {
    background: #ff2f42;
    transform: scale(1.1);
}

/* Empty slot styling */
.bt-box-item-empty {
    background: rgba(255,255,255,0.5);
    border: 2px dashed var(--bt-cream);
    box-shadow: none;
    min-height: 80px;
}

.bt-box-item-empty:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--bt-green-pale);
}

.bt-box-item-empty .bt-box-item-num {
    background: var(--bt-cream);
    color: var(--bt-text-light);
}

.bt-box-item-empty .bt-box-item-icon {
    font-size: 24px;
    opacity: 0.4;
    filter: none;
}

/* Pricing info panel */
.bt-pricing-info {
    background: linear-gradient(135deg, var(--bt-green-pale) 0%, var(--bt-cream) 100%);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
}

.bt-pricing-info h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--bt-green-dark);
    margin-bottom: 10px;
    font-family: var(--bt-font-body);
}

.bt-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
}

.bt-pricing-grid span {
    font-size: 12px;
    color: var(--bt-text);
}

.bt-pricing-grid strong {
    color: var(--bt-green-dark);
}

/* ==========================================================================
   PAGE TEMPLATES (About, Delivery, Contact)
   ========================================================================== */

.bt-page-section {
    padding: 60px 0 80px;
    background: var(--bt-cream);
    min-height: calc(100vh - 200px);
}

.bt-page-container {
    max-width: var(--bt-container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.bt-page-header {
    text-align: center;
    margin-bottom: 50px;
}

.bt-page-header h1 {
    font-family: var(--bt-font-heading);
    font-size: 42px;
    color: var(--bt-brown-dark);
    margin-bottom: 10px;
}

.bt-page-subtitle {
    font-size: 18px;
    color: var(--bt-text-light);
}

/* ==========================================================================
   LEGAL PAGES (Privacy Policy, Terms)
   ========================================================================== */

.bt-legal-page .bt-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.bt-legal-page h1 {
    font-family: var(--bt-font-heading);
    font-size: 36px;
    color: var(--bt-green);
    text-align: center;
    margin-bottom: 30px;
}

.bt-legal-page h2 {
    font-family: var(--bt-font-heading);
    font-size: 22px;
    color: var(--bt-text);
    margin-top: 30px;
    margin-bottom: 12px;
}

.bt-legal-page p,
.bt-legal-page li {
    font-family: var(--bt-font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--bt-text-light);
}

.bt-legal-page ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.bt-legal-page a {
    color: var(--bt-green);
    text-decoration: underline;
}

/* ==========================================================================
   ABOUT PAGE - REDESIGNED
   ========================================================================== */

/* About Hero */
.bt-about-hero {
    background: linear-gradient(135deg, var(--bt-green) 0%, var(--bt-green-dark) 100%);
    padding: 100px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bt-about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    background-size: 30px 30px;
    opacity: 0.5;
}

.bt-about-hero-content {
    position: relative;
    z-index: 1;
}

.bt-about-hero .bt-section-label {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.bt-about-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    color: white;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.bt-hero-tagline {
    font-family: 'Marck Script', cursive;
    font-size: 28px;
    color: var(--bt-gold);
}

/* About Sections */
.bt-about-section {
    padding: 80px 20px;
}

.bt-about-section .bt-container {
    max-width: 1200px;
    margin: 0 auto;
}

.bt-about-section .bt-section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--bt-green);
    margin-bottom: 50px;
}

/* Story Section */
.bt-about-story-section {
    background: white;
}

.bt-about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.bt-story-image-wrapper {
    position: relative;
}

.bt-story-image-wrapper img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(61, 122, 108, 0.3));
    animation: floatSoft 4s ease-in-out infinite;
}

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

.bt-about-story-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--bt-green);
    margin-bottom: 25px;
}

.bt-about-story-text p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--bt-brown);
    margin-bottom: 20px;
}

/* Features Section */
.bt-about-features-section {
    background: linear-gradient(180deg, var(--bt-cream) 0%, var(--bt-green-pale) 100%);
}

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

.bt-about-feature-card {
    background: white;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.bt-about-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(61, 122, 108, 0.2);
}

.bt-feature-icon-wrap {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--bt-green) 0%, var(--bt-green-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.bt-feature-icon-wrap i {
    font-size: 28px;
    color: white;
}

.bt-about-feature-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--bt-green);
    margin-bottom: 12px;
}

.bt-about-feature-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--bt-brown);
}

/* How It Works Section */
.bt-about-how-section {
    background: white;
}

.bt-how-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.bt-how-step {
    text-align: center;
    flex: 1;
    max-width: 250px;
}

.bt-step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--bt-gold) 0%, #d4b36a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 5px 20px rgba(201, 169, 97, 0.4);
}

.bt-how-step h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--bt-green);
    margin-bottom: 10px;
}

.bt-how-step p {
    font-size: 14px;
    color: var(--bt-brown);
    line-height: 1.6;
}

.bt-how-arrow {
    color: var(--bt-green-pale);
    font-size: 24px;
}

/* CTA Section */
.bt-about-cta-section {
    background: linear-gradient(135deg, var(--bt-green-pale) 0%, var(--bt-cream) 100%);
    padding: 60px 20px;
}

.bt-about-cta-box {
    background: white;
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.bt-about-cta-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--bt-green);
    margin-bottom: 15px;
}

.bt-about-cta-box p {
    font-size: 16px;
    color: var(--bt-brown);
    margin-bottom: 30px;
}

.bt-btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.bt-btn-large i {
    margin-right: 10px;
}

/* About Page Mobile */
@media (max-width: 992px) {
    .bt-about-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .bt-about-hero {
        padding: 80px 20px 60px;
    }

    .bt-about-hero h1 {
        font-size: 40px;
    }

    .bt-hero-tagline {
        font-size: 22px;
    }

    .bt-about-section {
        padding: 50px 20px;
    }

    .bt-about-section .bt-section-title {
        font-size: 28px;
        margin-bottom: 35px;
    }

    .bt-about-story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .bt-story-image-wrapper img {
        max-width: 280px;
    }

    .bt-about-story-text h2 {
        font-size: 26px;
        text-align: center;
    }

    .bt-about-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bt-how-steps {
        flex-direction: column;
        gap: 30px;
    }

    .bt-how-arrow {
        transform: rotate(90deg);
    }

    .bt-about-cta-box {
        padding: 40px 25px;
    }

    .bt-about-cta-box h2 {
        font-size: 24px;
    }

    .bt-btn-large {
        padding: 15px 30px;
        font-size: 16px;
    }
}

/* Delivery Page */
.bt-delivery-content {
    background: var(--bt-white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--bt-shadow-card);
}

.bt-delivery-block {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--bt-cream);
}

.bt-delivery-block:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.bt-delivery-block h2 {
    font-family: var(--bt-font-body);
    font-size: 20px;
    font-weight: 600;
    color: var(--bt-green-dark);
    margin-bottom: 15px;
}

.bt-delivery-block ul {
    list-style: none;
    padding: 0;
}

.bt-delivery-block li {
    font-size: 15px;
    color: var(--bt-text);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.bt-delivery-block li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--bt-green);
    font-weight: bold;
}

.bt-delivery-block p {
    font-size: 15px;
    color: var(--bt-text);
    line-height: 1.7;
}

.bt-delivery-note {
    background: var(--bt-green-pale);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

.bt-delivery-note p {
    margin: 5px 0;
    font-size: 15px;
}

/* Contact Page */
.bt-contact-content {
    background: var(--bt-white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--bt-shadow-card);
}

.bt-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.bt-contact-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--bt-cream-light);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.bt-contact-card:hover {
    transform: translateY(-5px);
}

.bt-contact-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.bt-contact-card h3 {
    font-size: 16px;
    font-family: var(--bt-font-body);
    font-weight: 600;
    color: var(--bt-brown-dark);
    margin-bottom: 10px;
}

.bt-contact-card p {
    font-size: 14px;
    margin: 5px 0;
}

.bt-contact-card a {
    color: var(--bt-green);
    text-decoration: none;
    font-weight: 500;
}

.bt-contact-card a:hover {
    color: var(--bt-green-dark);
    text-decoration: underline;
}

.bt-contact-hours {
    text-align: center;
    padding: 25px;
    background: var(--bt-green-pale);
    border-radius: 15px;
    margin-bottom: 30px;
}

.bt-contact-hours h3 {
    font-size: 18px;
    font-family: var(--bt-font-body);
    font-weight: 600;
    color: var(--bt-green-dark);
    margin-bottom: 15px;
}

.bt-contact-hours p {
    font-size: 15px;
    color: var(--bt-text);
    margin: 5px 0;
}

.bt-contact-cta {
    text-align: center;
}

.bt-contact-cta p {
    font-size: 16px;
    color: var(--bt-text);
    margin-bottom: 15px;
}

.bt-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.bt-btn-whatsapp:hover {
    background: #128C7E;
    color: white;
    transform: translateY(-2px);
}

.bt-btn-whatsapp i {
    font-size: 20px;
}

/* Responsive for pages */
@media (max-width: 768px) {
    .bt-about-features,
    .bt-contact-grid {
        grid-template-columns: 1fr;
    }

    .bt-page-header h1 {
        font-size: 32px;
    }

    .bt-about-content,
    .bt-delivery-content,
    .bt-contact-content {
        padding: 25px;
    }
}

/* ==========================================================================
   WOOCOMMERCE CART & CHECKOUT STYLING
   ========================================================================== */

/* General WooCommerce pages */
.woocommerce {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.woocommerce h1,
.woocommerce h2 {
    font-family: var(--bt-font-heading);
    color: var(--bt-brown-dark);
}

/* Cart page */
.woocommerce-cart .woocommerce {
    background: var(--bt-cream);
    min-height: calc(100vh - 200px);
}

.woocommerce table.shop_table {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--bt-shadow-card);
    background: var(--bt-white);
}

.woocommerce table.shop_table th {
    background: var(--bt-green);
    color: white;
    font-weight: 600;
    padding: 15px;
    border: none;
}

.woocommerce table.shop_table td {
    padding: 20px 15px;
    border-bottom: 1px solid var(--bt-cream);
    vertical-align: middle;
}

.woocommerce table.shop_table .product-name {
    font-weight: 600;
    color: var(--bt-brown-dark);
}

.woocommerce table.shop_table .product-name dl.variation {
    margin-top: 10px;
}

.woocommerce table.shop_table .product-name dl.variation dt {
    font-weight: 500;
    color: var(--bt-text-light);
    float: left;
    clear: left;
    margin-right: 5px;
}

.woocommerce table.shop_table .product-name dl.variation dd {
    margin: 0 0 5px;
}

.woocommerce .cart_totals {
    background: var(--bt-white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--bt-shadow-card);
}

.woocommerce .cart_totals h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.woocommerce .cart_totals table {
    border: none;
}

.woocommerce .cart_totals th,
.woocommerce .cart_totals td {
    padding: 12px 0;
    border-bottom: 1px solid var(--bt-cream);
}

.woocommerce .cart_totals .order-total th,
.woocommerce .cart_totals .order-total td {
    font-size: 20px;
    font-weight: 700;
    color: var(--bt-green-dark);
    border-bottom: none;
}

/* WooCommerce buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background: linear-gradient(135deg, var(--bt-green) 0%, var(--bt-green-dark) 100%) !important;
    color: white !important;
    border: none !important;
    padding: 14px 28px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(61, 122, 74, 0.4) !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(61, 122, 74, 0.5) !important;
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background: linear-gradient(135deg, var(--bt-green) 0%, var(--bt-green-dark) 100%) !important;
}

/* Checkout page */
.woocommerce-checkout .woocommerce {
    background: var(--bt-cream);
}

.woocommerce form.checkout {
    background: var(--bt-white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--bt-shadow-card);
}

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3 {
    font-family: var(--bt-font-body);
    font-size: 18px;
    font-weight: 600;
    color: var(--bt-green-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bt-green-pale);
}

.woocommerce form .form-row label {
    font-weight: 500;
    color: var(--bt-text);
    margin-bottom: 5px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    padding: 12px 15px;
    border: 2px solid var(--bt-cream);
    border-radius: 10px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: var(--bt-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(61, 122, 74, 0.1);
}

#order_review_heading {
    font-family: var(--bt-font-body);
    font-size: 20px;
    font-weight: 600;
    color: var(--bt-green-dark);
    margin: 30px 0 20px;
}

.woocommerce-checkout #payment {
    background: var(--bt-cream-light);
    border-radius: 15px;
    padding: 25px;
}

.woocommerce-checkout #payment ul.payment_methods {
    border: none;
    padding: 0;
}

.woocommerce-checkout #payment ul.payment_methods li {
    padding: 15px;
    margin-bottom: 10px;
    background: var(--bt-white);
    border-radius: 10px;
}

.woocommerce-checkout #payment div.place-order {
    padding: 20px 0 0;
}

/* Order received / Thank you page */
.woocommerce-order-received .woocommerce {
    text-align: center;
}

.woocommerce-order-received .woocommerce-thankyou-order-received {
    font-size: 24px;
    color: var(--bt-green);
    font-weight: 600;
    margin-bottom: 30px;
}

/* Payment instructions box */
.bt-payment-instructions {
    background: linear-gradient(135deg, var(--bt-cream) 0%, var(--bt-green-pale) 100%);
    border-radius: 15px;
    padding: 25px 30px;
    margin: 30px auto;
    max-width: 500px;
    text-align: left;
    border: 2px solid var(--bt-green-pale);
}

.bt-payment-instructions h2 {
    font-family: var(--bt-font-heading);
    font-size: 22px;
    color: var(--bt-green-dark);
    margin-bottom: 15px;
    text-align: center;
}

.bt-payment-instructions p {
    color: var(--bt-text);
    line-height: 1.7;
    margin-bottom: 10px;
}

.bt-payment-instructions p:last-child {
    margin-bottom: 0;
}

/* Payment method styling in checkout */
.woocommerce-checkout .wc_payment_method label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    cursor: pointer;
}

.woocommerce-checkout .payment_method_blesstea_cash label::before,
.woocommerce-checkout .payment_method_blesstea_mbank label::before,
.woocommerce-checkout .payment_method_blesstea_odengi label::before {
    content: '';
}

/* Cart count badge */
.bt-cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--bt-green);
    color: white;
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bt-header-icons a {
    position: relative;
}

/* Empty cart - hide default message */
.woocommerce-cart .cart-empty {
    display: none !important;
}

.woocommerce-cart .return-to-shop {
    display: none !important;
}

/* Custom funny empty cart */
.bt-empty-cart-joke {
    text-align: center;
    padding: 60px 30px;
    background: var(--bt-white);
    border-radius: 25px;
    box-shadow: var(--bt-shadow-card);
    max-width: 600px;
    margin: 40px auto;
}

.bt-empty-cart-emoji {
    font-size: 80px;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

.bt-empty-cart-title {
    font-family: var(--bt-font-heading);
    font-size: 28px;
    color: var(--bt-brown-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.bt-empty-cart-subtitle {
    font-size: 16px;
    color: var(--bt-text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.bt-empty-cart-btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 16px;
}

/* Mobile empty cart */
@media (max-width: 480px) {
    .bt-empty-cart-joke {
        padding: 40px 20px;
        margin: 20px 15px;
    }

    .bt-empty-cart-emoji {
        font-size: 60px;
    }

    .bt-empty-cart-title {
        font-size: 22px;
    }

    .bt-empty-cart-subtitle {
        font-size: 14px;
    }

    .bt-empty-cart-btn {
        width: 100%;
        padding: 14px 30px;
    }
}

/* ==========================================================================
   404 PAGE
   ========================================================================== */

.bt-404-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--bt-cream) 0%, var(--bt-cream-light) 100%);
}

.bt-404-content {
    text-align: center;
    padding: 60px 40px;
    background: var(--bt-white);
    border-radius: 30px;
    box-shadow: var(--bt-shadow-card);
    max-width: 650px;
    margin: 40px auto;
}

.bt-404-emoji {
    font-size: 100px;
    margin-bottom: 25px;
    animation: float 3s ease-in-out infinite;
}

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

.bt-404-title {
    font-family: var(--bt-font-heading);
    font-size: 32px;
    color: var(--bt-brown-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.bt-404-subtitle {
    font-size: 18px;
    color: var(--bt-text-light);
    margin-bottom: 35px;
    line-height: 1.6;
}

.bt-404-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.bt-404-buttons .bt-btn-primary,
.bt-404-buttons .bt-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 15px;
    text-decoration: none;
}

.bt-404-buttons .bt-btn-secondary {
    background: var(--bt-cream);
    color: var(--bt-green-dark);
    border: 2px solid var(--bt-green);
}

.bt-404-buttons .bt-btn-secondary:hover {
    background: var(--bt-green-pale);
}

.bt-404-search {
    padding-top: 30px;
    border-top: 1px solid var(--bt-cream);
}

.bt-404-search p {
    font-size: 14px;
    color: var(--bt-text-light);
    margin-bottom: 15px;
}

.bt-404-search .search-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
}

.bt-404-search .search-field {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--bt-cream);
    border-radius: 25px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.bt-404-search .search-field:focus {
    border-color: var(--bt-green);
    outline: none;
}

.bt-404-search .search-submit {
    background: var(--bt-green);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bt-404-search .search-submit:hover {
    background: var(--bt-green-dark);
    transform: translateY(-2px);
}

/* Mobile 404 */
@media (max-width: 768px) {
    .bt-404-content {
        padding: 40px 25px;
        margin: 20px 15px;
        border-radius: 25px;
    }

    .bt-404-emoji {
        font-size: 70px;
    }

    .bt-404-title {
        font-size: 24px;
    }

    .bt-404-subtitle {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .bt-404-buttons {
        flex-direction: column;
    }

    .bt-404-buttons .bt-btn-primary,
    .bt-404-buttons .bt-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .bt-404-search .search-form {
        flex-direction: column;
    }

    .bt-404-search .search-submit {
        width: 100%;
    }
}

/* ==========================================================================
   TEA CATALOG PAGE
   ========================================================================== */

.bt-teas-page {
    background: linear-gradient(180deg, var(--bt-cream) 0%, var(--bt-cream-light) 100%);
}

.bt-teas-container {
    max-width: 1100px;
}

.bt-teas-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.bt-tea-category {
    background: var(--bt-white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--bt-shadow-card);
}

.bt-tea-category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bt-green-pale);
}

.bt-tea-category-icon {
    font-size: 32px;
}

.bt-tea-category-header h2 {
    font-family: var(--bt-font-heading);
    font-size: 28px;
    color: var(--bt-green-dark);
    margin: 0;
}

.bt-tea-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.bt-tea-card {
    background: var(--bt-cream-light);
    border-radius: 12px;
    padding: 18px;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid transparent;
}

.bt-tea-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(61, 122, 74, 0.15);
    border-color: var(--bt-green-pale);
}

.bt-tea-card h3 {
    font-size: 15px;
    font-family: var(--bt-font-body);
    font-weight: 600;
    color: var(--bt-brown-dark);
    margin-bottom: 8px;
}

.bt-tea-card p {
    font-size: 12px;
    color: var(--bt-text-light);
    line-height: 1.5;
    margin: 0;
}

.bt-tea-card.bt-tea-premium {
    background: linear-gradient(135deg, var(--bt-green-pale) 0%, var(--bt-cream-light) 100%);
    border: 1px solid var(--bt-green-pale);
}

.bt-tea-badge {
    display: inline-block;
    font-size: 10px;
    color: var(--bt-green-dark);
    font-weight: 600;
    margin-bottom: 8px;
}

.bt-teas-cta {
    text-align: center;
    padding: 40px;
    background: var(--bt-white);
    border-radius: 20px;
    box-shadow: var(--bt-shadow-card);
}

.bt-teas-cta p {
    font-size: 18px;
    color: var(--bt-text);
    margin-bottom: 20px;
}

/* Responsive for tea page */
@media (max-width: 768px) {
    .bt-tea-category {
        padding: 20px;
    }

    .bt-tea-category-header h2 {
        font-size: 22px;
    }

    .bt-tea-grid {
        grid-template-columns: 1fr;
    }
}

/* Price Display */
.bt-price-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: linear-gradient(135deg, var(--bt-cream) 0%, var(--bt-cream-light) 100%);
    border-radius: 10px;
}

.bt-price-label {
    font-size: 13px;
    color: var(--bt-text-light);
    font-weight: 500;
}

.bt-price-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--bt-brown-dark);
    font-family: var(--bt-font-body);
    white-space: nowrap;
    display: inline-block;
    letter-spacing: 0.5px;
}

.bt-price-hint {
    font-size: 11px;
    color: var(--bt-green-dark);
    margin-top: 6px;
    font-weight: 500;
}

/* Notification */
.bt-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: var(--bt-shadow-medium);
}

.bt-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.bt-notification.success {
    background: #4CAF50;
    color: white;
}

.bt-notification.error {
    background: #f44336;
    color: white;
}

/* ==========================================================================
   GIFT SETS SECTION
   ========================================================================== */

.bt-gifts-section {
    padding: 40px 0 30px;
    background: linear-gradient(180deg, var(--bt-cream-light) 0%, var(--bt-cream) 100%);
}

.bt-gifts-container {
    max-width: var(--bt-container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Gift Box Card */
.bt-gift-box {
    background: var(--bt-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--bt-shadow-card);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.bt-gift-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(61, 122, 74, 0.15);
    border-color: var(--bt-green-pale);
}

.bt-gift-box-header {
    background: linear-gradient(135deg, var(--bt-green) 0%, var(--bt-green-dark) 100%);
    padding: 25px 20px;
    text-align: center;
    color: white;
}

.bt-gift-box-emoji {
    font-size: 50px;
    display: block;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.bt-gift-box-header h3 {
    font-family: var(--bt-font-heading);
    font-size: 24px;
    margin: 0 0 8px;
    font-weight: 600;
}

.bt-gift-box-desc {
    font-size: 13px;
    margin: 0;
    opacity: 0.9;
}

.bt-gift-box-content {
    padding: 25px;
}

/* Hide shape preview - shapes are default */
.bt-gift-box-preview {
    display: none;
}

.bt-gift-box-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--bt-text);
    margin-bottom: 10px;
}

/* Gift Assorted Note */
.bt-gift-assorted-note {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--bt-green-dark);
    text-align: center;
    margin-bottom: 15px;
}

/* Gift Quantity Options */
.bt-gift-qty-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.bt-gift-qty-option {
    padding: 8px 4px;
    border: 2px solid #E8F5E9;
    border-radius: 10px;
    background: #FAFDFB;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.bt-gift-qty-option:hover {
    border-color: var(--bt-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61, 122, 74, 0.15);
}

.bt-gift-qty-option.active {
    border-color: var(--bt-green);
    background: linear-gradient(135deg, rgba(61, 122, 74, 0.1) 0%, rgba(61, 122, 74, 0.05) 100%);
    box-shadow: 0 4px 12px rgba(61, 122, 74, 0.2);
}

.bt-gift-qty-num {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--bt-green-dark);
    margin-bottom: 2px;
}

.bt-gift-qty-price {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: var(--bt-text-light);
}

.bt-gift-qty-option.active .bt-gift-qty-price {
    color: var(--bt-green);
    font-weight: 600;
}

/* Gift Tea Select - explicit colors for visibility */
.bt-gift-tea-select {
    width: 100%;
    padding: 16px 45px 16px 15px;
    border: 2px solid #E8F5E9;
    border-radius: 10px;
    font-size: 15px;
    font-family: var(--bt-font-body);
    color: #3D2B1F !important;
    -webkit-text-fill-color: #3D2B1F !important;
    background-color: #FAFDFB !important;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233D2B1F' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    line-height: 1.5;
    min-height: 52px;
    height: auto;
    overflow: visible;
    opacity: 1 !important;
}

.bt-gift-tea-select:hover,
.bt-gift-tea-select:focus {
    border-color: #3D7A4A;
    outline: none;
    box-shadow: 0 4px 12px rgba(61, 122, 74, 0.2);
}

.bt-gift-tea-select optgroup {
    font-weight: 600;
    color: #2A1F15 !important;
    background-color: #FFFFFF !important;
    padding: 10px 0;
}

.bt-gift-tea-select option {
    padding: 10px;
    font-weight: 400;
    color: #3D2B1F !important;
    background-color: #FFFFFF !important;
}

.bt-gift-box-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--bt-cream);
}

.bt-gift-box-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--bt-green-dark);
    font-family: var(--bt-font-body);
}

.bt-gift-allergy {
    margin: 15px 0;
}

.bt-gift-allergy-input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid var(--bt-cream);
    border-radius: 10px;
    font-size: 13px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.bt-gift-allergy-input:focus {
    border-color: var(--bt-gold);
    outline: none;
}

.bt-gift-allergy-input::placeholder {
    color: #999;
}

.bt-gift-add-btn {
    background: linear-gradient(135deg, var(--bt-gold) 0%, #d4a853 100%);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bt-gift-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198, 155, 58, 0.4);
}

.bt-gift-add-btn:active {
    transform: translateY(0);
}

.bt-gift-add-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.bt-gifts-note {
    text-align: center;
    font-size: 15px;
    color: var(--bt-text-light);
    margin-top: 20px;
    margin-bottom: 0;
}

.bt-gifts-note a {
    color: var(--bt-green);
    font-weight: 600;
    text-decoration: none;
}

.bt-gifts-note a:hover {
    text-decoration: underline;
}

/* Responsive Gift Boxes */
@media (max-width: 992px) {
    .bt-gifts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .bt-gifts-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .bt-gift-box-header {
        padding: 20px 15px;
    }

    .bt-gift-box-emoji {
        font-size: 40px;
    }

    .bt-gift-box-header h3 {
        font-size: 20px;
    }

    .bt-gift-box-content {
        padding: 20px;
    }

    .bt-gift-box-preview span {
        font-size: 24px;
        padding: 6px;
    }

    .bt-gift-box-footer {
        flex-direction: column;
        gap: 15px;
    }

    .bt-gift-add-btn {
        width: 100%;
        justify-content: center;
    }

    .bt-gift-qty-options {
        grid-template-columns: repeat(4, 1fr);
        gap: 4px;
    }

    .bt-gift-qty-option {
        padding: 6px 2px;
    }

    .bt-gift-qty-num {
        font-size: 13px;
    }

    .bt-gift-qty-price {
        font-size: 10px;
    }

    .bt-gift-assorted-note {
        font-size: 14px;
        padding: 10px 12px;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.bt-footer {
    background: var(--bt-green-dark);
    color: var(--bt-cream);
    padding: 40px 0 25px;
}

.bt-footer-container {
    max-width: var(--bt-container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.bt-footer a {
    color: var(--bt-green-pale);
    text-decoration: none;
}

.bt-footer a:hover {
    color: var(--bt-white);
}

@media (max-width: 992px) {
    .bt-footer-container > div[style] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }
}

@media (max-width: 768px) {
    .bt-footer-container > div[style] {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        text-align: center;
    }

    .bt-footer-container > div[style] ul {
        padding: 0;
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 992px) {
    .bt-hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .bt-configurator-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .bt-box-items {
        order: -1;
        position: relative;
    }

    .bt-hero-title {
        font-size: 40px;
    }

    .bt-hero-title .script {
        font-size: 44px;
    }

    .bt-styles-grid,
    .bt-gifts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bt-process-container {
        flex-wrap: wrap;
        gap: 30px;
    }

    .bt-process-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Header styles moved to mobile hamburger menu section below */

    .bt-hero-title {
        font-size: 32px;
    }

    .bt-hero-title .script {
        font-size: 36px;
    }

    .bt-styles-grid,
    .bt-gifts-grid {
        grid-template-columns: 1fr;
    }

    .bt-section-title h2 {
        font-size: 28px;
    }

    .bt-configurator-panel {
        padding: 20px;
    }

    .bt-config-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .bt-config-footer {
        flex-direction: column;
        gap: 15px;
    }

    .bt-config-footer .bt-price-display {
        width: 100%;
    }

    .bt-config-footer .bt-add-to-cart {
        width: 100%;
    }

    .bt-configurator-preview img {
        max-height: 250px;
    }

    /* Box size options mobile */
    .bt-box-size-options {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .bt-box-size-option {
        min-width: auto;
        padding: 12px 8px;
    }

    .bt-box-size-option .bt-size-count {
        font-size: 22px;
    }

    .bt-box-size-option .bt-size-price {
        font-size: 11px;
    }

    /* Shape and tea row - stack on mobile */
    .bt-shape-tea-row {
        flex-direction: column;
        gap: 15px;
    }

    .bt-shape-tea-row .bt-config-shapes {
        width: 100%;
        justify-content: flex-start;
    }

    .bt-shape-tea-row .bt-tea-select {
        width: 100%;
    }

    /* Allergy section mobile */
    .bt-allergy-options {
        gap: 15px;
    }
}

/* Tablet breakpoint - configurator optimization */
@media (max-width: 992px) {
    .bt-configurator-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .bt-box-items {
        order: -1;
        position: relative;
    }

    .bt-style-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .bt-style-card img {
        height: 120px;
    }
}

@media (max-width: 480px) {
    /* Header adjustments for small phones */
    .bt-logo-img {
        height: 45px !important;
        max-width: 120px !important;
    }

    .bt-header-container {
        padding: 0 15px;
    }

    .bt-header-icons {
        gap: 12px;
    }

    .bt-header-icons a {
        font-size: 16px;
    }

    /* Hero section for small phones */
    .bt-hero-buttons {
        flex-direction: column;
    }

    .bt-btn-primary,
    .bt-btn-secondary {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 13px;
    }

    .bt-hero-title {
        font-size: 26px;
    }

    .bt-hero-title .script {
        font-size: 30px;
    }

    .bt-hero-subtitle {
        font-size: 15px;
    }

    /* Configurator for small phones */
    .bt-style-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .bt-style-card img {
        height: 80px;
    }

    .bt-style-card h4 {
        font-size: 11px;
    }

    .bt-shape-options {
        gap: 8px;
    }

    .bt-shape-option {
        padding: 8px 12px;
        font-size: 12px;
    }

    .bt-tea-select {
        min-height: 44px;
        padding: 10px 35px 10px 12px;
        font-size: 14px;
    }

    .bt-config-checkboxes-row {
        flex-direction: column;
        gap: 10px;
    }

    /* Box items display on mobile */
    .bt-box-items {
        padding: 15px 12px 15px;
        margin-top: 0;
        margin-bottom: 20px;
        position: relative;
    }

    .bt-box-items::before {
        position: static;
        display: block;
        transform: none;
        text-align: center;
        font-size: 12px;
        padding: 4px 15px;
        margin: -5px auto 18px;
        width: fit-content;
        border-radius: 20px;
        white-space: nowrap;
    }

    /* Mobile grid overrides - keep 2 columns for small boxes */
    .bt-box-items[data-size="1"] .bt-box-list,
    .bt-box-items[data-size="2"] .bt-box-list {
        grid-template-columns: repeat(2, 1fr);
        max-width: none;
    }

    .bt-box-items[data-size="4"] .bt-box-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .bt-box-items[data-size="6"] .bt-box-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .bt-box-items[data-size="12"] .bt-box-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .bt-box-item {
        padding: 10px 6px;
        min-height: 70px;
    }

    .bt-box-item-icon {
        font-size: 22px;
    }

    .bt-box-item-info {
        font-size: 10px;
    }

    .bt-box-item-num {
        width: 18px;
        height: 18px;
        font-size: 10px;
        top: -6px;
        left: -6px;
    }

    .bt-box-item-remove {
        opacity: 1;
        width: 18px;
        height: 18px;
        font-size: 12px;
    }

    .bt-box-item-empty {
        min-height: 70px;
    }

    /* Price summary */
    .bt-box-summary {
        padding: 15px;
    }

    .bt-price-amount {
        font-size: 24px;
    }
}

/* =============================================================================
   BACK-TO-TOP & WHATSAPP Z-INDEX FIX
   ============================================================================= */
#ast-scroll-top {
    z-index: 99997 !important;
    right: 80px !important;
}

/* Joinchat WhatsApp button - ensure it doesn't cover back-to-top */
.joinchat {
    z-index: 99998 !important;
}

/* =============================================================================
   MOBILE HAMBURGER MENU
   ============================================================================= */
.bt-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.bt-hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--bt-green);
    position: relative;
    transition: all 0.3s ease;
}

.bt-hamburger::before,
.bt-hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--bt-green);
    left: 0;
    transition: all 0.3s ease;
}

.bt-hamburger::before {
    top: -7px;
}

.bt-hamburger::after {
    top: 7px;
}

/* Hamburger animation when menu is open */
.bt-menu-toggle.active .bt-hamburger {
    background: transparent;
}

.bt-menu-toggle.active .bt-hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.bt-menu-toggle.active .bt-hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Mobile menu styles */
@media (max-width: 768px) {
    .bt-header-wrapper {
        padding: 10px 15px;
    }

    .bt-header {
        padding: 10px 15px;
        border-radius: 25px;
    }

    .bt-header-spacer {
        height: 80px;
    }

    .bt-menu-toggle {
        display: block;
        order: 2;
    }

    .bt-header-container {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .bt-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bt-white);
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: 2px 0 20px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        z-index: 1001;
        gap: 0;
    }

    .bt-nav.active {
        left: 0;
    }

    .bt-nav a {
        padding: 15px 0;
        border-bottom: 1px solid var(--bt-cream);
        font-size: 16px;
    }

    .bt-nav a:last-child {
        border-bottom: none;
    }

    .bt-header-icons {
        order: 3;
        gap: 15px;
    }

    .bt-logo {
        order: 1;
    }

    .bt-logo-img {
        height: 45px !important;
        max-width: 120px !important;
    }

    /* Mobile menu overlay */
    .bt-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .bt-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* Prevent body scroll when mobile menu is open */
body.bt-menu-open {
    overflow: hidden;
}

/* =============================================================================
   WOOCOMMERCE PAGES STYLING
   ============================================================================= */

/* Hide Astra default header/footer on cart/checkout pages */
.woocommerce-cart .ast-above-header,
.woocommerce-cart .ast-below-header,
.woocommerce-cart .ast-main-header-wrap,
.woocommerce-cart .site-header,
.woocommerce-cart .entry-header,
.woocommerce-cart .ast-footer-overlay,
.woocommerce-cart .site-footer,
.woocommerce-cart .ast-small-footer,
.woocommerce-checkout .ast-above-header,
.woocommerce-checkout .ast-below-header,
.woocommerce-checkout .ast-main-header-wrap,
.woocommerce-checkout .site-header,
.woocommerce-checkout .entry-header,
.woocommerce-checkout .ast-footer-overlay,
.woocommerce-checkout .site-footer,
.woocommerce-checkout .ast-small-footer {
    display: none !important;
}

/* WooCommerce pages - only position override needed */
.woocommerce-cart .bt-header,
.woocommerce-checkout .bt-header {
    position: relative;
    top: auto;
}

/* Cart/Checkout page wrapper - match other pages */
.bt-cart-page,
.bt-checkout-page {
    min-height: 60vh;
    background: var(--bt-cream-light);
    padding: var(--bt-section-padding) 0;
}

/* Cart/Checkout page container - ensure same width as header */
.bt-cart-page .bt-page-container,
.bt-checkout-page .bt-page-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.bt-cart-content,
.bt-checkout-content {
    background: var(--bt-white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--bt-shadow-card);
    max-width: 100%;
    box-sizing: border-box;
}

/* Fix Astra container conflicts - allow custom shortcode to control layout */
.woocommerce-cart #content,
.woocommerce-cart .site-content,
.woocommerce-cart .ast-container,
.woocommerce-cart .ast-separate-container,
.woocommerce-cart article,
.woocommerce-cart .entry-content,
.woocommerce-checkout #content,
.woocommerce-checkout .site-content,
.woocommerce-checkout .ast-container,
.woocommerce-checkout .ast-separate-container,
.woocommerce-checkout article,
.woocommerce-checkout .entry-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Ensure main content area doesn't add extra width */
.woocommerce-cart #primary,
.woocommerce-checkout #primary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    float: none !important;
}

/* Checkout layout is controlled by inline CSS in functions.php */

/* WooCommerce Cart Page */
.woocommerce-cart .woocommerce-cart-form {
    background: var(--bt-white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--bt-shadow-card);
    margin-bottom: 30px;
}

.woocommerce-cart table.shop_table {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.woocommerce-cart table.shop_table th {
    background: var(--bt-green-pale);
    color: var(--bt-green-dark);
    font-family: var(--bt-font-body);
    font-weight: 600;
    padding: 15px;
    border: none;
}

.woocommerce-cart table.shop_table td {
    padding: 20px 15px;
    border-bottom: 1px solid var(--bt-cream);
    vertical-align: middle;
}

.woocommerce-cart table.shop_table .product-name a {
    color: var(--bt-green-dark);
    font-weight: 600;
    text-decoration: none;
}

.woocommerce-cart table.shop_table .product-name a:hover {
    color: var(--bt-green);
}

/* Cart item custom data display */
.woocommerce-cart .wc-item-meta {
    margin-top: 10px;
    padding: 10px;
    background: var(--bt-cream-light);
    border-radius: 10px;
    font-size: 13px;
}

.woocommerce-cart .wc-item-meta li {
    margin-bottom: 5px;
}

.woocommerce-cart .wc-item-meta li:last-child {
    margin-bottom: 0;
}

/* Quantity input */
.woocommerce-cart .quantity .qty {
    width: 60px;
    padding: 10px;
    border: 2px solid var(--bt-cream);
    border-radius: 8px;
    text-align: center;
    font-size: 15px;
}

.woocommerce-cart .quantity .qty:focus {
    border-color: var(--bt-green);
    outline: none;
}

/* Remove button */
.woocommerce-cart .product-remove a {
    color: #e74c3c !important;
    font-size: 20px;
}

.woocommerce-cart .product-remove a:hover {
    color: #c0392b !important;
}

/* Cart collaterals - full width centered layout */
.woocommerce-cart .cart-collaterals {
    width: 100%;
    max-width: 600px;
    margin: 40px auto 0;
    float: none !important;
}

/* Cart totals - centered with nice styling */
.woocommerce-cart .cart_totals {
    width: 100% !important;
    float: none !important;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9f8 100%);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(61, 122, 74, 0.12);
    border: 2px solid var(--bt-green-pale);
}

.woocommerce-cart .cart_totals h2 {
    font-family: var(--bt-font-heading);
    color: var(--bt-green-dark);
    margin-bottom: 25px;
    font-size: 24px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bt-green-pale);
}

.woocommerce-cart .cart_totals table {
    border: none;
    width: 100%;
}

.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td {
    padding: 18px 10px;
    border-bottom: 1px solid var(--bt-cream);
    font-size: 16px;
}

.woocommerce-cart .cart_totals table th {
    text-align: left;
    color: var(--bt-text-light);
    font-weight: 500;
    width: 40%;
}

.woocommerce-cart .cart_totals table td {
    text-align: right;
    color: var(--bt-text);
}

/* Discount/fee row styling */
.woocommerce-cart .cart_totals .fee th,
.woocommerce-cart .cart_totals .fee td {
    color: var(--bt-green);
    font-weight: 600;
}

.woocommerce-cart .cart_totals .fee td {
    font-size: 17px;
}

/* Order total row */
.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td {
    font-size: 22px;
    font-weight: 700;
    color: var(--bt-green-dark);
    border-bottom: none;
    padding-top: 25px;
}

.woocommerce-cart .cart_totals .order-total td {
    color: var(--bt-green);
}

/* Proceed to checkout button */
.woocommerce-cart .cart_totals .wc-proceed-to-checkout {
    margin-top: 25px;
    padding-top: 20px;
}

.woocommerce-cart .cart_totals .wc-proceed-to-checkout .checkout-button {
    width: 100%;
    padding: 18px 30px !important;
    font-size: 16px !important;
    text-align: center;
}

/* Buttons */
.woocommerce .button,
.woocommerce-cart .button,
.woocommerce-checkout .button {
    background: linear-gradient(135deg, var(--bt-green) 0%, var(--bt-green-dark) 100%) !important;
    color: white !important;
    border: none !important;
    padding: 14px 30px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    text-transform: none !important;
}

.woocommerce .button:hover,
.woocommerce-cart .button:hover,
.woocommerce-checkout .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(61, 122, 74, 0.4) !important;
}

/* Update cart button - different style */
.woocommerce-cart button[name="update_cart"] {
    background: var(--bt-cream) !important;
    color: var(--bt-text) !important;
}

.woocommerce-cart button[name="update_cart"]:hover {
    background: var(--bt-green-pale) !important;
    box-shadow: none !important;
}

.woocommerce-cart button[name="update_cart"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Coupon form */
.woocommerce-cart .coupon {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.woocommerce-cart .coupon input[type="text"] {
    padding: 12px 15px;
    border: 2px solid var(--bt-cream);
    border-radius: 10px;
    font-size: 14px;
}

.woocommerce-cart .coupon input[type="text"]:focus {
    border-color: var(--bt-green);
    outline: none;
}

/* Empty cart */
.woocommerce-cart .cart-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--bt-white);
    border-radius: 20px;
    box-shadow: var(--bt-shadow-card);
}

.woocommerce-cart .cart-empty::before {
    content: '🛒';
    font-size: 60px;
    display: block;
    margin-bottom: 20px;
}

.woocommerce-cart .return-to-shop {
    margin-top: 20px;
}

/* Checkout Page */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout #order_review {
    background: var(--bt-white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--bt-shadow-card);
    margin-bottom: 30px;
}

.woocommerce-checkout h3 {
    font-family: var(--bt-font-heading);
    color: var(--bt-green-dark);
    margin-bottom: 20px;
}

.woocommerce-checkout .form-row label {
    font-weight: 500;
    color: var(--bt-text);
    margin-bottom: 5px;
}

.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    padding: 12px 15px;
    border: 2px solid var(--bt-cream);
    border-radius: 10px;
    font-size: 14px;
    width: 100%;
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
    border-color: var(--bt-green);
    outline: none;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table {
    border: none;
    margin-bottom: 20px;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .woocommerce-checkout-review-order-table td {
    padding: 15px 0;
    border-bottom: 1px solid var(--bt-cream);
}

/* Payment methods */
.woocommerce-checkout .wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.woocommerce-checkout .wc_payment_method {
    padding: 15px;
    border: 2px solid var(--bt-cream);
    border-radius: 10px;
    margin-bottom: 10px;
}

/* Place order button */
.woocommerce-checkout #place_order {
    width: 100%;
    padding: 18px 30px !important;
    font-size: 16px !important;
}

/* WooCommerce messages */
.woocommerce-message,
.woocommerce-info {
    background: var(--bt-green-pale) !important;
    border-color: var(--bt-green) !important;
    color: var(--bt-green-dark) !important;
    border-radius: 10px;
    padding: 15px 20px;
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: var(--bt-green) !important;
}

/* WooCommerce Notices */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    background: #fdf2f2 !important;
    border: none !important;
    border-left: 4px solid #e74c3c !important;
    border-radius: 10px !important;
    padding: 15px 20px !important;
    margin: 20px 0 !important;
    list-style: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.woocommerce-error::before,
.woocommerce-message::before,
.woocommerce-info::before {
    display: none !important;
}

.woocommerce-error li,
.woocommerce-message li,
.woocommerce-info li {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    color: #cc0000 !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-message {
    background: #f0fff4 !important;
    border-left-color: var(--bt-green) !important;
}

.woocommerce-message li {
    color: var(--bt-green) !important;
}

.woocommerce-info {
    background: #fff8e6 !important;
    border-left-color: var(--bt-gold) !important;
}

.woocommerce-info li {
    color: var(--bt-brown) !important;
}

/* Responsive WooCommerce */
@media (max-width: 768px) {
    .blesstea-wc-page .bt-wc-page-wrapper {
        padding: 20px 15px 60px;
    }

    .woocommerce-cart .woocommerce-cart-form,
    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
    .woocommerce-checkout #order_review {
        padding: 20px;
    }

    /* Mobile cart totals */
    .woocommerce-cart .cart-collaterals {
        max-width: 100%;
        margin-top: 30px;
    }

    .woocommerce-cart .cart_totals {
        padding: 25px 20px;
        border-radius: 20px;
    }

    .woocommerce-cart .cart_totals h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .woocommerce-cart .cart_totals table th,
    .woocommerce-cart .cart_totals table td {
        padding: 14px 5px;
        font-size: 15px;
    }

    .woocommerce-cart .cart_totals .order-total th,
    .woocommerce-cart .cart_totals .order-total td {
        font-size: 19px;
    }

    /* Mobile cart table - stack rows vertically */
    .woocommerce-cart table.shop_table,
    .woocommerce-cart table.shop_table thead,
    .woocommerce-cart table.shop_table tbody,
    .woocommerce-cart table.shop_table tr,
    .woocommerce-cart table.shop_table td {
        display: block;
        width: 100%;
    }

    /* Hide table header on mobile */
    .woocommerce-cart table.shop_table thead {
        display: none;
    }

    /* Style each cart item as a card */
    .woocommerce-cart table.shop_table tbody tr {
        background: var(--bt-white);
        margin-bottom: 15px;
        border-radius: 15px;
        padding: 15px;
        box-shadow: var(--bt-shadow-soft);
        position: relative;
    }

    /* Remove default borders */
    .woocommerce-cart table.shop_table td {
        border: none !important;
        padding: 8px 0 !important;
        text-align: left !important;
    }

    /* Product thumbnail - center it */
    .woocommerce-cart table.shop_table td.product-thumbnail {
        text-align: center !important;
        padding-bottom: 15px !important;
    }

    .woocommerce-cart table.shop_table td.product-thumbnail img {
        width: 120px !important;
        height: auto !important;
    }

    /* Add labels before each cell */
    .woocommerce-cart table.shop_table td.product-name::before {
        content: "Товар: ";
        font-weight: 600;
        color: var(--bt-green-dark);
    }

    .woocommerce-cart table.shop_table td.product-price::before {
        content: "Цена: ";
        font-weight: 600;
        color: var(--bt-green-dark);
    }

    .woocommerce-cart table.shop_table td.product-quantity::before {
        content: "Количество: ";
        font-weight: 600;
        color: var(--bt-green-dark);
        display: block;
        margin-bottom: 5px;
    }

    .woocommerce-cart table.shop_table td.product-subtotal::before {
        content: "Итого: ";
        font-weight: 600;
        color: var(--bt-green-dark);
    }

    .woocommerce-cart table.shop_table td.product-subtotal {
        font-weight: 700;
        font-size: 18px;
        color: var(--bt-green);
        padding-top: 10px !important;
        border-top: 1px solid var(--bt-green-pale) !important;
        margin-top: 10px;
    }

    /* Remove button - position in corner */
    .woocommerce-cart table.shop_table td.product-remove {
        position: absolute;
        top: 10px;
        right: 10px;
        padding: 0 !important;
    }

    .woocommerce-cart table.shop_table td.product-remove a {
        color: #cc0000;
        font-size: 20px;
    }

    /* Actions row (update cart button) */
    .woocommerce-cart table.shop_table .actions {
        background: var(--bt-cream) !important;
        padding: 15px !important;
        border-radius: 15px;
    }

    .woocommerce-cart .coupon {
        flex-direction: column;
        width: 100%;
    }

    .woocommerce-cart .coupon input[type="text"],
    .woocommerce-cart .coupon .button {
        width: 100%;
    }

    .woocommerce-cart .woocommerce > h1,
    .woocommerce-checkout .woocommerce > h1 {
        font-size: 28px;
    }
}

/* =============================================================================
   CHECKOUT PAGE STYLING
============================================================================= */

/* Checkout form container */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout h3#order_review_heading {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--bt-green);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bt-gold);
}

/* Form fields styling */
.woocommerce-checkout .form-row {
    margin-bottom: 20px;
}

.woocommerce-checkout .form-row label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--bt-brown);
    margin-bottom: 8px;
    display: block;
}

.woocommerce-checkout .form-row .required {
    color: var(--bt-gold);
}

.woocommerce-checkout .form-row input[type="text"],
.woocommerce-checkout .form-row input[type="email"],
.woocommerce-checkout .form-row input[type="tel"],
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--bt-green-pale);
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    background: white;
    transition: all 0.3s ease;
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus {
    border-color: var(--bt-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(61, 122, 108, 0.1);
}

.woocommerce-checkout .form-row textarea {
    min-height: 100px;
    resize: vertical;
}

/* Phone field special styling */
.woocommerce-checkout #billing_phone_field {
    background: linear-gradient(135deg, var(--bt-cream) 0%, var(--bt-green-pale) 100%);
    padding: 20px;
    border-radius: 15px;
    margin-top: 15px;
}

.woocommerce-checkout #billing_phone_field label {
    font-size: 16px;
}

.woocommerce-checkout #billing_phone_field label::after {
    content: ' (обязательно для связи)';
    font-weight: 400;
    font-size: 13px;
    color: var(--bt-brown);
}

/* Order notes / comments */
.woocommerce-checkout #order_comments_field {
    margin-top: 20px;
}

.woocommerce-checkout #order_comments_field label {
    color: var(--bt-green);
}

/* Shipping note styling */
.bt-shipping-note {
    margin: 5px 0 0 25px;
    color: var(--bt-brown);
    font-style: italic;
}

.bt-shipping-note small {
    font-size: 12px;
}

/* Shipping methods styling */
.woocommerce-checkout .woocommerce-shipping-methods {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-checkout .woocommerce-shipping-methods li {
    padding: 12px 15px;
    background: var(--bt-cream);
    border-radius: 10px;
    margin-bottom: 10px;
}

.woocommerce-checkout .woocommerce-shipping-methods li label {
    font-weight: 600;
    color: var(--bt-green);
    cursor: pointer;
}

/* Payment methods styling */
.woocommerce-checkout #payment {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.woocommerce-checkout #payment .payment_methods {
    border: none;
    padding: 0;
    margin-bottom: 20px;
    list-style: none;
}

.woocommerce-checkout #payment .payment_methods li {
    background: var(--bt-cream);
    border-radius: 15px;
    margin-bottom: 12px;
    padding: 0;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.woocommerce-checkout #payment .payment_methods li:hover {
    border-color: var(--bt-green-pale);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(61, 122, 108, 0.15);
}

/* Selected payment method */
.woocommerce-checkout #payment .payment_methods li.wc_payment_method input[type="radio"]:checked + label {
    background: linear-gradient(135deg, var(--bt-green-pale) 0%, var(--bt-cream) 100%);
}

.woocommerce-checkout #payment .payment_methods li.wc_payment_method input[type="radio"]:checked ~ * {
    background: linear-gradient(135deg, var(--bt-green-pale) 0%, var(--bt-cream) 100%);
}

/* Hide default radio button */
.woocommerce-checkout #payment .payment_methods li input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
    z-index: 10;
    margin: 0;
}

/* Make label full width clickable */
.woocommerce-checkout #payment .payment_methods li label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--bt-green);
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 20px 25px;
    margin: 0;
    position: relative;
}

/* Custom radio indicator */
.woocommerce-checkout #payment .payment_methods li label::before {
    content: '';
    width: 24px;
    height: 24px;
    min-width: 24px;
    border: 2px solid var(--bt-green);
    border-radius: 50%;
    margin-right: 15px;
    transition: all 0.3s ease;
    background: white;
}

/* Checked state indicator */
.woocommerce-checkout #payment .payment_methods li input[type="radio"]:checked + label::before {
    background: var(--bt-green);
    box-shadow: inset 0 0 0 4px white;
}

/* Payment description box */
.woocommerce-checkout #payment .payment_methods li .payment_box {
    background: white;
    border-radius: 0 0 13px 13px;
    padding: 15px 25px;
    margin: 0;
    font-size: 14px;
    color: var(--bt-brown);
    border-top: 1px solid rgba(61, 122, 108, 0.1);
    line-height: 1.6;
}

/* Place order button */
.woocommerce-checkout #place_order {
    width: 100%;
    background: linear-gradient(135deg, var(--bt-green) 0%, var(--bt-green-dark) 100%);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    padding: 18px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.woocommerce-checkout #place_order:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(61, 122, 108, 0.4);
}

/* Order review table */
.woocommerce-checkout .shop_table {
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--bt-green-pale) !important;
}

.woocommerce-checkout .shop_table th,
.woocommerce-checkout .shop_table td {
    padding: 15px !important;
    border-color: var(--bt-green-pale) !important;
}

.woocommerce-checkout .shop_table thead th {
    background: var(--bt-green);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.woocommerce-checkout .shop_table tfoot th {
    background: var(--bt-cream);
    color: var(--bt-brown);
}

.woocommerce-checkout .shop_table .order-total th,
.woocommerce-checkout .shop_table .order-total td {
    background: var(--bt-green-pale);
    font-weight: 700;
    color: var(--bt-green);
    font-size: 18px;
}

/* Woo notices styling */
.woocommerce-checkout .woocommerce-NoticeGroup,
.woocommerce-cart .woocommerce-NoticeGroup {
    margin-bottom: 20px;
    width: 100%;
}

/* Mobile checkout adjustments */
@media (max-width: 768px) {
    .woocommerce-checkout .woocommerce-billing-fields h3,
    .woocommerce-checkout h3#order_review_heading {
        font-size: 20px;
    }

    .woocommerce-checkout .form-row input[type="text"],
    .woocommerce-checkout .form-row input[type="email"],
    .woocommerce-checkout .form-row input[type="tel"],
    .woocommerce-checkout .form-row textarea {
        padding: 12px 15px;
        font-size: 14px;
    }

    .woocommerce-checkout #payment {
        padding: 15px;
    }

    .woocommerce-checkout #place_order {
        font-size: 16px;
        padding: 15px 25px;
    }

    .woocommerce-checkout #billing_phone_field {
        padding: 15px;
    }

    .woocommerce-checkout #order_review {
        padding: 20px 15px;
    }
}

/* =============================================================================
   CART QUANTITY BUTTONS
============================================================================= */

/* Quantity wrapper with +/- buttons */
.bt-cart-quantity-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--bt-cream);
    border-radius: 30px;
    padding: 5px;
    width: fit-content;
    margin: 0 auto;
}

.bt-qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: var(--bt-green);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 14px;
}

.bt-qty-btn:hover {
    background: var(--bt-green-dark);
    transform: scale(1.1);
}

.bt-qty-btn:active {
    transform: scale(0.95);
}

.bt-qty-btn i {
    line-height: 1;
}

.bt-qty-input {
    width: 50px;
    text-align: center;
    border: none;
    background: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--bt-green);
    border-radius: 8px;
    padding: 8px 5px;
    -moz-appearance: textfield;
}

.bt-qty-input::-webkit-outer-spin-button,
.bt-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Display for custom tea bomb products (non-editable quantity) */
.bt-cart-qty-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.bt-qty-value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--bt-green);
    background: var(--bt-cream);
    padding: 10px 20px;
    border-radius: 20px;
}

.bt-remove-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffebeb;
    color: #cc0000;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.bt-remove-item:hover {
    background: #cc0000;
    color: white;
    transform: scale(1.1);
}

/* Hide default WooCommerce quantity input */
.woocommerce-cart .quantity input.qty {
    display: none;
}

/* Cart item data (tea details) styling */
.woocommerce-cart .variation {
    font-size: 13px;
    color: var(--bt-brown);
}

.woocommerce-cart .variation dt {
    font-weight: 600;
    color: var(--bt-green);
    display: inline;
}

.woocommerce-cart .variation dd {
    display: inline;
    margin: 0 0 5px 5px;
}

.woocommerce-cart .variation dd p {
    margin: 0;
}

/* Mobile cart adjustments */
@media (max-width: 768px) {
    .bt-cart-quantity-wrapper {
        gap: 3px;
        padding: 3px;
    }

    .bt-qty-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .bt-qty-input {
        width: 40px;
        font-size: 14px;
        padding: 6px 3px;
    }

    .bt-qty-value {
        font-size: 14px;
        padding: 8px 15px;
    }

    .bt-remove-item {
        width: 35px;
        height: 35px;
    }

    .bt-cart-qty-display {
        gap: 10px;
    }
}
