/*
 * Storefront light theme.
 * Loaded last because the imported WordPress theme contains a few dark colors
 * outside of CSS variables (including clean-mode.css).
 */
body.dshop3d-theme-light {
    --bg-dark: #f6f7f9;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #eef1f5;
    --bg-glass: rgba(255, 255, 255, 0.92);
    --grad-dark-glow: radial-gradient(circle at top center, rgba(255, 85, 0, 0.09) 0%, rgba(246, 247, 249, 0) 70%);
    --text-primary: #17171d;
    --text-secondary: #555967;
    --text-muted: #737786;
    --border-subtle: rgba(20, 24, 34, 0.12);
    --border-glow: rgba(255, 85, 0, 0.28);
    color-scheme: light;
    background: var(--bg-dark);
    color: var(--text-primary);
}

body.dshop3d-theme-light .top-announcement-bar {
    background: linear-gradient(90deg, #fff2f6 0%, #fff4ed 50%, #fff8e8 100%);
}

body.dshop3d-theme-light .featured-products-section {
    background: #f6f7f9;
}

body.dshop3d-theme-light .site-header,
body.dshop3d-theme-light.dshop3d-clean-mode .site-header {
    background: rgba(255, 255, 255, 0.94);
    border-color: var(--border-subtle);
    box-shadow: 0 8px 28px rgba(26, 30, 40, 0.06);
}

body.dshop3d-theme-light .search-input-group,
body.dshop3d-theme-light .cart-action-btn,
body.dshop3d-theme-light .pill-item,
body.dshop3d-theme-light .material-card,
body.dshop3d-theme-light.dshop3d-clean-mode .material-card,
body.dshop3d-theme-light .product-card-glass,
body.dshop3d-theme-light.dshop3d-clean-mode .product-card-glass,
body.dshop3d-theme-light .shop-sidebar-filters,
body.dshop3d-theme-light .shop-toolbar,
body.dshop3d-theme-light .woocommerce-page-wrapper,
body.dshop3d-theme-light .woocommerce-cart-form,
body.dshop3d-theme-light .cart-collaterals,
body.dshop3d-theme-light .cart-empty-state,
body.dshop3d-theme-light .woocommerce-checkout,
body.dshop3d-theme-light .woocommerce-checkout-review-order,
body.dshop3d-theme-light .woocommerce-order-received,
body.dshop3d-theme-light .woocommerce-order-details,
body.dshop3d-theme-light .woocommerce-order-overview,
body.dshop3d-theme-light .summary,
body.dshop3d-theme-light .woocommerce-product-gallery,
body.dshop3d-theme-light .woocommerce-tabs .panel {
    background: var(--bg-surface) !important;
    border-color: var(--border-subtle) !important;
    color: var(--text-primary);
}

body.dshop3d-theme-light .search-field,
body.dshop3d-theme-light input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]),
body.dshop3d-theme-light textarea,
body.dshop3d-theme-light select,
body.dshop3d-theme-light .select2-selection {
    background-color: var(--bg-surface-elevated) !important;
    border-color: var(--border-subtle) !important;
    color: var(--text-primary) !important;
}

body.dshop3d-theme-light input::placeholder,
body.dshop3d-theme-light textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.9;
}

body.dshop3d-theme-light .product-image-container,
body.dshop3d-theme-light .woocommerce-product-gallery__image,
body.dshop3d-theme-light .variation-color-swatch,
body.dshop3d-theme-light .shop_table thead,
body.dshop3d-theme-light .woocommerce-checkout-review-order-table thead {
    background: #f1f3f6 !important;
}

body.dshop3d-theme-light .shop_table td,
body.dshop3d-theme-light .shop_table th,
body.dshop3d-theme-light .cart_item,
body.dshop3d-theme-light .order_item,
body.dshop3d-theme-light tfoot td,
body.dshop3d-theme-light tfoot th {
    border-color: var(--border-subtle) !important;
    color: var(--text-primary);
}

body.dshop3d-theme-light .product-title,
body.dshop3d-theme-light .product-title a,
body.dshop3d-theme-light .shop-archive-title,
body.dshop3d-theme-light .product_title,
body.dshop3d-theme-light .filter-title,
body.dshop3d-theme-light h1,
body.dshop3d-theme-light h2,
body.dshop3d-theme-light h3,
body.dshop3d-theme-light h4,
body.dshop3d-theme-light label,
body.dshop3d-theme-light strong {
    color: var(--text-primary);
}

body.dshop3d-theme-light .filter-item {
    background: #ffffff;
    border-color: #d9dee7;
    color: #4b5565;
}

body.dshop3d-theme-light .filter-item:hover {
    background: rgba(255, 107, 0, 0.08);
    border-color: var(--primary-orange);
    color: #1f2937;
}

body.dshop3d-theme-light .filter-item.active {
    background: var(--grad-primary);
    border-color: transparent;
    color: #ffffff;
}

body.dshop3d-theme-light .filter-count {
    background: #eef1f5;
    color: #4b5565;
}

body.dshop3d-theme-light .filter-item.active .filter-count {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

body.dshop3d-theme-light .site-footer,
body.dshop3d-theme-light.dshop3d-clean-mode .site-footer {
    background: #eceff3;
    border-color: var(--border-subtle);
}

body.dshop3d-theme-light .footer-bottom {
    background: #e4e8ed;
    border-color: var(--border-subtle);
}

body.dshop3d-theme-light .pay-chip {
    background: rgba(255, 255, 255, 0.75);
    border-color: var(--border-subtle);
}

body.dshop3d-theme-light .contact-card,
body.dshop3d-theme-light .contact-row,
body.dshop3d-theme-light .contact-row > div {
    background: transparent;
    border: 0;
}

body.dshop3d-theme-light .contact-row a {
    color: var(--primary-orange);
}

body.dshop3d-theme-light .mobile-drawer-panel {
    background: var(--bg-surface);
}

body.dshop3d-theme-light .mobile-drawer-overlay {
    background: rgba(20, 24, 34, 0.34);
}

body.dshop3d-theme-light .catalog-loading {
    background: rgba(246, 247, 249, 0.78);
}
