/* ========================================
   WooCommerce & Gutenberg Custom Styles for Dog Bakery v3
   ======================================== */

/* Hide breadcrumb on mobile devices */
@media (max-width: 767px) {
  .bg-gray-50.border-b.border-gray-200 {
    display: none !important;
  }
}

/* Debug marker - if you see this comment in dev tools, CSS is loading */
/* COMPOSITE FORM FIX APPLIED: Version 2024-08-11-16:04 */
body.woocommerce {
    --dog-bakery-woo-loaded: true;
    --composite-fix-applied: true;
}

hr.wp-block-separator.has-alpha-channel-opacity {display: none !important;}

/* Reset footer lists to completely normal HTML list styling */
footer.site-footer ul {
    list-style: disc !important;
    margin: 1em 0 !important;
    padding-left: 2em !important;
}

footer.site-footer ul li {
    list-style: disc !important;
    list-style-position: outside !important;
    margin: 0 !important;
    padding: 0 !important;
    display: list-item !important;
    /* Override the general wp-block-list styling */
    border-left: none !important;
    background: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    /* Make bullet points white */
    color: white !important;
}

/* Reset footer links to white without underlines */
footer.site-footer ul li a {
    color: white !important;
    text-decoration: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    display: inline !important;
    opacity: 1 !important;
    transition: none !important;
}

footer.site-footer ul li a:hover {
    color: white !important;
    text-decoration: none !important;
}

/* Ensure Express Payment container maintains normal block flow */
.wc-block-components-express-payment,
.wc-block-components-express-payment__content {
    display: block !important;
}

/* Reset WooCommerce Express Payment buttons list styling - COMPLETE RESET */
/* Use maximum specificity to override theme's list styling */
.wc-block-components-express-payment__event-buttons,
ul.wc-block-components-express-payment__event-buttons,
.prose .wc-block-components-express-payment__event-buttons,
.entry-content .wc-block-components-express-payment__event-buttons,
.wp-block-post-content .wc-block-components-express-payment__event-buttons {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    border: none !important;
    background: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.wc-block-components-express-payment__event-buttons li,
ul.wc-block-components-express-payment__event-buttons li,
.prose .wc-block-components-express-payment__event-buttons li,
.entry-content .wc-block-components-express-payment__event-buttons li,
.wp-block-post-content .wc-block-components-express-payment__event-buttons li,
.prose ul.wc-block-components-express-payment__event-buttons li,
.entry-content ul.wc-block-components-express-payment__event-buttons li,
.wp-block-post-content ul.wc-block-components-express-payment__event-buttons li {
    list-style: none !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    border: none !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: none !important;
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    position: static !important;
    transform: none !important;
    transition: none !important;
    line-height: normal !important;
    color: inherit !important;
    font-size: inherit !important;
}

.wc-block-components-express-payment__event-buttons li:hover,
ul.wc-block-components-express-payment__event-buttons li:hover,
.prose .wc-block-components-express-payment__event-buttons li:hover,
.entry-content .wc-block-components-express-payment__event-buttons li:hover,
.wp-block-post-content .wc-block-components-express-payment__event-buttons li:hover {
    border: none !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: none !important;
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    transform: none !important;
    box-shadow: none !important;
    border-left-color: transparent !important;
}

/* Express Payment heading spacing - reset to zero for proper positioning */
.wc-block-components-express-payment__title-container {
    margin-bottom: 1rem !important;
}

/* Target the exact h2 element with both classes - reset margin */
h2.wc-block-components-title.wc-block-components-express-payment__title {
    margin-top: 0px !important;
}

/* Mobile: Add top margin to first payment button */
@media (max-width: 768px) {
    .wc-block-components-express-payment__event-buttons li:first-child,
    ul.wc-block-components-express-payment__event-buttons li:first-child {
        margin-top: 1rem !important;
    }
}

/* Fix alignment of order summary title and price */
.wc-block-components-checkout-order-summary__title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.wc-block-components-checkout-order-summary__title-text,
.wc-block-components-checkout-order-summary__title-price {
    display: flex !important;
    align-items: center !important;
}

/* Fix shipping options text overflow */
.wc-block-components-radio-control__option-layout {
    display: flex !important;
    align-items: flex-start !important;
    width: 100% !important;
    min-width: 0 !important;
}

.wc-block-components-radio-control__label-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}

.wc-block-components-radio-control__label,
.wc-block-components-radio-control__secondary-label {
    display: block !important;
    width: 100% !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}

/* ============================================
   CART PAGE FIXES - Make table use full width and visible
   ============================================ */

/* Fix cart page overflow - prevent content from going outside viewport */
.wp-block-woocommerce-cart,
.wc-block-cart {
    max-width: 100vw !important;
    overflow-x: hidden !important;
}

.wp-block-woocommerce-cart-line-items-block,
.wc-block-cart-items-wrapper {
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

/* Cart items table - restructure to avoid table layout issues */
.wc-block-cart-items,
table.wc-block-cart-items,
.wc-block-cart-items tbody,
.wc-block-cart-items thead {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
}

/* Hide header elements */
.wc-block-cart-items__header-image,
.wc-block-cart-items__header-product,
.wc-block-cart-items__header-total {
    display: none !important;
}

/* Cart item rows - display as flex for better layout */
.wc-block-cart-items__row {
    display: flex !important;
    flex-wrap: wrap !important;
    padding: 1rem !important;
    margin-bottom: 1rem !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 0.5rem !important;
    background: #ffffff !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
}

/* Image column - small fixed width */
.wc-block-cart-item__image {
    display: flex !important;
    width: 100px !important;
    min-width: 100px !important;
    flex-shrink: 0 !important;
}

/* Product details - take remaining space */
.wc-block-cart-item__product {
    display: flex !important;
    flex: 1 !important;
    min-width: 0 !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

/* Total price - move to bottom, full width */
.wc-block-cart-item__total {
    display: flex !important;
    width: 100% !important;
    padding-left: 116px !important;
    padding-top: 0.5rem !important;
    justify-content: flex-end !important;
    align-items: center !important;
}

/* Add label before total price */
.wc-block-cart-item__total::before {
    content: none !important;
    display: none !important;
}

/* Make prices visible - show line totals correctly */
.wc-block-cart-item__total-price-and-sale-badge-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.5rem !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    background: transparent !important;
    padding: 0 !important;
}

.wc-block-cart-item__total .price,
.wc-block-cart-item__total .wc-block-components-product-price {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    visibility: visible !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    width: auto !important;
    text-align: right !important;
    line-height: 1.2 !important;
}

/* Ensure all price elements in total column are visible */
.wc-block-cart-item__total * {
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 0.8125rem !important;
}

.wc-block-cart-item__total .wc-block-formatted-money-amount,
.wc-block-cart-item__total .wc-block-components-formatted-money-amount {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
}

.wc-block-cart-item__total .wc-block-components-product-price__value {
    font-size: 0.9375rem !important;
    font-weight: 700 !important;
}

/* Mobile responsive adjustments for cart layout */
@media (max-width: 768px) {
    .wc-block-cart-item__image {
        width: 80px !important;
        min-width: 80px !important;
    }
    
    .wc-block-cart-item__product {
        padding-left: 0.75rem !important;
        padding-right: 0 !important;
    }
    
    .wc-block-cart-item__total {
        padding-left: 0 !important;
        margin-top: 0.25rem !important;
    }
    
    .wc-block-cart-item__total .price,
    .wc-block-cart-item__total .wc-block-components-product-price {
        font-size: 0.8125rem !important;
    }
    
    .wc-block-cart-item__total * {
        font-size: 0.75rem !important;
    }
}

/* Cart item product details - better spacing */
.wc-block-cart-item__wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
}

/* Mobile: Stack table properly */
@media (max-width: 768px) {
    .wc-block-cart-items__header-total,
    .wc-block-cart-item__total {
        width: auto !important;
        min-width: 100px !important;
    }
}

/* Remove pink underline from Express Payment h2 heading ONLY */
.wc-block-components-express-payment__title::after,
.wc-block-components-express-payment h2::after,
h2.wc-block-components-title::after,
h2.wc-block-components-express-payment__title::after {
    display: none !important;
    content: none !important;
}

.prose p.has-text-align-center {
    text-align: center !important;
}

/* ======================
   SOFTER HEADING APPROACH: Elegant Font Weights
   ====================== */

/* Global softer weight override for all headings */
h1, h2, h3, h4, h5, h6,
.wp-block-heading,
.entry-title,
.page-title,
.post-title {
    font-weight: 400 !important;
}

/* Slightly more emphasis for main titles only */
h1, .wp-block-heading h1, .entry-title {
    font-weight: 500 !important;
}

.woocommerce-product-gallery__trigger {
    display: none !important;
}

/* ======================
   CRITICAL: Override ALL WooCommerce Headings with Oleo Script Font
   ====================== */

/* Force Oleo Script on all WooCommerce headings with maximum specificity */
.woocommerce h1,
.woocommerce h2,
.woocommerce h3,
.woocommerce h4,
.woocommerce h5,
.woocommerce h6,
body.woocommerce h1,
body.woocommerce h2,
body.woocommerce h3,
body.woocommerce h4,
body.woocommerce h5,
body.woocommerce h6,
.woocommerce-page h1,
.woocommerce-page h2,
.woocommerce-page h3,
.woocommerce-page h4,
.woocommerce-page h5,
.woocommerce-page h6,
body.woocommerce-page h1,
body.woocommerce-page h2,
body.woocommerce-page h3,
body.woocommerce-page h4,
body.woocommerce-page h5,
body.woocommerce-page h6 {
    font-family: Oleo Script, cursive !important;
}

/* ======================
   WooCommerce Single Product Page
   ====================== */

/* Custom HTML Description Field Styling */
.woocommerce div.product .custom-html-description {
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-top: 1.5rem !important;
    box-shadow: none !important;
    transition: none !important;
}

.woocommerce div.product .custom-html-description:hover {
    /* No hover effects needed for clean layout */
}

.woocommerce div.product .custom-html-description .prose {
    color: #374151 !important;
    line-height: 1.7 !important;
}

.woocommerce div.product .custom-html-description .prose h1,
.woocommerce div.product .custom-html-description .prose h2,
.woocommerce div.product .custom-html-description .prose h3,
.woocommerce div.product .custom-html-description .prose h4,
.woocommerce div.product .custom-html-description .prose h5,
.woocommerce div.product .custom-html-description .prose h6 {
    font-family: "Oleo Script", cursive !important;
    color: #1f2937 !important;
    margin-top: 1rem !important;
    margin-bottom: 0.75rem !important;
}

.woocommerce div.product .custom-html-description .prose p {
    margin-bottom: 1rem !important;
    font-family: "Inter", ui-sans-serif, system-ui, sans-serif !important;
}

.woocommerce div.product .custom-html-description .prose ul,
.woocommerce div.product .custom-html-description .prose ol,
.custom-html-description .prose ul,
.custom-html-description .prose ol,
div.custom-html-description .prose ul,
div.custom-html-description .prose ol {
    margin: 0 0 1.5rem 0 !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    list-style: none !important;
    list-style-position: outside !important;
}

.woocommerce div.product .custom-html-description .prose li,
.custom-html-description .prose li,
div.custom-html-description .prose li {
    margin-bottom: 0.75rem !important;
    margin-left: 0 !important;
    padding-left: 0.5rem !important;
    font-family: "Inter", ui-sans-serif, system-ui, sans-serif !important;
}

.woocommerce div.product .custom-html-description .prose li:last-child,
.custom-html-description .prose li:last-child,
div.custom-html-description .prose li:last-child {
    margin-bottom: 0 !important;
}

.woocommerce div.product .custom-html-description .prose a {
    color: #9333ea !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
    transition: color 0.2s ease !important;
}

.woocommerce div.product .custom-html-description .prose a:hover {
    color: #7c3aed !important;
}

.woocommerce div.product .custom-html-description .prose img {
    border-radius: 12px !important;
    margin: 1rem 0 !important;
    max-width: 100% !important;
    height: auto !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

.woocommerce div.product .custom-html-description .prose blockquote {
    border-left: 4px solid #9333ea !important;
    background: rgba(147, 51, 234, 0.05) !important;
    padding: 1rem 1.5rem !important;
    margin: 1rem 0 !important;
    border-radius: 0 8px 8px 0 !important;
    font-style: italic !important;
    color: #4b5563 !important;
}

.woocommerce div.product .custom-html-description .prose code {
    background: #f3f4f6 !important;
    color: #9333ea !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 4px !important;
    font-size: 0.875rem !important;
    font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace !important;
}

.woocommerce div.product .custom-html-description .prose table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 1rem 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.woocommerce div.product .custom-html-description .prose th,
.woocommerce div.product .custom-html-description .prose td {
    padding: 0.75rem !important;
    text-align: left !important;
    border-bottom: 1px solid #e5e7eb !important;
    font-family: "Inter", ui-sans-serif, system-ui, sans-serif !important;
}

.woocommerce div.product .custom-html-description .prose th {
    background: #f9fafb !important;
    font-weight: 600 !important;
    color: #374151 !important;
}

/* Responsive adjustments for custom HTML description */
@media (max-width: 768px) {
    .woocommerce div.product .custom-html-description {
        padding: 1rem !important;
        margin-top: 1rem !important;
    }
    
    .woocommerce div.product .custom-html-description .prose {
        font-size: 0.875rem !important;
    }
    
    /* Responsive gallery thumbnails for mobile */
    .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs,
    .woocommerce div.product .woocommerce-product-gallery ol.flex-control-nav,
    .woocommerce div.product .woocommerce-product-gallery ol.flex-control-thumbs {
        gap: 0.5rem !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }
    
    .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar,
    .woocommerce div.product .woocommerce-product-gallery ol.flex-control-nav::-webkit-scrollbar,
    .woocommerce div.product .woocommerce-product-gallery ol.flex-control-thumbs::-webkit-scrollbar {
        display: none !important;
    }
    
    .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li,
    .woocommerce div.product .woocommerce-product-gallery ol.flex-control-nav li,
    .woocommerce div.product .woocommerce-product-gallery ol.flex-control-thumbs li {
        flex: 0 0 70px !important;
        max-width: 70px !important;
    }
}

/* Product images styling */
.woocommerce div.product .woocommerce-product-gallery {
    margin: 0 !important;
    width: 100% !important;
}

.woocommerce div.product .woocommerce-product-gallery .flex-viewport {
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.woocommerce div.product .woocommerce-product-gallery img {
    border-radius: 20px !important;
    transition: transform 0.3s ease !important;
}

.woocommerce div.product .woocommerce-product-gallery:hover img {
    transform: scale(1.02) !important;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs,
.woocommerce div.product .woocommerce-product-gallery ol.flex-control-nav,
.woocommerce div.product .woocommerce-product-gallery ol.flex-control-thumbs {
    margin-top: 1rem !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0.75rem !important;
    justify-content: flex-start !important;
    align-items: center !important;
    list-style: none !important;
    padding: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: thin !important;
    -ms-overflow-style: none !important;
    max-width: 100% !important;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar,
.woocommerce div.product .woocommerce-product-gallery ol.flex-control-nav::-webkit-scrollbar,
.woocommerce div.product .woocommerce-product-gallery ol.flex-control-thumbs::-webkit-scrollbar {
    height: 4px !important;
    background-color: rgba(0, 0, 0, 0.1) !important;
    border-radius: 2px !important;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar-thumb,
.woocommerce div.product .woocommerce-product-gallery ol.flex-control-nav::-webkit-scrollbar-thumb,
.woocommerce div.product .woocommerce-product-gallery ol.flex-control-thumbs::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3) !important;
    border-radius: 2px !important;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li,
.woocommerce div.product .woocommerce-product-gallery ol.flex-control-nav li,
.woocommerce div.product .woocommerce-product-gallery ol.flex-control-thumbs li {
    margin: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 100px !important;
    list-style: none !important;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li:hover,
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li.flex-active-slide,
.woocommerce div.product .woocommerce-product-gallery ol.flex-control-nav li:hover,
.woocommerce div.product .woocommerce-product-gallery ol.flex-control-thumbs li:hover,
.woocommerce div.product .woocommerce-product-gallery ol.flex-control-nav li.flex-active-slide,
.woocommerce div.product .woocommerce-product-gallery ol.flex-control-thumbs li.flex-active-slide {
    transform: scale(1.05) !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li img {
    border-radius: 12px !important;
}

/* Force horizontal scrolling layout for gallery thumbnails - Override FlexSlider defaults */
.woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 0.75rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin-top: 1rem !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: thin !important;
    -ms-overflow-style: none !important;
    max-width: 100% !important;
}

.woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs li {
    display: inline-block !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 100px !important;
    margin: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.2s ease !important;
    list-style: none !important;
}

.woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs::-webkit-scrollbar {
    height: 4px !important;
    background-color: rgba(0, 0, 0, 0.1) !important;
    border-radius: 2px !important;
}

.woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3) !important;
    border-radius: 2px !important;
}

/* Sale badge styling */
.woocommerce span.onsale {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
    position: absolute !important;
    top: 1.5rem !important;
    left: 1.5rem !important;
    z-index: 20 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: 0 10px 15px -3px rgba(239, 68, 68, 0.3), 0 4px 6px -2px rgba(239, 68, 68, 0.2) !important;
    animation: pulse 2s infinite !important;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Product title styling */
.woocommerce div.product .product_title,
.woocommerce div.product h1.product_title,
.woocommerce div.product h1.entry-title,
.product_title.entry-title,
h1.product_title.entry-title {
    font-family: Oleo Script, cursive !important;
    font-size: 2.5rem !important;
    font-weight: 500 !important;
    color: #111827 !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.1 !important;
    background: linear-gradient(135deg, #111827 0%, #4b5563 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-align: left !important;
    margin-top: 0 !important;
    padding: 0 !important;
    border: none !important;
    position: relative !important;
}

.woocommerce div.product .product_title::after,
.woocommerce div.product h1.product_title::after,
.woocommerce div.product h1.entry-title::after,
.product_title.entry-title::after,
h1.product_title.entry-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: -8px !important;
    left: 0 !important;
    width: 60px !important;
    height: 4px !important;
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;
    border-radius: 2px !important;
}

/* Star rating styling */
.woocommerce div.product .woocommerce-product-rating {
    margin-bottom: 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.woocommerce div.product .star-rating {
    font-size: 1.125rem !important;
    color: #fbbf24 !important;
    margin: 0 !important;
}

.woocommerce div.product .star-rating::before {
    content: "★★★★★" !important;
    color: #e5e7eb !important;
}

.woocommerce div.product .star-rating span::before {
    content: "★★★★★" !important;
    color: #fbbf24 !important;
}

.woocommerce div.product .woocommerce-review-link {
    color: #6b7280 !important;
    text-decoration: none !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}

.woocommerce div.product .woocommerce-review-link:hover {
    color: #ec4899 !important;
}

/* Product price styling */
.woocommerce div.product .price {
    font-size: 2.25rem !important;
    font-weight: 500 !important;
    color: #ec4899 !important;
    margin-bottom: 1.5rem !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 0.75rem !important;
}

.woocommerce div.product .price del {
    color: #9ca3af !important;
    font-weight: 400 !important;
    font-size: 1.5rem !important;
    text-decoration: line-through !important;
}

.woocommerce div.product .price ins {
    text-decoration: none !important;
    color: #ec4899 !important;
    font-weight: 500 !important;
}

/* Short description styling */
.woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 1.125rem !important;
    line-height: 1.7 !important;
    color: #4b5563 !important;
    margin-bottom: 2rem !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
}

/* Short description list styling */
.woocommerce div.product .woocommerce-product-details__short-description ul {
    margin: 1rem 0 !important;
    padding-left: 2.5rem !important;
    list-style: disc !important;
    list-style-position: outside !important;
}

.woocommerce div.product .woocommerce-product-details__short-description ul li {
    margin-bottom: 0.75rem !important;
    font-family: "Inter", ui-sans-serif, system-ui, sans-serif !important;
    padding-left: 0.5rem !important;
}

.woocommerce div.product .woocommerce-product-details__short-description ul li:last-child {
    margin-bottom: 0 !important;
}

/* Add to cart form styling - CRITICAL: Force horizontal layout */
.woocommerce div.product form.cart,
body.woocommerce div.product form.cart,
body.single-product .woocommerce div.product form.cart,
html body.woocommerce div.product form.cart,
html body.woocommerce.single-product div.product form.cart {
    margin-bottom: 2rem !important;
    padding: 2rem !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 1rem !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
}

/* Quantity div styling - ONLY for simple product forms, NOT composite forms */
.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .quantity,
body.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .quantity,
body.single-product .woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .quantity,
html body.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .quantity,
html body.woocommerce.single-product div.product form.cart:not(.composite_form):not(.cart_group) .quantity,
form.cart:not(.composite_form):not(.cart_group) .quantity {
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    order: 1 !important;
    display: inline-block !important;
    float: none !important;
    width: auto !important;
    max-width: 120px !important;
    flex-basis: auto !important;
    vertical-align: middle !important;
}

/* Override conflicting quantity display styles */
html body.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .quantity,
html body.single-product .woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .quantity,
html body.woocommerce.single-product div.product form.cart:not(.composite_form):not(.cart_group) .quantity {
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Button styling - ONLY for simple product forms, NOT composite forms */
.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .single_add_to_cart_button,
.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) button.single_add_to_cart_button,
body.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .single_add_to_cart_button,
body.single-product .woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .single_add_to_cart_button,
form.cart:not(.composite_form):not(.cart_group) .single_add_to_cart_button,
form.cart:not(.composite_form):not(.cart_group) button.single_add_to_cart_button {
    order: 2 !important;
    margin: 0 !important;
    margin-left: 1rem !important;
    float: none !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
    flex-grow: 1 !important;
    min-width: 0 !important;
    vertical-align: middle !important;
}

/* CRITICAL: Quantity Input Styling with Maximum Specificity - EXCLUDE composite forms */
html body.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .quantity .qty,
html body.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .quantity input.qty,
html body.single-product .woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .quantity .qty,
html body.single-product .woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .quantity input.qty,
html body.woocommerce.single-product div.product form.cart:not(.composite_form):not(.cart_group) .quantity .qty,
html body.woocommerce.single-product div.product form.cart:not(.composite_form):not(.cart_group) .quantity input.qty {
    background: #f9fafb !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 1rem 1rem !important;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    color: #374151 !important;
    width: 90px !important;
    text-align: center !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
    height: 58px !important;
    box-sizing: border-box !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: textfield !important;
    align-self: flex-start !important;
}

html body.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .quantity .qty:focus,
html body.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .quantity input.qty:focus,
html body.single-product .woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .quantity .qty:focus,
html body.single-product .woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .quantity input.qty:focus,
html body.woocommerce.single-product div.product form.cart:not(.composite_form):not(.cart_group) .quantity .qty:focus,
html body.woocommerce.single-product div.product form.cart:not(.composite_form):not(.cart_group) .quantity input.qty:focus {
    outline: none !important;
    border-color: #ec4899 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1) !important;
}

/* ======================
   CRITICAL WooCommerce Form Styling - Override ALL Defaults
   ====================== */

/* Force all add to cart buttons to use our styling - EXCLUDE composite forms */
.single_add_to_cart_button,
button.single_add_to_cart_button,
.button.single_add_to_cart_button,
form.cart:not(.composite_form):not(.cart_group) .single_add_to_cart_button,
form.cart:not(.composite_form):not(.cart_group) button.single_add_to_cart_button,
.woocommerce form.cart:not(.composite_form):not(.cart_group) .single_add_to_cart_button,
.woocommerce form.cart:not(.composite_form):not(.cart_group) button.single_add_to_cart_button,
.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .single_add_to_cart_button,
.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) button.single_add_to_cart_button {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 1rem 2.5rem !important;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
    font-size: 1.125rem !important;
    font-weight: 400 !important;
    min-width: 250px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    box-shadow: 0 10px 15px -3px rgba(147, 51, 234, 0.3), 0 4px 6px -2px rgba(147, 51, 234, 0.2) !important;
    text-decoration: none !important;
    display: inline-block !important;
    text-align: center !important;
    line-height: 1 !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
}

.single_add_to_cart_button:hover,
button.single_add_to_cart_button:hover,
.button.single_add_to_cart_button:hover,
form.cart:not(.composite_form):not(.cart_group) .single_add_to_cart_button:hover,
form.cart:not(.composite_form):not(.cart_group) button.single_add_to_cart_button:hover,
.woocommerce form.cart:not(.composite_form):not(.cart_group) .single_add_to_cart_button:hover,
.woocommerce form.cart:not(.composite_form):not(.cart_group) button.single_add_to_cart_button:hover,
.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .single_add_to_cart_button:hover,
.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) button.single_add_to_cart_button:hover {
    background: linear-gradient(135deg, #db2777 0%, #be185d 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 20px 25px -5px rgba(147, 51, 234, 0.4), 0 10px 10px -5px rgba(147, 51, 234, 0.3) !important;
    color: #ffffff !important;
}

/* Force quantity input styling */
.qty,
input.qty,
.quantity .qty,
.quantity input.qty,
form.cart:not(.composite_form):not(.cart_group) .qty,
form.cart:not(.composite_form):not(.cart_group) input.qty,
.woocommerce form.cart:not(.composite_form):not(.cart_group) .qty,
.woocommerce form.cart:not(.composite_form):not(.cart_group) input.qty,
.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .qty,
.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) input.qty {
    background: #f9fafb !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 0.75rem 1rem !important;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #374151 !important;
    width: 80px !important;
    text-align: center !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
    height: auto !important;
    box-sizing: border-box !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: textfield !important;
}

.qty:focus,
input.qty:focus,
.quantity .qty:focus,
.quantity input.qty:focus,
form.cart:not(.composite_form):not(.cart_group) .qty:focus,
form.cart:not(.composite_form):not(.cart_group) input.qty:focus,
.woocommerce form.cart:not(.composite_form):not(.cart_group) .qty:focus,
.woocommerce form.cart:not(.composite_form):not(.cart_group) input.qty:focus,
.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .qty:focus,
.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) input.qty:focus {
    outline: none !important;
    border-color: #ec4899 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1) !important;
}

/* CRITICAL: Enhanced Add to Cart Button Styling with Maximum Specificity - EXCLUDE composite forms */
html body.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .button,
html body.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .single_add_to_cart_button,
html body.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) button.button,
html body.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) button.single_add_to_cart_button,
html body.single-product .woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .button,
html body.single-product .woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .single_add_to_cart_button,
html body.single-product .woocommerce div.product form.cart:not(.composite_form):not(.cart_group) button.button,
html body.single-product .woocommerce div.product form.cart:not(.composite_form):not(.cart_group) button.single_add_to_cart_button,
html body.woocommerce.single-product div.product form.cart:not(.composite_form):not(.cart_group) .button,
html body.woocommerce.single-product div.product form.cart:not(.composite_form):not(.cart_group) .single_add_to_cart_button,
html body.woocommerce.single-product div.product form.cart:not(.composite_form):not(.cart_group) button.button,
html body.woocommerce.single-product div.product form.cart:not(.composite_form):not(.cart_group) button.single_add_to_cart_button {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 1rem 2.5rem !important;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
    font-size: 1.125rem !important;
    font-weight: 400 !important;
    min-width: 250px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    box-shadow: 0 10px 15px -3px rgba(147, 51, 234, 0.3), 0 4px 6px -2px rgba(147, 51, 234, 0.2) !important;
    text-decoration: none !important;
    display: inline-block !important;
    text-align: center !important;
    line-height: 1 !important;
    margin: 0 !important;
    margin-top: 0.5rem !important;
    width: auto !important;
    height: auto !important;
    flex-shrink: 0 !important;
}

html body.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .button:hover,
html body.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .single_add_to_cart_button:hover,
html body.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) button.button:hover,
html body.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) button.single_add_to_cart_button:hover,
html body.single-product .woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .button:hover,
html body.single-product .woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .single_add_to_cart_button:hover,
html body.single-product .woocommerce div.product form.cart:not(.composite_form):not(.cart_group) button.button:hover,
html body.single-product .woocommerce div.product form.cart:not(.composite_form):not(.cart_group) button.single_add_to_cart_button:hover,
html body.woocommerce.single-product div.product form.cart:not(.composite_form):not(.cart_group) .button:hover,
html body.woocommerce.single-product div.product form.cart:not(.composite_form):not(.cart_group) .single_add_to_cart_button:hover,
html body.woocommerce.single-product div.product form.cart:not(.composite_form):not(.cart_group) button.button:hover,
html body.woocommerce.single-product div.product form.cart:not(.composite_form):not(.cart_group) button.single_add_to_cart_button:hover {
    background: linear-gradient(135deg, #db2777 0%, #be185d 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 20px 25px -5px rgba(147, 51, 234, 0.4), 0 10px 10px -5px rgba(147, 51, 234, 0.3) !important;
    color: #ffffff !important;
}

html body.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .button:active,
html body.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .single_add_to_cart_button:active,
html body.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) button.button:active,
html body.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) button.single_add_to_cart_button:active,
html body.single-product .woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .button:active,
html body.single-product .woocommerce div.product form.cart:not(.composite_form):not(.cart_group) .single_add_to_cart_button:active,
html body.single-product .woocommerce div.product form.cart:not(.composite_form):not(.cart_group) button.button:active,
html body.single-product .woocommerce div.product form.cart:not(.composite_form):not(.cart_group) button.single_add_to_cart_button:active,
html body.woocommerce.single-product div.product form.cart:not(.composite_form):not(.cart_group) .button:active,
html body.woocommerce.single-product div.product form.cart:not(.composite_form):not(.cart_group) .single_add_to_cart_button:active,
html body.woocommerce.single-product div.product form.cart:not(.composite_form):not(.cart_group) button.button:active,
html body.woocommerce.single-product div.product form.cart:not(.composite_form):not(.cart_group) button.single_add_to_cart_button:active {
    transform: translateY(0) !important;
}

/* Product meta styling */
.woocommerce div.product .product_meta {
    border-top: 1px solid #e5e7eb !important;
    padding-top: 2rem !important;
    margin-top: 2rem !important;
    background: #f9fafb !important;
    padding: 2rem !important;
    border-radius: 16px !important;
    border: 1px solid #e5e7eb !important;
}

.woocommerce div.product .product_meta span {
    display: block !important;
    margin-bottom: 0.75rem !important;
    color: #4b5563 !important;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
}

.woocommerce div.product .product_meta a {
    color: #ec4899 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 0.2s ease !important;
}

.woocommerce div.product .product_meta a:hover {
    color: #db2777 !important;
}

/* ======================
   ENHANCED Product Tabs Styling - Match Modern Product Page Design
   ====================== */

/* Main tabs container with modern glass-morphism effect */
.woocommerce div.product .woocommerce-tabs,
.woocommerce-tabs.wc-tabs-wrapper,
.wc-tabs-wrapper {
    background: #ffffff !important;
    border-radius: 24px !important;
    padding: 3rem 2rem !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid #e5e7eb !important;
    backdrop-filter: blur(10px) !important;
    margin-top: 0 !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Subtle gradient overlay */
.woocommerce div.product .woocommerce-tabs::before,
.woocommerce-tabs.wc-tabs-wrapper::before,
.wc-tabs-wrapper::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.02) 0%, rgba(147, 51, 234, 0.01) 100%) !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

/* Tab navigation with modern pill design */
.woocommerce div.product .woocommerce-tabs ul.tabs,
.woocommerce-tabs ul.tabs,
.tabs.wc-tabs,
ul.tabs[role="tablist"] {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border-radius: 16px !important;
    padding: 1rem 1rem 1.5rem 1rem !important;
    margin-bottom: 2.5rem !important;
    border: 1px solid #e2e8f0 !important;
    display: flex !important;
    gap: 0.75rem !important;
    position: relative !important;
    z-index: 1 !important;
    box-shadow: inset 0 2px 4px rgba(148, 163, 184, 0.1) !important;
    list-style: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    padding-left: 0 !important;
}

/* Individual tab styling */
.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce-tabs ul.tabs li,
.tabs.wc-tabs li,
ul.tabs[role="tablist"] li {
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    flex: 1 !important;
    list-style: none !important;
}

/* Tab links with enhanced styling */
.woocommerce div.product .woocommerce-tabs ul.tabs li a,
.woocommerce-tabs ul.tabs li a,
.tabs.wc-tabs li a,
ul.tabs[role="tablist"] li a {
    background: transparent !important;
    color: #64748b !important;
    padding: 1rem 1.5rem !important;
    border-radius: 12px !important;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    transition: all 0.3s ease !important;
    border: none !important;
    display: block !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Tab hover effects */
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover,
.woocommerce-tabs ul.tabs li a:hover,
.tabs.wc-tabs li a:hover,
ul.tabs[role="tablist"] li a:hover {
    background: rgba(147, 51, 234, 0.1) !important;
    color: #ec4899 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 6px -1px rgba(147, 51, 234, 0.1), 0 2px 4px -1px rgba(147, 51, 234, 0.06) !important;
}

/* Active tab styling with modern gradient */
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li.active a,
.tabs.wc-tabs li.active a,
ul.tabs[role="tablist"] li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a[aria-selected="true"],
.woocommerce-tabs ul.tabs li a[aria-selected="true"],
.tabs.wc-tabs li a[aria-selected="true"],
ul.tabs[role="tablist"] li a[aria-selected="true"] {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 15px -3px rgba(147, 51, 234, 0.3), 0 4px 6px -2px rgba(147, 51, 234, 0.2) !important;
    transform: translateY(-2px) scale(0.98) !important;
    font-weight: 400 !important;
    margin: 0 2px !important;
    border-radius: 14px !important;
}

/* Active tab shimmer effect */
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a::before,
.woocommerce-tabs ul.tabs li.active a::before,
.tabs.wc-tabs li.active a::before,
ul.tabs[role="tablist"] li.active a::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li a[aria-selected="true"]::before,
.woocommerce-tabs ul.tabs li a[aria-selected="true"]::before,
.tabs.wc-tabs li a[aria-selected="true"]::before,
ul.tabs[role="tablist"] li a[aria-selected="true"]::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
    transition: left 0.5s !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a:hover::before,
.woocommerce-tabs ul.tabs li.active a:hover::before,
.tabs.wc-tabs li.active a:hover::before,
ul.tabs[role="tablist"] li.active a:hover::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li a[aria-selected="true"]:hover::before,
.woocommerce-tabs ul.tabs li a[aria-selected="true"]:hover::before,
.tabs.wc-tabs li a[aria-selected="true"]:hover::before,
ul.tabs[role="tablist"] li a[aria-selected="true"]:hover::before {
    left: 100% !important;
}

/* Tab panels with enhanced styling */
.woocommerce div.product .woocommerce-tabs .panel,
.woocommerce-tabs .panel,
.woocommerce-Tabs-panel,
.panel.entry-content.wc-tab {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%) !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 2.5rem !important;
    font-size: 1.125rem !important;
    line-height: 1.7 !important;
    color: #374151 !important;
    position: relative !important;
    z-index: 1 !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid #f1f5f9 !important;
    min-height: 200px !important;
    animation: fadeInUp 0.3s ease-out !important;
}

/* Panel headings */
.woocommerce div.product .woocommerce-tabs .panel h2,
.woocommerce-tabs .panel h2,
.woocommerce-Tabs-panel h2,
.panel.entry-content.wc-tab h2 {
    font-family: Oleo Script, cursive !important;
    font-size: 1.875rem !important;
    font-weight: 500 !important;
    color: #111827 !important;
    margin-bottom: 1.5rem !important;
    position: relative !important;
    background: linear-gradient(135deg, #111827 0%, #4b5563 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Decorative line under headings */
.woocommerce div.product .woocommerce-tabs .panel h2::after,
.woocommerce-tabs .panel h2::after,
.woocommerce-Tabs-panel h2::after,
.panel.entry-content.wc-tab h2::after {
    content: '' !important;
    position: absolute !important;
    bottom: -8px !important;
    left: 0 !important;
    width: 60px !important;
    height: 4px !important;
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;
    border-radius: 2px !important;
}

/* Panel paragraphs */
.woocommerce div.product .woocommerce-tabs .panel p,
.woocommerce-tabs .panel p,
.woocommerce-Tabs-panel p,
.panel.entry-content.wc-tab p {
    margin-bottom: 1.5rem !important;
    line-height: 1.7 !important;
    color: #4b5563 !important;
    font-size: 1.125rem !important;
}

/* Reviews section styling */
.woocommerce div.product .woocommerce-tabs #reviews,
.woocommerce-tabs #reviews,
#reviews.woocommerce-Reviews {
    position: relative !important;
}

.woocommerce div.product .woocommerce-tabs #reviews .woocommerce-Reviews-title,
.woocommerce-tabs #reviews .woocommerce-Reviews-title,
#reviews .woocommerce-Reviews-title {
    font-family: Oleo Script, cursive !important;
    font-size: 1.875rem !important;
    font-weight: 500 !important;
    color: #111827 !important;
    margin-bottom: 1.5rem !important;
    text-align: center !important;
    position: relative !important;
}

.woocommerce div.product .woocommerce-tabs #reviews .woocommerce-noreviews,
.woocommerce-tabs #reviews .woocommerce-noreviews,
#reviews .woocommerce-noreviews {
    text-align: center !important;
    padding: 3rem 2rem !important;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border-radius: 16px !important;
    border: 2px dashed #e2e8f0 !important;
    color: #64748b !important;
    font-size: 1.125rem !important;
    font-weight: 500 !important;
    margin: 2rem 0 !important;
}

/* Review form styling */
.woocommerce div.product .woocommerce-tabs #review_form_wrapper,
.woocommerce-tabs #review_form_wrapper,
#review_form_wrapper {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border-radius: 20px !important;
    padding: 2.5rem !important;
    margin-top: 2rem !important;
    border: 1px solid #e2e8f0 !important;
}

.woocommerce div.product .woocommerce-tabs #review_form .comment-reply-title,
.woocommerce-tabs #review_form .comment-reply-title,
#review_form .comment-reply-title {
    font-family: Oleo Script, cursive !important;
    font-size: 1.5rem !important;
    font-weight: 400 !important;
    color: #111827 !important;
    margin-bottom: 1.5rem !important;
}

/* Enhanced Star Rating Form */
.woocommerce div.product .woocommerce-tabs .comment-form-rating,
.woocommerce-tabs .comment-form-rating,
.comment-form-rating {
    margin-bottom: 2rem !important;
    padding: 2rem !important;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%) !important;
    border-radius: 16px !important;
    border: 2px solid #e5e7eb !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

/* Rating label styling */
.woocommerce div.product .woocommerce-tabs .comment-form-rating label,
.woocommerce-tabs .comment-form-rating label,
.comment-form-rating label,
#comment-form-rating-label {
    font-family: Oleo Script, cursive !important;
    font-size: 1.125rem !important;
    font-weight: 400 !important;
    color: #374151 !important;
    margin-bottom: 1rem !important;
    display: block !important;
}

/* Stars container */
.woocommerce div.product .woocommerce-tabs .stars,
.woocommerce-tabs .stars,
.stars,
.comment-form-rating .stars {
    display: flex !important;
    gap: 0.5rem !important;
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
    align-items: center !important;
    padding: 1rem !important;
    background: #f8fafc !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
}

/* Individual star links */
.woocommerce div.product .woocommerce-tabs .stars a,
.woocommerce-tabs .stars a,
.stars a,
.comment-form-rating .stars a {
    color: #d1d5db !important;
    font-size: 2rem !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    padding: 0.5rem !important;
    border-radius: 8px !important;
    position: relative !important;
    overflow: hidden !important;
    background: transparent !important;
    border: 2px solid transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 48px !important;
    min-height: 48px !important;
}

/* Star hover effects */
.woocommerce div.product .woocommerce-tabs .stars a:hover,
.woocommerce-tabs .stars a:hover,
.stars a:hover,
.comment-form-rating .stars a:hover {
    color: #fbbf24 !important;
    background: rgba(251, 191, 36, 0.1) !important;
    border-color: rgba(251, 191, 36, 0.3) !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 6px -1px rgba(251, 191, 36, 0.3), 0 2px 4px -1px rgba(251, 191, 36, 0.2) !important;
}

/* Active/selected star styling */
.woocommerce div.product .woocommerce-tabs .stars a:focus,
.woocommerce-tabs .stars a:focus,
.stars a:focus,
.comment-form-rating .stars a:focus,
.woocommerce div.product .woocommerce-tabs .stars a[aria-checked="true"],
.woocommerce-tabs .stars a[aria-checked="true"],
.stars a[aria-checked="true"],
.comment-form-rating .stars a[aria-checked="true"] {
    color: #fbbf24 !important;
    background: rgba(251, 191, 36, 0.2) !important;
    border-color: #fbbf24 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.3) !important;
}

/* Enhanced Form Labels */
.woocommerce div.product .woocommerce-tabs .comment-form-comment label,
.woocommerce-tabs .comment-form-comment label,
.comment-form-comment label,
.comment-form label {
    font-family: Oleo Script, cursive !important;
    font-size: 1.125rem !important;
    font-weight: 400 !important;
    color: #374151 !important;
    margin-bottom: 0.75rem !important;
    display: block !important;
    position: relative !important;
}

/* Required field asterisk styling */
.woocommerce div.product .woocommerce-tabs .required,
.woocommerce-tabs .required,
.required {
    color: #ef4444 !important;
    margin-left: 0.25rem !important;
    font-weight: 400 !important;
}

/* Enhanced Form Fields */
.woocommerce div.product .woocommerce-tabs .comment-form-comment,
.woocommerce-tabs .comment-form-comment,
.comment-form-comment {
    margin-bottom: 2rem !important;
    padding: 2rem !important;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%) !important;
    border-radius: 16px !important;
    border: 2px solid #e5e7eb !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.woocommerce div.product .woocommerce-tabs .comment-form-comment textarea,
.woocommerce-tabs .comment-form-comment textarea,
.comment-form-comment textarea,
#comment {
    width: 100% !important;
    padding: 1.5rem !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 16px !important;
    background: #f8fafc !important;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
    font-size: 1.125rem !important;
    line-height: 1.6 !important;
    transition: all 0.3s ease !important;
    resize: vertical !important;
    min-height: 150px !important;
    box-sizing: border-box !important;
    margin-top: 0.75rem !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.woocommerce div.product .woocommerce-tabs .comment-form-comment textarea:focus,
.woocommerce-tabs .comment-form-comment textarea:focus,
.comment-form-comment textarea:focus,
#comment:focus {
    outline: none !important;
    border-color: #ec4899 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(147, 51, 234, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    transform: translateY(-1px) !important;
}

/* Placeholder styling */
.woocommerce div.product .woocommerce-tabs .comment-form-comment textarea::placeholder,
.woocommerce-tabs .comment-form-comment textarea::placeholder,
.comment-form-comment textarea::placeholder,
#comment::placeholder {
    color: #9ca3af !important;
    font-style: italic !important;
}

/* Enhanced Submit Section */
.woocommerce div.product .woocommerce-tabs .form-submit,
.woocommerce-tabs .form-submit,
.form-submit {
    margin: 2rem 0 0 0 !important;
    padding: 2rem !important;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border-radius: 16px !important;
    border: 2px solid #e2e8f0 !important;
    text-align: center !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

/* Submit button */
.woocommerce div.product .woocommerce-tabs .form-submit input[type="submit"],
.woocommerce-tabs .form-submit input[type="submit"],
.form-submit input[type="submit"],
.form-submit .submit,
#submit {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 1.25rem 3rem !important;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
    font-size: 1.125rem !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 10px 15px -3px rgba(147, 51, 234, 0.3), 0 4px 6px -2px rgba(147, 51, 234, 0.2) !important;
    min-width: 200px !important;
    position: relative !important;
    overflow: hidden !important;
    margin: 0 !important;
}

.woocommerce div.product .woocommerce-tabs .form-submit input[type="submit"]:hover,
.woocommerce-tabs .form-submit input[type="submit"]:hover,
.form-submit input[type="submit"]:hover,
.form-submit .submit:hover,
#submit:hover {
    background: linear-gradient(135deg, #db2777 0%, #be185d 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 20px 25px -5px rgba(147, 51, 234, 0.4), 0 10px 10px -5px rgba(147, 51, 234, 0.3) !important;
}

.woocommerce div.product .woocommerce-tabs .form-submit input[type="submit"]:active,
.woocommerce-tabs .form-submit input[type="submit"]:active,
.form-submit input[type="submit"]:active,
.form-submit .submit:active,
#submit:active {
    transform: translateY(-1px) !important;
}

/* Submit button shimmer effect */
.woocommerce div.product .woocommerce-tabs .form-submit input[type="submit"]::before,
.woocommerce-tabs .form-submit input[type="submit"]::before,
.form-submit input[type="submit"]::before,
.form-submit .submit::before,
#submit::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
    transition: left 0.5s !important;
}

.woocommerce div.product .woocommerce-tabs .form-submit input[type="submit"]:hover::before,
.woocommerce-tabs .form-submit input[type="submit"]:hover::before,
.form-submit input[type="submit"]:hover::before,
.form-submit .submit:hover::before,
#submit:hover::before {
    left: 100% !important;
}

/* Mobile responsive adjustments for review form */
@media (max-width: 768px) {
    .woocommerce div.product .woocommerce-tabs .comment-form-rating,
    .woocommerce-tabs .comment-form-rating,
    .comment-form-rating {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem !important;
        border-radius: 12px !important;
    }
    
    .woocommerce div.product .woocommerce-tabs .stars,
    .woocommerce-tabs .stars,
    .stars,
    .comment-form-rating .stars {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 0.75rem !important;
        padding: 0.75rem !important;
    }
    
    .woocommerce div.product .woocommerce-tabs .stars a,
    .woocommerce-tabs .stars a,
    .stars a,
    .comment-form-rating .stars a {
        font-size: 1.75rem !important;
        min-width: 44px !important;
        min-height: 44px !important;
        padding: 0.25rem !important;
    }
    
    .woocommerce div.product .woocommerce-tabs .comment-form-comment,
    .woocommerce-tabs .comment-form-comment,
    .comment-form-comment {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem !important;
        border-radius: 12px !important;
    }
    
    .woocommerce div.product .woocommerce-tabs .comment-form-comment textarea,
    .woocommerce-tabs .comment-form-comment textarea,
    .comment-form-comment textarea,
    #comment {
        padding: 1rem !important;
        font-size: 1rem !important;
        min-height: 120px !important;
        border-radius: 12px !important;
    }
    
    .woocommerce div.product .woocommerce-tabs .form-submit,
    .woocommerce-tabs .form-submit,
    .form-submit {
        padding: 1.5rem !important;
        border-radius: 12px !important;
    }
    
    .woocommerce div.product .woocommerce-tabs .form-submit input[type="submit"],
    .woocommerce-tabs .form-submit input[type="submit"],
    .form-submit input[type="submit"],
    .form-submit .submit,
    #submit {
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
        min-width: 160px !important;
        border-radius: 25px !important;
    }
}

/* Animation for tab panel transitions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive adjustments for tabs */
@media (max-width: 768px) {
    .woocommerce div.product .woocommerce-tabs,
    .woocommerce-tabs.wc-tabs-wrapper,
    .wc-tabs-wrapper {
        padding: 2rem 1.5rem !important;
        border-radius: 20px !important;
    }
    
    .woocommerce div.product .woocommerce-tabs ul.tabs,
    .woocommerce-tabs ul.tabs,
    .tabs.wc-tabs,
    ul.tabs[role="tablist"] {
        flex-direction: column !important;
        gap: 1rem !important;
        padding: 1.25rem 1.25rem 1.75rem 1.25rem !important;
    }
    
    .woocommerce div.product .woocommerce-tabs ul.tabs li a,
    .woocommerce-tabs ul.tabs li a,
    .tabs.wc-tabs li a,
    ul.tabs[role="tablist"] li a {
        padding: 1rem !important;
        font-size: 1rem !important;
    }
    
    .woocommerce div.product .woocommerce-tabs .panel,
    .woocommerce-tabs .panel,
    .woocommerce-Tabs-panel,
    .panel.entry-content.wc-tab {
        padding: 2rem 1.5rem !important;
        border-radius: 16px !important;
    }
    
    .woocommerce div.product .woocommerce-tabs .panel h2,
    .woocommerce-tabs .panel h2,
    .woocommerce-Tabs-panel h2,
    .panel.entry-content.wc-tab h2 {
        font-size: 1.5rem !important;
    }
}

/* Reviews styling */
.woocommerce div.product .woocommerce-tabs #reviews .commentlist {
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce div.product .woocommerce-tabs #reviews .commentlist li {
    background: #f9fafb !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    border: 1px solid #e5e7eb !important;
    list-style: none !important;
}

.woocommerce div.product .woocommerce-tabs #reviews .comment_container {
    border: none !important;
    padding: 0 !important;
}

.woocommerce div.product .woocommerce-tabs #reviews .comment-text {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

/* Related products styling */
.woocommerce div.product .related.products,
.woocommerce div.product .upsells.products {
    background: #ffffff !important;
    border-radius: 24px !important;
    padding: 3rem 2rem !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid #e5e7eb !important;
    margin-top: 0 !important;
}

.woocommerce div.product .related.products h2,
.woocommerce div.product .upsells.products h2,
body.single-product .woocommerce section.related.products h2,
body.woocommerce section.related.products h2,
section.related.products h2 {
    font-family: Oleo Script, cursive !important;
    font-size: 2em !important;
    font-weight: 400 !important;
    color: #111827 !important;
    margin-bottom: 2rem !important;
    text-align: center !important;
    position: relative !important;
}

.woocommerce div.product .related.products h2::after,
.woocommerce div.product .upsells.products h2::after,
body.single-product .woocommerce section.related.products h2::after,
body.woocommerce section.related.products h2::after,
section.related.products h2::after {
    content: '' !important;
    position: absolute !important;
    bottom: -0.5rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 60px !important;
    height: 3px !important;
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;
    border-radius: 2px !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .woocommerce div.product .product_title {
        font-size: 1.875rem !important;
    }
    
    .woocommerce div.product .price {
        font-size: 1.75rem !important;
    }
    
    .woocommerce div.product form.cart {
        padding: 1.5rem !important;
    }
    
    .woocommerce div.product form.cart .button {
        min-width: 100% !important;
        padding: 1rem 1.5rem !important;
    }
    
    .woocommerce div.product .woocommerce-tabs {
        padding: 1.5rem !important;
    }
    
    .woocommerce div.product .woocommerce-tabs ul.tabs {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    
    .woocommerce div.product .woocommerce-tabs ul.tabs li a {
        text-align: center !important;
    }
}

/* ======================
   WooCommerce Shop Styling
   ====================== */

/* Shop page layout - higher specificity to override WooCommerce defaults */
.woocommerce ul.products,
body.woocommerce ul.products,
.wp-block-group .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 2rem !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Fix single product layout - prevent full width stretching */
/* Using JavaScript fallback for browsers that don't support :has() */
.woocommerce ul.products.single-product-grid,
body.woocommerce ul.products.single-product-grid,
.wp-block-group .woocommerce ul.products.single-product-grid {
    display: flex !important;
    justify-content: center !important;
    grid-template-columns: none !important;
}

.woocommerce ul.products.single-product-grid li.product,
body.woocommerce ul.products.single-product-grid li.product,
.wp-block-group .woocommerce ul.products.single-product-grid li.product {
    max-width: 320px !important;
    flex: 0 0 auto !important;
}

/* Removed CSS fallback - JavaScript solution is more reliable */

/* Hide unwanted shop loop controls to save space */
.woocommerce .woocommerce-result-count,
.archive .woocommerce-result-count,
.tax-product_cat .woocommerce-result-count {
    display: none !important;
}

.woocommerce .woocommerce-ordering,
.archive .woocommerce-ordering,
.tax-product_cat .woocommerce-ordering {
    display: none !important;
}

/* Category hero section styling */
.category-hero {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.category-hero-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

.category-hero:hover .category-hero-image {
    transform: scale(1.02) !important;
}

/* Responsive hero section */
@media (max-width: 768px) {
    .category-hero .aspect-h-6 {
        aspect-ratio: 16 / 8 !important;
    }

    .category-hero h1 {
        font-size: 2rem !important;
    }

    .category-hero p {
        font-size: 1rem !important;
        max-width: 90% !important;
    }
}

@media (max-width: 640px) {
    .category-hero .aspect-h-6 {
        aspect-ratio: 16 / 6 !important;
    }

    .category-hero h1 {
        font-size: 1.75rem !important;
    }
}

/* Category description styling - improved bottom placement */
.archive .term-description,
.tax-product_cat .term-description {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border-radius: 16px !important;
    padding: 2.5rem !important;
    margin: 2rem 0 !important;
    border-left: 4px solid #9333ea !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.archive .term-description p,
.tax-product_cat .term-description p {
    font-size: 1.125rem !important;
    line-height: 1.75 !important;
    color: #374151 !important;
    margin-bottom: 1rem !important;
}

.archive .term-description p:last-child,
.tax-product_cat .term-description p:last-child {
    margin-bottom: 0 !important;
}

.archive .term-description h2,
.tax-product_cat .term-description h2 {
    font-family: 'Oleo Script', cursive !important;
    font-size: 2rem !important;
    font-weight: 400 !important;
    color: #9333ea !important;
    margin-bottom: 1.5rem !important;
    margin-top: 0 !important;
}

.woocommerce ul.products li.product,
body.woocommerce ul.products li.product,
.wp-block-group .woocommerce ul.products li.product {
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    overflow: hidden !important;
    border: none !important;
    text-align: left !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Product images */
.woocommerce ul.products li.product .woocommerce-loop-product__link {
    display: block;
    text-decoration: none;
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    transition: transform 0.2s ease;
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.05);
}

/* Product content area */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .star-rating,
.woocommerce ul.products li.product .button {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Product titles */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: Oleo Script, cursive !important;
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 1rem 1.5rem 0.5rem;
    line-height: 1.4;
}

/* Star ratings */
.woocommerce .star-rating {
    font-size: 0.875rem;
    color: #fbbf24;
    margin: 0.5rem 0;
}

.woocommerce .star-rating::before {
    content: "★★★★★";
    color: #e5e7eb;
}

.woocommerce .star-rating span::before {
    content: "★★★★★";
    color: #fbbf24;
}

/* Product prices */
.woocommerce ul.products li.product .price {
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ec4899;
    margin: 0.5rem 1.5rem;
}

.woocommerce ul.products li.product .price del {
    color: #6b7280;
    font-weight: 400;
    margin-right: 0.5rem;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
    color: #ec4899;
}

/* Add to cart buttons */
.woocommerce ul.products li.product .button,
body.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product .add_to_cart_button {
    background: #ec4899 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 0.75rem 1.5rem !important;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    margin: 1rem 1.5rem 1.5rem !important;
    width: calc(100% - 3rem) !important;
    display: block !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.woocommerce ul.products li.product .button:hover {
    background: #db2777;
    transform: translateY(-1px);
}

/* Sale badges */
.woocommerce span.onsale {
    background: #ec4899;
    color: #ffffff;
    border-radius: 50px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    margin: 0;
}

/* ======================
   WooCommerce Results Count & Ordering
   ====================== */

.woocommerce-result-count,
.woocommerce-ordering {
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    color: #6b7280;
    margin-bottom: 2rem;
}

.woocommerce-ordering select {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    color: #374151;
}

/* ======================
   WooCommerce Cart & Checkout
   ====================== */

.woocommerce table.cart,
.woocommerce-checkout table {
    border-collapse: collapse;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.woocommerce table.cart th,
.woocommerce table.cart td,
.woocommerce-checkout table th,
.woocommerce-checkout table td {
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.woocommerce table.cart th,
.woocommerce-checkout table th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.woocommerce .cart-collaterals {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    margin-top: 2rem;
}

/* ======================
   WooCommerce Notices
   ====================== */

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
    border-radius: 16px !important;
    padding: 1.25rem 1.75rem !important;
    margin-bottom: 1.5rem !important;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
    font-weight: 500 !important;
    border: 1px solid transparent !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.woocommerce .woocommerce-message {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%) !important;
    border: 1px solid #10b981 !important;
    color: #065f46 !important;
}

.woocommerce .woocommerce-message::before {
    content: "✅" !important;
    font-size: 1.25rem !important;
    margin-right: 0.5rem !important;
}

.woocommerce .woocommerce-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%) !important;
    border: 1px solid #3b82f6 !important;
    color: #1e3a8a !important;
}

.woocommerce .woocommerce-info::before {
    content: "ℹ️" !important;
    font-size: 1.25rem !important;
    margin-right: 0.5rem !important;
}

.woocommerce .woocommerce-error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%) !important;
    border: 1px solid #ef4444 !important;
    color: #991b1b !important;
}

.woocommerce .woocommerce-error::before {
    content: "❌" !important;
    font-size: 1.25rem !important;
    margin-right: 0.5rem !important;
}

/* Style the "View cart" button in success messages */
.woocommerce .woocommerce-message a.button,
.woocommerce .woocommerce-message .wc-forward {
    background: #059669 !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    margin-left: 0 !important;
    margin-top: 0.5rem !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    flex-basis: 100% !important;
}

.woocommerce .woocommerce-message a.button:hover,
.woocommerce .woocommerce-message .wc-forward:hover {
    background: #047857 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px -2px rgba(5, 150, 105, 0.3) !important;
}

/* ======================
   WooCommerce Pagination
   ====================== */

.woocommerce nav.woocommerce-pagination {
    margin-top: 3rem;
    text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
    margin: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: block;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #6b7280;
    text-decoration: none;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-weight: 500;
    transition: all 0.2s ease;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: #ec4899;
    color: #ffffff;
    border-color: #ec4899;
}

/* ======================
   Mobile Responsive
   ====================== */

@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .woocommerce table.cart,
    .woocommerce-checkout table {
        font-size: 0.875rem;
    }
    
    .woocommerce table.cart th,
    .woocommerce table.cart td,
    .woocommerce-checkout table th,
    .woocommerce-checkout table td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .woocommerce ul.products li.product .woocommerce-loop-product__title,
    .woocommerce ul.products li.product .price,
    .woocommerce ul.products li.product .button {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        margin: 1rem 1rem 0.5rem;
    }
    
    .woocommerce ul.products li.product .price {
        margin: 0.5rem 1rem;
    }
    
    .woocommerce ul.products li.product .button {
        margin: 1rem;
        width: calc(100% - 2rem);
    }
}

/* ======================
   Blog Content Styling (WordPress Blocks)
   ====================== */

/* Blog post content area */
.prose,
.entry-content,
.post-content,
.wp-block-post-content {
    line-height: 1.7 !important;
    color: #374151 !important;
    font-size: 1.125rem !important;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
}

/* Blog headings styling */
.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.wp-block-post-content h1,
.wp-block-post-content h2,
.wp-block-post-content h3,
.wp-block-post-content h4,
.wp-block-post-content h5,
.wp-block-post-content h6,
.wp-block-heading {
    font-family: Oleo Script, cursive !important;
    font-weight: 400 !important;
    color: #111827 !important;
    margin-top: 2rem !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.2 !important;
    position: relative !important;
}

.prose h1,
.entry-content h1,
.wp-block-post-content h1,
.wp-block-heading.has-h-1-font-size {
    font-size: 2.5rem !important;
    margin-top: 3rem !important;
}

/* Beautiful gradient for H1 headings in blog posts and pages */
.prose h1,
.entry-content h1,
.wp-block-post-content h1,
.wp-block-heading.has-h-1-font-size,
body.single h1.entry-title,
body.page h1.entry-title,
body.single-post h1.entry-title {
    background: linear-gradient(135deg, #ec4899 0%, #9333ea 50%, #db2777 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
}

/* Hide H1 completely when admin has disabled it for specific pages */
body.h1-gradient-disabled .prose h1,
body.h1-gradient-disabled .entry-content h1,
body.h1-gradient-disabled .wp-block-post-content h1,
body.h1-gradient-disabled .wp-block-heading.has-h-1-font-size,
body.h1-gradient-disabled h1.entry-title {
    display: none !important;
}

.prose h2,
.entry-content h2,
.wp-block-post-content h2,
.wp-block-heading.has-h-2-font-size {
    font-size: 2rem !important;
    margin-top: 2.5rem !important;
}

.prose h3,
.entry-content h3,
.wp-block-post-content h3,
.wp-block-heading.has-h-3-font-size {
    font-size: 1.75rem !important;
    margin-top: 2rem !important;
}

.prose h4,
.entry-content h4,
.wp-block-post-content h4,
.wp-block-heading.has-h-4-font-size {
    font-size: 1.5rem !important;
}

.prose h5,
.entry-content h5,
.wp-block-post-content h5,
.wp-block-heading.has-h-5-font-size {
    font-size: 1.25rem !important;
}

.prose h6,
.entry-content h6,
.wp-block-post-content h6,
.wp-block-heading.has-h-6-font-size {
    font-size: 1.125rem !important;
}

/* Add underline decoration to headings */
.prose h2::after,
.prose h3::after,
.entry-content h2::after,
.entry-content h3::after,
.wp-block-post-content h2::after,
.wp-block-post-content h3::after,
.wp-block-heading.has-h-2-font-size::after,
.wp-block-heading.has-h-3-font-size::after {
    content: '' !important;
    position: absolute !important;
    bottom: -8px !important;
    left: 0 !important;
    width: 60px !important;
    height: 3px !important;
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;
    border-radius: 2px !important;
}

/* Center the underline for center-aligned headings */
.prose h2.has-text-align-center::after,
.prose h3.has-text-align-center::after,
.entry-content h2.has-text-align-center::after,
.entry-content h3.has-text-align-center::after,
.wp-block-post-content h2.has-text-align-center::after,
.wp-block-post-content h3.has-text-align-center::after,
.wp-block-heading.has-h-2-font-size.has-text-align-center::after,
.wp-block-heading.has-h-3-font-size.has-text-align-center::after,
.wp-block-heading.has-text-align-center::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
}

/* Blog paragraph styling */
.prose p,
.entry-content p,
.wp-block-post-content p,
.wp-block-paragraph {
    margin-bottom: 1.5rem !important;
    line-height: 1.7 !important;
    color: #4b5563 !important;
    font-size: 1.125rem !important;
    text-align: left !important;
}

.prose p:last-child,
.entry-content p:last-child,
.wp-block-post-content p:last-child {
    margin-bottom: 0 !important;
}

/* Enhanced WordPress block list styling */
.prose ul,
.prose ol,
.entry-content ul,
.entry-content ol,
.wp-block-post-content ul,
.wp-block-post-content ol,
.wp-block-list {
    margin: 2rem 0 !important;
    padding-left: 0.2rem !important;
    list-style: none !important;
    position: relative !important;
}

.prose ul li,
.entry-content ul li,
.wp-block-post-content ul li,
.wp-block-list li {
    margin-bottom: 1.5rem !important;
    line-height: 1.7 !important;
    color: #4b5563 !important;
    font-size: 1.125rem !important;
}

/* Custom styling for unordered lists with left border */
.prose ul li,
.entry-content ul li,
.wp-block-post-content ul li,
.wp-block-list li {
    border-left: 3px solid #ec4899 !important;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.05) 0%, rgba(147, 51, 234, 0.02) 100%) !important;
    border-radius: 8px !important;
    margin-left: 0 !important;
    padding: 1rem 1.5rem 1rem 1.5rem !important;
    position: relative !important;
    box-shadow: 0 2px 4px rgba(147, 51, 234, 0.1) !important;
}

/* Numbered list styling with border design */
.prose ol,
.entry-content ol,
.wp-block-post-content ol {
    counter-reset: list-counter !important;
}

.prose ol li,
.entry-content ol li,
.wp-block-post-content ol li {
    counter-increment: list-counter !important;
    border-left: 3px solid #f59e0b !important;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(245, 158, 11, 0.02) 100%) !important;
    border-radius: 8px !important;
    margin-left: 0 !important;
    padding: 1rem 1.5rem 1rem 1.5rem !important;
    position: relative !important;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.1) !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.7 !important;
    color: #4b5563 !important;
    font-size: 1.125rem !important;
    transition: all 0.2s ease !important;
}

.prose ol li::before,
.entry-content ol li::before,
.wp-block-post-content ol li::before {
    content: counter(list-counter) !important;
    position: absolute !important;
    left: -12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #ffffff !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.75rem !important;
    font-weight: 400 !important;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3) !important;
}

.prose ol li:hover,
.entry-content ol li:hover,
.wp-block-post-content ol li:hover {
    border-left-color: #d97706 !important;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%) !important;
    transform: translateX(4px) !important;
    box-shadow: 0 4px 8px rgba(245, 158, 11, 0.15) !important;
}

/* Nested list styling */
.prose ul ul,
.prose ol ol,
.prose ul ol,
.prose ol ul,
.entry-content ul ul,
.entry-content ol ol,
.entry-content ul ol,
.entry-content ol ul,
.wp-block-post-content ul ul,
.wp-block-post-content ol ol,
.wp-block-post-content ul ol,
.wp-block-post-content ol ul,
.wp-block-list ul,
.wp-block-list ol {
    margin: 1rem 0 !important;
    padding-left: 1.5rem !important;
}

/* Nested list styling with thinner border */
.prose ul ul li,
.entry-content ul ul li,
.wp-block-post-content ul ul li,
.wp-block-list ul li,
.wp-block-list ol li {
    border-left: 2px solid #f472b6 !important;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.03) 0%, rgba(168, 85, 247, 0.01) 100%) !important;
    margin-top: 0.5rem !important;
    padding: 0.75rem 1rem 0.75rem 1rem !important;
}

/* Strong links in lists styling */
.prose li strong a,
.entry-content li strong a,
.wp-block-post-content li strong a,
.wp-block-list li strong a {
    color: #ec4899 !important;
    text-decoration: none !important;
    font-weight: 400 !important;
    transition: all 0.2s ease !important;
    border-bottom: 2px solid transparent !important;
}

.prose li strong a:hover,
.entry-content li strong a:hover,
.wp-block-post-content li strong a:hover,
.wp-block-list li strong a:hover {
    color: #db2777 !important;
    border-bottom-color: #ec4899 !important;
    transform: translateY(-1px) !important;
}

/* List item link descriptions */
.prose li strong a + br + text,
.prose li strong a ~ text,
.entry-content li strong a + br + text,
.entry-content li strong a ~ text,
.wp-block-post-content li strong a + br + text,
.wp-block-post-content li strong a ~ text,
.wp-block-list li strong a + br + text,
.wp-block-list li strong a ~ text {
    display: block !important;
    margin-top: 0.5rem !important;
    font-weight: 400 !important;
    color: #6b7280 !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
}

/* List hover effects */
.prose ul li,
.entry-content ul li,
.wp-block-post-content ul li,
.wp-block-list li {
    transition: all 0.2s ease !important;
}

.prose ul li:hover,
.entry-content ul li:hover,
.wp-block-post-content ul li:hover,
.wp-block-list li:hover {
    border-left-color: #db2777 !important;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(147, 51, 234, 0.05) 100%) !important;
    transform: translateX(4px) !important;
    box-shadow: 0 4px 8px rgba(147, 51, 234, 0.15) !important;
}

/* Blog image styling */
.prose img,
.entry-content img,
.wp-block-post-content img,
.wp-block-image img {
    border-radius: 16px !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.3s ease !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 2rem 0 !important;
}

.prose img:hover,
.entry-content img:hover,
.wp-block-post-content img:hover,
.wp-block-image img:hover {
    transform: scale(1.02) !important;
}

/* ======================
   WordPress Image Block Alignment Styles
   ====================== */

/* Ensure WordPress image alignment classes work properly */
.wp-block-image.aligncenter {
    text-align: center !important;
    display: table !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.wp-block-image.alignleft {
    float: left !important;
    margin: 0.5em 1em 0.5em 0 !important;
    display: table !important;
}

.wp-block-image.alignright {
    float: right !important;
    margin: 0.5em 0 0.5em 1em !important;
    display: table !important;
}

/* Ensure figure elements with alignment classes work */
figure.wp-block-image.aligncenter {
    text-align: center !important;
    display: table !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

figure.wp-block-image.alignleft {
    float: left !important;
    margin: 0.5em 1em 0.5em 0 !important;
    display: table !important;
}

figure.wp-block-image.alignright {
    float: right !important;
    margin: 0.5em 0 0.5em 1em !important;
    display: table !important;
}

/* Ensure captions are properly aligned with their images */
.wp-block-image.aligncenter > figcaption,
.wp-block-image.alignleft > figcaption,
.wp-block-image.alignright > figcaption {
    caption-side: bottom !important;
    display: table-caption !important;
}

/* Blog link styling */
.prose a,
.entry-content a,
.wp-block-post-content a {
    color: #ec4899 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    border-bottom: 2px solid transparent !important;
    transition: all 0.2s ease !important;
}

.prose a:hover,
.entry-content a:hover,
.wp-block-post-content a:hover {
    color: #db2777 !important;
    border-bottom-color: #ec4899 !important;
    transform: translateY(-1px) !important;
}

/* Blog blockquote styling */
.prose blockquote,
.entry-content blockquote,
.wp-block-post-content blockquote,
.wp-block-quote {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border-left: 4px solid #ec4899 !important;
    padding: 2rem !important;
    margin: 2rem 0 !important;
    border-radius: 12px !important;
    position: relative !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.prose blockquote::before,
.entry-content blockquote::before,
.wp-block-post-content blockquote::before,
.wp-block-quote::before {
    content: '"' !important;
    position: absolute !important;
    top: 1rem !important;
    left: 1rem !important;
    font-size: 3rem !important;
    color: #ec4899 !important;
    opacity: 0.3 !important;
    font-family: Georgia, serif !important;
    line-height: 1 !important;
}

.prose blockquote p,
.entry-content blockquote p,
.wp-block-post-content blockquote p,
.wp-block-quote p {
    font-style: italic !important;
    color: #374151 !important;
    margin-bottom: 0 !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Code styling */
.prose code,
.entry-content code,
.wp-block-post-content code,
.wp-block-code {
    background: #f3f4f6 !important;
    color: #ec4899 !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 6px !important;
    font-family: Monaco, Consolas, monospace !important;
    font-size: 0.9em !important;
    border: 1px solid #e5e7eb !important;
}

.prose pre,
.entry-content pre,
.wp-block-post-content pre {
    background: #1f2937 !important;
    color: #f9fafb !important;
    padding: 1.5rem !important;
    border-radius: 12px !important;
    overflow-x: auto !important;
    margin: 2rem 0 !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.prose pre code,
.entry-content pre code,
.wp-block-post-content pre code {
    background: transparent !important;
    color: inherit !important;
    padding: 0 !important;
    border: none !important;
}

/* Table styling */
.prose table,
.entry-content table,
.wp-block-post-content table,
.wp-block-table table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin: 2rem 0 !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.prose table th,
.entry-content table th,
.wp-block-post-content table th,
.wp-block-table th {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;
    color: #ffffff !important;
    font-weight: 400 !important;
    padding: 1rem !important;
    text-align: left !important;
    border: none !important;
}

.prose table td,
.entry-content table td,
.wp-block-post-content table td,
.wp-block-table td {
    padding: 1rem !important;
    border-bottom: 1px solid #f3f4f6 !important;
    border-left: none !important;
    border-right: none !important;
}

.prose table tr:last-child td,
.entry-content table tr:last-child td,
.wp-block-post-content table tr:last-child td,
.wp-block-table tr:last-child td {
    border-bottom: none !important;
}

/* Button styling in blog content */
.prose .wp-block-button .wp-block-button__link,
.entry-content .wp-block-button .wp-block-button__link,
.wp-block-post-content .wp-block-button .wp-block-button__link {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 1rem 2rem !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    margin: 1rem 0 !important;
    box-shadow: 0 10px 15px -3px rgba(147, 51, 234, 0.3), 0 4px 6px -2px rgba(147, 51, 234, 0.2) !important;
}

.prose .wp-block-button .wp-block-button__link:hover,
.entry-content .wp-block-button .wp-block-button__link:hover,
.wp-block-post-content .wp-block-button .wp-block-button__link:hover {
    background: linear-gradient(135deg, #db2777 0%, #be185d 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 20px 25px -5px rgba(147, 51, 234, 0.4), 0 10px 10px -5px rgba(147, 51, 234, 0.3) !important;
}

/* FAQ section styling */
.prose h2 + blockquote,
.entry-content h2 + blockquote,
.wp-block-post-content h2 + blockquote {
    margin-top: 1rem !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .prose,
    .entry-content,
    .wp-block-post-content {
        font-size: 1rem !important;
    }
    
    .prose h1,
    .entry-content h1,
    .wp-block-post-content h1 {
        font-size: 2rem !important;
    }
    
    .prose h2,
    .entry-content h2,
    .wp-block-post-content h2 {
        font-size: 1.75rem !important;
    }
    
    .prose h3,
    .entry-content h3,
    .wp-block-post-content h3 {
        font-size: 1.5rem !important;
    }
    
    .prose ul,
    .prose ol,
    .entry-content ul,
    .entry-content ol,
    .wp-block-post-content ul,
    .wp-block-post-content ol,
    .wp-block-list {
        padding-left: 1.5rem !important;
    }
    
    .prose li,
    .entry-content li,
    .wp-block-post-content li,
    .wp-block-list li {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .prose blockquote,
    .entry-content blockquote,
    .wp-block-post-content blockquote,
    .wp-block-quote {
        padding: 1.5rem !important;
        margin: 1.5rem 0 !important;
    }
    
    .prose table,
    .entry-content table,
    .wp-block-post-content table,
    .wp-block-table table {
        font-size: 0.875rem !important;
    }
    
    .prose table th,
    .prose table td,
    .entry-content table th,
    .entry-content table td,
    .wp-block-post-content table th,
    .wp-block-post-content table td,
    .wp-block-table th,
    .wp-block-table td {
        padding: 0.75rem !important;
    }
}

/* ======================
   Gutenberg Block Customizations
   ====================== */

/* Prevent horizontal scrolling from any block - only on WooCommerce pages */
.woocommerce .wp-block-group,
.woocommerce .wp-block-columns,
.woocommerce .wp-block-column {
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Group block styling */
.wp-block-group {
    margin-bottom: 2rem;
}

/* Product grid customizations for block themes */
.wp-block-woocommerce-product-grid .wc-block-grid__products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.wp-block-woocommerce-product-grid .wc-block-grid__product {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.wp-block-woocommerce-product-grid .wc-block-grid__product:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* WooCommerce Blocks styling */
.wc-block-components-button {
    background: #ec4899 !important;
    border: none !important;
    border-radius: 50px !important;
    color: #ffffff !important;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
    font-weight: 600 !important;
    padding: 0.75rem 1.5rem !important;
    transition: all 0.2s ease !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.wc-block-components-button:hover {
    background: #db2777 !important;
    transform: translateY(-1px) !important;
}

/* Ensure cart button text is white */
.wc-block-cart__submit-button .wc-block-components-button__text,
.wc-block-components-button .wc-block-components-button__text {
    color: #ffffff !important;
}

/* Fix any WooCommerce elements that might cause horizontal scrolling */
.woocommerce-page .woocommerce,
.woocommerce .woocommerce,
.wc-block-grid,
.wc-block-components-product-grid {
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

/* ======================
   Blog Archive Page Styling
   ====================== */

/* Enhanced archive header styling */
.archive .archive-header {
    position: relative;
    z-index: 1;
}

.archive .archive-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.05) 0%, rgba(147, 51, 234, 0.02) 100%);
    z-index: -1;
    border-radius: 24px;
}

/* Archive post cards hover effects */
.archive .post.group:hover {
    transform: translateY(-4px);
}

.archive .post .group-hover\:scale-105:hover {
    transform: scale(1.05);
}

/* Archive page typography enhancements */
.archive .post-title {
    transition: color 0.2s ease;
}

.archive .post-title:hover {
    color: #ec4899;
}

/* Enhanced reading time display */
.archive .reading-time {
    font-variant-numeric: tabular-nums;
}

/* Archive pagination improvements */
.archive .page-numbers {
    position: relative;
    overflow: hidden;
}

.archive .page-numbers::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.archive .page-numbers:hover::before {
    left: 100%;
}

/* Archive responsive grid improvements */
@media (max-width: 640px) {
    .archive .post-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .archive .post-card {
        margin: 0 -1rem;
        border-radius: 16px;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .archive .post-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1025px) {
    .archive .post-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Archive category/tag badge styling */
.archive .archive-type-badge {
    backdrop-filter: blur(10px);
    background: rgba(147, 51, 234, 0.1);
    border: 1px solid rgba(147, 51, 234, 0.2);
}

/* Archive no-posts state */
.archive .no-posts-found {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Archive post meta enhancements */
.archive .post-meta {
    font-size: 0.875rem;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.archive .post:hover .post-meta {
    opacity: 1;
}

/* ======================
   Blog Home Page Styling (home.php)
   ====================== */

/* Blog home page specific styling */
.home .blog-posts-grid {
    animation: fadeInUp 0.6s ease-out;
}

.home .post-card {
    position: relative;
    overflow: hidden;
}

.home .post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.02) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.home .post-card:hover::before {
    opacity: 1;
}

/* Enhanced blog header styling */
.home .blog-header-badge {
    backdrop-filter: blur(10px);
    background: rgba(147, 51, 234, 0.1);
    border: 1px solid rgba(147, 51, 234, 0.2);
    box-shadow: 0 8px 32px rgba(147, 51, 234, 0.1);
}

/* Blog pagination improvements */
.home .blog-pagination {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(147, 51, 234, 0.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Blog-specific responsive improvements */
@media (max-width: 640px) {
    .home .blog-posts-grid {
        padding: 0 0.5rem;
    }
    
    .home .post-card {
        border-radius: 20px;
        margin: 0 -0.5rem;
    }
}

/* Blog header animation */
.home .blog-header {
    animation: slideInDown 0.8s ease-out;
}

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

/* Staggered animation for blog post cards */
.home .post:nth-child(1) { animation-delay: 0.1s; }
.home .post:nth-child(2) { animation-delay: 0.2s; }
.home .post:nth-child(3) { animation-delay: 0.3s; }
.home .post:nth-child(4) { animation-delay: 0.4s; }
.home .post:nth-child(5) { animation-delay: 0.5s; }
.home .post:nth-child(6) { animation-delay: 0.6s; }

.home .post {
    animation: fadeInUp 0.6s ease-out both;
}

/* Blog reading time indicator */
.home .reading-time {
    position: relative;
}

.home .reading-time::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 3px;
    background: currentColor;
    border-radius: 50%;
    opacity: 0.5;
}

/* Enhanced blog title typography */
.home .blog-title {
    background: linear-gradient(135deg, #1f2937 0%, #4b5563 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ======================
   Blog Sidebar Styling
   ====================== */

/* Blog sidebar widget styling */
.blog-sidebar .widget {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.blog-sidebar .widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Sidebar widget links */
.blog-sidebar .widget ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(147, 51, 234, 0.1);
    transition: all 0.2s ease;
}

.blog-sidebar .widget ul li a:hover {
    padding-left: 0.5rem;
    background: rgba(147, 51, 234, 0.05);
    border-radius: 8px;
    border-bottom-color: transparent;
}

.blog-sidebar .widget ul li:last-child a {
    border-bottom: none;
}

/* Search form styling in sidebar */
.blog-sidebar .widget .search-form {
    position: relative;
}

.blog-sidebar .widget .search-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(147, 51, 234, 0.2);
    border-radius: 12px;
    background: #f9fafb;
    transition: all 0.2s ease;
}

.blog-sidebar .widget .search-field:focus {
    outline: none;
    border-color: #ec4899;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

.blog-sidebar .widget .search-submit {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: #ec4899;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.blog-sidebar .widget .search-submit:hover {
    background: #db2777;
    transform: translateY(-50%) scale(1.05);
}

/* Sticky sidebar positioning */
.blog-sidebar .sticky {
    position: sticky;
    top: 2rem;
}

/* Widget title enhancements */
.blog-sidebar .widget-title {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-sidebar .widget-title::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(147, 51, 234, 0.3), transparent);
}

/* Archive links styling */
.blog-sidebar .widget ul li {
    position: relative;
}

.blog-sidebar .widget ul li::before {
    content: '📄';
    margin-right: 0.5rem;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.blog-sidebar .widget ul li:hover::before {
    opacity: 1;
}

/* Responsive sidebar adjustments */
@media (max-width: 1024px) {
    .blog-sidebar {
        margin-top: 2rem;
    }
    
    .blog-sidebar .sticky {
        position: static;
    }
    
    .blog-sidebar .widget {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 640px) {
    .blog-sidebar .widget {
        margin: 0 -1rem 1.5rem -1rem;
        border-radius: 16px;
    }
}

/* ======================
   WooCommerce Cart & Checkout Pages
   ====================== */

/* Make cart and checkout pages much wider */
.woocommerce-cart,
.woocommerce-checkout,
.woocommerce-account {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

.woocommerce-cart .wp-block-post-title,
.woocommerce-checkout .wp-block-post-title,
.woocommerce-account .wp-block-post-title,
.woocommerce-cart main .woocommerce,
.woocommerce-checkout main .woocommerce,
.woocommerce-account main .woocommerce {
    max-width: 1400px !important;
}

/* Cart table styling */
.woocommerce table.cart,
.woocommerce table.shop_table,
.woocommerce-page table.shop_table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin-bottom: 2rem !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.woocommerce table.cart th,
.woocommerce table.shop_table th,
.woocommerce-page table.shop_table th {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;
    color: #ffffff !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding: 1.5rem 1rem !important;
    font-size: 0.875rem !important;
    border: none !important;
}

.woocommerce table.cart td,
.woocommerce table.shop_table td,
.woocommerce-page table.shop_table td {
    padding: 1.5rem 1rem !important;
    border-bottom: 1px solid #e5e7eb !important;
    vertical-align: middle !important;
    border-left: none !important;
    border-right: none !important;
}

.woocommerce table.cart tr:last-child td,
.woocommerce table.shop_table tr:last-child td,
.woocommerce-page table.shop_table tr:last-child td {
    border-bottom: none !important;
}

/* Product thumbnail in cart */
.woocommerce table.cart .product-thumbnail,
.woocommerce table.shop_table .product-thumbnail {
    width: 120px !important;
    min-width: 120px !important;
}

.woocommerce table.cart .product-thumbnail img,
.woocommerce table.shop_table .product-thumbnail img {
    border-radius: 12px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.2s ease !important;
}

.woocommerce table.cart .product-thumbnail img:hover,
.woocommerce table.shop_table .product-thumbnail img:hover {
    transform: scale(1.05) !important;
}

/* Product name and info */
.woocommerce table.cart .product-name,
.woocommerce table.shop_table .product-name {
    font-weight: 600 !important;
    color: #111827 !important;
    min-width: 200px !important;
}

.woocommerce table.cart .product-name a,
.woocommerce table.shop_table .product-name a {
    color: #111827 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.woocommerce table.cart .product-name a:hover,
.woocommerce table.shop_table .product-name a:hover {
    color: #ec4899 !important;
}

/* Price styling in tables - FIX OVERLAPPING */
.woocommerce table.cart .product-price,
.woocommerce table.shop_table .product-price,
.woocommerce table.cart .product-subtotal,
.woocommerce table.shop_table .product-subtotal {
    font-weight: 400 !important;
    color: #ec4899 !important;
    font-size: 1.125rem !important;
    min-width: 100px !important;
    text-align: right !important;
    white-space: nowrap !important;
    padding-left: 1rem !important;
}

/* Quantity input styling */
.woocommerce table.cart .product-quantity,
.woocommerce table.shop_table .product-quantity {
    min-width: 80px !important;
    text-align: center !important;
}

.woocommerce table.cart .qty,
.woocommerce table.shop_table .qty {
    width: 60px !important;
    padding: 0.5rem !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    text-align: center !important;
    font-weight: 600 !important;
    background: #f9fafb !important;
    transition: all 0.2s ease !important;
}

.woocommerce table.cart .qty:focus,
.woocommerce table.shop_table .qty:focus {
    outline: none !important;
    border-color: #ec4899 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1) !important;
}

/* Remove button styling */
.woocommerce table.cart .product-remove,
.woocommerce table.shop_table .product-remove {
    width: 50px !important;
    text-align: center !important;
}

.woocommerce table.cart .remove,
.woocommerce table.shop_table .remove {
    background: #ef4444 !important;
    color: #ffffff !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    font-weight: 400 !important;
    transition: all 0.2s ease !important;
    font-size: 16px !important;
    line-height: 1 !important;
}

.woocommerce table.cart .remove:hover,
.woocommerce table.shop_table .remove:hover {
    background: #dc2626 !important;
    transform: scale(1.1) !important;
}

/* Cart collaterals (totals) styling */
.woocommerce .cart-collaterals {
    width: 100% !important;
    margin-top: 2rem !important;
    display: flex !important;
    justify-content: flex-end !important;
}

.woocommerce .cart-collaterals .cart_totals {
    width: 100% !important;
    max-width: 500px !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 2rem !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid #e5e7eb !important;
}

.woocommerce .cart-collaterals .cart_totals h2 {
    margin-bottom: 1.5rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 2px solid #ec4899 !important;
    color: #111827 !important;
}

.woocommerce .cart-collaterals table {
    width: 100% !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.woocommerce .cart-collaterals table th,
.woocommerce .cart-collaterals table td {
    padding: 1rem 0 !important;
    border: none !important;
    border-bottom: 1px solid #f3f4f6 !important;
}

.woocommerce .cart-collaterals table .order-total th,
.woocommerce .cart-collaterals table .order-total td {
    font-size: 1.25rem !important;
    font-weight: 400 !important;
    color: #ec4899 !important;
    border-bottom: none !important;
    padding-top: 1.5rem !important;
}

/* Checkout form styling */
.woocommerce-checkout .col2-set {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 3rem !important;
    margin-bottom: 2rem !important;
}

.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
    width: 100% !important;
    float: none !important;
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields {
    background: #ffffff !important;
    padding: 2rem !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid #e5e7eb !important;
}

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3 {
    margin-bottom: 1.5rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 2px solid #ec4899 !important;
    color: #111827 !important;
}

/* Checkout form inputs */
.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 select,
.woocommerce-checkout .form-row textarea {
    width: 100% !important;
    padding: 1rem !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 12px !important;
    background: #f9fafb !important;
    transition: all 0.2s ease !important;
    font-size: 1rem !important;
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
    outline: none !important;
    border-color: #ec4899 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1) !important;
}

/* Order review styling */
.woocommerce-checkout #order_review {
    background: #ffffff !important;
    padding: 2rem !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid #e5e7eb !important;
    margin-top: 2rem !important;
}

.woocommerce-checkout #order_review h3 {
    margin-bottom: 1.5rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 2px solid #ec4899 !important;
    color: #111827 !important;
}

/* Place order button */
.woocommerce-checkout #place_order {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 1.25rem 3rem !important;
    font-size: 1.25rem !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
    margin-top: 1rem !important;
    box-shadow: 0 10px 15px -3px rgba(147, 51, 234, 0.3), 0 4px 6px -2px rgba(147, 51, 234, 0.2) !important;
}

.woocommerce-checkout #place_order:hover {
    background: linear-gradient(135deg, #db2777 0%, #be185d 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 20px 25px -5px rgba(147, 51, 234, 0.4), 0 10px 10px -5px rgba(147, 51, 234, 0.3) !important;
}

/* Mobile responsiveness for cart and checkout */
@media (max-width: 768px) {
    .woocommerce-cart,
    .woocommerce-checkout,
    .woocommerce-account {
        padding: 0 1rem !important;
    }
    
    .woocommerce table.cart,
    .woocommerce table.shop_table,
    .woocommerce-page table.shop_table {
        font-size: 0.875rem !important;
    }
    
    .woocommerce table.cart th,
    .woocommerce table.shop_table th,
    .woocommerce-page table.shop_table th {
        padding: 1rem 0.5rem !important;
        font-size: 0.75rem !important;
    }
    
    .woocommerce table.cart td,
    .woocommerce table.shop_table td,
    .woocommerce-page table.shop_table td {
        padding: 1rem 0.5rem !important;
    }
    
    .woocommerce table.cart .product-thumbnail,
    .woocommerce table.shop_table .product-thumbnail {
        width: 80px !important;
        min-width: 80px !important;
    }
    
    .woocommerce table.cart .product-name,
    .woocommerce table.shop_table .product-name {
        min-width: 120px !important;
        font-size: 0.875rem !important;
    }
    
    .woocommerce-checkout .col2-set {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .woocommerce .cart-collaterals .cart_totals {
        max-width: 100% !important;
        padding: 1.5rem !important;
    }
}

/* ======================
   Full Width Checkout Page
   ====================== */

/* Make checkout page full width - override all layout constraints */
body.woocommerce-checkout,
body.woocommerce-checkout .wp-site-blocks,
body.woocommerce-checkout .wp-block-group,
body.woocommerce-checkout main,
body.woocommerce-checkout .site-main,
body.woocommerce-checkout .content-area,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .woocommerce {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Ensure checkout content area spans full width */
body.woocommerce-checkout {
    background: #f3f4f6 !important; /* Extend grey background to full width */
}

/* Override any WordPress block layout constraints on checkout */
body.woocommerce-checkout .wp-block-group {
    max-width: none !important;
    width: 100% !important;
}

/* Ensure checkout form and content area use full width */
body.woocommerce-checkout .woocommerce-checkout {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 2rem 0 !important;
}

/* Add padding only to the checkout form content, not the container */
body.woocommerce-checkout form.checkout,
body.woocommerce-checkout .woocommerce-checkout > div {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 1rem !important;
}

/* Ensure checkout tables and forms are properly contained */
body.woocommerce-checkout .checkout_coupon,
body.woocommerce-checkout .woocommerce-checkout-review-order,
body.woocommerce-checkout #customer_details {
    max-width: none !important;
    width: 100% !important;
}

/* Make checkout notice/message full width but content centered */
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-info {
    max-width: 1200px !important;
    margin: 0 auto 1.5rem auto !important;
    width: calc(100% - 2rem) !important;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    body.woocommerce-checkout form.checkout,
    body.woocommerce-checkout .woocommerce-checkout > div {
        padding: 0 1rem !important;
    }
}

/* Override WordPress core layout constraints specifically for checkout */
body.woocommerce-checkout .has-global-padding {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.woocommerce-checkout .wp-block-group.has-global-padding {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.woocommerce-checkout .wp-block-group.has-global-padding {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ======================
   Full Width Cart Page
   ====================== */

/* Make cart page full width - override all layout constraints */
body.woocommerce-cart,
body.woocommerce-cart .wp-site-blocks,
body.woocommerce-cart .wp-block-group,
body.woocommerce-cart main,
body.woocommerce-cart .site-main,
body.woocommerce-cart .content-area,
body.woocommerce-cart .entry-content,
body.woocommerce-cart .woocommerce {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Ensure cart content area spans full width */
body.woocommerce-cart {
    background: #f3f4f6 !important; /* Extend grey background to full width */
}

/* Override any WordPress block layout constraints on cart */
body.woocommerce-cart .wp-block-group {
    max-width: none !important;
    width: 100% !important;
}

/* Ensure cart form and content area use full width */
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 2rem 0 !important;
}

/* Add padding only to the cart content, not the container */
body.woocommerce-cart .woocommerce-cart-form__contents,
body.woocommerce-cart .cart-collaterals .cart_totals,
body.woocommerce-cart .woocommerce > div {
    max-width: 80rem !important; /* Match max-w-7xl used on other pages */
    margin: 0 auto !important;
    padding: 0 1rem !important;
}

/* Ensure cart tables and forms are properly contained */
body.woocommerce-cart table.cart,
body.woocommerce-cart .cart_totals,
body.woocommerce-cart .coupon {
    max-width: none !important;
    width: 100% !important;
}

/* Make cart notice/message full width but content centered */
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-error,
body.woocommerce-cart .woocommerce-info {
    max-width: 80rem !important; /* Match max-w-7xl used on other pages */
    margin: 0 auto 1.5rem auto !important;
    width: calc(100% - 2rem) !important;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    body.woocommerce-cart .woocommerce-cart-form__contents,
    body.woocommerce-cart .cart-collaterals .cart_totals,
    body.woocommerce-cart .woocommerce > div {
        padding: 0 1rem !important;
    }
}

/* Override WordPress core layout constraints specifically for cart */
body.woocommerce-cart .has-global-padding {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.woocommerce-cart .wp-block-group.has-global-padding {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Specific styling for WooCommerce Gutenberg cart block */
body.woocommerce-cart .wp-block-woocommerce-cart {
    max-width: 80rem !important; /* Match max-w-7xl used on other pages */
    margin: 0 auto !important;
    padding: 0 1rem !important;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart {
    max-width: none !important;
    width: 100% !important;
}

/* Custom CSS class for wide cart container - apply this to the cart block */
.wide-cart-container {
    max-width: 80rem !important; /* Match max-w-7xl (1280px) used on other pages */
    margin: 0 auto !important;
    padding: 0 1rem !important;
    width: 100% !important;
}

/* Ensure the cart content uses full width when using custom class */
.wide-cart-container .wc-block-cart,
.wide-cart-container .wc-block-components-sidebar-layout {
    max-width: none !important;
    width: 100% !important;
}

/* Override default WordPress layout constraints for wide cart */
.wide-cart-container.wp-block-woocommerce-cart,
.wide-cart-container .wp-block-woocommerce-cart {
    max-width: 80rem !important;
    margin: 0 auto !important;
    padding: 0 1rem !important;
}

/* Force wide layout for cart with custom class - highest specificity */
.wide-cart-container .wc-block-components-sidebar-layout.wc-block-cart {
    max-width: 80rem !important;
    margin: 0 auto !important;
    padding: 0 1rem !important;
}

/* Responsive padding for wide cart on mobile */
@media (max-width: 768px) {
    .wide-cart-container {
        padding: 0 1rem !important;
    }
}

/* ======================
   WooCommerce Checkout Order Summary - Use Default Layout
   ====================== */

/* Minimal styling to preserve theme colors while using WooCommerce default layout */

/* Only apply our brand colors to prices, keep default layout structure */
.wc-block-components-order-summary-item__total-price .wc-block-components-product-price__value,
.wc-block-components-order-summary-item__individual-price {
    color: #ec4899 !important;
}

/* Keep default WooCommerce layout but style quantity badge with theme colors */
.wc-block-components-order-summary-item__quantity {
    background: #ec4899 !important;
    color: white !important;
}

/* Make checkout product images larger and more visible with proper alignment */
.wc-block-components-order-summary-item__image {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    flex-shrink: 0 !important;
    position: relative !important;
    display: flex !important;
    align-items: flex-start !important;
    margin: 0 !important;
    order: 1 !important;
}

.wc-block-components-order-summary-item__image img {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Fix quantity badge positioning */
.wc-block-components-order-summary-item__quantity {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    z-index: 10 !important;
    border-radius: 50% !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.75rem !important;
    font-weight: 400 !important;
    border: 2px solid white !important;
    box-shadow: 0 2px 4px rgba(147, 51, 234, 0.3) !important;
}

/* Fix order summary item layout */
.wc-block-components-order-summary-item {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 1rem !important;
    padding: 1.5rem 1rem 1rem 1rem !important;
    margin: 0 0 1rem 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background-color: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    transition: box-shadow 0.2s ease !important;
}

/* Subtle hover effect */
.wc-block-components-order-summary-item:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
}

/* Fix product description area alignment */
.wc-block-components-order-summary-item__description {
    flex: 1 1 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    margin: 0.75rem -0.5rem -0.5rem -0.5rem !important;
    padding: 1rem !important;
    min-width: 0 !important;
    width: calc(100% + 1rem) !important;
    max-width: calc(100% + 1rem) !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    order: 3 !important;
    background-color: #ffffff !important;
    border-top: 1px solid #e5e7eb !important;
    border-radius: 0 0 12px 12px !important;
}

/* Remove padding from individual prices */
.wc-block-components-order-summary-item__individual-prices {
    padding-top: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Fix total price positioning */
.wc-block-components-order-summary-item__total-price {
    margin-left: auto !important;
    flex-shrink: 0 !important;
    align-self: flex-start !important;
    margin-top: 0 !important;
    padding: 0 0 0 0.5rem !important;
    min-width: 80px !important;
    max-width: none !important;
    text-align: right !important;
    order: 2 !important;
}

/* Hide the tax text in order summary items - it takes up too much space */
.wc-block-components-order-summary-item__total-price .wc-block-components-product-price:not(.wc-block-components-product-price__value) {
    font-size: 0 !important;
}

/* But keep the price value visible */
.wc-block-components-order-summary-item__total-price .wc-block-components-product-price .wc-block-formatted-money-amount {
    font-size: 1rem !important;
    font-weight: 600 !important;
    display: block !important;
}

/* Override Oleo Script for checkout product names - use regular text font with highest specificity */
body.woocommerce-checkout .wc-block-components-product-name,
body.woocommerce-checkout h3.wc-block-components-product-name,
.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-product-name,
.woocommerce-checkout .wc-block-components-order-summary h3.wc-block-components-product-name {
    font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Remove purple underline from checkout product names */
body.woocommerce-checkout .wc-block-components-product-name::after,
body.woocommerce-checkout h3.wc-block-components-product-name::after,
.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-product-name::after,
.woocommerce-checkout .wc-block-components-order-summary h3.wc-block-components-product-name::after {
    display: none !important;
    content: none !important;
}

/* Hide product descriptions in checkout to keep it clean */
.wc-block-components-product-metadata,
.wc-block-components-product-metadata__description,
.wc-block-components-order-summary-item__description .wc-block-components-product-metadata,
.wc-block-components-order-summary-item__description p {
    display: none !important;
}

/* Add "Einzelpreis: " label before individual price in checkout */
.wc-block-components-order-summary-item__individual-price::before {
    content: "Einzelpreis: " !important;
    color: #6b7280 !important;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
}

/* Mobile responsive fixes for checkout order summary */
@media (max-width: 768px) {
    /* Adjust product images for mobile - slightly smaller but still visible */
    .wc-block-components-order-summary-item__image {
        width: 70px !important;
        height: 70px !important;
        min-width: 70px !important;
    }
    
    .wc-block-components-order-summary-item__image img {
        width: 70px !important;
        height: 70px !important;
        max-width: 70px !important;
        border-radius: 10px !important;
    }
    
    /* Fix price overflow on mobile */
    .wc-block-components-order-summary-item__total-price,
    .wc-block-components-order-summary-item__individual-prices {
        max-width: 70px !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        text-align: right !important;
        font-size: 0.875rem !important;
        line-height: 1.2 !important;
    }
    
    /* Ensure order summary items don't overflow on mobile */
    .wc-block-components-order-summary-item {
        padding: 1rem 0.5rem 0.75rem 0.5rem !important;
        overflow: visible !important;
        word-wrap: break-word !important;
        gap: 0.75rem !important;
    }
    
    /* Adjust product names on mobile */
    .wc-block-components-product-name {
        font-size: 0.875rem !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    /* Fix container width issues on mobile */
    .wc-block-components-order-summary__content,
    .wc-block-checkout__sidebar {
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    
    /* Ensure price values don't overflow */
    .wc-block-components-product-price__value,
    .wc-block-formatted-money-amount {
        display: inline-block !important;
        max-width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }
}

/* ======================
   WooCommerce Cart Block Table Headers - Fix White on White Issue
   ====================== */

/* Cart table header row styling */
.wc-block-cart-items__header {
    display: none !important;
}

/* Individual cart header cells */
.wc-block-cart-items__header-image,
.wc-block-cart-items__header-product,
.wc-block-cart-items__header-total {
    display: none !important;
}

/* Header text spans styling */
.wc-block-cart-items__header-image span,
.wc-block-cart-items__header-product span,
.wc-block-cart-items__header-total span {
    display: none !important;
}

/* Additional specificity for cart table headers to override any conflicting styles */
table.wc-block-cart-items .wc-block-cart-items__header th,
table.wc-block-cart-items thead th,
.wc-block-cart-items thead tr th {
    display: none !important;
}

/* Ensure the cart table structure is properly displayed */
.wc-block-cart-items,
table.wc-block-cart-items {
    display: table !important;
    width: 100% !important;
    table-layout: fixed !important;
}

.wc-block-cart-items__header,
.wc-block-cart-items thead tr {
    display: none !important;
}

/* Force all three headers to be visible with equal width */
.wc-block-cart-items__header-image {
    display: none !important;
}

.wc-block-cart-items__header-product {
    display: none !important;
}

.wc-block-cart-items__header-total {
    display: none !important;
}

/* Ensure any nested elements in headers are also hidden */
.wc-block-cart-items__header * {
    display: none !important;
}

/* Mobile responsive adjustments for cart headers */
@media (max-width: 768px) {
    .wc-block-cart-items__header-image,
    .wc-block-cart-items__header-product,
    .wc-block-cart-items__header-total {
        display: none !important;
    }
}

/* ===== BLOG POST EQUAL HEIGHT CARDS FIX ===== */

/* Force equal height blog post cards with very specific selectors */

/* Grid container - force stretch behavior */
body.home .grid[class*="grid-cols"],
body.archive .grid[class*="grid-cols"] {
    display: grid !important;
    align-items: stretch !important;
}

/* Article containers - make them flex */
body.home article.post,
body.archive article.post,
body.home article.group,
body.archive article.group {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

/* Card containers - white rounded div */
body.home article div.bg-white,
body.archive article div.bg-white {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 450px !important;
}

/* Image areas - consistent height */
body.home article div.bg-white > div[class*="aspect-w"],
body.home article div.bg-white > div.h-48,
body.archive article div.bg-white > div[class*="aspect-w"],
body.archive article div.bg-white > div.h-48 {
    height: 12rem !important;
    flex-shrink: 0 !important;
}

/* Content area - make flex */
body.home article div.bg-white > div.p-6,
body.archive article div.bg-white > div.p-6 {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    justify-content: space-between !important;
}

/* Title consistency */
body.home article div.p-6 > h2,
body.archive article div.p-6 > h2 {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 2.6em !important;
    line-height: 1.3 !important;
    flex-shrink: 0 !important;
}

/* Excerpt area - grow to fill space */
body.home article div.p-6 > div[class*="line-clamp"],
body.archive article div.p-6 > div[class*="line-clamp"] {
    flex: 1 !important;
    margin-bottom: 1rem !important;
}

/* Footer - stick to bottom */
body.home article div.p-6 > div[class*="flex"][class*="justify-between"],
body.archive article div.p-6 > div[class*="flex"][class*="justify-between"] {
    margin-top: auto !important;
    flex-shrink: 0 !important;
}

/* Meta info - consistent height */
body.home article div.p-6 > div[class*="text-sm"][class*="text-gray-500"],
body.archive article div.p-6 > div[class*="text-sm"][class*="text-gray-500"] {
    flex-shrink: 0 !important;
    min-height: 1.5rem !important;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    body.home article div.bg-white,
    body.archive article div.bg-white {
        min-height: 380px !important;
    }
}

/* ==========================================
   DROPDOWN MENU STYLES
   ========================================== */

/* Main navigation dropdown styling */
.main-navigation .nav-menu {
    position: relative;
}

.main-navigation .nav-menu li {
    position: relative;
}

/* Style for menu items with children */
.main-navigation .nav-menu .menu-item-has-children > a:after {
    content: ' ▼';
    font-size: 0.75rem;
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.main-navigation .nav-menu .menu-item-has-children:hover > a:after {
    transform: rotate(180deg);
}

/* Dropdown/Sub-menu styling */
.main-navigation .nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    padding: 0.75rem 0;
    min-width: 320px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
    backdrop-filter: blur(10px);
    border-top: 3px solid #9333ea;
}

/* Show dropdown on hover */
.main-navigation .nav-menu .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: dropdownSlideIn 0.3s ease-out;
}

/* Dropdown animation */
@keyframes dropdownSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-15px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Sub-menu items */
.main-navigation .nav-menu .sub-menu li {
    margin: 0;
    padding: 0;
    position: relative;
    opacity: 0;
    transform: translateX(-10px);
    animation: none;
}

/* Staggered animation for menu items */
.main-navigation .nav-menu .menu-item-has-children:hover .sub-menu li {
    animation: menuItemSlideIn 0.4s ease-out forwards;
}

.main-navigation .nav-menu .menu-item-has-children:hover .sub-menu li:nth-child(1) { animation-delay: 0.05s; }
.main-navigation .nav-menu .menu-item-has-children:hover .sub-menu li:nth-child(2) { animation-delay: 0.1s; }
.main-navigation .nav-menu .menu-item-has-children:hover .sub-menu li:nth-child(3) { animation-delay: 0.15s; }
.main-navigation .nav-menu .menu-item-has-children:hover .sub-menu li:nth-child(4) { animation-delay: 0.2s; }
.main-navigation .nav-menu .menu-item-has-children:hover .sub-menu li:nth-child(5) { animation-delay: 0.25s; }
.main-navigation .nav-menu .menu-item-has-children:hover .sub-menu li:nth-child(6) { animation-delay: 0.3s; }

@keyframes menuItemSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.main-navigation .nav-menu .sub-menu li a {
    display: block;
    padding: 1rem 3rem 1rem 1.25rem;
    color: #374151;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f3f4f6;
    position: relative;
    overflow: hidden;
    margin: 0;
    border-radius: 0;
}

.main-navigation .nav-menu .sub-menu li a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: #9333ea;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.main-navigation .nav-menu .sub-menu li a:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #9333ea;
    padding-left: 1.5rem;
    padding-right: 3rem;
    transform: translateX(4px);
}

.main-navigation .nav-menu .sub-menu li a:hover:before {
    transform: translateX(0);
}

/* Remove border from last item */
.main-navigation .nav-menu .sub-menu li:last-child a {
    border-bottom: none;
}

/* Category-specific icons for menu items */
.main-navigation .nav-menu .sub-menu li a:after {
    content: '';
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-navigation .nav-menu .sub-menu li a:hover:after {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

/* Recipe category icons */
.main-navigation .nav-menu .sub-menu li a[href*="backmatten-rezepte"]:after {
    content: '🧁';
}

.main-navigation .nav-menu .sub-menu li a[href*="getreidefreie"]:after {
    content: '🌾';
}

.main-navigation .nav-menu .sub-menu li a[href*="mit-fleisch"]:after {
    content: '🥩';
}

.main-navigation .nav-menu .sub-menu li a[href*="ausstecher-rezepte"]:after {
    content: '🍪';
}

.main-navigation .nav-menu .sub-menu li a[href*="mit-gemuese"]:after {
    content: '🥕';
}

.main-navigation .nav-menu .sub-menu li a[href*="vegetarische"]:after {
    content: '🌱';
}

/* Shop category icons */
.main-navigation .nav-menu .sub-menu li a[href*="dog-bakery-box"]:after {
    content: '📦';
}

.main-navigation .nav-menu .sub-menu li a[href*="rezeptbuecher"]:after {
    content: '📚';
}

.main-navigation .nav-menu .sub-menu li a[href*="e-books"]:after {
    content: '📖';
}

.main-navigation .nav-menu .sub-menu li a[href*="backmatten-hundekekse"]:after {
    content: '🧁';
}

.main-navigation .nav-menu .sub-menu li a[href*="schleckmatten"]:after {
    content: '👅';
}

.main-navigation .nav-menu .sub-menu li a[href*="ausstechformen"]:after {
    content: '🍪';
}

/* Active/current menu item styling */
.main-navigation .nav-menu .current-menu-item > a {
    color: #9333ea;
    font-weight: 600;
}

/* Mobile dropdown styling */
@media (max-width: 768px) {
    .mobile-nav-menu .menu-item-has-children > a:after {
        content: ' ▼';
        font-size: 0.75rem;
        margin-left: 0.5rem;
        transition: transform 0.3s ease;
        opacity: 0.7;
    }
    
    .mobile-nav-menu .menu-item-has-children.mobile-dropdown-open > a:after {
        transform: rotate(180deg);
        opacity: 1;
    }
    
    .mobile-nav-menu .sub-menu {
        display: none;
        list-style: none;
        margin: 0.75rem 0 0 0;
        padding: 0;
        background: #f8fafc;
        border-radius: 8px;
        border: 1px solid #e5e7eb;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-nav-menu .menu-item-has-children.mobile-dropdown-open .sub-menu {
        display: block;
        animation: mobileDropdownSlideIn 0.3s ease-out;
    }
    
    .mobile-nav-menu .sub-menu li {
        margin: 0;
        position: relative;
        opacity: 0;
        transform: translateX(-10px);
        animation: none;
    }
    
    .mobile-nav-menu .menu-item-has-children.mobile-dropdown-open .sub-menu li {
        animation: mobileMenuItemSlideIn 0.4s ease-out forwards;
    }
    
    .mobile-nav-menu .menu-item-has-children.mobile-dropdown-open .sub-menu li:nth-child(1) { animation-delay: 0.05s; }
    .mobile-nav-menu .menu-item-has-children.mobile-dropdown-open .sub-menu li:nth-child(2) { animation-delay: 0.1s; }
    .mobile-nav-menu .menu-item-has-children.mobile-dropdown-open .sub-menu li:nth-child(3) { animation-delay: 0.15s; }
    .mobile-nav-menu .menu-item-has-children.mobile-dropdown-open .sub-menu li:nth-child(4) { animation-delay: 0.2s; }
    .mobile-nav-menu .menu-item-has-children.mobile-dropdown-open .sub-menu li:nth-child(5) { animation-delay: 0.25s; }
    .mobile-nav-menu .menu-item-has-children.mobile-dropdown-open .sub-menu li:nth-child(6) { animation-delay: 0.3s; }
    
    .mobile-nav-menu .sub-menu li a {
        display: block;
        color: #374151;
        font-size: 0.9rem;
        font-weight: 500;
        padding: 1rem 3rem 1rem 1.25rem;
        text-decoration: none;
        border-bottom: 1px solid #e5e7eb;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .mobile-nav-menu .sub-menu li:last-child a {
        border-bottom: none;
    }
    
    .mobile-nav-menu .sub-menu li a:before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 4px;
        background: #9333ea;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .mobile-nav-menu .sub-menu li a:hover {
        background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
        color: #9333ea;
        padding-left: 1.5rem;
        transform: translateX(4px);
    }
    
    .mobile-nav-menu .sub-menu li a:hover:before {
        transform: translateX(0);
    }
    
    /* Mobile category icons */
    .mobile-nav-menu .sub-menu li a:after {
        content: '';
        position: absolute;
        right: 1.25rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.1rem;
        opacity: 0.7;
        transition: all 0.3s ease;
        width: 1.5rem;
        height: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-nav-menu .sub-menu li a:hover:after {
        opacity: 1;
        transform: translateY(-50%) scale(1.1);
    }
    
    /* Mobile recipe category icons */
    .mobile-nav-menu .sub-menu li a[href*="backmatten-rezepte"]:after {
        content: '🧁';
    }
    
    .mobile-nav-menu .sub-menu li a[href*="getreidefreie"]:after {
        content: '🌾';
    }
    
    .mobile-nav-menu .sub-menu li a[href*="mit-fleisch"]:after {
        content: '🥩';
    }
    
    .mobile-nav-menu .sub-menu li a[href*="ausstecher-rezepte"]:after {
        content: '🍪';
    }
    
    .mobile-nav-menu .sub-menu li a[href*="mit-gemuese"]:after {
        content: '🥕';
    }
    
    .mobile-nav-menu .sub-menu li a[href*="vegetarische"]:after {
        content: '🌱';
    }
    
    /* Mobile shop category icons */
    .mobile-nav-menu .sub-menu li a[href*="dog-bakery-box"]:after {
        content: '📦';
    }
    
    .mobile-nav-menu .sub-menu li a[href*="rezeptbuecher"]:after {
        content: '📚';
    }
    
    .mobile-nav-menu .sub-menu li a[href*="e-books"]:after {
        content: '📖';
    }
    
    .mobile-nav-menu .sub-menu li a[href*="backmatten-hundekekse"]:after {
        content: '🧁';
    }
    
    .mobile-nav-menu .sub-menu li a[href*="schleckmatten"]:after {
        content: '👅';
    }
    
    .mobile-nav-menu .sub-menu li a[href*="ausstechformen"]:after {
        content: '🍪';
    }
    
    /* Mobile animations */
    @keyframes mobileDropdownSlideIn {
        0% {
            opacity: 0;
            transform: translateY(-10px) scale(0.95);
        }
        100% {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
    
    @keyframes mobileMenuItemSlideIn {
        0% {
            opacity: 0;
            transform: translateX(-10px);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }
}

/* Ensure dropdown doesn't break layout on small screens */
@media (max-width: 1024px) {
    .main-navigation .nav-menu .sub-menu {
        right: 0;
        left: auto;
    }
}

/* Animation improvements */
.main-navigation .nav-menu .menu-item-has-children {
    transition: all 0.2s ease;
}

.main-navigation .nav-menu .menu-item-has-children:hover {
    transform: translateY(-1px);
}

/* CRITICAL OVERRIDE: Force horizontal layout for quantity and button - HIGHEST SPECIFICITY */
html body.woocommerce div.product form.cart,
html body.single-product .woocommerce div.product form.cart,
html body.woocommerce.single-product div.product form.cart {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
}

html body.woocommerce div.product form.cart .quantity,
html body.single-product .woocommerce div.product form.cart .quantity,
html body.woocommerce.single-product div.product form.cart .quantity {
    width: auto !important;
    max-width: 120px !important;
    flex-shrink: 0 !important;
    order: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    float: none !important;
    position: static !important;
    clear: none !important;
}

html body.woocommerce div.product form.cart .single_add_to_cart_button,
html body.single-product .woocommerce div.product form.cart .single_add_to_cart_button,
html body.woocommerce.single-product div.product form.cart .single_add_to_cart_button {
    flex-shrink: 0 !important;
    order: 2 !important;
    display: inline-block !important;
    float: none !important;
    position: static !important;
    clear: none !important;
    width: auto !important;
}

/* ULTRA-SPECIFIC OVERRIDE: Target exact form structure */
html body.woocommerce div.product form.cart:not(.composite_form):not(.cart_group),
html body.single-product .woocommerce div.product form.cart:not(.composite_form):not(.cart_group),
html body.woocommerce.single-product div.product form.cart:not(.composite_form):not(.cart_group) {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
}

/* Force quantity to behave in flex container */
html body.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) > .quantity,
html body.single-product .woocommerce div.product form.cart:not(.composite_form):not(.cart_group) > .quantity,
html body.woocommerce.single-product div.product form.cart:not(.composite_form):not(.cart_group) > .quantity {
    width: auto !important;
    max-width: 120px !important;
    flex: 0 0 auto !important;
    order: 1 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
}

/* Force button to behave in flex container */
html body.woocommerce div.product form.cart:not(.composite_form):not(.cart_group) > .single_add_to_cart_button,
html body.single-product .woocommerce div.product form.cart:not(.composite_form):not(.cart_group) > .single_add_to_cart_button,
html body.woocommerce.single-product div.product form.cart:not(.composite_form):not(.cart_group) > .single_add_to_cart_button {
    flex: 0 0 auto !important;
    order: 2 !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
}

/* LAST RESORT: Maximum specificity with all possible selectors */
html body.woocommerce div.product form.cart,
html body.single-product .woocommerce div.product form.cart,
html body.woocommerce.single-product div.product form.cart,
body.woocommerce div.product form.cart,
body.single-product .woocommerce div.product form.cart,
.woocommerce div.product form.cart,
.single-product .woocommerce div.product form.cart {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
}

/* Ensure quantity doesn't take full width */
html body.woocommerce div.product form.cart .quantity,
html body.single-product .woocommerce div.product form.cart .quantity,
html body.woocommerce.single-product div.product form.cart .quantity,
body.woocommerce div.product form.cart .quantity,
body.single-product .woocommerce div.product form.cart .quantity,
.woocommerce div.product form.cart .quantity,
.single-product .woocommerce div.product form.cart .quantity {
    width: auto !important;
    max-width: 150px !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure button stays inline */
html body.woocommerce div.product form.cart .single_add_to_cart_button,
html body.single-product .woocommerce div.product form.cart .single_add_to_cart_button,
html body.woocommerce.single-product div.product form.cart .single_add_to_cart_button,
body.woocommerce div.product form.cart .single_add_to_cart_button,
body.single-product .woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce div.product form.cart .single_add_to_cart_button,
.single-product .woocommerce div.product form.cart .single_add_to_cart_button {
    flex: 0 0 auto !important;
    margin: 0 !important;
    width: auto !important;
}

/* =============================================================================
   WooCommerce Product Options (WPO) - Horizontal Scrolling
   ============================================================================= */

/* Make the image buttons container horizontally scrollable */
.wpo-image-buttons {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 8px 0 !important;
    gap: 12px !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
}

/* Style the scrollbar for better UX */
.wpo-image-buttons::-webkit-scrollbar {
    height: 6px !important;
}

.wpo-image-buttons::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
    border-radius: 3px !important;
}

.wpo-image-buttons::-webkit-scrollbar-thumb {
    background: #c1c1c1 !important;
    border-radius: 3px !important;
}

.wpo-image-buttons::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8 !important;
}

/* Ensure each image button doesn't shrink and has consistent width */
.wpo-image-buttons .wpo-image-button {
    flex: 0 0 auto !important;
    min-width: 118px !important;
    margin: 0 !important;
    display: block !important;
    text-align: center !important;
}

/* Ensure the figure maintains proper sizing and contains both image and text */
.wpo-image-buttons .wpo-image-button .wpo-image-wrap {
    width: 100% !important;
    max-width: 118px !important;
    margin: 0 auto !important;
    display: block !important;
}

/* Style the image container to maintain square aspect ratio */
.wpo-image-buttons .wpo-image-button .wpo-image-wrap img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 !important;
    object-fit: cover !important;
}

/* Ensure the figcaption (text below image) is visible and properly styled */
.wpo-image-buttons .wpo-image-button .wpo-image-text {
    display: block !important;
    margin-top: 8px !important;
    text-align: center !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
}



/* Mobile responsive adjustments */
@media (max-width: 480px) {
    .wpo-image-buttons .wpo-image-button {
        min-width: 100px !important;
    }
    
    .wpo-image-buttons .wpo-image-button .wpo-image-wrap {
        max-width: 100px !important;
    }
}

/* ======================
   Category Widget Styling
   ====================== */

/* Main category list container */
.wp-block-categories-list.wp-block-categories {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid;
    gap: 0.5rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Individual category items */
.wp-block-categories-list .cat-item {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wp-block-categories-list .cat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.15);
    border-color: #a855f7;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
}

/* Category links */
.wp-block-categories-list .cat-item a {
    display: block !important;
    padding: 0.875rem 1rem !important;
    text-decoration: none !important;
    color: #374151 !important;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
    line-height: 1.4 !important;
    position: relative;
    transition: all 0.3s ease;
}

.wp-block-categories-list .cat-item a:hover {
    color: #7c3aed !important;
    text-decoration: none !important;
}

/* Emoji icons are now handled programmatically by the custom walker */
/* Removed CSS ::before emojis to avoid duplicates */

/* Responsive adjustments */
@media (max-width: 768px) {
    .wp-block-categories-list.wp-block-categories {
        gap: 0.375rem;
    }
    
    .wp-block-categories-list .cat-item a {
        padding: 0.75rem 0.875rem !important;
        font-size: 0.8125rem !important;
    }
}

/* Widget title styling if present */
.widget-title + .wp-block-categories-list {
    margin-top: 1rem !important;
}

/* Alternative compact layout for sidebar */
.widget .wp-block-categories-list.wp-block-categories {
    gap: 0.25rem;
}

.widget .wp-block-categories-list .cat-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

.widget .wp-block-categories-list .cat-item:hover {
    background: #fef3ff;
    border-color: #d8b4fe;
}

/* Additional styling for widget category emojis */
.widget .wp-block-categories-list .category-emoji {
    font-size: 1rem;
    margin-right: 0.5rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.widget .wp-block-categories-list .cat-item:hover .category-emoji {
    opacity: 1;
    transform: scale(1.1);
}

.widget .wp-block-categories-list .category-name {
    font-weight: 500;
    color: #374151;
}

.widget .wp-block-categories-list .category-count {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 400;
}

/* === HOMEPAGE LATEST CONTENT SECTION STYLES === */
/* Line clamp utilities for text truncation */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

/* Smooth hover animations for latest content cards */
.latest-content-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.latest-content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Enhanced button hover effects */
.latest-content-button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.latest-content-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Responsive adjustments for latest content section */
@media (max-width: 768px) {
    .latest-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .latest-content-card {
        padding: 1.5rem;
    }
    
    .latest-content-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Ensure proper spacing and alignment */
.latest-content-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.latest-content-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: #6b7280;
}

/* Thumbnail hover effects */
.latest-content-thumbnail {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0.75rem;
    overflow: hidden;
}

.latest-content-card:hover .latest-content-thumbnail {
    transform: scale(1.05);
}

/* Title hover effects */
.latest-content-title {
    transition: color 0.2s ease-in-out;
}

.latest-content-card:hover .latest-content-title {
    color: inherit; /* Will be overridden by specific color classes */
}

/* Icon styling for section headers */
.latest-content-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--icon-from), var(--icon-to));
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Gradient backgrounds for sections */
.ratgeber-section {
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    border: 1px solid #bfdbfe;
}

.recipes-section {
    background: linear-gradient(135deg, #dcfce7 0%, #d1fae5 100%);
    border: 1px solid #bbf7d0;
}

/* Button arrow animation */
.latest-content-arrow {
    transition: transform 0.2s ease-in-out;
}

.latest-content-button:hover .latest-content-arrow {
    transform: translateX(0.25rem);
}
/* === END HOMEPAGE LATEST CONTENT SECTION STYLES === */

/* ======================
   WP RECIPE MAKER STYLING
   ====================== */

/* Recipe Instructions - Enhanced styling with custom numbering */
.wprm-recipe-instructions {
    list-style: none !important;
    margin: 0 0 1.5rem 1.75rem !important;
    padding: 0 !important;
    counter-reset: recipe-step;
}

li.wprm-recipe-instruction {
    position: relative !important;
    margin-bottom: 1rem !important;
    padding: 1.1rem 1.5rem 1.1rem 4.5rem !important;
    background: linear-gradient(to right, rgb(250 245 255), rgb(239 246 255)) !important;
    border-radius: 0.75rem !important;
    border: 1px solid rgb(196 181 253) !important;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.05) !important;
    transition: all 0.2s ease-in-out !important;
    counter-increment: recipe-step;
}

.wprm-recipe-instruction::before {
    content: '' !important;
    display: none !important;
}

.wprm-recipe-instruction:hover {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1) !important;
    transform: translateX(3px) !important;
}

.wprm-recipe-instruction-text {
    color: rgb(55 65 81) !important;
    line-height: 1.7 !important;
    margin-bottom: 0 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wprm-recipe-instruction {
        padding: 0.9rem 1.25rem 0.9rem 3.5rem !important;
    }
}

/* ======================
   CUSTOM LANDING PAGE STYLES FOR POST ID 30266
   ====================== */

.db-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: center;
    padding: 48px 0;
}

.db-hero__content h1 {
    font-size: clamp(28px, 4vw, 44px);
    margin: 0 0 8px;
    font-weight: 700 !important;
    color: #1f2937;
    line-height: 1.2;
}

.db-hero__content p {
    font-size: 1.1rem;
    color: #6b7280;
    margin: 0 0 16px;
    line-height: 1.6;
}

.db-bullets {
    margin: 12px 0 20px;
    padding-left: 18px;
    list-style: none;
}

.db-bullets li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 8px;
    color: #374151;
    font-weight: 500;
}

.db-bullets li::before {
    content: "✓";
    position: absolute;
    left: -18px;
    color: #059669;
    font-weight: bold;
    font-size: 1.1rem;
}

.db-btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    margin-right: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.db-btn--primary {
    background: #7a3df0;
    color: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.db-btn--primary:hover {
    background: #6d28d9;
    transform: translateY(-2px);
    box-shadow: 0 8px 12px -1px rgba(0, 0, 0, 0.15);
}

.db-btn--ghost {
    border: 2px solid #7a3df0;
    color: #7a3df0;
    background: transparent;
}

.db-btn--ghost:hover {
    background: #7a3df0;
    color: white;
    transform: translateY(-2px);
}

.db-trust ul {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0.85;
    margin: 12px 0 24px;
    padding: 0;
    list-style: none;
}

.db-trust li {
    background: #f9fafb;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #374151;
    font-weight: 500;
    border: 1px solid #e5e7eb;
}

.db-inside, .db-steps, .db-gift, .db-reviews, .db-faq, .db-buy {
    margin: 48px 0;
}

.db-inside h2, .db-steps h2, .db-gift h2, .db-reviews h2, .db-faq h2, .db-buy h2 {
    text-align: center;
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 32px;
    font-weight: 700 !important;
    color: #1f2937;
}

.db-inside .db-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.db-inside article, .db-reviews .review-card, .product-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.db-inside article:hover, .db-reviews .review-card:hover, .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.db-inside h3, .db-reviews h3, .product-card h3 {
    font-size: 1.1rem;
    margin: 16px 0 8px;
    font-weight: 600 !important;
    color: #1f2937;
}

.db-inside p, .db-reviews p {
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

.db-steps ol {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    counter-reset: step;
    list-style: none;
    padding: 0;
    justify-content: center;
}

.db-steps li {
    background: #faf7ff;
    padding: 12px 14px;
    border-radius: 10px;
    position: relative;
    counter-increment: step;
    font-weight: 600;
    color: #374151;
    border: 1px solid #e9d5ff;
    min-width: 120px;
    text-align: center;
}

.db-steps li::before {
    content: counter(step);
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #7a3df0;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

.db-gift {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #f59e0b;
}

.db-gift h2 {
    color: #92400e !important;
    margin-bottom: 16px !important;
}

.db-gift p {
    color: #78350f;
    font-size: 1.1rem;
    margin: 0;
}

.db-reviews .db-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.review-card .stars {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.review-card cite {
    display: block;
    text-align: right;
    font-style: normal;
    font-weight: 600;
    color: #7a3df0;
    margin-top: 12px;
    font-size: 0.9rem;
}

.db-faq .faq-container {
    max-width: 800px;
    margin: 0 auto;
    space-y: 16px;
}

.faq-item {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.faq-item summary {
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    color: #1f2937;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s ease;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    float: right;
    font-size: 1.5rem;
    color: #7a3df0;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary:hover {
    background: #f3f4f6;
}

.faq-content {
    padding: 20px 24px;
}

.faq-content p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.db-cutoff {
    background: #fff3cd;
    border: 1px solid #ffe39a;
    padding: 12px;
    border-radius: 10px;
    margin: 12px 0;
    text-align: center;
}

.db-cutoff strong {
    color: #b45309;
}

.db-buy {
    padding: 16px 0;
    text-align: center;
}

.product-showcase .db-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

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

.product-card .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #7a3df0;
    margin: 12px 0;
}

.product-card .btn-link {
    display: inline-block;
    background: #7a3df0;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 12px;
    transition: all 0.2s ease;
}

.product-card:hover .btn-link {
    background: #6d28d9;
    transform: translateY(-1px);
}

/* Responsive Design */
@media(max-width: 900px) {
    .db-hero {
        grid-template-columns: 1fr;
        gap: 18px;
        text-align: center;
    }
    
    .db-inside .db-grid, .db-reviews .db-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .db-steps ol {
        flex-direction: column;
        align-items: center;
    }
    
    .db-steps li {
        width: 200px;
    }
}

@media(max-width: 600px) {
    .db-inside .db-grid, .db-reviews .db-grid {
        grid-template-columns: 1fr;
    }
    
    .db-hero {
        padding: 24px 0;
    }
    
    .db-hero__content h1 {
        font-size: clamp(24px, 6vw, 32px);
    }
    
    .db-trust ul {
        justify-content: center;
    }
    
    .db-steps li {
        width: 100%;
        max-width: 250px;
    }
    
    .product-showcase .db-grid {
        grid-template-columns: 1fr;
    }
}

/* ======================
   END CUSTOM LANDING PAGE STYLES
   ====================== */

/* Align WooCommerce product info elements - desktop only */
@media (min-width: 641px) {
    .wgm-info.woocommerce-de_price_taxrate,
    .wgm-info.woocommerce_de_versandkosten,
    .wgm-info.shipping_de {
        margin-left: 30px !important;
    }
}

/* Base styles for wgm-info */
.wgm-info.woocommerce-de_price_taxrate,
.wgm-info.woocommerce_de_versandkosten,
.wgm-info.shipping_de {
    display: block !important;
    margin-bottom: 0.25rem !important;
}

/* Additional spacing for better alignment */
.wgm-info.woocommerce_de_versandkosten .versandkosten {
    margin-left: 0 !important;
}

/* Hide tax info in product loop on all screen sizes - shown on detail pages only */
.woocommerce ul.products li.product .wgm-info {
    display: none !important;
}

/* Mobile-specific adjustments for product loop */
@media (max-width: 640px) {
    
    /* Aggressively reduce padding in product cards on mobile */
    .woocommerce ul.products li.product > div[class*="p-6"] {
        padding: 0.75rem !important;
    }
    
    /* Reduce all spacing in product card content */
    .woocommerce ul.products li.product .mb-3 {
        margin-bottom: 0.375rem !important;
    }
    
    .woocommerce ul.products li.product .mb-4 {
        margin-bottom: 0.5rem !important;
    }
}

/* ======================
   WPRM RECIPE SNIPPET BUTTON STYLING
   ====================== */

/* Container for recipe snippet buttons */
.wprm-recipe-snippet {
    margin: 1.5rem 0 !important;
    padding: 1rem !important;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1) !important;
    text-align: center !important;
}

/* Base button styling for both recipe buttons */
.wprm-recipe-snippet .wprm-recipe-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 0.75rem 1.5rem !important;
    margin: 0 0.5rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out !important;
    cursor: pointer !important;
    border: none !important;
    position: relative !important;
    overflow: hidden !important;
    color: inherit !important;
}

/* Jump to Recipe Button - Primary Style */
.wprm-recipe-snippet .wprm-jump-to-recipe-shortcode {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
    color: white !important;
    box-shadow: 0 4px 6px -1px rgba(124, 58, 237, 0.25), 0 2px 4px -1px rgba(124, 58, 237, 0.15) !important;
}

.wprm-recipe-snippet .wprm-jump-to-recipe-shortcode:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 12px -1px rgba(124, 58, 237, 0.35), 0 4px 6px -1px rgba(124, 58, 237, 0.25) !important;
}

/* Print Recipe Button - Secondary/Outline Style */
.wprm-recipe-snippet .wprm-print-recipe-shortcode {
    background: transparent !important;
    color: #7c3aed !important;
    border: 2px solid #7c3aed !important;
    box-shadow: 0 2px 4px -1px rgba(124, 58, 237, 0.1) !important;
}

.wprm-recipe-snippet .wprm-print-recipe-shortcode:hover {
    background: #7c3aed !important;
    color: white !important;
    border-color: #7c3aed !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 10px -1px rgba(124, 58, 237, 0.25), 0 4px 6px -1px rgba(124, 58, 237, 0.15) !important;
}

/* Add icons using CSS pseudo-elements */
.wprm-recipe-snippet .wprm-jump-to-recipe-shortcode::before {
    content: "📋" !important;
    font-size: 1rem !important;
    margin-right: 0.25rem !important;
}

.wprm-recipe-snippet .wprm-print-recipe-shortcode::before {
    content: "🖨️" !important;
    font-size: 1rem !important;
    margin-right: 0.25rem !important;
}

/* Mobile responsiveness */
@media (max-width: 640px) {
    .wprm-recipe-snippet .wprm-recipe-link {
        display: block !important;
        margin: 0.5rem 0 !important;
        width: 100% !important;
        max-width: 280px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .wprm-recipe-snippet {
        padding: 0.75rem !important;
    }
}

/* Override any conflicting WPRM styles */
.wprm-recipe-template-snippet-basic .wprm-recipe-link {
    font-family: inherit !important;
    line-height: 1.5 !important;
}

/* Ensure buttons work properly with focus states for accessibility */
.wprm-recipe-snippet .wprm-recipe-link:focus {
    outline: 2px solid #7c3aed !important;
    outline-offset: 2px !important;
}

/* ========================================
   PRODUCT BULLET POINTS
   ======================================== */

/* Container for product bullet points */
.dog-bakery-product-bullet-points {
    margin: 1.5rem 0 !important;
    padding: 1.5rem !important;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%) !important;
    border-radius: 1rem !important;
    border: 2px solid #e5e7eb !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

/* Bullet points list */
.dog-bakery-bullet-list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Individual bullet point item */
.dog-bakery-bullet-item {
    display: flex !important;
    align-items: flex-start !important;
    margin: 0 0 0.875rem 0 !important;
    padding: 0 !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: #374151 !important;
}

.dog-bakery-bullet-item:last-child {
    margin-bottom: 0 !important;
}

/* Checkmark icon */
.dog-bakery-bullet-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 1.75rem !important;
    height: 1.75rem !important;
    margin-right: 0.75rem !important;
    flex-shrink: 0 !important;
    background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%) !important;
    color: white !important;
    border-radius: 50% !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(147, 51, 234, 0.3) !important;
}

/* Bullet point text */
.dog-bakery-bullet-text {
    flex: 1 !important;
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif !important;
    font-weight: 500 !important;
    color: #1f2937 !important;
}

/* Mobile responsiveness */
@media (max-width: 640px) {
    .dog-bakery-product-bullet-points {
        padding: 1rem !important;
        margin: 1rem 0 !important;
    }
    
    .dog-bakery-bullet-item {
        font-size: 0.9375rem !important;
    }
    
    .dog-bakery-bullet-icon {
        width: 1.5rem !important;
        height: 1.5rem !important;
        font-size: 0.75rem !important;
    }
}

/* ============================================
   PRODUCT VARIATIONS FORM STYLING
   ============================================ */

/* Variations form container */
.variations_form.cart {
    margin-top: 1.5rem;
}

/* Variations table */
.variations {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin-bottom: 0 !important;
    border: none !important;
}

.variations tbody {
    border: none !important;
}

.variations tr {
    border: none !important;
    margin-bottom: 0 !important;
    display: block !important;
}

.variations th.label {
    display: block !important;
    width: 100% !important;
    padding: 0 0 0.5rem 0 !important;
    text-align: left !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    color: #1f2937 !important;
    background: none !important;
    border: none !important;
}

.variations th.label label {
    font-weight: 600 !important;
    color: #1f2937 !important;
    font-size: 0.95rem !important;
}

.variations td.value {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    border: none !important;
}

/* Select dropdown styling */
.variations select,
.variations_form select {
    width: 100% !important;
    padding: 0.625rem 0.875rem !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    color: #1f2937 !important;
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") !important;
    background-position: right 0.75rem center !important;
    background-repeat: no-repeat !important;
    background-size: 1.5em 1.5em !important;
    border: 1px solid #d1d5db !important;
    border-radius: 0.5rem !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.variations select:hover,
.variations_form select:hover {
    border-color: #9333ea !important;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1) !important;
}

.variations select:focus,
.variations_form select:focus {
    outline: none !important;
    border-color: #9333ea !important;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.15) !important;
}

/* Reset variations link - hide it as it's not necessary */
.reset_variations {
    display: none !important;
}

/* Single variation wrapper */
.single_variation_wrap {
    margin-top: 1rem !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Move the single_variation (price display) below the custom fields */
.single_variation {
    padding: 0.75rem !important;
    background-color: #f9fafb !important;
    border-radius: 0.5rem !important;
    margin-top: 25px !important;
    margin-bottom: 0.75rem !important;
    border: 1px solid #e5e7eb !important;
    order: 2 !important; /* Move after custom fields */
}

.single_variation .woocommerce-variation-price {
    margin-bottom: 0.5rem !important;
}

.single_variation .price {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #9333ea !important;
}

/* Remove left padding/margin from tax and shipping info in variation box */
.single_variation .wgm-info {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.single_variation .woocommerce-de_price_taxrate,
.single_variation .woocommerce_de_versandkosten,
.single_variation .shipping_de {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* Remove padding from legacy offers (shown before variation selection) */
.legacy-itemprop-offers .wgm-info {
    margin: 0 !important;
    padding: 0 !important;
}

.legacy-itemprop-offers .woocommerce-de_price_taxrate,
.legacy-itemprop-offers .woocommerce_de_versandkosten,
.legacy-itemprop-offers .shipping_de {
    margin: 0 !important;
    padding: 0 !important;
}

/* Custom product fields (FPF plugin) */
.fpf-fields {
    display: block !important;
    width: 100% !important;
    flex-basis: 100% !important; /* Force to take full width in flexbox */
    margin: 0 0 1rem 0 !important;
}

.fpf-field {
    display: block !important;
    width: 100% !important;
    margin-bottom: 1rem !important;
}

.fpf-field .form-row {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}

.fpf-field .woocommerce-input-wrapper {
    display: block !important;
    width: 100% !important;
}

.fpf-field label {
    display: block !important;
    width: 100% !important;
    margin-bottom: 0.5rem !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    color: #1f2937 !important;
}

.fpf-field label .optional {
    font-weight: 400 !important;
    color: #6b7280 !important;
    font-size: 0.875rem !important;
}

.fpf-field input[type="text"],
.fpf-field input[type="email"],
.fpf-field input[type="tel"],
.fpf-field textarea,
.fpf-input-field {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.625rem 0.875rem !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    color: #1f2937 !important;
    background-color: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 0.5rem !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.fpf-field input[type="text"]:hover,
.fpf-field input[type="email"]:hover,
.fpf-field input[type="tel"]:hover,
.fpf-field textarea:hover {
    border-color: #9333ea !important;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1) !important;
}

.fpf-field input[type="text"]:focus,
.fpf-field input[type="email"]:focus,
.fpf-field input[type="tel"]:focus,
.fpf-field textarea:focus {
    outline: none !important;
    border-color: #9333ea !important;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.15) !important;
}

.fpf-field textarea {
    min-height: 100px !important;
    resize: vertical !important;
}

/* Quantity input styling */
.variations_button .quantity {
    display: inline-block !important;
    margin-right: 0.5rem !important;
    vertical-align: middle !important;
}

.quantity input[type="number"],
.quantity .qty {
    width: 4rem !important;
    padding: 0.625rem 0.5rem !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    text-align: center !important;
    color: #1f2937 !important;
    background-color: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 0.5rem !important;
    transition: border-color 0.2s ease !important;
}

.quantity input[type="number"]:hover,
.quantity .qty:hover {
    border-color: #9333ea !important;
}

.quantity input[type="number"]:focus,
.quantity .qty:focus {
    outline: none !important;
    border-color: #9333ea !important;
    box-shadow: 0 0 0 2px rgba(147, 51, 234, 0.1) !important;
}

/* Add to cart button */
.single_add_to_cart_button {
    display: inline-block !important;
    padding: 0.625rem 1.5rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%) !important;
    border: none !important;
    border-radius: 0.5rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(147, 51, 234, 0.2) !important;
    vertical-align: middle !important;
}

.single_add_to_cart_button:hover:not(.disabled) {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3) !important;
}

.single_add_to_cart_button:active:not(.disabled) {
    transform: translateY(1px) !important;
}

.single_add_to_cart_button.disabled,
.single_add_to_cart_button.wc-variation-selection-needed {
    background: #d1d5db !important;
    color: #9ca3af !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    opacity: 0.6 !important;
}

.single_add_to_cart_button.disabled:hover,
.single_add_to_cart_button.wc-variation-selection-needed:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Variations button container */
.variations_button {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-top: 0 !important;
    flex-wrap: wrap !important;
    order: 1 !important;
}

/* FPF totals - hide when empty */
.fpf-totals {
    display: none !important;
}

/* Only show when it has content */
.fpf-totals:has(dt) {
    display: block !important;
    margin: 0.75rem 0 !important;
    padding: 0.75rem !important;
    background-color: #f9fafb !important;
    border-radius: 0.5rem !important;
    border: 1px solid #e5e7eb !important;
}

.fpf-totals dl {
    margin: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.fpf-totals dt,
.fpf-totals dd {
    margin: 0 !important;
    font-size: 0.95rem !important;
    color: #374151 !important;
}

.fpf-totals dd {
    font-weight: 600 !important;
}

/* Loading state */
.variations_form.loading {
    opacity: 0.6 !important;
    pointer-events: none !important;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .variations_button {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    
    .quantity {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 0.5rem !important;
    }
    
    .quantity input[type="number"],
    .quantity .qty {
        width: 100% !important;
    }
    
    .single_add_to_cart_button {
        width: 100% !important;
        padding: 0.75rem !important;
        font-size: 1rem !important;
    }
    
    .variations select,
    .variations_form select {
        font-size: 0.9rem !important;
        padding: 0.625rem 0.875rem !important;
    }
    
    .fpf-field input[type="text"],
    .fpf-field input[type="email"],
    .fpf-field input[type="tel"],
    .fpf-field textarea {
        font-size: 0.9rem !important;
        padding: 0.625rem 0.875rem !important;
    }
}

/* =================================================================
   WP Recipe Maker - Image Styling
   ================================================================= */

/* Center recipe image and remove border */
.wprm-recipe-image {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 1.5rem auto !important;
    border: none !important;
}

.wprm-recipe-image img {
    border: none !important;
    border-width: 0 !important;
    border-radius: 1rem !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

/* =================================================================
   WP Recipe Maker Sharing Buttons - Modern Redesign
   ================================================================= */

/* Container styling */
.wprm-template-chic-buttons.wprm-container-columns-spaced-middle {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.75rem !important;
    padding: 1.5rem !important;
    background: linear-gradient(to right, #faf5ff, #eff6ff) !important;
    border-radius: 1rem !important;
    border: 1px solid #e9d5ff !important;
    margin: 1.5rem 0 !important;
}

/* Reset all button/link styles */
.wprm-template-chic-buttons .wprm-recipe-link,
.wprm-template-chic-buttons a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.625rem 1.25rem !important;
    border-radius: 9999px !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border: 1px solid transparent !important;
    white-space: nowrap !important;
}

/* Remove underline on hover and focus */
.wprm-template-chic-buttons .wprm-recipe-link:hover,
.wprm-template-chic-buttons a:hover,
.wprm-template-chic-buttons .wprm-recipe-link:focus,
.wprm-template-chic-buttons a:focus,
.wprm-template-chic-buttons .wprm-recipe-link:active,
.wprm-template-chic-buttons a:active {
    text-decoration: none !important;
    outline: none !important;
}

/* Print button - Pink/Purple (primary action) */
.wprm-template-chic-buttons .wprm-recipe-print {
    background-color: #e275b1 !important;
    color: #ffffff !important;
    border-color: #e275b1 !important;
    box-shadow: 0 1px 3px 0 rgba(226, 117, 177, 0.2) !important;
}

.wprm-template-chic-buttons .wprm-recipe-print:hover {
    background-color: #d85c9d !important;
    border-color: #d85c9d !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 6px -1px rgba(226, 117, 177, 0.3) !important;
}

/* Pinterest button - White with border */
.wprm-template-chic-buttons .wprm-recipe-pin {
    background-color: #ffffff !important;
    color: #374151 !important;
    border-color: #d1d5db !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.wprm-template-chic-buttons .wprm-recipe-pin:hover {
    background-color: #dc2626 !important;
    color: #ffffff !important;
    border-color: #dc2626 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.3) !important;
}

.wprm-template-chic-buttons .wprm-recipe-pin:hover svg g g path {
    fill: #ffffff !important;
}

/* Email button - Light purple */
.wprm-template-chic-buttons .wprm-recipe-email-share {
    background-color: #ffffff !important;
    color: #7c3aed !important;
    border-color: #c4b5fd !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.wprm-template-chic-buttons .wprm-recipe-email-share:hover {
    background-color: #7c3aed !important;
    color: #ffffff !important;
    border-color: #7c3aed !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 6px -1px rgba(124, 58, 237, 0.3) !important;
}

/* Facebook button - Blue */
.wprm-template-chic-buttons .wprm-recipe-facebook-share {
    background-color: #ffffff !important;
    color: #1877f2 !important;
    border-color: #93c5fd !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.wprm-template-chic-buttons .wprm-recipe-facebook-share:hover {
    background-color: #1877f2 !important;
    color: #ffffff !important;
    border-color: #1877f2 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 6px -1px rgba(24, 119, 242, 0.3) !important;
}

/* WhatsApp button - Green */
.wprm-template-chic-buttons .wprm-recipe-whatsapp-share {
    background-color: #ffffff !important;
    color: #25d366 !important;
    border-color: #86efac !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.wprm-template-chic-buttons .wprm-recipe-whatsapp-share:hover {
    background-color: #25d366 !important;
    color: #ffffff !important;
    border-color: #25d366 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 6px -1px rgba(37, 211, 102, 0.3) !important;
}

/* Icon styling */
.wprm-template-chic-buttons .wprm-recipe-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.wprm-template-chic-buttons .wprm-recipe-icon svg {
    width: 16px !important;
    height: 16px !important;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .wprm-template-chic-buttons.wprm-container-columns-spaced-middle {
        gap: 0.5rem !important;
        padding: 1rem !important;
    }
    
    .wprm-template-chic-buttons .wprm-recipe-link,
    .wprm-template-chic-buttons a {
        font-size: 0.8125rem !important;
        padding: 0.5rem 1rem !important;
        flex: 1 1 auto !important;
        min-width: calc(50% - 0.25rem) !important;
        justify-content: center !important;
    }
}

/* WooCommerce Product Collection - Product Title Styling */
.wc-block-product-template .wp-block-post-title,
.wc-block-product-template .wp-block-post-title a {
    font-size: 1rem !important;
}
/* ===================================
   Mailpoet Subscription Form Styling
   =================================== */

/* Form container */
.mailpoet-manage-subscription {
    max-width: 600px;
    margin: 0 auto;
}

/* Paragraph spacing */
.mailpoet_paragraph {
    margin-bottom: 1.5rem;
}

/* Text inputs */
.mailpoet_text {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #1f2937;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.mailpoet_text:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

/* Select dropdown */
.mailpoet_select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #1f2937;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    cursor: pointer;
}

.mailpoet_select:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

/* Labels */
.mailpoet_text_label,
.mailpoet_select_label,
.mailpoet_segment_label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

/* Checkbox styling */
.mailpoet_checkbox {
    width: 1.125rem;
    height: 1.125rem;
    margin-right: 0.5rem;
    color: #f59e0b;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    cursor: pointer;
}

.mailpoet_checkbox:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.mailpoet_checkbox_label {
    display: flex;
    align-items: center;
    font-size: 0.9375rem;
    color: #374151;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

.mailpoet_checkbox_label:hover {
    color: #1f2937;
}

/* Fieldset for segments */
fieldset {
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    padding: 1rem;
    background-color: #f9fafb;
}

fieldset legend {
    padding: 0 0.5rem;
}

/* Submit button */
.mailpoet_submit {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #f59e0b;
    border: 1px solid #f59e0b;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.mailpoet_submit:hover {
    background-color: #d97706;
    border-color: #d97706;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.mailpoet_submit:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Loading spinner */
.mailpoet_form_loading {
    display: inline-block;
    margin-left: 0.75rem;
}

.mailpoet_bounce1,
.mailpoet_bounce2,
.mailpoet_bounce3 {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 2px;
    background-color: #ffffff;
    border-radius: 50%;
    animation: mailpoet-bounce 1.4s infinite ease-in-out both;
}

.mailpoet_bounce1 {
    animation-delay: -0.32s;
}

.mailpoet_bounce2 {
    animation-delay: -0.16s;
}

@keyframes mailpoet-bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* Email info styling */
.mailpoet-change-email-info {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    font-style: italic;
}

/* Required field indicator */
.mailpoet_required {
    color: #dc2626;
    font-weight: bold;
    margin-left: 0.25rem;
}

/* Error containers */
.mailpoet_error_phofa,
.mailpoet_error_1ecjr,
.mailpoet_error_1pkqc,
.mailpoet_error_t23d6 {
    display: block;
    margin-top: 0.375rem;
    font-size: 0.875rem;
    color: #dc2626;
}

/* Strong email display */
.mailpoet_paragraph strong {
    color: #1f2937;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .mailpoet-manage-subscription {
        padding: 0 1rem;
    }
    
    .mailpoet_text,
    .mailpoet_select {
        padding: 0.625rem 0.875rem;
        font-size: 0.9375rem;
    }
    
    .mailpoet_submit {
        padding: 0.75rem 1.25rem;
        font-size: 0.9375rem;
    }
}
