/*
Theme Name: RIZN Child
Theme URI: https://rizn.bg
Template: rizn
Text Domain: rizn
Author: RIZN
Author URI: http://rizn.bg
Description: RIZN Child Theme
Version: 1.0.0
*/

/*
Table of content
-
Desktop
- Header
- Buttons
- Tables
- Side Panels
- Page Title
- Section Background Overlay
- Breadcrumbs
- WooCommerce Notices
- Stars Rating
- Product Entity
- Products Archive
- Product Single
- Mini Cart
- Cart Page
- Checkout
- Wishlist Page
- My Account Page
- Notices
-
Mobile
- Header Mobile
- Page Title Mobile
- Product Entity Mobile
*/

:root {
  --e-a-color-dark: #000;
  --e-a-color-accent: #000;
  --e-a-color-success: #0a875a;
  --e-a-color-info: #2563eb;
  --e-a-color-alert: #dc2626;
  --e-a-color-warning: #f59e0b;
}

/* Header */
.wd-header-nav .wd-nav[class*="wd-style-"]>li>a {
  font-family: 'Sofia Sans';
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 500;
}
.wd-tools-element .wd-tools-text {
  position: absolute;
  top: 0;
  right: 0;
  margin: 1px 3px 0 0;
}
.wd-tools-element .wd-tools-icon:before {
  font-size: 18px !important;
}
.wd-tools-element.wd-design-1 .wd-tools-count {
  font-size: 12px !important;
}
.wd-tools-element.wd-design-1 .subtotal-divider,
.wd-header-cart .wd-cart-subtotal .amount {
  display: none !important;
}

/* Buttons */
button[disabled], input[disabled] {
  color: #ffffff80 !important;
  opacity: 0.5 !important;
  cursor: default;
}
:is(.btn,.button,button,[type="submit"],[type="button"]) {
  text-transform: none;
}

/* Tables */
.wd-table-wrapper {
  border-radius: 5px;
}
table th {
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
}

/* Side Panels */
.mobile-nav .wd-heading::before {
  content: 'Меню';
  position: absolute;
  left: 20px;
  font-family: "Cormorant Garamond", Sans-serif;;
  font-size: 28px;
  font-weight: var(--wd-title-font-weight);
  color: var(--wd-title-color);
}
.area-sidebar-shop.wd-left .wd-heading::before {
  content: 'Филтри';
  position: absolute;
  left: 20px;
  font-family: var(--wd-title-font);
  font-size: 130%;
  font-weight: var(--wd-title-font-weight);
  color: var(--wd-title-color);
}
.area-sidebar-shop.wd-left .wd-widget {
  padding-left: 20px !important;
  padding-right: 20px !important;
}
.wd-action-btn.wd-style-text>a {
  font-size: 0;
}
.wd-action-btn.wd-style-text>a:before {
  font-size: 20px;
}

/* Section Background Overlay */
.elementor-element::before {
  background-size: 20%;
}

/* Page Title */
.page-title.title-size-small .title {
  font-size: 32px;
}

/* Breadcrumbs */
:is(.breadcrumbs,.yoast-breadcrumb) :is(a,span) {
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
}

/* WooCommerce Notices */
.wpcf7 form:not(.sent) .wpcf7-response-output, .mc4wp-error, .mc4wp-notice, :is(.woocommerce-error,.woocommerce-info) {
  background-color: var( --e-global-color-2351421 );
}

/* Stars Rating */
.star-rating {
  display: flex;
}
.star-rating:before {
  color: var( --e-global-color-a658817 );
  font-size: 12px;
  letter-spacing: 4px;
}
.star-rating span:before {
  color: var( --e-global-color-3591ed4 );
  font-size: 12px;
  letter-spacing: 4px;
}
.stars span {
  column-gap: 2px;
}
.stars a:before {
  color: var( --e-global-color-3591ed4 ) !important;
  font-size: 14px !important;
}

/* Product Entity */
.exad-ihe-figure::before {
  content: '';
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 999;
  opacity: .09;
  background: url('/wp-content/uploads/2023/12/noise-light.gif');
  background-size: 36%;
}
.wd-hover-tiled .product-wrapper {
  box-shadow: none !important;
}
.product-grid-item .wd-buttons.wd-pos-r-t {
  top: -2px;
  border-radius: 20px;
}
.product-grid-item .wd-action-btn.wd-style-icon>a {
  width: 40px;
  height: 40px !important;
}
.product-grid-item .wd-action-btn .add_to_cart_button {
  display: none;
}
.product-grid-item .wd-action-btn.wd-style-icon>a:before {
  font-size: 16px;
  margin-top: 2px;
}
.product-grid-item .wd-entities-title {
  font-weight: 400;
}
.product-grid-item.sale .price {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.product-grid-item .price bdi {
  color: var(--e-global-color-3591ed4 );
}
.product-grid-item.sale .price ins bdi {
  color: var(--e-global-color-8b6122b );
}
.product-grid-item.sale .price del {
  font-size: 100%;
  color: var(--e-global-color-3591ed4 );
  opacity: .5;
  margin: 0 0 0 5px;
}
.product-grid-item.sale .price del bdi {
  color: var(--e-global-color-3591ed4 );
}
.wd-hover-alt .wd-add-btn>a span {
  text-transform: none;
}

/* Products Archive */
.woocommerce-result-count {
  font-size: 90%;
}
.wd-product-filters .wd-dropdown {
  left: auto !important;
  right: 0 !important;
  border-radius: 5px !important;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

/* Product Single */
.woocommerce-product-gallery__image::before {
  content: '';
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 999;
  opacity: .09;
  background: url('/wp-content/uploads/2023/12/noise-light.gif');
  background-size: 36%;
}
.product-image-summary-inner .price {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.product-image-summary-inner .price bdi {
  color: var(--e-global-color-3591ed4 );
}
.product-image-summary-inner .price ins bdi {
  color: var(--e-global-color-8b6122b );
}
.product-image-summary-inner .price del {
  font-size: 90%;
  color: var(--e-global-color-3591ed4 );
  opacity: .5;
  margin: 3px 0 0 5px;
}
.product-image-summary-inner .price del bdi {
  color: var(--e-global-color-3591ed4 );
}
.woocommerce-Reviews :is(.comment-reply-title,.woocommerce-Reviews-title) {
  font-family: "Sofia Sans", Sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  text-transform: uppercase;
  line-height: 1.2em;
  letter-spacing: 0.2em;
}

/* Mini Cart */
.woocommerce-mini-cart__total strong {
  font-size: 14px;
}
.widget_shopping_cart .woocommerce-mini-cart__buttons .btn-cart {
  border: 1px solid var(--btn-default-bgcolor);
  background: none;
}
.widget_shopping_cart .woocommerce-mini-cart__buttons .btn-cart:hover {
  color: var(--btn-accented-color);
  background: var(--btn-default-bgcolor);
}

/* Cart Page */
.page-title .wd-checkout-steps li {
  font-size: 24px;
  text-transform: none;
}
.cart-actions .button[name="update_cart"],
.cart-actions .button[name="update_cart"]:hover {
  color: #fff;
}
.cart-totals-section .cart-totals-inner {
  border-radius: 5px;
}
.cart-totals-inner>h2 {
  text-transform: none;
}
.cart-content-wrapper .cart-totals-inner .checkout-button {
  height: 52px;
}
.cart-actions .coupon {
  max-width: 280px;
  position: relative;
}
.cart-actions .coupon .input-text {
  margin-inline-end: 0;
  max-width: 100%;
}
.cart-actions .button[name="apply_coupon"] {
  position: absolute;
  top: 3px;
  right: 3px;
  padding: 0 15px;
  min-height: 36px;
}

/* Checkout */
.checkout_coupon .form-row-last {
  position: absolute;
  right: 30px;
  bottom: 30px;
}
.checkout_coupon .button {
  min-height: 36px !important;
  padding: 0 15px !important;
  right: 3px;
  bottom: 3px;
}
.woocommerce-billing-fields>h3,
.woocommerce-additional-fields>h3 {
  text-transform: none;
}
#order_review_heading {
  text-transform: none;
  text-align: left;
}
.wd-builder-off #place_order {
  height: 56px;
}

/* Wishlist Page */
.wd-wishlist-content {
  padding-top: 8px;
}
.wd-wishlist-head:not(.wd-border-off) {
  display: none;
}

/* My Account Page */
.woocommerce-account .wd-switch-to-register,
.woocommerce-account .wd-switch-to-register:hover {
  color: var(--e-global-color-af0e9ef );
}
.woocommerce-MyAccount-navigation ul li.is-active>a,
.woocommerce-MyAccount-navigation ul li a:hover {
  border-radius: 5px;
}
.wd-my-account-links a {
  border-radius: 5px;
}

/* Notices */
.wpcf7 form:not(.sent) .wpcf7-response-output, .mc4wp-error, .mc4wp-notice, :is(.woocommerce-error,.woocommerce-info) {
  border-radius: 5px;
}

@media only screen and (max-width: 768px) {
  /* Header Mobile */
  .whb-header .container {
    padding-top: 5px;
  }
  .wd-header-mobile-nav a::after {
    content: 'Menu';
    color: #fff;
    font-size: 14px;
    letter-spacing: .2em;
    font-weight: 500;
    text-transform: uppercase;
    margin: 2px 0 0 7px;
  }
  /* Mobile Navigation */
  .wd-nav-mobile {
    margin-top: 15px;
  }
  .wd-nav-mobile li a {
    font-size: 14px;
    letter-spacing: .2em;
    border-bottom: none !important;
  }
  /* Page Title Mobile */
  .page-title.title-size-small .title {
    font-size: 28px;
  }
  /* Section Background Overlay */
  .elementor-element::before {
    background-size: 50%;
  }
  /* Product Entity Mobile */
  .product-grid-item .wd-action-btn.wd-style-icon>a {
    width: 36px;
    height: 36px !important;
  }
}
