/* ============================================
   DOSED DARK THEME - Custom Styles
   Premium dark-mode WooCommerce aesthetic
   ============================================ */

/* --- Reset & Global --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body.dosed-dark {
    background-color: #0A0A0A;
    color: #FFFFFF;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}

p, li, span, label, td, th {
    color: #FFFFFF;
}

.has-secondary-color,
.wp-block-post-excerpt,
.wp-block-post-date,
.product .price del,
figcaption {
    color: #A0A0A0 !important;
}

/* --- Hide parent theme header (we use custom .dosed-header) --- */
.dosed-dark header.wp-block-template-part,
.dosed-dark .wp-block-template-part[data-slug="header"] {
    display: none !important;
}

/* --- Custom Glassmorphism Header (Dynamic Island) --- */
.dosed-header {
    position: fixed !important;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1400px;
    z-index: 9999;
    background: rgba(10, 10, 10, 0.65);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.dosed-header.header-scrolled {
    background: rgba(10, 10, 10, 0.85);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
    top: 10px;
}

.dosed-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 32px;
    gap: 24px;
}

/* Logo / site title */
.dosed-header-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #FFFFFF;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.dosed-header-logo:hover {
    color: #FFFFFF;
}

.dosed-header-logo .custom-logo {
    height: 28px;
    width: auto;
}

/* Nav menu */
.dosed-header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.dosed-nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.dosed-nav-list li a {
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 50px;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.dosed-nav-list li a:hover,
.dosed-nav-list li.current-menu-item a {
    background: rgba(255, 255, 255, 0.08);
}

/* Cart icon */
.dosed-header-cart {
    position: relative;
    color: #FFFFFF;
    text-decoration: none;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dosed-header-cart:hover {
    background: rgba(255, 255, 255, 0.08);
}

.dosed-header-cart svg {
    display: block;
}

.dosed-cart-count {
    position: absolute;
    top: -2px;
    right: -4px;
    background: #FFFFFF;
    color: #000000;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Mobile hamburger toggle */
.dosed-header-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
}

.dosed-header-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #FFFFFF;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile menu */
@media (max-width: 900px) {
    .dosed-header {
        border-radius: 24px;
        width: calc(100% - 32px);
    }

    .dosed-header-inner {
        flex-wrap: wrap;
        padding: 12px 20px;
    }

    .dosed-header-toggle {
        display: flex;
    }

    .dosed-header-nav {
        display: none;
        flex-basis: 100%;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        margin-top: 12px;
    }

    .dosed-header-nav.is-open {
        display: block;
    }

    .dosed-nav-list {
        flex-direction: column;
        gap: 4px;
    }

    .dosed-nav-list li a {
        display: block;
        padding: 12px 16px;
        border-radius: 12px;
    }
}

/* Push content below fixed header */
body.dosed-dark {
    padding-top: 100px;
}

/* --- Primary Buttons (Add to Cart, CTA) --- */
.dosed-dark .wp-element-button,
.dosed-dark .wc-block-components-button,
.dosed-dark .wc-block-cart__submit-button,
.dosed-dark .single_add_to_cart_button,
.dosed-dark .button.alt,
.dosed-dark .checkout-button,
.dosed-dark input[type="submit"] {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    border: 2px solid #FFFFFF !important;
    border-radius: 50px;
    padding: 14px 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dosed-dark .wp-element-button:hover,
.dosed-dark .wc-block-components-button:hover,
.dosed-dark .single_add_to_cart_button:hover,
.dosed-dark .button.alt:hover,
.dosed-dark .checkout-button:hover,
.dosed-dark input[type="submit"]:hover {
    background-color: #000000 !important;
    color: #FFFFFF !important;
    border-color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

/* --- Ghost / Secondary Buttons --- */
.dosed-dark .wp-element-button.is-style-outline,
.dosed-dark .wc-block-components-button--outlined,
.dosed-dark .button:not(.alt):not(.single_add_to_cart_button),
.dosed-dark .wp-block-button.is-style-outline .wp-block-button__link {
    background-color: transparent !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50px;
    padding: 14px 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dosed-dark .wp-element-button.is-style-outline:hover,
.dosed-dark .wc-block-components-button--outlined:hover,
.dosed-dark .button:not(.alt):not(.single_add_to_cart_button):hover,
.dosed-dark .wp-block-button.is-style-outline .wp-block-button__link:hover {
    background-color: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    transform: translateY(-1px);
}

/* --- WooCommerce Product Cards --- */
.dosed-dark .wc-block-grid__product,
.dosed-dark .product {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dosed-dark .wc-block-grid__product:hover,
.dosed-dark .product:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.dosed-dark .wc-block-grid__product-image img,
.dosed-dark .product .wp-post-image {
    border-radius: 16px 16px 0 0;
}

.dosed-dark .wc-block-grid__product-title,
.dosed-dark .woocommerce-loop-product__title {
    color: #FFFFFF !important;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
}

.dosed-dark .wc-block-grid__product-price,
.dosed-dark .product .price {
    color: #FFFFFF !important;
    font-weight: 600;
}

/* --- Form Inputs --- */
.dosed-dark input[type="text"],
.dosed-dark input[type="email"],
.dosed-dark input[type="password"],
.dosed-dark input[type="number"],
.dosed-dark input[type="tel"],
.dosed-dark input[type="url"],
.dosed-dark input[type="search"],
.dosed-dark textarea,
.dosed-dark select {
    background-color: #111111;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 14px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.dosed-dark input:focus,
.dosed-dark textarea:focus,
.dosed-dark select:focus {
    border-color: rgba(255, 255, 255, 0.4);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

/* --- Footer --- */
.dosed-dark footer,
.dosed-dark footer.wp-block-template-part {
    background-color: #0A0A0A !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #A0A0A0;
}

.dosed-dark footer a {
    color: #A0A0A0 !important;
    transition: color 0.3s ease;
}

.dosed-dark footer a:hover {
    color: #FFFFFF !important;
}

/* --- Scrollbar --- */
.dosed-dark ::-webkit-scrollbar {
    width: 8px;
}

.dosed-dark ::-webkit-scrollbar-track {
    background: #0A0A0A;
}

.dosed-dark ::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.dosed-dark ::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* --- Selection --- */
.dosed-dark ::selection {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
}

/* --- WooCommerce notices --- */
.dosed-dark .woocommerce-message,
.dosed-dark .woocommerce-info {
    background-color: #111111;
    border-left-color: #FFFFFF;
    color: #FFFFFF;
}

.dosed-dark .woocommerce-error {
    background-color: #111111;
    border-left-color: #ff4444;
    color: #FFFFFF;
}

/* ============================================
   5. SPLIT-SCREEN SINGLE PRODUCT LAYOUT
   ============================================ */

/* Override default product card styles on single product */
.dosed-dark .dosed-product-layout.product {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
}

.dosed-dark .dosed-product-layout.product:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.dosed-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

/* --- Image Side (Left) --- */
.dosed-product-image {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #111111;
    border-radius: 24px;
    padding: 40px;
    overflow: hidden;
    min-height: 500px;
}

/* Spotlight radial gradient behind product image */
.dosed-spotlight-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 255, 255, 0.02) 40%,
        transparent 70%
    );
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.dosed-product-main-img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: contain;
}

/* Gallery thumbnails */
.dosed-product-gallery {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    position: relative;
    z-index: 1;
}

.dosed-gallery-thumb {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.dosed-gallery-thumb:hover,
.dosed-gallery-thumb.active {
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.dosed-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Details Side (Right) --- */
.dosed-product-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 20px;
}

/* Sale badge */
.dosed-product-details .onsale {
    background: #FFFFFF;
    color: #000000;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-block;
    width: fit-content;
}

/* Product title */
.dosed-product-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    margin: 0;
}

/* Price */
.dosed-product-price {
    font-family: 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #FFFFFF;
}

.dosed-product-price del {
    color: #A0A0A0;
    font-weight: 400;
    font-size: 1.25rem;
    margin-right: 8px;
}

.dosed-product-price ins {
    text-decoration: none;
    color: #FFFFFF;
}

/* Short description */
.dosed-product-excerpt {
    color: #A0A0A0;
    font-size: 1rem;
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
}

.dosed-product-excerpt p {
    color: #A0A0A0;
    margin: 0 0 12px;
}

/* Add to cart area */
.dosed-product-add-to-cart {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
}

/* Quantity input */
.dosed-product-add-to-cart .quantity {
    display: inline-flex;
    align-items: center;
    margin-right: 16px;
}

.dosed-product-add-to-cart .quantity .qty {
    background: #111111;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    width: 70px;
    height: 52px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
}

/* Single add to cart button (already styled by global button rules) */
.dosed-product-add-to-cart .single_add_to_cart_button {
    height: 52px;
    min-width: 200px;
}

/* Product tabs */
.dosed-product-tabs {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 32px;
    margin-top: 8px;
}

.dosed-product-tabs .woocommerce-tabs ul.tabs {
    list-style: none;
    display: flex;
    gap: 0;
    padding: 0;
    margin: 0 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
}

.dosed-product-tabs .woocommerce-tabs ul.tabs::before,
.dosed-product-tabs .woocommerce-tabs ul.tabs::after {
    display: none;
}

.dosed-product-tabs .woocommerce-tabs ul.tabs li {
    background: transparent;
    border: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
}

.dosed-product-tabs .woocommerce-tabs ul.tabs li::before,
.dosed-product-tabs .woocommerce-tabs ul.tabs li::after {
    display: none;
}

.dosed-product-tabs .woocommerce-tabs ul.tabs li a {
    color: #A0A0A0;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 12px 24px;
    display: block;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.dosed-product-tabs .woocommerce-tabs ul.tabs li.active a,
.dosed-product-tabs .woocommerce-tabs ul.tabs li a:hover {
    color: #FFFFFF;
    border-bottom-color: #FFFFFF;
}

.dosed-product-tabs .woocommerce-Tabs-panel {
    color: #A0A0A0;
    line-height: 1.7;
}

.dosed-product-tabs .woocommerce-Tabs-panel p {
    color: #A0A0A0;
}

/* --- Responsive: Stack on mobile --- */
@media (max-width: 900px) {
    .dosed-product-layout {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 24px 16px 60px;
    }

    .dosed-product-image {
        min-height: 350px;
        padding: 24px;
    }

    .dosed-product-title {
        font-size: 1.75rem;
    }

    .dosed-product-price {
        font-size: 1.35rem;
    }
}

/* ============================================
   4. REGISTRATION / MY ACCOUNT STYLES
   ============================================ */

/* Registration form fields */
.dosed-dark .woocommerce-form-register .form-row {
    margin-bottom: 16px;
}

.dosed-dark .woocommerce-form-register label {
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 6px;
    display: block;
}

.dosed-dark .woocommerce-form-register .required {
    color: #ff4444;
}

/* Terms checkbox */
.dosed-dark .dosed-terms-row {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dosed-dark .dosed-terms-row label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.dosed-dark .dosed-terms-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #FFFFFF;
    flex-shrink: 0;
}

.dosed-dark .dosed-terms-text {
    color: #A0A0A0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.dosed-dark .dosed-terms-text a {
    color: #FFFFFF !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Email confirmation notice */
.dosed-dark .dosed-confirm-notice {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
    color: #A0A0A0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.dosed-dark .dosed-confirm-notice a {
    color: #FFFFFF !important;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* My Account page styles */
.dosed-dark .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
}

.dosed-dark .woocommerce-MyAccount-navigation ul li a {
    color: #A0A0A0 !important;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    padding: 10px 16px;
    display: block;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.dosed-dark .woocommerce-MyAccount-navigation ul li.is-active a,
.dosed-dark .woocommerce-MyAccount-navigation ul li a:hover {
    color: #FFFFFF !important;
    background: rgba(255, 255, 255, 0.06);
}

/* ============================================
   6. CART & CHECKOUT DARK MODE
   WooCommerce block-based cart/checkout
   ============================================ */

/* --- Cart page --- */
.dosed-dark .wc-block-cart,
.dosed-dark .wp-block-woocommerce-cart {
    background-color: #0A0A0A;
    color: #FFFFFF;
}

.dosed-dark .wc-block-cart .wc-block-components-product-name,
.dosed-dark .wc-block-cart .wc-block-components-product-metadata {
    color: #FFFFFF !important;
}

.dosed-dark .wc-block-cart .wc-block-components-product-price {
    color: #FFFFFF !important;
}

.dosed-dark .wc-block-cart .wc-block-cart__totals-title,
.dosed-dark .wc-block-components-totals-wrapper .wc-block-components-totals-item__label,
.dosed-dark .wc-block-components-totals-wrapper .wc-block-components-totals-item__value {
    color: #FFFFFF !important;
}

/* Cart sidebar / order summary */
.dosed-dark .wc-block-cart .wc-block-cart__sidebar,
.dosed-dark .wc-block-cart .wp-block-woocommerce-cart-order-summary-block {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
}

/* Cart table rows */
.dosed-dark .wc-block-cart-items .wc-block-cart-items__row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Cart item image */
.dosed-dark .wc-block-cart-item__image img {
    border-radius: 12px;
    background: #111111;
}

/* Cart quantity selector */
.dosed-dark .wc-block-components-quantity-selector {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}

.dosed-dark .wc-block-components-quantity-selector input {
    background: transparent !important;
    color: #FFFFFF !important;
    border: none !important;
}

.dosed-dark .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
    color: #FFFFFF;
    background: transparent;
    border: none;
}

/* Cart remove link */
.dosed-dark .wc-block-cart-item__remove-link {
    color: #A0A0A0 !important;
    font-size: 0.8rem;
}

.dosed-dark .wc-block-cart-item__remove-link:hover {
    color: #ff4444 !important;
}

/* Cart coupon */
.dosed-dark .wc-block-components-totals-coupon__content {
    background: transparent;
}

.dosed-dark .wc-block-components-totals-coupon__content input {
    background: #111111 !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px !important;
}

/* Cart empty state */
.dosed-dark .wc-block-cart--is-empty {
    color: #A0A0A0;
    text-align: center;
}

/* --- Checkout page --- */
.dosed-dark .wc-block-checkout,
.dosed-dark .wp-block-woocommerce-checkout {
    background-color: #0A0A0A;
    color: #FFFFFF;
}

/* Checkout form fields */
.dosed-dark .wc-block-components-text-input input,
.dosed-dark .wc-block-components-text-input textarea {
    background: #111111 !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
}

.dosed-dark .wc-block-components-text-input input:focus,
.dosed-dark .wc-block-components-text-input textarea:focus {
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05) !important;
}

.dosed-dark .wc-block-components-text-input label {
    color: #A0A0A0 !important;
}

.dosed-dark .wc-block-components-text-input.is-active label {
    color: #A0A0A0 !important;
}

/* Checkout select dropdowns */
.dosed-dark .wc-block-components-combobox .components-combobox-control input,
.dosed-dark .wc-block-components-country-input input,
.dosed-dark .wc-block-components-state-input input {
    background: #111111 !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
}

/* Checkout sections */
.dosed-dark .wc-block-checkout__form .wc-block-components-checkout-step {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.dosed-dark .wc-block-components-checkout-step__title {
    color: #FFFFFF !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.dosed-dark .wc-block-components-checkout-step__description {
    color: #A0A0A0 !important;
}

/* Checkout order summary sidebar */
.dosed-dark .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
}

.dosed-dark .wc-block-components-order-summary .wc-block-components-order-summary-item__description {
    color: #FFFFFF;
}

.dosed-dark .wc-block-components-order-summary .wc-block-components-product-name {
    color: #FFFFFF !important;
}

.dosed-dark .wc-block-components-order-summary .wc-block-components-product-price {
    color: #FFFFFF !important;
}

.dosed-dark .wc-block-components-order-summary .wc-block-components-order-summary-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dosed-dark .wc-block-components-order-summary .wc-block-components-order-summary-item__image img {
    border-radius: 10px;
    background: #1A1A1A;
}

/* Checkout totals */
.dosed-dark .wc-block-components-totals-wrapper {
    border-top-color: rgba(255, 255, 255, 0.06) !important;
}

.dosed-dark .wc-block-components-totals-item .wc-block-components-totals-item__label,
.dosed-dark .wc-block-components-totals-item .wc-block-components-totals-item__value {
    color: #FFFFFF !important;
}

.dosed-dark .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.dosed-dark .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Checkout shipping options */
.dosed-dark .wc-block-components-shipping-rates-control .wc-block-components-radio-control__option {
    color: #FFFFFF;
}

.dosed-dark .wc-block-components-radio-control .wc-block-components-radio-control__input {
    border-color: rgba(255, 255, 255, 0.3);
}

.dosed-dark .wc-block-components-radio-control .wc-block-components-radio-control__input:checked {
    border-color: #FFFFFF;
    background-color: #FFFFFF;
}

.dosed-dark .wc-block-components-radio-control__label,
.dosed-dark .wc-block-components-radio-control__description,
.dosed-dark .wc-block-components-radio-control__secondary-label,
.dosed-dark .wc-block-components-radio-control__secondary-description {
    color: #FFFFFF !important;
}

/* Checkout payment methods */
.dosed-dark .wc-block-components-payment-method-label {
    color: #FFFFFF !important;
}

.dosed-dark .wc-block-components-payment-method-icons img {
    filter: brightness(0) invert(1);
}

/* Checkout checkbox & radio */
.dosed-dark .wc-block-components-checkbox .wc-block-components-checkbox__input {
    accent-color: #FFFFFF;
}

.dosed-dark .wc-block-components-checkbox .wc-block-components-checkbox__label {
    color: #FFFFFF !important;
}

/* Checkout place order button — use primary style */
.dosed-dark .wc-block-components-checkout-place-order-button {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    border: 2px solid #FFFFFF !important;
    border-radius: 50px !important;
    padding: 16px 40px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    width: 100%;
}

.dosed-dark .wc-block-components-checkout-place-order-button:hover {
    background-color: #000000 !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

/* Checkout return-to-cart link */
.dosed-dark .wc-block-components-checkout-return-to-cart-button {
    color: #A0A0A0 !important;
}

.dosed-dark .wc-block-components-checkout-return-to-cart-button:hover {
    color: #FFFFFF !important;
}

/* Loading spinner */
.dosed-dark .wc-block-components-spinner::after {
    border-color: rgba(255, 255, 255, 0.2);
    border-top-color: #FFFFFF;
}

/* Checkout error states */
.dosed-dark .wc-block-components-validation-error p {
    color: #ff4444 !important;
}

.dosed-dark .wc-block-components-text-input.has-error input {
    border-color: #ff4444 !important;
}

/* Checkout notice banners */
.dosed-dark .wc-block-components-notice-banner {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #FFFFFF;
}

.dosed-dark .wc-block-components-notice-banner.is-error {
    border-color: rgba(255, 68, 68, 0.3);
}

.dosed-dark .wc-block-components-notice-banner.is-success {
    border-color: rgba(34, 197, 94, 0.3);
}

.dosed-dark .wc-block-components-notice-banner svg {
    fill: #FFFFFF;
}

/* ============================================
   7. CONTACT FORM
   ============================================ */

.dosed-contact-form-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

/* Error messages */
.dosed-contact-errors {
    background: rgba(255, 68, 68, 0.08);
    border: 1px solid rgba(255, 68, 68, 0.25);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 28px;
}

.dosed-contact-errors p {
    color: #ff6b6b !important;
    margin: 0 0 4px;
    font-size: 0.9rem;
}

.dosed-contact-errors p:last-child {
    margin-bottom: 0;
}

/* Success state */
.dosed-contact-success {
    text-align: center;
    padding: 80px 24px;
}

.dosed-contact-success svg {
    margin-bottom: 24px;
    opacity: 0.9;
}

.dosed-contact-success h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: #FFFFFF;
    margin: 0 0 12px;
}

.dosed-contact-success p {
    color: #A0A0A0;
    font-size: 1.05rem;
}

/* Form layout */
.dosed-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dosed-form-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dosed-form-row--half {
    flex-direction: row;
    gap: 20px;
}

.dosed-form-row--half .dosed-form-field {
    flex: 1;
}

/* Labels */
.dosed-form-field label {
    display: block;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.dosed-form-field label .required {
    color: #ff4444;
}

.dosed-form-field label .optional {
    color: #A0A0A0;
    font-weight: 400;
    font-size: 0.8rem;
}

/* Inputs */
.dosed-contact-form input[type="text"],
.dosed-contact-form input[type="email"],
.dosed-contact-form input[type="tel"],
.dosed-contact-form textarea {
    width: 100%;
    background: #111111 !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    padding: 14px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.dosed-contact-form input::placeholder,
.dosed-contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.dosed-contact-form input:focus,
.dosed-contact-form textarea:focus {
    border-color: rgba(255, 255, 255, 0.4) !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.dosed-contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

/* reCAPTCHA notice */
.dosed-recaptcha-notice {
    color: #A0A0A0 !important;
    font-size: 0.78rem;
    line-height: 1.5;
    margin-top: 4px;
}

.dosed-recaptcha-notice a {
    color: #FFFFFF !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Submit button — matches Add to Cart primary CTA */
.dosed-form-submit {
    margin-top: 8px;
}

.dosed-contact-submit-btn {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    border: 2px solid #FFFFFF !important;
    border-radius: 50px;
    padding: 16px 48px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.dosed-contact-submit-btn:hover {
    background-color: #000000 !important;
    color: #FFFFFF !important;
    border-color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

/* Hide reCAPTCHA badge (allowed per Google's TOS if you include text notice) */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* Responsive */
@media (max-width: 600px) {
    .dosed-form-row--half {
        flex-direction: column;
    }

    .dosed-contact-form-wrap {
        padding: 24px 16px 60px;
    }
}
