/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/*Add your own styles here:*/

body {
    background-color: #580000;
}

.w-cart-content {
    background-color: #340000;
    color: #ffffff;
}

.w-cart-content .product_list_widget a {
    color: #daa520;
}

.w-cart-content .product_list_widget a:hover {
    color: #ffffff !important;
}

@media (max-width: 1024px) {
    #cw-hero-row {
        margin-top: 100px;
    }
    .cw-hero-title-col {
        /* padding-top: 300px; */
    }
    #cw-hero-text H1 {
        color: #daa520;
        font-size: 40px;
        line-height: 60px;
        max-width: 90%;
    }
    .cw-hero-subheader {
        max-width: 90%;
        font-size: 22px;
        line-height: 32px;
    }

    #cw-footer-socials {
        text-align: center;
        font-size: 50px;
        line-height: 70px;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    #cw-footer-copyright {
        width: 80%;
        margin: auto;
        text-align: center;
    }
    #hilal-footer-img {
        max-width: 450px;
        margin: auto;
    }
}

@media (min-width: 1025px) {
    #cw-hero-row {
        margin-top: 140px;
    }
    .cw-hero-title-col {
        padding-left: 100px;
        /* padding-top: 180px; */
    }
    #cw-hero-text H1 {
        color: #daa520;
        font-size: 55px;
        line-height: 75px;
        max-width: 60%;
    }
    .cw-hero-subheader {
        max-width: 40%;
        font-size: 22px;
        line-height: 36px;
    }
    .cw-geshema-50-left-col {
        padding-right: 50px;
    }
    .cw-restoring-50-right-col {
        padding-left: 50px;
        padding-top: 100px;
        padding-bottom: 100px;
    }
    #cw-footer-copyright {
        width: 100%;
        text-align: right;
    }
}

#cw-product-single-price {
    font-size: 22px;
    line-height: 37px;
    font-weight: 500;
}

.woocommerce-variation-price {
    /*
    font-size: 35px;
    line-height: 45px;
    font-weight: bold;
    */
}

.single_variation_wrap .quantity {
    color: #000000;
}

/* =============================================================================
   Civara Product Page — Above-fold Section (v3)

   Covers:
   - Color and Size container backgrounds
   - Section heading typography (COLOR / Dyed to order)
   - Unified field-label register (matches native Impreza variation labels)
   - Size reset × positioned past the dropdown wrapper into the container's
     padding zone (matching native WooCommerce affordance pattern)

   Changes from v2:
   - td.value max-width removed (was causing × to overlap the chevron)
   - Reset × repositioned with right offset to land past the field wrapper
   ============================================================================= */

/* --- Color selector container --- */
.civara-practice-selector {
    background-color: #460000;
    border-radius: 4px;
    padding: 1.1em 1.2em;
    margin-bottom: 0.9em;
    max-width: 530px;
}

/* --- Size selector container --- */
/* padding-top is zeroed here and restored via the first th.label below,
   because <table> elements render padding-top inconsistently vs <div> */
.single-product .variations_form .variations {
    background-color: #460000;
    border-radius: 4px;
    padding: 0 1.2em 1.1em 1.2em;
    margin-bottom: 0.9em;
    max-width: 530px;
}
.single-product
    .variations_form
    .variations
    > tbody
    > tr:first-child
    > th.label {
    padding-top: 1.1em;
}

/* Remove default WooCommerce table structure inside the container */
.single-product .variations_form .variations,
.single-product .variations_form .variations tbody,
.single-product .variations_form .variations tr {
    display: block;
    width: 100%;
}
.single-product .variations_form .variations td,
.single-product .variations_form .variations th {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
}
.single-product .variations_form .variations th.label {
    padding-bottom: 0.35em;
}

/* --- Size td: positioned anchor for the reset × ---
   Note: no max-width here. The td spans the full container content width,
   leaving whitespace to the right of the 420px field wrapper for the × to
   sit in - matching the native WooCommerce affordance pattern. */
.single-product .variations_form .variations td.value {
    padding-bottom: 0;
    position: relative;
}

/* --- Size dropdown: constrained to 420px (matches civara-variations) --- */
.single-product .variations_form .variations td.value .woocommerce-select {
    max-width: 420px;
}

/* --- Size reset × link: anchor past the dropdown wrapper's right edge ---
   The td is wider than the 420px wrapper, leaving a whitespace zone to the
   right where the × can sit without overlapping the chevron arrow.
   right: calc(100% - 420px - 0.5em) places the × ~0.5em past the wrapper edge. */
.single-product .variations_form .variations .reset_variations {
    position: absolute;
    top: 0.6em;
    right: 0.4em;
    left: auto;
    font-size: 1.1em;
    line-height: 1;
    opacity: 0.6;
    text-decoration: none;
    padding: 0.2em;
}
.single-product .variations_form .variations .reset_variations:hover {
    opacity: 1;
}

/* --- Price display --- */
.single-product .variations_form .woocommerce-variation-price {
    margin-bottom: 0.6em;
    max-width: 530px;
}
.single-product .variations_form .woocommerce-variation-price .price {
    font-size: 1.2em;
}

/* --- Remove the border that appears on variation selection --- */
.single-product .w-post-elm.add_to_cart {
    border: none !important;
    background-color: transparent !important;
}

/* =============================================================================
   TYPOGRAPHY — section heading and field labels

   The native "Size" label uses Impreza's variation-label register:
   16px, uppercase, letter-spaced, bold, white. This is the canonical
   field-label style for this page. The civara selector inherits the same
   register for Tradition, Color, Hex Code, and Pantone Reference labels.
   ============================================================================= */

/* --- Section heading (COLOR / Dyed to order) --- */
.civara-practice-selector .civara-section-heading {
    display: block;
    margin: 0 0 0.9em 0;
}
.civara-practice-selector .civara-section-heading-main {
    display: block;
    font-size: 1.15em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.2;
    color: inherit;
}
.civara-practice-selector .civara-section-heading-sub {
    display: block;
    font-size: 0.8em;
    font-weight: 400;
    font-style: normal;
    opacity: 0.65;
    margin-top: 10px;
    line-height: 1.3;
}

/* --- Unified field-label register (Tradition, Color, Hex Code, Pantone) --- */
/* Matches native Impreza/WooCommerce variation-label style used by "Size" */
.civara-practice-selector table.civara-variations th.label label {
    font-size: 0.85em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

h4.cw-product-box-header {
    margin-bottom: 5px !important;
    font-size: 35px;
}

.cw-product-box-subheader {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 19px;
    font-style: italic;
    font-weight: 300;
    color: #333333;
}

blockquote {
    font-size: 1em;
    line-height: 1.3;
}

.cw-product-col {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}

.for_agreement label {
    font-size: 16px;
    line-height: 20px;
}

/*
@media (min-width: 1380px) {
  #cw-mobile-menu,
  #cw-mobile-cart-icon {
    display: none;
  }
}
*/

div#StandardFooter {
    display: none !important;
}

html,
body,
.civara-sh-embed-row,
.w-popup-box-content {
    overflow-x: visible !important;
}

#civara-submenu-row {
    /*	z-index: 300;*/
}
/*.w-nav.type_mobile .w-nav-list {
    z-index: 203 !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch
}*/
/*.l-header {
    z-index: 202 !important;
 }*/
.opc_order_review {
    padding-bottom: 40px;
}
#civara-woo-checkout-row
    .opc-single-product.single-product
    .summary.entry-summary.product-item {
    float: right;
    width: 100% !important;
    margin-bottom: 3rem;
}

/* Variation dropdowns - stack label above select on product pages */
form.variations_form table.variations,
form.variations_form table.variations tbody,
form.variations_form table.variations tr {
    display: block;
    width: 100%;
}

form.variations_form table.variations th.label {
    display: block;
    width: 100%;
    padding: 0 0 0.35em 0;
}

form.variations_form table.variations th.label label {
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

form.variations_form table.variations td.value {
    display: block;
    width: 100%;
    padding: 0 0 0.9em 0;
}

form.variations_form table.variations td.value select {
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
}

form.variations_form table.variations td.value .woocommerce-select {
    max-width: 420px;
}
