/*
Theme Name: Bob Theme V3
Theme URI: https://github.com/rickysb/bob-theme-v3
Description: A modern furniture and interior design WordPress theme converted from React - featuring WooCommerce integration, responsive design, and customizable components
Author: Ricky SB
Author URI: https://github.com/rickysb
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bob-theme-v3
Tags: woocommerce, e-commerce, shop, furniture, interior-design, modern, responsive

This theme is converted from React to WordPress, featuring modern furniture and interior design layouts with full WooCommerce integration.
*/

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */

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

:root {
    --primary-color: #e02b20;
    --secondary-color: #333;
    --text-color: #333;
    --light-gray: #efefef;
    --border-color: #d3ced2;
    --white: #ffffff;
    --max-width: 80vw;
    --header-max-width: 1600px;
    
    /* React Theme CSS Variables */
    --background: #fafafa;
    --foreground: #000000;
    --card: #ffffff;
    --card-foreground: #000000;
    --popover: #ffffff;
    --popover-foreground: #000000;
    --primary-rgb: 51, 51, 51;
    --primary-foreground: #ffffff;
    --secondary-rgb: 182, 182, 182;
    --secondary-foreground: #ffffff;
    --muted: #f4f4f4;
    --muted-foreground: #525252;
    --accent: #c4c4c4;
    --accent-foreground: #000000;
    --destructive: #a3a3a3;
    --destructive-foreground: #ffffff;
    --border: #000000;
    --input: #8e8e8e;
    --ring: #c4c4c4;
    --radius: 1rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--white);
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
    max-width: 80vw;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Container - Wider (1600px) */
.site-header .container {
    max-width: 1600px !important;
}

/* Header Row Grid Layout */
.header-row-centered {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
    max-width: 1600px;
    margin: 0 auto;
}

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.sticky-enabled {
    position: sticky;
    top: 0;
}

.site-header.sticky-enabled.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-top {
    background: var(--light-gray);
    padding: 10px 0;
    font-size: 14px;
}

.header-main {
    padding: 15px 0;
}

/* Desktop header element positioning */
.header-left {
    justify-self: start;
}

.header-search-inline {
    display: flex;
    max-width: 420px;
}

.site-branding {
    justify-self: center;
}

.header-right {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.site-logo img {
    max-height: 60px;
    width: auto;
}

.site-navigation {
    flex: 1;
}

.main-menu {
    list-style: none;
    display: flex;
    gap: 35px;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.main-menu li {
    margin: 0;
}

.main-menu li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 0;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.main-menu li a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.main-menu li.current-menu-item a,
.main-menu li.current_page_item a {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Header Icons Styling */
.header-right a svg {
    transition: transform 0.3s ease;
}

.header-right a:hover svg {
    transform: scale(1.1);
}

/* ========================================
   SUBMENU / DROPDOWN STYLES
   ======================================== */

/* Parent menu item with children */
.main-menu li {
    position: relative;
}

/* Dropdown indicator (arrow) */
.main-menu li.menu-item-has-children > a::after {
    content: ' ▾';
    font-size: 10px;
    margin-left: 5px;
    opacity: 0.7;
}

/* Hide submenu by default */
.main-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    min-width: 220px;
    padding: 10px 0;
    list-style: none;
    margin: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    border-radius: 4px;
    z-index: 999;
    margin-top: 10px;
}

/* Show submenu on hover */
.main-menu li:hover > .sub-menu {
    display: block;
}

/* Submenu item styling */
.main-menu .sub-menu li {
    margin: 0;
    width: 100%;
}

.main-menu .sub-menu li a {
    padding: 12px 20px;
    display: block;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0;
    border-bottom: none !important;
    color: #333;
    transition: all 0.3s ease;
    text-align: left;
}

.main-menu .sub-menu li a:hover {
    background: #f5f5f5;
    color: var(--primary-color);
    padding-left: 25px;
}

/* Second level submenu (if needed) */
.main-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-left: 5px;
    margin-top: 0;
}

/* Active submenu item */
.main-menu .sub-menu li.current-menu-item a,
.main-menu .sub-menu li.current_page_item a {
    background: #f5f5f5;
    color: var(--primary-color);
}

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

.site-content {
    min-height: 60vh;
    padding: 30px 0;
}

.site-footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* Header Search Box */
.header-search-inline {
    display: flex !important;
    max-width: 420px !important;
}

.header-search-inline .search-field {
    min-width: 350px !important;
}

/* Desktop: ensure search box is wide */
@media (min-width: 981px) {
    .header-left form {
        max-width: 420px !important;
    }
}

/* ==========================================================================
   WooCommerce Styles
   ========================================================================== */

/* Product Grid - Dynamic columns based on Customizer setting */
/* Exclude main product gallery flexControl thumbs from grid */
.woocommerce ul.products:not(.flex-control-thumbs) {
    display: grid !important;
    gap: 30px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Ensure product gallery thumbnails use default layout */
.woocommerce .flex-control-thumbs {
    display: block !important;
}

.woocommerce .flex-control-thumbs li {
    display: inline-block !important;
    float: left !important;
    width: 25% !important;
}

/* Remove any pseudo-elements that could take grid cells */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
    content: none !important;
}

/* Column configurations */
.woocommerce ul.products.columns-2 {
    grid-template-columns: repeat(2, 1fr) !important;
}

.woocommerce ul.products.columns-3 {
    grid-template-columns: repeat(3, 1fr) !important;
}

.woocommerce ul.products.columns-4 {
    grid-template-columns: repeat(4, 1fr) !important;
}

.woocommerce ul.products.columns-5 {
    grid-template-columns: repeat(5, 1fr) !important;
}

.woocommerce ul.products.columns-6 {
    grid-template-columns: repeat(6, 1fr) !important;
}

/* FORCE OVERRIDE: Remove ALL float-based WooCommerce layout CSS */
.woocommerce ul.products li.product,
.woocommerce ul.products li.product.first,
.woocommerce ul.products li.product.last,
.woocommerce-page ul.products li.product,
.woocommerce-page ul.products li.product.first,
.woocommerce-page ul.products li.product.last {
    float: none !important;
    clear: none !important;
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.woocommerce ul.products li.product {
    text-align: left !important;
    position: relative !important;
    display: block !important;
    width: auto !important;
    float: none !important;
    margin: 0 !important;
}

/* Product grid images - apply to both category pages AND related products on single pages */
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
    border-radius: 10px !important;
    transition: transform 0.3s ease;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    max-width: 100% !important;
    object-fit: cover !important;
}

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

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    display: block !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    margin: 0 0 2px 0 !important;
    width: 100% !important;
    color: #333 !important;
    font-weight: 500 !important;
}

/* Product Info Row */
.product-info-row {
    display: inline-block !important;
    width: 100% !important;
    position: relative !important;
    margin-bottom: 0 !important;
    min-height: 10px;
}

body.archive .product-info-row {
    min-height: 10px;
}

body.single-product .product-info-row {
    min-height: 10px;
    display: inline-block !important;
    width: 100% !important;
    position: relative !important;
}

/* Product Type Label */
.product-type-label {
    position: unset !important;
}

/* Brand Display - Product Grid */
.woocommerce ul.products li.product p.customtitle,
.woocommerce ul.products li.product p.customtitle.yes {
    display: block !important;
    font-size: 14px !important;
    color: #000 !important;
    margin: 0 0 2px 0 !important;
    line-height: 1.2 !important;
    position: relative !important;
    width: 100% !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

.woocommerce ul.products li.product p.customtitle b,
.woocommerce ul.products li.product p.customtitle.yes b {
    position: relative !important;
    font-weight: 600 !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
    bottom: 0 !important;
    width: auto !important;
    max-width: none !important;
}

.woocommerce ul.products li.product p.customtitle b a,
.woocommerce ul.products li.product p.customtitle.yes b a {
    color: #333 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    float: none !important;
}

.woocommerce ul.products li.product p.customtitle b a:hover,
.woocommerce ul.products li.product p.customtitle.yes b a:hover {
    color: var(--primary-color) !important;
}

/* Brand Display - Single Product (old CSS for backwards compatibility) */
p.customtitle {
    font-size: 14px;
    color: #666;
}

p.customtitle b a {
    color: var(--text-color);
    font-weight: 600;
}

/* Price Display */
.woocommerce ul.products li.product .price {
    color: #000 !important;
    font-weight: 600;
    font-size: 18px;
    margin: 0 !important;
    display: block !important;
}

#swcpc_global_price:after {
    content: 'Tax and Shipping Included';
    font-size: 0.7rem;
    display: block;
    color: #333;
    font-weight: 500;
    margin-top: -6px;
    position: absolute;
    bottom: 0;
}

#swcpc_global_price {
    position: relative;
}

/* Wishlist */
.wishlist-icon img.icon-add-on-wishlist {
    float: right;
}

body.archive .wishlist-icon {
    position: absolute;
    top: 5px;
    right: 0;
}

body.single-product .wishlist-icon {
    position: relative;
}

.wishlist-icon span.tinvwl_add_to_wishlist-text {
    display: none;
}

.tinv-wraper.woocommerce.tinv-wishlist.tinvwl-above_thumb-add-to-cart.tinvwl-loop-button-wrapper {
    display: none !important;
}

img.icon-add-on-wishlist {
    position: relative;
    top: -15px;
}

/* Single Product */
.woocommerce div.product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.woocommerce div.product div.images {
    width: 100%;
}

.woocommerce div.product div.summary {
    width: 100%;
}

.product-template-default .wc-social-login {
    display: none;
}

/* EMI Styles */
.wcemi-bank, .wcemi-plan {
    height: auto !important;
    min-height: 130px;
}

.wcemi-spinner {
    margin: 50px auto !important;
}

/* Buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: #c02318;
    color: var(--white);
}

/* Category Grid */
.product-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    list-style: none;
}

.product-categories img {
    border-radius: 10px;
}

/* Swiper Carousel */
.swiper-slide {
    width: 200px !important;
}

img.subcategory-image.entered.lazyloaded,
img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
    border-radius: 11px !important;
}

.swiper-product>.arrows.swiper-product-left {
    top: 6% !important;
    right: 50px !important;
}

.swiper-product>.arrows.swiper-product-right {
    top: 6% !important;
    right: 0px !important;
}

.swiper.swiper-container.swiper-product.swiper-container-initialized.swiper-container-horizontal,
.swiper.swiper-container.swiper-product.swiper-initialized.swiper-horizontal.swiper-backface-hidden {
    margin-top: -84px !important;
    padding-top: 90px !important;
}

.swiper.swiper-container.swiper-product.swiper-initialized.swiper-horizontal.swiper-backface-hidden {
    padding-top: 54px !important;
}

.swiper-product>.arrows.swiper-button-disabled {
    cursor: not-allowed;
    opacity: 1 !important;
    visibility: visible !important;
}

a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
    margin-bottom: 13px;
}

/* Product Categories List */
ul.product-categories-list {
    list-style: none;
    padding: 0;
}

ul.product-categories-list li.category-item.active > a {
    font-weight: 600 !important;
}

ul.product-categories-list ul.child-categories {
    padding-top: 0;
    padding-bottom: 0;
}

ul.product-categories-list b.swapmail_parant {
    display: inline-block;
    width: 100%;
    position: relative;
    z-index: 99999;
}

ul.product-categories-list b.swapmail_parant + span {
    margin-top: 8px;
}

ul.product-categories-list li.category-item.parent-category a + span {
    margin-top: 6px;
}

p.categories-products {
    display: none;
}

.swiper.swiper-container.swiper-product p.categories-products {
    display: inline-block;
}

/* Product Titles - Always visible */
h2.woocommerce-loop-product__title {
    display: block !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    margin: 12px 0 8px 0 !important;
    font-weight: 500 !important;
    color: #333 !important;
}

/* Product Link Styling */
.woocommerce ul.products li.product a.woocommerce-loop-product__link {
    display: block !important;
    text-decoration: none !important;
    overflow: visible !important;
}

/* Ensure brand paragraph inside link doesn't wrap */
.woocommerce ul.products li.product a.woocommerce-loop-product__link p.customtitle.yes {
    white-space: nowrap !important;
    overflow: visible !important;
}

/* Product Images */
.woocommerce ul.products li.product img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
}

/* Product Type Label (above title) - GREY */
.woocommerce ul.products li.product .product-type-label {
    display: block !important;
    font-size: 14px !important;
    color: #666 !important;
    margin: 0 0 1px 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

/* Remove Add to Cart buttons from product grid */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .product_type_simple,
.woocommerce ul.products li.product .ajax_add_to_cart {
    display: none !important;
}

/* Modern Pagination Styling */
.woocommerce nav.woocommerce-pagination {
    text-align: center;
    margin: 60px 0 40px 0;
    clear: both;
}

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

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

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #333;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(224, 43, 32, 0.2);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    font-weight: 600;
}

/* Pagination arrows */
.woocommerce nav.woocommerce-pagination ul li a.prev,
.woocommerce nav.woocommerce-pagination ul li a.next {
    font-weight: 600;
    min-width: 42px;
}

/* Dots */
.woocommerce nav.woocommerce-pagination ul li span.dots {
    border: none;
    background: transparent;
    color: #999;
}

/* Login Page */
.page-id-54 .digloginpage.digoneclickls {
    border: 1px solid var(--border-color);
    padding: 20px;
    text-align: left;
    border-radius: 5px;
    max-width: 660px;
    margin: 4em auto 0px;
}

.page-id-54 .dig_login_va_otp {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    margin: 15px 0px;
}

.page-id-54 .dig_sml_box_msg_head {
    font-size: 20px;
}

.page-id-54 h1.entry-title.main_title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0px !important;
    padding-bottom: 0px;
}

/* Mobile Menu */
/* Mobile menu toggle - hidden on desktop, shown on mobile */
.mobile-menu-toggle {
    display: none !important;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    padding: 10px;
    z-index: 1001;
}

/* Hide mobile search on desktop */
.header-search-mobile {
    display: none !important;
}

.mobile-menu-toggle .menu-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-toggle .menu-icon span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .menu-icon span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

body.menu-open {
    overflow: hidden;
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    padding: 5px;
}

.cart-icon .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* ==========================================================================
   Homepage Enhancements (Crate & Barrel Style)
   ========================================================================== */

/* Hero Banner - Full Width Edge-to-Edge */
.homepage-hero {
    min-height: 500px;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 0;
    position: relative;
}

.hero-cat-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25) !important;
}

/* Shop by Category Section */
.shop-by-category {
    margin-bottom: 80px;
}

.shop-by-category .section-heading {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 50px;
    font-weight: 600;
    color: #333;
}

/* Category Grid - 80% of screen width */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 100%;
}

.shop-by-category a:hover img {
    transform: scale(1.05);
}

/* Section Headings */
h2 {
    letter-spacing: -0.5px;
}

/* Product Grid Improvements */
.woocommerce ul.products li.product {
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 980px) and (min-width: 769px) {
    /* Header Responsive for tablets only */
    .header-row-centered {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    
    .header-left,
    .header-right {
        justify-self: center !important;
    }
    
    .header-left {
        order: 3;
        width: 100%;
        max-width: 400px;
    }
    
    .header-left form {
        max-width: 100% !important;
        min-width: 320px;
    }
    
    .site-branding {
        order: 1;
        margin-bottom: 15px;
    }
    
    .header-right {
        order: 2;
        margin-bottom: 15px;
    }
}

/* Mobile Header Layout (Phones ≤768px) */
@media (max-width: 768px) {
    /* Prevent horizontal scroll */
    *, *::before, *::after {
        box-sizing: border-box !important;
    }
    
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
    }
    
    #page, .site {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
    }
    
    .site-header, .header-main {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
    }
    
    .container {
        overflow-x: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Keep header banner on mobile (announcement) */
    .header-banner {
        display: block !important;
    }
    
    /* Hide brand tabs on mobile, keep promo message only */
    .header-banner ul {
        display: none !important;
    }
    
    .header-banner > .container > div {
        justify-content: center !important;
    }
    
    /* Header main - compact mobile layout */
    .header-main {
        padding: 12px 0 !important;
    }
    
    .header-row-centered {
        display: grid !important;
        grid-template-columns: 50px 1fr 90px !important;
        grid-template-rows: 54px auto !important;
        align-items: center !important;
        gap: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    .header-main .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Mobile menu toggle - LEFT (hamburger) */
    .mobile-menu-toggle {
        display: flex !important;
        grid-column: 1 !important;
        grid-row: 1 !important;
        justify-self: start !important;
        align-self: center !important;
        margin: 0 !important;
        padding: 0 !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        z-index: 1001 !important;
        width: 40px !important;
        height: 54px !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }
    
    .mobile-menu-toggle .menu-icon {
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
        width: 28px !important;
    }
    
    .mobile-menu-toggle .menu-icon span {
        background: #333 !important;
        display: block !important;
        width: 28px !important;
        height: 3px !important;
    }
    
    /* Logo - CENTER (vertically aligned) */
    .site-branding {
        grid-column: 2 !important;
        grid-row: 1 !important;
        justify-self: center !important;
        align-self: center !important;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 54px !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 10 !important;
    }
    
    .site-branding a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 54px !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Hide desktop search on mobile - CRITICAL for no overflow */
    .header-left {
        display: none !important;
        visibility: hidden !important;
        max-width: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
    }
    
    .header-search-inline {
        display: none !important;
        max-width: 0 !important;
    }
    
    .site-branding img {
        max-height: 54px !important;
        width: auto !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .site-branding div {
        font-size: 1.7rem !important;
        line-height: 54px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Header right icons - RIGHT (Login + Cart only, vertically aligned) */
    .header-right {
        grid-column: 3 !important;
        grid-row: 1 !important;
        display: flex !important;
        gap: 12px !important;
        justify-self: end !important;
        align-self: center !important;
        margin: 0 !important;
        height: 54px !important;
        align-items: center !important;
    }
    
    /* Hide wishlist on mobile, show login + cart only */
    .header-right a:nth-child(2) {
        display: none !important;
    }
    
    .header-right a {
        font-size: 9px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        height: 54px !important;
    }
    
    .header-right svg {
        width: 24px !important;
        height: 24px !important;
        margin-bottom: 0 !important;
        flex-shrink: 0 !important;
    }
    
    /* Hide text labels on mobile, show icons only */
    .header-right span {
        display: none !important;
    }
    
    /* Mobile Search - FULL SCREEN WIDTH edge-to-edge */
    .header-search-mobile {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        display: block !important;
        background: #f8f8f8 !important;
        padding: 15px !important;
        margin-top: 10px !important;
        position: relative !important;
        box-sizing: border-box !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
    }
    
    .header-search-inline-mobile {
        max-width: calc(100vw - 30px) !important;
        width: calc(100vw - 30px) !important;
        background: #fff !important;
        border-radius: 4px !important;
        overflow: hidden !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
        display: flex !important;
    }
    
    .header-search-mobile .search-field {
        font-size: 15px !important;
        padding: 12px 15px !important;
        background: #fff !important;
        border: none !important;
        flex: 1 !important;
        max-width: 100% !important;
    }
    
    .site-navigation {
        width: 100%;
        order: 4;
        margin-top: 15px !important;
    }
    
    .main-menu {
        flex-direction: column;
        display: none;
        padding: 20px 0;
        gap: 15px !important;
    }
    
    .main-menu.active {
        display: flex;
    }
    
    /* Mobile Submenu Styles */
    .main-menu .sub-menu {
        position: static;
        box-shadow: none;
        padding: 5px 0 5px 20px;
        background: #f8f8f8;
        transform: none;
        margin-top: 5px;
        border-radius: 0;
    }
    
    .main-menu li.menu-item-has-children > a::after {
        content: ' ▸';
    }
    
    .main-menu li.menu-open > a::after {
        content: ' ▾';
    }
    
    .main-menu .sub-menu li a {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .main-menu .sub-menu li a:hover {
        padding-left: 20px;
    }
    
    /* Top Banner Mobile */
    .header-banner {
        font-size: 11px !important;
    }
    
    .header-banner ul {
        gap: 12px !important;
    }
    
    .header-banner > div > div {
        flex-direction: column;
        gap: 8px !important;
        align-items: flex-start !important;
    }
    
    .woocommerce ul.products,
    .woocommerce ul.products.columns-2,
    .woocommerce ul.products.columns-3,
    .woocommerce ul.products.columns-4,
    .woocommerce ul.products.columns-5,
    .woocommerce ul.products.columns-6 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    .woocommerce div.product {
        grid-template-columns: 1fr;
    }
    
    /* Hero responsive */
    .homepage-hero {
        height: 500px !important;
    }
    
    .hero-content h1 {
        font-size: 2.5rem !important;
    }
    
    .hero-content p {
        font-size: 1.1rem !important;
    }
    
    /* FORCE logo visibility on mobile - aggressive overrides */
    .header-main .site-branding,
    .site-header .site-branding,
    div.site-branding {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
    }
    
    .header-main .site-branding a,
    .site-header .site-branding a {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .header-main .site-branding img,
    .site-header .site-branding img,
    .site-logo img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        max-height: 54px !important;
    }
}

@media (max-width: 767px) {
    /* Product Grid - 1 column on mobile */
    .woocommerce ul.products,
    .woocommerce ul.products.columns-2,
    .woocommerce ul.products.columns-3,
    .woocommerce ul.products.columns-4,
    .woocommerce ul.products.columns-5,
    .woocommerce ul.products.columns-6 {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    /* Hero Mobile Adjustments */
    .homepage-hero {
        height: 450px !important;
        min-height: 450px !important;
    }
    
    .hero-content h1 {
        font-size: 2rem !important;
    }
    
    .hero-content p {
        font-size: 1rem !important;
        margin-bottom: 25px !important;
    }
    
    .category-buttons {
        gap: 10px !important;
    }
    
    .hero-cat-btn {
        font-size: 13px !important;
        padding: 12px 20px !important;
    }
    
    /* Category Tiles Mobile */
    .shop-by-category h2 {
        font-size: 2rem !important;
    }
    
    /* Trust Badges Mobile */
    .trust-badges {
        padding: 30px 15px !important;
    }
    
    a.iconic-woothumbs-fullscreen {
        display: none;
    }
    
    .iconic-woothumbs-images__arrow,
    .iconic-woothumbs-zoom-next,
    .iconic-woothumbs-zoom-prev,
    button.pswp__button.pswp__button--fs,
    button.pswp__button.pswp__button--zoom {
        display: none !important;
    }
    
    button.rmp_menu_trigger {
        z-index: 9999 !important;
    }
    
    body.archive .wishlist-icon {
        top: 40px !important;
    }
    
    body.single-product .product-info-row {
        margin-top: 15px;
        margin-bottom: -40px;
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
    
    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        margin-top: 0px !important;
    }
    
    body.archive .swiper-product>.arrows.swiper-product-left {
        top: 48px !important;
        right: 45px !important;
    }
    
    body.archive .swiper-product>.arrows.swiper-product-right {
        position: absolute;
        top: 48px !important;
        right: 0;
    }
    
    body.archive .wishlist-icon {
        top: 54px;
    }
    
    .swiper.swiper-container.swiper-product.swiper-container-initialized.swiper-container-horizontal {
        margin-top: -116px !important;
    }
    
    .product-info-row {
        position: absolute;
        right: 0;
        bottom: 0;
    }
    
    .tinv-wishlist .tinvwl_add_to_wishlist_button.tinvwl-icon-custom.no-txt {
        position: absolute;
        bottom: 0;
        right: 5px;
    }
    
    a.woocommerce-LoopProduct-link.woocommerce-loop-product__link + .product-info-row {
        display: inline-block;
        width: 100%;
    }
    
    .product-type-label {
        position: absolute;
        top: 0 !important;
        margin-top: -10px;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Hidden Elements */
body.archive .wc-social-login {
    display: none;
}


/* Ultra Compact Product Grid Spacing - Minimal gaps */
.woocommerce ul.products li.product .star-rating {
    margin: 0 0 2px 0 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link > * {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* FORCE brand name inline - highest priority */
p.customtitle.yes b,
.woocommerce p.customtitle.yes b,
.woocommerce ul.products li.product p.customtitle.yes b,
body .woocommerce ul.products li.product p.customtitle.yes b {
    display: inline !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
}

p.customtitle.yes b a,
.woocommerce p.customtitle.yes b a,
.woocommerce ul.products li.product p.customtitle.yes b a,
body .woocommerce ul.products li.product p.customtitle.yes b a {
    display: inline !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

/* Single Product Page - Ensure proper layout */
body.single-product .product {
    display: block !important;
}

body.single-product .woocommerce-product-gallery,
body.single-product .woocommerce-product-gallery__wrapper,
body.single-product div.images {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Iconic WooThumbs gallery (if plugin is active) */
body.single-product .iconic-woothumbs-all-images-wrap,
body.single-product .iconic-woothumbs-images-wrap,
body.single-product .iconic-woothumbs-thumbnails-wrap {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* WooCommerce default gallery */
body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.single-product .woocommerce-product-gallery img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Don't apply grid to single product main content */
body.single-product .product > div.summary {
    display: block !important;
}

body.single-product .product > div.images {
    display: block !important;
}

/* Allow Bootstrap to work on product pages */
body.single-product .row {
    display: flex !important;
    flex-wrap: wrap !important;
}

body.single-product .col-md-6,
body.single-product .col-sm-12 {
    display: block !important;
    float: left !important;
}

/* Product Gallery - Force visibility and proper layout */
body.single-product .woocommerce div.product div.images img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
}

/* Iconic WooThumbs slider */
body.single-product .iconic-woothumbs-images-wrap img {
    display: block !important;
    max-width: 100% !important;
}

/* Calculator placement */
body.single-product .summary {
    width: 48% !important;
    float: right !important;
}

/* Product page container - 80% width */
body.single-product .container.woocommerce-page,
body.single-product .woocommerce-page.container,
body.single-product div.container {
    max-width: 80vw !important;
    width: 80% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* ============================================
   CRATE & BARREL INSPIRED PRODUCT PAGE LAYOUT
   ============================================ */

/* Main product layout: 65% image | 35% details */
body.single-product .woocommerce div.product div.images {
    width: 65% !important;
    float: left !important;
    margin-bottom: 20px;
    position: sticky !important;
    top: 100px !important;
    align-self: flex-start !important;
}

body.single-product .woocommerce div.product div.summary {
    width: 33% !important;
    float: right !important;
    margin-bottom: 20px;
}

/* Gallery thumbnails on LEFT side (vertical) */
/* CRITICAL: Reserve space using padding-left to prevent CLS */
body.single-product .woocommerce div.product .woocommerce-product-gallery,
body.single-product.woocommerce div.product div.images .woocommerce-product-gallery,
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery {
    display: flex !important;
    flex-direction: row !important;
    gap: 15px !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    min-width: 100% !important;
    width: 100% !important;
    opacity: 1 !important;
    transition: none !important;
    padding-left: 165px !important;
    position: relative !important;
    box-sizing: border-box !important;
}

/* Override WooCommerce thumbnail container with maximum specificity */
/* Position absolutely in the padding-left space */
body.single-product.woocommerce div.product div.images .flex-control-thumbs,
body.single-product .woocommerce div.product div.images .flex-control-thumbs,
body.single-product .woocommerce-page div.product div.images .flex-control-thumbs,
body.single-product .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs {
    display: flex !important;
    flex-direction: column !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    zoom: 1 !important;
}

/* Thumbnail images - all styling via CSS (zero JavaScript) */
body.single-product .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li img,
body.single-product .woocommerce div.product div.images .flex-control-thumbs li img,
body.single-product .flex-control-thumbs li img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    display: block !important;
    border: 2px solid #ddd !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    transition: border-color 0.3s ease !important;
}

/* Override WooCommerce default 25% width + float:left with maximum specificity */
body.single-product.woocommerce div.product div.images .flex-control-thumbs li,
body.single-product .woocommerce div.product div.images .flex-control-thumbs li,
body.single-product .woocommerce-page div.product div.images .flex-control-thumbs li {
    width: 100% !important;
    margin: 0 0 10px 0 !important;
    float: none !important;
    list-style: none !important;
    clear: none !important;
    display: block !important;
}

body.single-product .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li img {
    border: 2px solid #ddd;
    cursor: pointer;
    transition: border-color 0.3s;
    border-radius: 5px;
}

body.single-product .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li img:hover,
body.single-product .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li.flex-active-slide img {
    border-color: #333;
}

/* Main image area */
body.single-product .woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    flex: 1 !important;
    min-width: 0 !important;
}

/* Prevent image size jumping - reserve space for images */
body.single-product .woocommerce div.product .woocommerce-product-gallery__image img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* Let FlexSlider handle visibility - just ensure proper sizing */
body.single-product .woocommerce div.product .woocommerce-product-gallery__image img.wp-post-image,
body.single-product .woocommerce-product-gallery__wrapper img.wp-post-image,
body.single-product img.wp-post-image {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    display: block !important;
    object-fit: contain !important;
}

/* Override FlexSlider's 4600% width and transform */
body.single-product .woocommerce-product-gallery__wrapper {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    transition: none !important;
}

body.single-product .woocommerce-product-gallery__image {
    position: relative !important;
    width: 100% !important;
}

/* Force gallery and FlexSlider elements visible immediately */
body.single-product .woocommerce-product-gallery {
    opacity: 1 !important;
    transition: none !important;
}

/* Force FlexSlider viewport visible */
body.single-product .woocommerce-product-gallery .flex-viewport {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.single-product .woocommerce-product-gallery .slides {
    display: block !important;
    opacity: 1 !important;
}

body.single-product .woocommerce-product-gallery .slides > li {
    display: block !important;
    opacity: 1 !important;
}

/* Clear float after product section */
body.single-product .woocommerce div.product::after {
    content: "";
    display: table;
    clear: both;
}

/* ========================================
   MAIN PRODUCT PRICE (Top Calculated Price)
   ======================================== */

/* Main product price - bigger, bolder, CLS-free */
body.single-product .woocommerce div.product p.price {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin: 15px 0 20px 0 !important;
    line-height: 1.4 !important;
    min-height: 70px !important;
    overflow: visible !important;
    position: relative !important;
    display: block !important;
}

/* Price amount styling */
body.single-product .woocommerce div.product p.price .woocommerce-Price-amount {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #333 !important;
}

/* Currency symbol */
body.single-product .woocommerce div.product p.price .woocommerce-Price-currencySymbol {
    font-size: 28px !important;
    font-weight: 700 !important;
}

/* Sale price (if applicable) */
body.single-product .woocommerce div.product p.price ins {
    text-decoration: none !important;
    background: transparent !important;
    font-weight: 700 !important;
}

/* Old price (if on sale) */
body.single-product .woocommerce div.product p.price del {
    opacity: 0.6 !important;
    font-size: 24px !important;
    margin-right: 10px !important;
}

/* Price suffix (Tax and Shipping Included) */
body.single-product .woocommerce div.product p.price .woocommerce-price-suffix,
body.single-product .woocommerce div.product p.price small {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #666 !important;
    display: block !important;
    clear: both !important;
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    padding-top: 5px !important;
    line-height: 1.4 !important;
    position: relative !important;
    width: 100% !important;
}

/* Loading state - reserve space to prevent CLS */
body.single-product .woocommerce div.product p.price:empty::before {
    content: "Loading...";
    font-size: 24px !important;
    font-weight: 400 !important;
    color: #999 !important;
    display: block;
    min-height: 45px !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    body.single-product .woocommerce div.product p.price {
        font-size: 28px !important;
        min-height: 65px !important;
    }
    
    body.single-product .woocommerce div.product p.price .woocommerce-Price-amount {
        font-size: 28px !important;
    }
    
    body.single-product .woocommerce div.product p.price .woocommerce-Price-currencySymbol {
        font-size: 24px !important;
    }
    
    body.single-product .woocommerce div.product p.price del {
        font-size: 20px !important;
    }
    
    body.single-product .woocommerce div.product p.price .woocommerce-price-suffix,
    body.single-product .woocommerce div.product p.price small {
        font-size: 13px !important;
        margin-top: 8px !important;
        padding-top: 5px !important;
        clear: both !important;
    }
}

/* ========================================
   TRUST BADGES (Below Add to Cart)
   ======================================== */

.product-trust-badges {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-top: 40px;
    margin-bottom: 40px;
    width: 100%;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-3px);
}

.trust-badge:hover .trust-icon {
    color: #0066cc;
}

.trust-icon {
    font-size: 48px !important;
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 12px;
    display: block !important;
    line-height: 1 !important;
    color: #666 !important;
    transition: color 0.3s ease;
}

.trust-icon.dashicons {
    font-family: dashicons !important;
}

.trust-icon::before {
    font-size: 48px !important;
    width: 48px !important;
    height: 48px !important;
    color: #666 !important;
}

.trust-badge:hover .trust-icon::before {
    color: #0066cc !important;
}

.trust-text {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    max-width: 100px;
}

/* Mobile responsive for trust badges */
@media (max-width: 992px) {
    .product-trust-badges {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .product-trust-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .trust-badge {
        padding: 0;
    }
    
    .trust-icon {
        font-size: 42px !important;
        width: 42px !important;
        height: 42px !important;
        margin-bottom: 10px;
    }
    
    .trust-icon::before {
        font-size: 42px !important;
        width: 42px !important;
        height: 42px !important;
    }
    
    .trust-text {
        font-size: 13px;
        max-width: 90px;
    }
}

/* ========================================
   DESIGN DESK CARD (Promotional)
   ======================================== */

.design-desk-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 30px;
    margin-top: 20px;
    margin-bottom: 30px;
    text-align: center;
    color: #fff;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.design-desk-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.design-desk-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
    margin: 0 0 10px 0;
    color: #fff;
    position: relative;
    z-index: 1;
}

.design-desk-subtitle {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #ffd700;
    position: relative;
    z-index: 1;
}

.design-desk-description {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 0 20px 0;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
}

.design-desk-button {
    display: inline-block;
    padding: 14px 40px;
    background-color: #fff;
    color: #667eea;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.design-desk-button:hover {
    background-color: #ffd700;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

/* Mobile responsive for design desk card */
@media (max-width: 768px) {
    .design-desk-card {
        padding: 25px 20px;
    }
    
    .design-desk-title {
        font-size: 18px;
        letter-spacing: 1.5px;
    }
    
    .design-desk-subtitle {
        font-size: 14px;
    }
    
    .design-desk-description {
        font-size: 13px;
        margin-bottom: 18px;
    }
    
    .design-desk-button {
        padding: 12px 30px;
        font-size: 14px;
    }
}

/* ========================================
   HIDE QUANTITY SELECTOR
   ======================================== */

body.single-product .woocommerce div.product form.cart div.quantity,
body.single-product .woocommerce div.product form.cart .quantity,
body.single-product form.cart div.quantity,
body.single-product form.cart .quantity {
    display: none !important;
}

/* ========================================
   ADD TO CART BUTTON - Giant Black Button
   ======================================== */

/* Multiple selectors to ensure it applies */
body.single-product .woocommerce div.product form.cart .single_add_to_cart_button,
body.single-product .woocommerce div.product form.cart button.button,
body.single-product form.cart .single_add_to_cart_button,
body.single-product form.cart button.button,
.single-product form.cart .single_add_to_cart_button,
.single-product form.cart button[type="submit"],
.woocommerce .single-product form.cart button.single_add_to_cart_button,
body.single-product button.single_add_to_cart_button {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    padding: 18px 30px !important;
    background-color: #000 !important;
    background: #000 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 30px !important;
    margin-left: 0 !important;
    min-height: 60px !important;
    height: auto !important;
    display: block !important;
    line-height: 1.4 !important;
}

body.single-product .woocommerce div.product form.cart .single_add_to_cart_button:hover,
body.single-product .woocommerce div.product form.cart button.button:hover,
body.single-product form.cart .single_add_to_cart_button:hover,
body.single-product button.single_add_to_cart_button:hover {
    background-color: #333 !important;
    background: #333 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

body.single-product .woocommerce div.product form.cart .single_add_to_cart_button:active,
body.single-product .woocommerce div.product form.cart button.button:active,
body.single-product form.cart .single_add_to_cart_button:active,
body.single-product button.single_add_to_cart_button:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

/* ========================================
   ADD TO WISHLIST BUTTON - Big Square Red
   ======================================== */

/* Flex container for Add to Cart + Wishlist */
body.single-product .woocommerce div.product form.cart,
body.single-product form.cart {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    align-items: stretch !important;
}

/* Make Add to Cart button flex and take most space */
body.single-product form.cart .single_add_to_cart_button,
body.single-product button.single_add_to_cart_button {
    flex: 1 1 calc(100% - 75px) !important;
}

/* Wishlist button - Big Square */
body.single-product .tinv-wraper,
body.single-product .tinv-wishlist,
body.single-product .tinvwl-above_thumb-add-to-cart,
body.single-product .tinvwl-position-after,
body.single-product div.product .tinv-wraper.woocommerce.tinv-wishlist {
    flex: 0 0 60px !important;
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    margin: 30px 0 0 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.single-product .tinvwl_add_to_wishlist_button,
body.single-product .tinv-wishlist .tinvwl_add_to_wishlist_button {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    background-color: #fff !important;
    background: #fff !important;
    border: 2px solid #ddd !important;
    border-radius: 4px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    text-align: center !important;
    vertical-align: middle !important;
}

/* Heart icon styling */
body.single-product .tinvwl_add_to_wishlist_button::before,
body.single-product .tinvwl_add_to_wishlist_button i,
body.single-product .tinvwl_add_to_wishlist_button .ftinvwl,
body.single-product .tinvwl_add_to_wishlist_button svg,
body.single-product .tinvwl_add_to_wishlist_button img {
    font-size: 48px !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    color: #ff0000 !important;
    fill: #ff0000 !important;
    stroke: #ff0000 !important;
    line-height: 48px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
    vertical-align: middle !important;
}

/* Hide text, show only icon */
body.single-product .tinvwl_add_to_wishlist_button span.tinvwl_add_to_wishlist-text {
    display: none !important;
}

/* Hover state */
body.single-product .tinvwl_add_to_wishlist_button:hover {
    background-color: #ffe6e6 !important;
    background: #ffe6e6 !important;
    border-color: #ff0000 !important;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3) !important;
}

/* Hover animation for button (not icon) */
body.single-product .tinv-wraper:hover .tinvwl_add_to_wishlist_button {
    transform: translateY(-2px) !important;
}

body.single-product .tinvwl_add_to_wishlist_button:hover::before,
body.single-product .tinvwl_add_to_wishlist_button:hover i,
body.single-product .tinvwl_add_to_wishlist_button:hover .ftinvwl,
body.single-product .tinvwl_add_to_wishlist_button:hover svg,
body.single-product .tinvwl_add_to_wishlist_button:hover img {
    color: #ff0000 !important;
    fill: #ff0000 !important;
    stroke: #ff0000 !important;
    transform: translate(-50%, -50%) !important;
}

/* Active/clicked state */
body.single-product .tinvwl_add_to_wishlist_button:active {
    box-shadow: 0 2px 6px rgba(255, 0, 0, 0.2) !important;
}

/* Active animation for button (not icon) */
body.single-product .tinv-wraper:active .tinvwl_add_to_wishlist_button {
    transform: translateY(0) !important;
}

/* When item is in wishlist */
body.single-product .tinvwl_add_to_wishlist_button.tinvwl-product-in-list {
    background-color: #ffe6e6 !important;
    background: #ffe6e6 !important;
    border-color: #ff0000 !important;
}

body.single-product .tinvwl_add_to_wishlist_button.tinvwl-product-in-list::before,
body.single-product .tinvwl_add_to_wishlist_button.tinvwl-product-in-list i,
body.single-product .tinvwl_add_to_wishlist_button.tinvwl-product-in-list .ftinvwl,
body.single-product .tinvwl_add_to_wishlist_button.tinvwl-product-in-list svg,
body.single-product .tinvwl_add_to_wishlist_button.tinvwl-product-in-list img {
    color: #ff0000 !important;
    fill: #ff0000 !important;
    stroke: #ff0000 !important;
    transform: translate(-50%, -50%) !important;
}

/* Mobile responsive for Add to Cart button */
@media (max-width: 768px) {
    body.single-product .woocommerce div.product form.cart .single_add_to_cart_button,
    body.single-product .woocommerce div.product form.cart button.button,
    body.single-product form.cart .single_add_to_cart_button,
    body.single-product button.single_add_to_cart_button {
        font-size: 18px !important;
        padding: 16px 24px !important;
        min-height: 56px !important;
        flex: 1 1 calc(100% - 71px) !important;
    }
    
    body.single-product .tinv-wraper,
    body.single-product .tinv-wishlist,
    body.single-product .tinvwl_add_to_wishlist_button {
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        min-height: 56px !important;
        flex: 0 0 56px !important;
    }
    
    body.single-product .tinvwl_add_to_wishlist_button::before,
    body.single-product .tinvwl_add_to_wishlist_button i,
    body.single-product .tinvwl_add_to_wishlist_button .ftinvwl,
    body.single-product .tinvwl_add_to_wishlist_button svg,
    body.single-product .tinvwl_add_to_wishlist_button img {
        font-size: 44px !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        max-width: 44px !important;
        max-height: 44px !important;
        line-height: 44px !important;
        transform: translate(-50%, -50%) !important;
    }
}

/* ==========================================================================
   React Theme Styles - Bob Theme V3
   ========================================================================== */

/* Header Styles */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: white;
    border-bottom: 1px solid #e5e5e5;
}

.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: absolute;
    left: 1rem;
}

.mobile-menu-toggle:hover {
    background: #f5f5f5;
    border-radius: 0.375rem;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    background: white;
    display: none;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.375rem;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-close:hover {
    background: #f5f5f5;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .mobile-menu-overlay {
        display: none !important;
    }
    
    .site-header nav {
        display: block !important;
    }
    
    .site-header .mobile-search {
        display: none !important;
    }
    
    .site-header .desktop-search {
        display: flex !important;
    }
    
    .site-header .desktop-icons {
        display: flex !important;
    }
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.pb-3 { padding-bottom: 0.75rem; }
.pt-3 { padding-top: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.pl-10 { padding-left: 2.5rem; }
.pl-3 { padding-left: 0.75rem; }
.pr-3 { padding-right: 0.75rem; }

.mb-12 { margin-bottom: 3rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mt-4 { margin-top: 1rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-1\.5 { margin-top: 0.375rem; }
.mt-0\.5 { margin-top: 0.125rem; }

.gap-8 { gap: 2rem; }
.gap-6 { gap: 1.5rem; }
.gap-4 { gap: 1rem; }
.gap-3 { gap: 0.75rem; }
.gap-2 { gap: 0.5rem; }
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-x-4 { column-gap: 1rem; }
.gap-y-2 { row-gap: 0.5rem; }

/* Grid Classes */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Flex Classes */
.flex { display: flex; }
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }

/* Text Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-balance { text-wrap: balance; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }

.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.tracking-tight { letter-spacing: -0.025em; }

/* Color Classes */
.text-white { color: #ffffff; }
.text-neutral-300 { color: #d4d4d8; }
.text-neutral-400 { color: #a3a3a3; }
.text-neutral-500 { color: #737373; }
.text-neutral-600 { color: #525252; }
.text-neutral-700 { color: #404040; }
.text-neutral-900 { color: #171717; }
.text-red-600 { color: #dc2626; }

.bg-white { background-color: #ffffff; }
.bg-neutral-50 { background-color: #fafafa; }
.bg-neutral-100 { background-color: #f5f5f5; }
.bg-neutral-600 { background-color: #525252; }
.bg-neutral-700 { background-color: #404040; }
.bg-neutral-800 { background-color: #262626; }
.bg-neutral-900 { background-color: #171717; }
.bg-black { background-color: #000000; }

.border { border-width: 1px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-neutral-200 { border-color: #e5e5e5; }
.border-neutral-300 { border-color: #d4d4d4; }
.border-white { border-color: #ffffff; }

/* Position Classes */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.top-0 { top: 0px; }
.top-1\/2 { top: 50%; }
.left-3 { left: 0.75rem; }
.left-4 { left: 1rem; }
.right-4 { right: 1rem; }
.right-0 { right: 0px; }
.inset-0 { top: 0px; right: 0px; bottom: 0px; left: 0px; }
.-top-1 { top: -0.25rem; }
.-right-1 { right: -0.25rem; }
.-translate-y-1\/2 { transform: translateY(-50%); }

/* Size Classes */
.w-full { width: 100%; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-10 { width: 2.5rem; }
.w-80 { width: 20rem; }
.w-64 { width: 16rem; }
.h-full { height: 100%; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-10 { height: 2.5rem; }
.h-1\.5 { height: 0.375rem; }
.h-\[600px\] { height: 600px; }
.max-w-2xl { max-width: 42rem; }
.max-w-md { max-width: 28rem; }
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-\[4\/5\] { aspect-ratio: 4 / 5; }

/* Display Classes */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }

/* Overflow Classes */
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }

/* Border Radius */
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }

/* Shadow */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }

/* Z-Index */
.z-50 { z-index: 50; }

/* Transition */
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }

/* Hover States */
.hover\:bg-neutral-50:hover { background-color: #fafafa; }
.hover\:bg-neutral-100:hover { background-color: #f5f5f5; }
.hover\:bg-neutral-700:hover { background-color: #404040; }
.hover\:bg-neutral-800:hover { background-color: #262626; }
.hover\:bg-white\/10:hover { background-color: rgba(255, 255, 255, 0.1); }
.hover\:text-neutral-600:hover { color: #525252; }
.hover\:text-neutral-900:hover { color: #171717; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:no-underline:hover { text-decoration: none; }
.hover\:opacity-70:hover { opacity: 0.7; }
.hover\:scale-105:hover { transform: scale(1.05); }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:bg-black\/40 { background-color: rgba(0, 0, 0, 0.4); }

/* Focus States */
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px var(--ring); }
.focus\:ring-neutral-500:focus { box-shadow: 0 0 0 2px #737373; }

/* Responsive Classes */
@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:flex-none { flex: none; }
    .lg\:flex-1 { flex: 1 1 0%; }
    .lg\:justify-end { justify-content: flex-end; }
    .lg\:max-w-md { max-width: 28rem; }
    .lg\:order-1 { order: 1; }
    .lg\:order-2 { order: 2; }
    .lg\:block { display: block; }
    .lg\:hidden { display: none; }
}

@media (min-width: 1280px) {
    .xl\:flex { display: flex; }
    .xl\:hidden { display: none; }
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    width: 1.5rem;
    height: 1.5rem;
}

.menu-icon span {
    width: 100%;
    height: 2px;
    background-color: #333;
    margin: 2px 0;
    transition: all 0.3s ease;
}

.mobile-menu-overlay {
    display: none;
}

.mobile-menu-overlay.active {
    display: flex;
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

/* Button Styles */
button, .button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Form Styles */
input[type="search"], input[type="email"] {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

/* Space Classes */
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }

/* Leading Classes */
.leading-relaxed { line-height: 1.625; }

/* Object Fit */
.object-cover { object-fit: cover; }

/* Text Decoration */
.no-underline { text-decoration: none; }

/* Opacity */
.opacity-70 { opacity: 0.7; }

/* Transform */
.scale-105 { transform: scale(1.05); }

/* Background Opacity */
.bg-black\/20 { background-color: rgba(0, 0, 0, 0.2); }
.bg-black\/30 { background-color: rgba(0, 0, 0, 0.3); }
.bg-black\/40 { background-color: rgba(0, 0, 0, 0.4); }

/* After Pseudo Element */
.after\:absolute::after { content: ''; position: absolute; }
.after\:bottom-0::after { bottom: 0px; }
.after\:left-4::after { left: 1rem; }
.after\:right-4::after { right: 1rem; }
.after\:h-0\.5::after { height: 0.125rem; }
.after\:bg-neutral-900::after { background-color: #171717; }
.after\:bg-neutral-400::after { background-color: #a3a3a3; }

/* Hover After */
.hover\:after\:absolute:hover::after { content: ''; position: absolute; }
.hover\:after\:bottom-0:hover::after { bottom: 0px; }
.hover\:after\:left-4:hover::after { left: 1rem; }
.hover\:after\:right-4:hover::after { right: 1rem; }
.hover\:after\:h-0\.5:hover::after { height: 0.125rem; }
.hover\:after\:bg-neutral-400:hover::after { background-color: #a3a3a3; }

/* Margin Bottom */
.-mb-px { margin-bottom: -1px; }

/* Padding Bottom */
.-mx-4 { margin-left: -1rem; margin-right: -1rem; }
