/*
Theme Name: DreamHome USA Theme
Author: Khoa Nguyen
Author URI: https://vieaimarketing.com
Description: A modern, professional, and responsive website for DreamHome USA. Developed by VIE AI. Solutions for all kinds of website/application development. Call now: 972-607-5922
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dreamhome
Tags: custom-background, custom-logo, custom-menu, featured-images, post-formats, threaded-comments, translation-ready, woocommerce
*/

body {
    background-color: #000;
    color: #fff;
}

.site-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    z-index: 1030;
    background-color: #000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.site-header .navbar {
    padding: 0;
    --bs-navbar-color: #DFC77F;
    --bs-navbar-hover-color: #fff;
    --bs-navbar-active-color: #DFC77F;
}

.site-header .cart-contents,
.site-header .login-icon-btn {
    color: #DFC77F;
    transition: color 0.2s ease;
}

.site-header .cart-contents:hover,
.site-header .login-icon-btn:hover {
    color: #fff;
}

.site-header .custom-logo-link img {
    max-height: 50px !important;
    width: auto !important;
}


.hero-section {
    height: 720px;
    position: relative;
    overflow: hidden;
    background-color: #000;
}

@media (min-width: 2440px) {
    .hero-section {
        height: 1080px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 350px;
    }
}

.hero-section .carousel,
.hero-section .carousel .carousel-inner,
.hero-section .carousel-item {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.hero-section .carousel-item img,
.hero-section .carousel-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
}

.hero-text-container .lead {
    font-size: 1.5rem;
    color: #fff !important;
    /* Override Bootstrap's text-white-50 */
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 1;
}

.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    z-index: 3;
}

.hero-section .btn-primary {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.hero-section .btn-primary:hover {
    background-color: #fff;
    border-color: #fff;
    color: #000;
}

.featured-products-section {
    padding-top: 25px;
    padding-bottom: 50px;
}

.login-icon-btn {
    color: #fff;
    border: none;
}

.login-icon-btn:hover {
    color: #ccc;
}

.login-icon-btn svg {
    width: 24px;
    height: 24px;
}

.cart-contents {
    position: relative;
    color: #fff;
    text-decoration: none;
}

.cart-contents:hover {
    color: #ccc;
}

.cart-contents svg {
    width: 24px;
    height: 24px;
}

.cart-contents .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #0d6efd;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    font-weight: bold;
}

#add-to-cart-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    background-color: #333;
    color: #fff;
    border-radius: 5px;
    padding: 15px;
    display: none;
}

#add-to-cart-toast.show {
    display: block;
}

.promotion-section {
    padding: 60px 0;
    background-color: #000;
    color: #fff;
}

.promotion-image-wrapper {
    text-align: center;
}

.installation-guides-section {
    padding: 60px 0;
    background-color: #000;
    color: #fff;
}

.installation-guides-section h2 {
    color: #fff;
}

.installation-guides-image-wrapper {
    margin-top: 30px;
    text-align: center;
}

.site-footer {
    background-color: #000;
    color: #fff;
    padding: 40px 0;
}

.footer-top {
    padding-bottom: 40px;
    border-bottom: 1px solid #222;
}

.footer-icon {
    max-width: 60px !important;
    /* Ensure this rule is not overridden */
    height: auto;
    margin-bottom: 15px;
}

.footer-mid {
    padding: 40px 0;
    border-bottom: 1px solid #222;
}

.footer-mid h5 {
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.footer-mid p {
    color: #aaa;
}

.footer-mid ul {
    padding-left: 0;
}

.footer-mid ul li a {
    color: #aaa;
    text-decoration: none;
}

.footer-mid ul li a:hover {
    color: #fff;
}

.site-info {
    color: #888;
    padding: 20px 0 0;
}


.product-carousel {
    position: relative;
    overflow: hidden;
    padding: 20px 0 60px;
}

.product-item {
    position: relative;
    text-align: center;
    background: #111;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    padding: 20px;
    transition: transform 0.3s ease;
    height: 400px;
    /* Maintain consistent height */
}

.product-item .product-title a {
    color: #fff;
    text-decoration: none;
}

.product-item .price {
    color: #aaa;
}


.product-item:hover {
    transform: translateY(-5px);
}

.product-item>a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70%;
    /* Area for the image */
}

.product-item img {
    max-width: 90%;
    max-height: 100%;
    object-fit: contain;
}

.product-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mx) var(--my),
            rgba(255, 255, 255, 0.4),
            rgba(255, 255, 255, 0) 40%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.product-item:hover::before {
    opacity: 1;
}

.product-item>* {
    transform: translateZ(20px);
    /* Push content forward for 3D effect */
}


.product-item .product-title {
    font-size: 1rem;
    margin-top: 15px;
}

.product-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    padding: 15px;
    text-align: center;
}

.product-item-overlay .product-title,
.product-item-overlay .price {
    color: #fff;
}

.product-category-section {
    padding: 60px 0;
}



.product-category-banner {
    display: block;
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 400px;
    /* Adjust as needed */
    border-radius: 10px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
}

.product-category-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
    transition: background-color 0.3s ease;
}

.product-category-banner:hover::after {
    background-color: rgba(0, 0, 0, 0.6);
}

.product-carousel .swiper-button-next,
.product-carousel .swiper-button-prev {
    color: #000;
    --swiper-navigation-size: 30px;
}

.product-carousel .swiper-pagination {
    bottom: 0;
}

.swiper-pagination-bullet {
    background-color: #ccc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: #007bff;
}

/* --- Our Projects Carousel (DJI Style) --- */
.our-projects-section {
    padding: 60px 0;
    background-color: #000;
}

.our-projects-section h2 {
    color: #fff;
    margin-bottom: 40px;
}

.projects-swiper {
    position: relative;
    /* Establish positioning context */
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
    overflow: hidden;
    /* Hide the scrollbar */
}

.projects-swiper .swiper-slide {
    width: 70%;
    /* Center slide width */
    height: 80vh;
    /* Center slide height */
    min-height: 400px;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.5s ease, opacity 0.5s ease;
    transform: scale(0.85);
    opacity: 0.7;
}

@media (max-width: 768px) {
    .projects-swiper .swiper-slide {
        width: 80%;
    }
}

.projects-swiper .swiper-slide-active {
    transform: scale(1);
    opacity: 1;
}

.project-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.projects-swiper .swiper-slide-active .project-slide-overlay {
    opacity: 1;
}

.project-slide-title {
    font-size: 2.5rem;
    font-weight: bold;
}

.project-slide-tag {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    margin-top: -10px;
    margin-bottom: 20px;
    display: inline-block;
}

.project-slide-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.projects-swiper .swiper-button-next,
.projects-swiper .swiper-button-prev {
    color: #fff;
    --swiper-navigation-size: 40px;
}




.product-item>a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    /* Fill the card */
}

.product-item img {
    max-width: 100%;
    max-height: 100%;
    /* Adjust to ensure it doesn't overlap with the overlay */
    object-fit: contain;
}

.our-ideas-section {
    padding: 60px 0;
    background-color: #000;
    color: #fff;
}

.our-ideas-section h2 {
    color: #fff;
}


.our-ideas-carousel {
    position: relative;
    margin-top: 40px;
    padding-bottom: 60px;
    /* Space for pagination */
}

.our-ideas-carousel .swiper-slide img {
    border-radius: 10px;
    width: 100%;
    height: 300px;
    /* Fixed height for consistency */
    object-fit: cover;
}

.our-ideas-carousel .swiper-button-next,
.our-ideas-carousel .swiper-button-prev {
    color: #fff !important;
    /* Force color to white */
    --swiper-navigation-size: 30px;
    z-index: 10;
}

.our-ideas-carousel .swiper-pagination {
    bottom: 20px;
    z-index: 10;
}

.our-ideas-carousel .swiper-pagination-bullet {
    background-color: #000;
    opacity: 0.5;
}

.our-ideas-carousel .swiper-pagination-bullet-active {
    background-color: #007bff;
    opacity: 1;
}

.featured-products-carousel {
    position: relative;
    overflow: hidden;
    padding: 20px 0 60px;
}

.featured-products-carousel .swiper-slide {
    width: 100%;
    height: 300px;
    /* Fixed height for consistency */
    object-fit: cover;
}

.featured-products-carousel .swiper-button-next,
.featured-products-carousel .swiper-button-prev {
    color: #000;
    --swiper-navigation-size: 30px;
}

.site-header .navbar-nav .nav-link {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
    padding: 10px 15px;
    color: #DFC77F;
    transition: color 0.3s ease;
}

.site-header .navbar-nav .nav-link:hover {
    color: #fff;
}

/* Underline hover effect */
.site-header .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
}

.site-header .navbar-nav .nav-link:hover::after,
.site-header .navbar-nav .current-menu-item>.nav-link::after {
    width: 100%;
}

/* Dropdown Menu Styling */
.site-header .dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 0;
}

.site-header .dropdown-item {
    padding: 10px 20px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.site-header .dropdown-item:hover {
    background-color: #f8f9fa;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23DFC77F' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* Off-canvas mobile menu */
.offcanvas-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 90%;
    height: 100%;
    background-color: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
    transform: translateX(100%);
    visibility: hidden;
    z-index: 9999;
    padding: 60px 20px 20px;
    display: flex;
    flex-direction: column;
}

.offcanvas-nav.is-open {
    transform: translateX(0) !important;
    visibility: visible !important;
}

.offcanvas-nav .navbar-nav {
    width: 100%;
}

.offcanvas-nav .navbar-nav a {
    color: #000;
    padding: 12px 15px;
    display: block;
    border-bottom: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-transform: uppercase;
    text-decoration: none;
}

.offcanvas-nav .navbar-nav a:hover,
.offcanvas-nav .current-menu-item>a {
    background-color: #f5f5f5;
}

.offcanvas-nav .nav-link::after {
    display: none;
}

.close-offcanvas-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    background: #f5f5f5;
    border: none;
    color: #333;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.close-offcanvas-btn:hover {
    background-color: #e0e0e0;
    color: #000;
}

/* Sub-menu styling */
.offcanvas-nav .sub-menu {
    list-style: none;
    padding-left: 20px;
    margin-top: 5px;
}

.offcanvas-nav .sub-menu .nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: #555;
    padding-top: 8px;
    padding-bottom: 8px;
}

.offcanvas-footer-icons {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.offcanvas-footer-icons a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
}

.offcanvas-footer-icons a:hover {
    color: #000;
}

.offcanvas-footer-icons a svg {
    margin-right: 8px;
}

.offcanvas-footer-icons .cart-contents {
    position: relative;
}

.offcanvas-footer-icons .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #0d6efd;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    font-weight: bold;
}

.offcanvas-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.offcanvas-backdrop.is-active {
    opacity: 0.8;
    visibility: visible;
}

/* --- Category Grid Section --- */
.category-grid-section {
    padding: 60px 0;
    background-color: #000;
    color: #fff;
}

.category-grid-section .section-title {
    color: #DFC77F;
    margin-bottom: 40px;
    font-weight: 700;
}

.category-grid-item {
    background-color: #111;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.category-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(223, 199, 127, 0.2);
}

.category-grid-link {
    text-decoration: none;
    display: block;
}

.category-image-wrapper {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    background-color: #1a1a1a;
}

.category-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-grid-item:hover .category-image-wrapper img {
    transform: scale(1.08);
}

.category-name {
    color: #DFC77F;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    transition: color 0.3s ease;
}

.category-grid-item:hover .category-name {
    color: #fff;
}

/*--------------------------------------------------------------
# Custom Footer Styles
--------------------------------------------------------------*/
.custom-black-footer {
    background-color: #050505;
    color: #e0e0e0;
    padding: 3rem 0;
    font-size: 0.9rem;
}

.custom-footer-row {
    margin-right: 0;
    margin-left: 0;
}

.custom-footer-col {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-footer-col:last-child {
    border-right: none;
}

.footer-logo-wrapper h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.footer-logo {
    max-height: 80px;
    width: auto;
}

.footer-desc {
    margin-top: 15px;
    line-height: 1.6;
    font-size: 0.85rem;
    color: #a0a0a0 !important;
}

.footer-social-links a {
    display: inline-block;
    color: #DFC77F;
    margin-right: 25px;
    font-size: 1.6rem;
    transition: color 0.3s;
}

.footer-social-links a:hover {
    color: #fff;
}

.custom-black-footer .footer-heading {
    color: #DFC77F !important;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #DFC77F;
}

.footer-contact li {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
    color: #a0a0a0;
}

.footer-contact li i {
    color: #DFC77F;
    margin-right: 15px;
    margin-top: 4px;
    width: 20px;
    text-align: center;
}

.footer-map iframe {
    border-radius: 8px;
}

@media (max-width: 991px) {
    .custom-footer-col {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }

    .custom-footer-col:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
}

/*--------------------------------------------------------------
# Single Product Custom Styles
--------------------------------------------------------------*/
/* Title & Price */
.single-product .product_title,
.single-product .entry-title {
    color: #DFC77F !important;
}

.single-product p.price,
.single-product span.price,
.single-product .price .amount,
.single-product .price ins .amount {
    color: #DFC77F !important;
}

/* Variation Buttons (JS generates these) */
.variations select {
    display: none !important;
    /* Hide default dropdowns */
}

.variation-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.variation-button {
    background-color: #000;
    border: 1px solid #DFC77F;
    color: #fff;
    padding: 8px 16px;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    user-select: none;
}

.variation-button:hover {
    background-color: rgba(223, 199, 127, 0.2);
}

.variation-button.selected {
    background-color: #DFC77F;
    color: #000;
    font-weight: 600;
}

.variation-button.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: #666;
}

/* Hide variation labels */
table.variations th.label,
.variations .label {
    display: none !important;
}

/* Contact for help */
.contact-for-help {
    background-color: #000 !important;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    margin-top: 15px;
    border: 1px solid rgba(223, 199, 127, 0.3);
}

.contact-for-help p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    color: #fff;
    gap: 10px;
}

.contact-for-help .button {
    background-color: #DFC77F !important;
    color: #000 !important;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    padding: 8px 20px;
    transition: all 0.3s;
}

.contact-for-help .button:hover {
    background-color: #c9b068 !important;
}

/* Custom Add to Cart Button and Quantity */
.woocommerce div.product form.cart:not(.variations_form),
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    margin-top: 10px;
}

.woocommerce div.product form.cart .quantity {
    display: flex;
    align-items: center;
    background-color: #000;
    border: 1px solid #DFC77F;
    border-radius: 4px;
    height: 45px;
    overflow: hidden;
    margin: 0 !important;
}

.woocommerce div.product form.cart .quantity .qty {
    width: 45px;
    height: 100%;
    background: transparent;
    border: none;
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
    padding: 0;
    -moz-appearance: textfield;
}

.woocommerce div.product form.cart .quantity .qty::-webkit-outer-spin-button,
.woocommerce div.product form.cart .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.woocommerce div.product form.cart .quantity .plus,
.woocommerce div.product form.cart .quantity .minus {
    width: 30px;
    height: 100%;
    background: transparent;
    border: none;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    padding: 0;
}

.woocommerce div.product form.cart .quantity .plus:hover,
.woocommerce div.product form.cart .quantity .minus:hover {
    color: #DFC77F;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
    background-color: #DFC77F !important;
    color: #000 !important;
    font-weight: bold !important;
    font-size: 1rem !important;
    text-transform: uppercase;
    padding: 0 30px !important;
    height: 45px;
    border: none;
    border-radius: 4px;
    transition: opacity 0.2s;
    line-height: 45px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
    opacity: 0.8;
}

/* Sale Price Layout Reordering */
.single-product p.price,
.single-product span.price {
    display: flex !important;
    align-items: baseline;
    gap: 12px;
}

.single-product p.price ins,
.single-product span.price ins {
    order: -1;
    font-size: 1.5em !important;
    text-decoration: none;
    font-weight: 700;
}

.single-product p.price del,
.single-product span.price del {
    font-size: 0.8em;
    opacity: 0.6;
}

/* Hide main price when a variation is selected */
.summary.variation-active>p.price,
.summary.variation-active>span.price {
    display: none !important;
}

/* Make h2 gold by default */
h2 {
    color: #DFC77F !important;
}

/* Hide Sidebar on Product Category Pages */
.tax-product_cat #secondary,
.tax-product_cat .widget-area {
    display: none !important;
}

.tax-product_cat #primary,
.tax-product_cat .content-area {
    width: 100% !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
    float: none !important;
    padding: 60px 15px;
}

/* Default Button Styles */
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.btn,
.added_to_cart {
    background-color: #DFC77F !important;
    color: #000 !important;
    border: none;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.button:hover,
.btn:hover,
.added_to_cart:hover {
    background-color: #c9b068 !important;
    color: #000 !important;
}

/* Out of Stock Badge */
.out-of-stock-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #000;
    color: #DFC77F;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.contact-for-help p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    color: #fff;
    gap: 10px;
}

.contact-for-help .button {
    background-color: #DFC77F !important;
    color: #000 !important;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    padding: 8px 20px;
    transition: all 0.3s;
}

.contact-for-help .button:hover {
    background-color: #c9b068 !important;
}

/* Custom Add to Cart Button and Quantity */
.woocommerce div.product form.cart:not(.variations_form),
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    margin-top: 10px;
}

.woocommerce div.product form.cart .quantity {
    display: flex;
    align-items: center;
    background-color: #000;
    border: 1px solid #DFC77F;
    border-radius: 4px;
    height: 45px;
    overflow: hidden;
    margin: 0 !important;
}

.woocommerce div.product form.cart .quantity .qty {
    width: 45px;
    height: 100%;
    background: transparent;
    border: none;
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
    padding: 0;
    -moz-appearance: textfield;
}

.woocommerce div.product form.cart .quantity .qty::-webkit-outer-spin-button,
.woocommerce div.product form.cart .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.woocommerce div.product form.cart .quantity .plus,
.woocommerce div.product form.cart .quantity .minus {
    width: 30px;
    height: 100%;
    background: transparent;
    border: none;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    padding: 0;
}

.woocommerce div.product form.cart .quantity .plus:hover,
.woocommerce div.product form.cart .quantity .minus:hover {
    color: #DFC77F;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
    background-color: #DFC77F !important;
    color: #000 !important;
    font-weight: bold !important;
    font-size: 1rem !important;
    text-transform: uppercase;
    padding: 0 30px !important;
    height: 45px;
    border: none;
    border-radius: 4px;
    transition: opacity 0.2s;
    line-height: 45px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
    opacity: 0.8;
}

/* Sale Price Layout Reordering */
.single-product p.price,
.single-product span.price {
    display: flex !important;
    align-items: baseline;
    gap: 12px;
}

.single-product p.price ins,
.single-product span.price ins {
    order: -1;
    font-size: 1.5em !important;
    text-decoration: none;
    font-weight: 700;
}

.single-product p.price del,
.single-product span.price del {
    font-size: 0.8em;
    opacity: 0.6;
}

/* Hide main price when a variation is selected */
.summary.variation-active>p.price,
.summary.variation-active>span.price {
    display: none !important;
}

/* Make h2 gold by default */
h2 {
    color: #DFC77F !important;
}

/* Hide Sidebar on Product Category Pages */
.tax-product_cat #secondary,
.tax-product_cat .widget-area {
    display: none !important;
}

.tax-product_cat #primary,
.tax-product_cat .content-area {
    width: 100% !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
    float: none !important;
    padding: 60px 15px;
}

/* Default Button Styles */
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.btn,
.added_to_cart {
    background-color: #DFC77F !important;
    color: #000 !important;
    border: none;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.button:hover,
.btn:hover,
.added_to_cart:hover {
    background-color: #c9b068 !important;
    color: #000 !important;
}

/* Out of Stock Badge */
.out-of-stock-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #000;
    color: #DFC77F;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 10;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.product,
.product-item {
    position: relative;
}

/* Global Placeholders & Checkout Labels (Catch-all) */
*::-webkit-input-placeholder {
    color: #888 !important;
    opacity: 1 !important;
}

*:-ms-input-placeholder {
    color: #888 !important;
    opacity: 1 !important;
}

*::-moz-placeholder {
    color: #888 !important;
    opacity: 1 !important;
}

*::placeholder {
    color: #888 !important;
    opacity: 1 !important;
}

/* Change all labels to gray as requested */
label,
form label,
.woocommerce form .form-row label,
.woocommerce-checkout form .form-row label,
.woocommerce-checkout .select2-selection__placeholder,
.select2-container--default .select2-selection--single .select2-selection__placeholder,
.select2-container .select2-search--inline .select2-search__field::placeholder {
    color: #888 !important;
    opacity: 1 !important;
}

/* WooCommerce Checkout Blocks - Shipping Method Title */
.wc-block-checkout__shipping-method-option-icon,
.wc-block-checkout__shipping-method-option-title {
    color: #DFC77F !important;
}

/* Carousel Controls Background & Hover Reset */
.carousel-control-prev,
.carousel-control-next,
.carousel-control-prev:hover,
.carousel-control-next:hover,
.carousel-control-prev:focus,
.carousel-control-next:focus {
    background-color: transparent !important;
    background: none !important;
    opacity: 1 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Home Page Mobile Hamburger Menu Background Reset */
.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Shipping Notice Color */
.shipping-notice,
.shipping-notice p,
.shipping-notice svg {
    color: #fff !important;
}

/* Header Submenus on Hover (Desktop) */
@media (min-width: 992px) {
    .site-header .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        margin-top: 0;
        transition: opacity 0.3s ease;
    }
}

/* Submenu Styling to Match Theme */
.site-header .dropdown-menu {
    background-color: #111;
    border: 1px solid #333;
    border-top: 2px solid #DFC77F;
    border-radius: 0 0 4px 4px;
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.site-header .dropdown-item {
    color: #fff;
    padding: 8px 20px;
    transition: all 0.2s ease;
    background-color: transparent;
    font-size: 14px;
}

.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus,
.site-header .dropdown-item.active {
    background-color: #DFC77F;
    color: #000;
}