/* 
 Theme Name:   Askur pizzeria Divii 5 Child Theme
 Theme URI:    
 Description:  
 Author:       Waqas Tariq
 Author URI:   
 Template:     Divi
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/


.mobile_menu_bar:before {color:white;}

.woocommerce-store-notice.demo_store {background-color:#8A0000;
height: 100px;
	
font-size: 150%;}*

div.woocommerce-info {background-color:#8A0000!important;}

ul.woocommerce-error {background-color:#8A0000!important}


/*label {display:none;}*/

.woocommerce span.onsale, .woocommerce-page span.onsale
{
background:#8e0000!important;
font-family:assistant;;
}

/* Target the 'Sérsníða' button for product_id 53859 */
a.button.yith-wcqv-button[data-product_id="53859"] {
  background-color: #8E0000!important;   /* Main background color */
  color: #C62828!important;   /* White text (optional) */
  border: none;                /* Remove border if needed */
  display: inline-block;       /* Keep as inline-block (common for buttons) */
  padding: 0.6em 1em;          /* Adjust spacing if desired */
  text-decoration: none;       /* Remove underline if present */
  border-radius: 4px;          /* Rounded corners, tweak as you like */
  align-content: center;
}

/* Optional: Hover effect */
a.button.yith-wcqv-button[data-product_id="53859"]:hover {
  background-color: #C62828!important;   /* Darker shade on hover */
  color: #fff !important;
}

/* Target the 'Sérsníða' button for product_id 53859 */
a.button.yith-wcqv-button[data-product_id="53852"] {
  background-color: #8E0000!important;   /* Main background color */
  color: #C62828!important;   /* White text (optional) */
  border: none;                /* Remove border if needed */
  display: inline-block;       /* Keep as inline-block (common for buttons) */
  padding: 0.6em 1em;          /* Adjust spacing if desired */
  text-decoration: none;       /* Remove underline if present */
  border-radius: 4px;          /* Rounded corners, tweak as you like */
  align-content: center;
}

/* Optional: Hover effect */
a.button.yith-wcqv-button[data-product_id="53852"]:hover {
  background-color: #C62828!important;   /* Darker shade on hover */
  color: #fff !important;
}

a.button.yith-wcqv-button[data-product_id="53859"] {
  color: #fff !important;
}

/* Overlay that makes the whole product tile clickable */
.askur-quickview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10; /* Buttons will be above this */
}

/* Ensure real buttons remain clickable */
.woocommerce ul.products li.product .button,
.yith-wcqv-button:not(.askur-quickview-overlay) {
    position: relative;
    z-index: 30;
}

/* Woo shop: keep all description areas same height and line up buttons */
.woocommerce ul.products li.product .your-class {
    display: block;
    min-height: 70px;   /* adjust up/down until it feels right */
    max-height: 70px;   /* same as min-height for consistent card height */
    overflow: hidden;   /* hides any extra text */
    margin-bottom: 16px; /* space above the buttons */
}

/* Limit height of TOP featured products only */
li.product.post-53859,
li.product.post-53852 {
    height: 160px !important;   /* adjust until it looks good */
}

/* Optional: reduce internal padding so they shrink nicely */
li.product.post-53859 .woocommerce-loop-product__title,
li.product.post-53852 .woocommerce-loop-product__title {
    margin-bottom: 8px;
}

li.product.post-53859 .price,
li.product.post-53852 .price {
    margin-bottom: 8px;
}
.description{
    line-height: 1.6em;
    margin-bottom: 18px;
    font-size: 15px;
    color: #ccc;
}
 
/*Two-column offer cards only */
.post-53859 .button.yith-wcqv-button, .post-53859 .add_to_cart_button{
    display: none !important;
}

/* Make it visually obvious that the card is clickable */
.woocommerce.columns-2.wpf-search-container li.product {
    cursor: pointer;
}
.et_pb_shop_6.et_pb_shop .woocommerce ul.products li.product h2, .et_pb_shop_6.et_pb_shop .woocommerce ul.products li.product h4, .et_pb_shop_6.et_pb_shop .woocommerce ul.products li.product h5, .et_pb_shop_6.et_pb_shop .woocommerce ul.products li.product h6, .et_pb_shop_5.et_pb_shop .woocommerce ul.products li.product h3, .et_pb_shop_5.et_pb_shop .woocommerce ul.products li.product h1, .et_pb_shop_5.et_pb_shop .woocommerce ul.products li.product h2, .et_pb_shop_5.et_pb_shop .woocommerce ul.products li.product h4, .et_pb_shop_5.et_pb_shop .woocommerce ul.products li.product h5, .et_pb_shop_5.et_pb_shop .woocommerce ul.products li.product h6, .et_pb_shop_9.et_pb_shop .woocommerce ul.products li.product h3, .et_pb_shop_9.et_pb_shop .woocommerce ul.products li.product h1, .et_pb_shop_9.et_pb_shop .woocommerce ul.products li.product h2, .et_pb_shop_9.et_pb_shop .woocommerce ul.products li.product h4, .et_pb_shop_9.et_pb_shop .woocommerce ul.products li.product h5, .et_pb_shop_9.et_pb_shop .woocommerce ul.products li.product h6 {
    font-family: 'Assistant', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    font-size: 19px;
}
.wpf_color_icons li label {
    color: #ffffff !important;
}

/* Only affect this Divi Shop module */
.et_pb_shop_6 ul.products li.product {
    position: relative;
    padding-bottom: 25px !important;
    min-height: 400px;
}

/* Customize button */
.et_pb_shop_6 ul.products li.product > a.yith-wcqv-button.button {
    position: absolute !important;
    bottom: 25px;
    left: 25px;
    width: calc(50% - 32px);
    margin: 0 !important;
    text-align: center;
}

/* Add to cart button */
.et_pb_shop_6 ul.products li.product > a.add_to_cart_button,
.et_pb_shop_6 ul.products li.product > a.product_type_external {
    position: absolute !important;
    bottom: 25px;
    right: 25px;
    width: calc(50% - 32px);
    margin: 0 !important;
    text-align: center;
}


.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
    width: 100% !important;
    float: none !important;
    clear: both !important;
}

#main-header {

    background-color: #323232;

}
#top-menu a {
    color: white;
    text-decoration: none;
    display: block;
    position: relative;
    transition: opacity .4s ease-in-out, background-color .4s ease-in-out, padding-bottom .4s ease-in-out;
}
.mobile_menu_bar:before, .mobile_menu_bar:after, #top-menu li.current-menu-ancestor>a, #top-menu li.current-menu-item>a {
    color: white;
}

/* Checkout - Stack Divi's two columns into one */
body.woocommerce-checkout .et_pb_row_4 {
    display: block !important;
}

body.woocommerce-checkout .et_pb_row_4 > .et_pb_column {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    display: block !important;
}
.woocommerce-additional-fields h3{
	display: none !important;
}

/* =========================================================
   ASKUR - Modern WooCommerce Checkout
   ========================================================= */

/* Main checkout width */
body.woocommerce-checkout .et_pb_row_4 {
    max-width: 1100px !important;
    width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* ---------------------------------------------------------
   Checkout sections / cards
   --------------------------------------------------------- */

body.woocommerce-checkout .et_pb_wc_checkout_billing,
body.woocommerce-checkout .et_pb_wc_checkout_additional_info,
body.woocommerce-checkout .et_pb_wc_checkout_order_details,
body.woocommerce-checkout .et_pb_wc_checkout_payment_info {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}


/* ---------------------------------------------------------
   Headings
   --------------------------------------------------------- */

body.woocommerce-checkout .woocommerce-billing-fields > h3,
body.woocommerce-checkout .woocommerce-additional-fields > h3,
body.woocommerce-checkout #order_review_heading {
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.3;
    margin: 0 0 26px !important;
    padding: 0 !important;
    color: #222;
}


/* ---------------------------------------------------------
   Form rows
   --------------------------------------------------------- */

body.woocommerce-checkout .woocommerce form .form-row {
    margin: 0 0 20px !important;
    padding: 0 !important;
}


/* Labels */
body.woocommerce-checkout .woocommerce form .form-row label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}


/* Required star */
body.woocommerce-checkout .required {
    color: #a90000 !important;
}


/* ---------------------------------------------------------
   Inputs / selects / textarea
   --------------------------------------------------------- */

body.woocommerce-checkout .woocommerce input.input-text,
body.woocommerce-checkout .woocommerce textarea,
body.woocommerce-checkout .woocommerce select,
body.woocommerce-checkout .select2-container--default .select2-selection--single {
    width: 100% !important;
    min-height: 52px;
    background: #fafafa !important;
    border: 1px solid #dedede !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    padding: 13px 15px !important;
    font-size: 15px !important;
    color: #222 !important;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}


/* Focus */
body.woocommerce-checkout .woocommerce input.input-text:focus,
body.woocommerce-checkout .woocommerce textarea:focus,
body.woocommerce-checkout .woocommerce select:focus {
    outline: none !important;
    background: #fff !important;
    border-color: #333 !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06) !important;
}


/* Textarea */
body.woocommerce-checkout .woocommerce textarea {
    min-height: 120px;
    resize: vertical;
}


/* Select2 */
body.woocommerce-checkout
.select2-container--default
.select2-selection--single
.select2-selection__rendered {
    line-height: 25px !important;
    padding: 0 !important;
}

body.woocommerce-checkout
.select2-container--default
.select2-selection--single
.select2-selection__arrow {
    height: 50px !important;
    right: 10px !important;
}


/* ---------------------------------------------------------
   First + Last name
   --------------------------------------------------------- */

body.woocommerce-checkout #billing_first_name_field,
body.woocommerce-checkout #billing_last_name_field {
    width: calc(50% - 10px) !important;
}

body.woocommerce-checkout #billing_first_name_field {
    float: left !important;
}

body.woocommerce-checkout #billing_last_name_field {
    float: right !important;
}


/* ---------------------------------------------------------
   Coupon / WooCommerce info notice
   --------------------------------------------------------- */

body.woocommerce-checkout .woocommerce-info {
    background: #fff !important;
    color: #333 !important;
    border: 1px solid #e5e5e5 !important;
    border-left: 4px solid #a00000 !important;
    border-radius: 10px !important;
    padding: 18px 20px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.03);
}

body.woocommerce-checkout .woocommerce-info::before {
    color: #a00000 !important;
}

body.woocommerce-checkout .woocommerce-info a {
    color: #a00000 !important;
    font-weight: 600;
}


/* ---------------------------------------------------------
   Order review
   --------------------------------------------------------- */

body.woocommerce-checkout #order_review {
    background: #fff;
    border-radius: 12px;
}

body.woocommerce-checkout table.shop_table {
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

body.woocommerce-checkout table.shop_table th,
body.woocommerce-checkout table.shop_table td {
    padding: 16px 10px !important;
    border-bottom: 1px solid #eeeeee !important;
}


/* ---------------------------------------------------------
   Payment area
   --------------------------------------------------------- */

body.woocommerce-checkout #payment {
    background: #f8f8f8 !important;
    border-radius: 12px !important;
    padding: 20px !important;
}

body.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid #e5e5e5 !important;
}


/* ---------------------------------------------------------
   Place order button
   --------------------------------------------------------- */

body.woocommerce-checkout #place_order {
    width: 100% !important;
    min-height: 54px !important;
    border: none !important;
    border-radius: 10px !important;
    background: #222 !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 15px 24px !important;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

body.woocommerce-checkout #place_order:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}


/* ---------------------------------------------------------
   Remove excessive Divi / WooCommerce spacing
   --------------------------------------------------------- */

body.woocommerce-checkout #customer_details {
    margin-bottom: 10px !important;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    margin-top: 0 !important;
}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 767px) {

    body.woocommerce-checkout .et_pb_row_4 {
        width: 92% !important;
    }

    body.woocommerce-checkout .et_pb_wc_checkout_billing,
    body.woocommerce-checkout .et_pb_wc_checkout_additional_info,
    body.woocommerce-checkout .et_pb_wc_checkout_order_details,
    body.woocommerce-checkout .et_pb_wc_checkout_payment_info {
        padding: 22px 18px;
        border-radius: 12px;
    }

    body.woocommerce-checkout #billing_first_name_field,
    body.woocommerce-checkout #billing_last_name_field {
        width: 100% !important;
        float: none !important;
    }

    body.woocommerce-checkout .woocommerce input.input-text,
    body.woocommerce-checkout .woocommerce textarea,
    body.woocommerce-checkout .woocommerce select {
        min-height: 50px;
    }
}

/* =========================================================
   ASKUR CHECKOUT - TYPOGRAPHY & READABILITY
   Add AFTER the existing checkout CSS
   ========================================================= */


/* ---------------------------------------------------------
   Overall checkout typography
   --------------------------------------------------------- */

body.woocommerce-checkout {
    color: #242424;
}

body.woocommerce-checkout .woocommerce,
body.woocommerce-checkout .woocommerce-checkout {
    font-size: 16px;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   Main page title: "Klára pöntun"
   --------------------------------------------------------- */

body.woocommerce-checkout .et_pb_post_title .entry-title {
    font-size: clamp(30px, 3vw, 42px) !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    letter-spacing: -0.8px !important;
    color: #1c1c1c !important;
    margin-bottom: 12px !important;
}


/* ---------------------------------------------------------
   Main section headings
   Billing / Additional Information / Your Order
   --------------------------------------------------------- */

body.woocommerce-checkout .woocommerce-billing-fields > h3,
body.woocommerce-checkout .woocommerce-additional-fields > h3,
body.woocommerce-checkout #order_review_heading {
    font-size: 24px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    letter-spacing: -0.3px !important;
    color: #202020 !important;

    margin-top: 0 !important;
    margin-bottom: 28px !important;
}


/* Payment heading */
body.woocommerce-checkout #payment h2 {
    font-size: 22px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    color: #202020 !important;
    margin: 0 0 20px !important;
}


/* ---------------------------------------------------------
   Field labels
   --------------------------------------------------------- */

body.woocommerce-checkout .woocommerce form .form-row label {
    display: block;
    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    color: #333333 !important;

    margin-bottom: 8px !important;
}


/* Optional text */
body.woocommerce-checkout .woocommerce form .form-row label .optional {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #777 !important;
}


/* Required asterisk */
body.woocommerce-checkout .required {
    color: #b00000 !important;
    font-weight: 700 !important;
}


/* ---------------------------------------------------------
   Input text
   --------------------------------------------------------- */

body.woocommerce-checkout input.input-text,
body.woocommerce-checkout textarea,
body.woocommerce-checkout select,
body.woocommerce-checkout .select2-selection__rendered {
    font-size: 16px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
    color: #222222 !important;
}


/* Placeholder text */
body.woocommerce-checkout input.input-text::placeholder,
body.woocommerce-checkout textarea::placeholder {
    color: #8a8a8a !important;
    opacity: 1 !important;
    font-weight: 400 !important;
}


/* Country value etc */
body.woocommerce-checkout .woocommerce-input-wrapper {
    font-size: 16px !important;
    color: #333 !important;
}


/* ---------------------------------------------------------
   Coupon notice
   --------------------------------------------------------- */

body.woocommerce-checkout .woocommerce-info {
    font-size: 16px !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
}

body.woocommerce-checkout .woocommerce-info a {
    font-weight: 700 !important;
    text-decoration: none !important;
}

body.woocommerce-checkout .woocommerce-info a:hover {
    text-decoration: underline !important;
}


/* ---------------------------------------------------------
   Order table typography
   --------------------------------------------------------- */

body.woocommerce-checkout table.shop_table {
    font-size: 16px !important;
    color: #333 !important;
}


/* Table headings */
body.woocommerce-checkout table.shop_table thead th {
    font-size: 14px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666 !important;
}


/* Product names */
body.woocommerce-checkout table.shop_table tbody td.product-name {
    font-size: 16px !important;
    line-height: 1.5 !important;
    font-weight: 600 !important;
    color: #222 !important;
}


/* Quantity */
body.woocommerce-checkout .product-quantity {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #777 !important;
}


/* Product prices */
body.woocommerce-checkout table.shop_table .product-total,
body.woocommerce-checkout table.shop_table td.product-total {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #222 !important;
}


/* ---------------------------------------------------------
   Subtotal / Shipping
   --------------------------------------------------------- */

body.woocommerce-checkout table.shop_table tfoot th {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #444 !important;
}

body.woocommerce-checkout table.shop_table tfoot td {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #222 !important;
}


/* Shipping method text */
body.woocommerce-checkout #shipping_method label {
    font-size: 15px !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    color: #333 !important;
}


/* Give shipping choices a little breathing room */
body.woocommerce-checkout #shipping_method li {
    margin-bottom: 10px !important;
}

body.woocommerce-checkout #shipping_method li:last-child {
    margin-bottom: 0 !important;
}


/* ---------------------------------------------------------
   Grand total
   --------------------------------------------------------- */

body.woocommerce-checkout table.shop_table .order-total th {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1d1d1d !important;
}

body.woocommerce-checkout table.shop_table .order-total td,
body.woocommerce-checkout table.shop_table .order-total .amount {
    font-size: 22px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    color: #1d1d1d !important;
}


/* ---------------------------------------------------------
   Payment method
   --------------------------------------------------------- */

body.woocommerce-checkout .wc_payment_method > label {
    font-size: 16px !important;
    line-height: 1.5 !important;
    font-weight: 600 !important;
    color: #222 !important;
}

body.woocommerce-checkout .payment_box {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #606060 !important;
}

body.woocommerce-checkout .payment_box p {
    margin-bottom: 0 !important;
}


/* Keep payment logo a sensible size */
body.woocommerce-checkout .wc_payment_method label img {
    max-height: 28px !important;
    width: auto !important;
    margin-left: 10px !important;
    vertical-align: middle !important;
}


/* ---------------------------------------------------------
   Privacy / checkout explanation
   --------------------------------------------------------- */

body.woocommerce-checkout .woocommerce-privacy-policy-text {
    font-size: 14px !important;
    line-height: 1.7 !important;
    color: #666 !important;
}

body.woocommerce-checkout .woocommerce-privacy-policy-text p {
    margin-bottom: 10px !important;
}

body.woocommerce-checkout .woocommerce-privacy-policy-text a {
    color: #333 !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}


/* ---------------------------------------------------------
   Place order button
   --------------------------------------------------------- */

body.woocommerce-checkout #place_order {
    font-size: 17px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    letter-spacing: 0.1px !important;
}


/* ---------------------------------------------------------
   WooCommerce messages
   --------------------------------------------------------- */

body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-info {
    line-height: 1.55 !important;
}


/* ---------------------------------------------------------
   Opening hours notice
   --------------------------------------------------------- */

body.woocommerce-checkout #openinghours-notpossible {
    font-size: 15px !important;
    line-height: 1.6 !important;
    font-weight: 500 !important;
}

body.woocommerce-checkout #openinghours_next_opening_time {
    font-weight: 700 !important;
}


/* ---------------------------------------------------------
   Better text selection / general visual refinement
   --------------------------------------------------------- */

body.woocommerce-checkout strong {
    font-weight: 700;
}

body.woocommerce-checkout button,
body.woocommerce-checkout input,
body.woocommerce-checkout textarea,
body.woocommerce-checkout select {
    font-family: inherit !important;
}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 767px) {

    body.woocommerce-checkout .woocommerce,
    body.woocommerce-checkout .woocommerce-checkout {
        font-size: 15px;
    }

    body.woocommerce-checkout .et_pb_post_title .entry-title {
        font-size: 30px !important;
    }

    body.woocommerce-checkout .woocommerce-billing-fields > h3,
    body.woocommerce-checkout .woocommerce-additional-fields > h3,
    body.woocommerce-checkout #order_review_heading {
        font-size: 21px !important;
        margin-bottom: 22px !important;
    }

    body.woocommerce-checkout #payment h2 {
        font-size: 20px !important;
    }

    body.woocommerce-checkout .woocommerce form .form-row label {
        font-size: 14px !important;
    }

    body.woocommerce-checkout input.input-text,
    body.woocommerce-checkout textarea,
    body.woocommerce-checkout select {
        font-size: 16px !important;
    }

    body.woocommerce-checkout table.shop_table tbody td.product-name {
        font-size: 15px !important;
    }

    body.woocommerce-checkout table.shop_table .order-total td,
    body.woocommerce-checkout table.shop_table .order-total .amount {
        font-size: 20px !important;
    }
}