/**
Theme Name: shadow of color
Author: bm
Author URI: https://shadowofcolor.com/
Description: Изработка на сайт и онлайн магазин от shadow of color Услуги: #Изработка на сайт #Изработка на онлайн магазин #Онлайн реклама #СЕО оптимизация
Version: 0.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shadowofcolor.com
Template: astra
*/

:root {
  --background-color: #657f8d;
  --accent-color: #657f8d;
}

main {
  background-color: rgb(242, 244, 245);
}

@media only screen and (min-width: 1440.99px) and (max-width: 1920px) {
  .container,
  .e-con > .e-con-inner {
    max-width: 1400px !important;
  }
}

@media only screen and (min-width: 1280px) and (max-width: 1440px) {
  .container {
    max-width: 1200px !important;
  }
}

@media only screen and (max-width: 576px) {
  .elementor-widget-container {
    width: 100%;
  }
}

.sabutom-color-background {
  background-color: var(--background-color) !important;
  border-width: 0 !important;
  color: white !important;
}

#live-search-results table,
#chosen-products table {
  width: 100%;
  border-collapse: collapse;
}
#live-search-results th,
#live-search-results td,
#chosen-products th,
#chosen-products td {
  padding: 8px;
  border: 1px solid #ddd;
}
#live-search-results tbody tr:hover,
#chosen-products tbody tr:hover {
  background-color: #f9f9f9;
}

#live-search-results .selected {
  background-color: #e0f7fa; /* Light blue background */
  font-weight: bold; /* Bold font for distinction */
}

#field_name,
#field_email,
#field_phone,
.acf-input-wrap > #field_products_search_input,
.hasDatepicker,
#field_city,
#field_description {
  color: #666;
  height: auto;
  border-width: 1px;
  border-style: solid;
  border-color: var(--ast-border-color);
  border-radius: 2px;
  background: var(--ast-comment-inputs-background);
  box-shadow: none;
  box-sizing: border-box;
  transition: all 0.2s linear;
  width: 100% !important;
}

.acf-field-products-search-input,
.acf-field-description {
  width: 31.5%;
}

.acf-field-description {
  width: 66%;
}

.section {
  padding: 30px 0;
  width: 100%;
}

.section.title-wrapper {
  padding: 0;
}

h1.archive-page-title {
  font-size: 2.4em;
  font-weight: 500;
  text-transform: uppercase;
  font-family: 'Open Sans', sans-serif;
  color: var(--background-color);
  padding: 0 0 25px 0;
}

.archive-page-greeting > p {
  font-size: 1.4em;
  font-weight: 500;
  font-family: 'Open Sans', sans-serif;
}

.logged-in-user,
.logged-out-user {
  font-size: 18px;
  font-weight: 400;
  font-family: 'Open Sans', sans-serif;
  padding: 0 0 15px 0;
}

.offer-item {
  width: 100%;
  background-color: white;
  border-radius: 6px;
  padding: 25px;
}

h1#offer-name {
  font-size: 2.4em;
  font-weight: 400;
  color: var(--accent-color);
}

h3.offer-title {
  font-size: 1.8em;
  font-weight: 400;
  font-family: 'Open Sans', sans-serif;
  padding-bottom: 15px;
  color: var(--accent-color);
  padding: 0px 0px 10px 0px;
  border-style: solid;
  border-width: 0px 0px 1px 0px;
  border-color: #dddddd;
}

i.icon {
  font-size: 1em;
  color: var(--accent-color);
  padding-right: 5px;
}

.field-name {
  font-size: 1em;
  font-weight: 600;
  font-family: 'Open Sans', sans-serif;
  padding-right: 0;
  color: var(--accent-color);
}

.field-data {
  padding-right: 15px;
  color: black;
}

.active {
  color: darkgreen;
}

.inactive {
  color: goldenrod;
}

.offer-wrapper {
  padding: 15px 0;
}

.offer-link {
  display: block;
  text-decoration: none;
  color: inherit;
  background: rgba(217, 216, 216, 0.06);
}

.offer-link:hover {
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
  transition: background 0.4s, border 0.4s, border-radius 0.4s, box-shadow 0.4s;
  background: rgba(0, 0, 0, 0.06);
}

.offer-details {
  padding: 20px;
}

.detail-item {
  display: block;
  align-items: center;
  margin-bottom: 15px;
  font-size: 17px;
  text-align: center;
}

.detail-item > .detail-icon > i {
  font-size: 2em;
  color: #657f8d;
  margin-right: 10px;
}

.detail-item > .detail-label > .label {
  color: #000;
  margin-right: 8px;
}

.detail-item > .detail-value > .value {
  color: #657f8d;
  font-size: 1.3em;
}

.detail-item > .detail-value > .status-badge {
  font-size: 1.3em;
}

.col-4.offer-details-column {
  padding: 15px 0 0 0;
  border-bottom: 1px solid #dddddd;
}

.col-4.offer-details-column:nth-child(1),
.col-4.offer-details-column:nth-child(2),
.col-4.offer-details-column:nth-child(4),
.col-4.offer-details-column:nth-child(5),
.col-4.offer-details-column:nth-child(7),
.col-4.offer-details-column:nth-child(8) {
  border-right: 1px solid #dddddd;
}

.products-grid {
  margin-top: 20px;
}

.product-item {
  display: grid;
  grid-template-columns: 16% auto 10% 10% 10% 10%; /* Adjust proportions as needed */
  align-items: center; /* Vertically align content in grid cells */
  gap: 10px; /* Add spacing between grid items */
  padding: 10px; /* Inner padding for the container */
  border: 1px solid #ddd; /* Optional: Add border for clarity */
  margin-bottom: 10px; /* Spacing between product items */
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 6px;
  background-color: #f8f8f8;
  transition: background 0.4s, border 0.4s, border-radius 0.4s, box-shadow 0.4s;
}

.product-image img {
  max-width: 100%; /* Ensure the image scales to fit its container */
  height: auto; /* Maintain aspect ratio */
  grid-column: 1 / 2;
}

.product-detail.name {
  font-size: 1.3em;
  color: #657f8d;
  grid-column: 2 / 3; /* Place in the second column */
}

.product-detail.unit-price {
  grid-column: 3 / 4; /* Place in the fourth column */
}

.product-detail.quantity {
  grid-column: 4 / 5; /* Place in the third column */
}

.product-detail.discount {
  grid-column: 5 / 6; /* Place in the third column */
}

.product-detail.total {
  font-weight: bold; /* Highlight the total price */
}

.product-item:hover {
  background-color: #f0f0f0;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
  transition: background 0.4s, border 0.4s, border-radius 0.4s, box-shadow 0.4s;
}

.total-price {
  border-top: 1px solid #dddddd;
}

.products-grid-title {
  font-size: 1.6em;
  font-weight: 500;
  font-family: 'Open Sans', sans-serif;
  color: var(--accent-color);
}

.product-detail {
  font-size: 1.1em;
}
.product-detail .label {
  color: #000;
  display: block;
}
.product-detail .value,
.product-detail.woocommerce-Price-amount.amount {
  color: #657f8d;
}
.total-price {
  display: flex;
  justify-content: flex-end;
  padding: 20px 0;
  font-size: 1.1em;
}

/* login page */

.login-page-wrapper {
  width: 100%;
}

.login-container {
  max-width: 400px;
  margin: 50px auto;
  padding: 30px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.card {
  border-radius: 0.5rem !important;
  width: 100%;
}

.card-body {
  padding: 1.6rem !important;
  border-radius: 0.375rem;
}

.welcome-text {
  font-size: 1.4em;
  font-weight: 400;
  font-family: 'Open Sans', sans-serif;
  text-align: center;
  margin-bottom: 30px;
  color: var(--accent-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 5px;
  color: #666;
  font-size: 1em;
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.form-check {
  padding: 10px 0;
}

.form-check-label > a {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 1em;
}

.login-footer-text > a {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 0.96em;
}

.form-check-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  color: #666;
  padding-left: 5px;
}

.btn.btn-primary.login-button,
.btn.btn-primary.register-button,
.btn.btn-primary.reset-button {
  width: 100%;
  padding: 10px;
  background: var(--background-color) !important;
  color: #fff;
  border: none !important;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.16em;
}

.btn.btn-primary.login-button:hover {
  background: var(--background-color) !important;
}

.form-check-input {
  position: absolute;
  margin-top: 0.3rem;
  margin-left: -1.25rem;
  padding-right: 15px;
  height: 20px;
  width: 25px;
}

.login-footer {
  text-align: center;
  margin-top: 20px;
}

/* .lost-password-link {
    color: #003750;
    text-decoration: none;
    text-decoration: underline;
} */

.lost-password-link:hover {
  color: #001621;
}

.error-message {
  background: #ffebee;
  color: #c62828;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 20px;
  text-align: center;
}

/* Komentari Feedback Form Styles */
.single-komentari-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.single-komentari-container .entry-title {
  text-align: center;
  margin-bottom: 2rem;
}

#komentari-feedback-form .form-field {
  margin-bottom: 1.5rem;
}

#komentari-feedback-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

#komentari-feedback-form input[type='text'],
#komentari-feedback-form input[type='tel'],
#komentari-feedback-form input[type='email'],
#komentari-feedback-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

#komentari-feedback-form .rating-field {
  margin-bottom: 2rem;
}

#komentari-feedback-form .rating-options {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 0.5rem;
}

#komentari-feedback-form .emoji-label {
  cursor: pointer;
  text-align: center;
}

#komentari-feedback-form .emoji-label input[type='radio'] {
  display: none;
}

#komentari-feedback-form .emoji {
  font-size: 2rem;
  display: block;
  transition: transform 0.2s;
}

#komentari-feedback-form .emoji-label:hover .emoji,
#komentari-feedback-form input[type='radio']:checked + .emoji {
  transform: scale(1.2);
}

#komentari-feedback-form .form-actions {
  text-align: center;
  margin-top: 2rem;
}

#komentari-feedback-form .submit-feedback {
  background-color: #4caf50;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

#komentari-feedback-form .submit-feedback:hover {
  background-color: #45a049;
}

/* Komentari Form Styles */
.komentari-form {
  width: 100%;
  padding: 20px;
}

.komentari-form .acf-field {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  margin-bottom: 20px !important;
}

.komentari-form .acf-label {
  margin-bottom: 10px !important;
  display: block;
  width: 100%;
}

.acf-field-komentari-name > .acf-input,
.acf-field-komentari-email > .acf-input,
.acf-field-komentari-phone > .acf-input,
.acf-field-komentari-description > .acf-input {
  flex: -webkit-fill-available !important;
  width: 100%;
}

.acf-field-komentari-description {
  width: 100% !important;
}

.ratings {
  width: 100%;
}

.ratings > .acf-field-radio > .acf-label {
  width: 33%;
  font-family: 'Open Sans', sans-serif;
}

.ratings > .acf-field-radio > .acf-input {
  width: 66%;
}

.comments-footer {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 1.1em;
  color: white;
  padding-top: 10px;
  display: block;
}

.komentari-form .acf-field[data-type='radio'] .acf-radio-list {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.komentari-form .acf-field[data-type='radio'] .acf-radio-list li {
  margin: 0 !important;
  list-style: none !important;
}

.komentari-form .acf-field[data-type='radio'] .acf-radio-list label {
  font-size: 24px !important;
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
}

.komentari-form .acf-field[data-name='description'] .acf-input {
  width: 100% !important;
}

.komentari-form .acf-field[data-name='description'] textarea {
  width: 100% !important;
  min-height: 150px;
}

.komentari-form #submit-comment:disabled {
  background-color: #6c757d !important;
  border-color: #6c757d !important;
  cursor: not-allowed !important;
}

.komentari-form .text-center {
  text-align: center;
}

.komentari-form .mt-4 {
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .komentari-form .acf-label {
    flex: 0 0 100% !important;
    margin-bottom: 10px !important;
  }

  .komentari-form .acf-input {
    width: 100% !important;
  }

  .komentari-form .acf-field[data-type='radio'] .acf-radio-list {
    justify-content: center !important;
  }
}

.comment-form {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.comment-form .form-field {
  margin-bottom: 1.5rem;
}

.comment-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.comment-form input[type='text'],
.comment-form input[type='tel'],
.comment-form input[type='email'],
.comment-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: #2970ff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(41, 112, 255, 0.2);
}

.comment-form .rating-field {
  margin-bottom: 2rem;
}

.comment-form .rating-options {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.comment-form .emoji-label {
  cursor: pointer;
  text-align: center;
}

.comment-form .emoji-label input[type='radio'] {
  display: none;
}

.comment-form .emoji {
  font-size: 2rem;
  display: block;
  transition: transform 0.2s;
  opacity: 0.5;
}

.comment-form .emoji-label:hover .emoji {
  transform: scale(1.2);
  opacity: 0.8;
}

.comment-form input[type='radio']:checked + .emoji {
  transform: scale(1.2);
  opacity: 1;
}

.comment-form .form-actions {
  text-align: center;
  margin-top: 2rem;
}

.comment-form .submit-feedback {
  background-color: #2970ff;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.comment-form .submit-feedback:hover {
  background-color: #1b5cd4;
}

@media (max-width: 768px) {
  .comment-form {
    padding: 1rem;
    margin: 1rem;
  }

  .comment-form .rating-options {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .comment-form .emoji {
    font-size: 1.5rem;
  }
}

.komentari-form .acf-field[data-type='radio'] .acf-radio-list {
  display: flex !important;
  justify-content: space-between !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.komentari-form .acf-field[data-type='radio'] .acf-radio-list li {
  margin: 0 10px !important;
  list-style: none !important;
}

.top-comment,
.bottom-comment {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.06em;
  display: block;
  width: 100%;
}

.elementor-price-table__feature-inner {
  text-align: left;
}

.personal-fields {
  width: 100%;
}

/* Offer Grid Styles */
.products-grid-container {
  display: grid;
  gap: 1rem;
  width: 100%;
  overflow-x: auto;
}

.products-header {
  display: grid;
  grid-template-columns: 5% 10% 20% 10% 10% 10% 10% 10% 15%;
  gap: 8px;
  padding: 8px;
  background-color: #f5f5f5;
  font-weight: bold;
  border-bottom: 2px solid #ddd;
}

.products-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-row {
  display: grid;
  grid-template-columns: 5% 10% 20% 10% 10% 10% 10% 10% 15%;
  gap: 10px;
  padding: 15px;
  border: 1px solid #ddd;
  background: #fff;
  align-items: center;
}

.product-row > div {
  display: flex;
  align-items: center;
  gap: 5px;
}

.product-row img {
  max-width: 50px;
  height: auto;
  display: block;
}

.product-row input[type='number'] {
  width: 70px;
  padding: 4px;
}

.actions {
  justify-content: flex-end;
}

.remove-product {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.remove-product:hover {
  background-color: #c82333;
}

@media screen and (max-width: 768px) {
  .product-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .product-row > div {
    grid-column: span 1;
  }

  .actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}

@media screen and (max-width: 480px) {
  .product-row {
    grid-template-columns: 1fr;
  }

  .product-row > div {
    grid-column: 1;
  }
}

.product-search > input[type='text'] {
  width: 100%;
}

.swiper-container {
  width: 100%;
  min-height: 400px;
}
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Products Slider Styles */
.products-slider {
  margin: 2em 0;
  position: relative;
}

.products-slider .swiper {
  width: 100%;
  height: auto;
  padding: 20px 0;
}

.products-slider .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.products-slider .swiper-slide {
  height: auto;
  display: flex;
  align-items: stretch;
}

.products-slider .products {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.products-slider .product {
  width: 100% !important;
  margin: 0 !important;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.products-slider .attachment-woocommerce_thumbnail {
  width: 450px !important;
  height: auto !important;
  max-width: 100% !important;
}

.products-slider .star-rating,
.products-slider .ast-woo-product-category {
  display: none !important;
}

.products-slider .swiper-button-next,
.products-slider .swiper-button-prev {
  color: #333;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.products-slider .swiper-button-next:hover,
.products-slider .swiper-button-prev:hover {
  opacity: 1;
}

.products-slider .swiper-pagination-bullet {
  background: #ccc;
}

.products-slider .swiper-pagination-bullet-active {
  background: #333;
}

.tab-included-products {
  display: none;
}

@media (max-width: 768px) {
  .products-slider .swiper-button-next,
  .products-slider .swiper-button-prev {
    display: none;
  }

  .products-slider .attachment-woocommerce_thumbnail {
    width: 350px !important;
  }
}

/* Total Price Styles */
.total-price-container {
  text-align: right;
  margin-top: 20px;
  font-weight: bold;
}

.total-price-container #total-price {
  display: inline-block;
  min-width: 80px;
  text-align: right;
}

/* Remove Button Styles */
.remove-product {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Legacy Table Styles (for backwards compatibility) */
#chosen-products {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

#chosen-products th,
#chosen-products td {
  padding: 8px;
  text-align: left;
  border: 1px solid #ddd;
  vertical-align: middle;
}

#chosen-products th {
  background-color: #f5f5f5;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  .products-grid-container {
    font-size: 14px;
  }

  .product-row input[type='number'] {
    width: 60px;
  }
}

@media screen and (max-width: 480px) {
  .products-header,
  .product-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .products-header > div:not(:nth-child(-n + 3)),
  .product-row > div:not(:nth-child(-n + 3)) {
    display: none;
  }

  .product-row .actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
  }
}

/* Product Details Layout */
.product-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #ddd;
  margin-bottom: 1rem;
  background: #fff;
}

.product-detail-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: center;
}

.product-detail-label {
  font-weight: bold;
  color: #666;
}

.product-detail-value {
  margin: 0;
}

.product-detail-value img {
  max-width: 50px;
  height: auto;
}

.product-detail-value input[type='number'] {
  width: 80px;
  padding: 4px;
}

.product-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

@media screen and (max-width: 480px) {
  .product-detail-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .product-detail-label {
    margin-bottom: 0;
  }
}

/* Chosen Products Styles */
#chosen-products {
  width: 100%;
  margin-bottom: 20px;
}

.product-row {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 10px;
  padding: 15px;
  border: 1px solid #ddd;
  margin-bottom: 10px;
  background: #fff;
  align-items: center;
}

.product-info {
  display: flex;
  align-items: center;
  gap: 5px;
}

.info-label {
  font-weight: bold;
  color: #666;
  white-space: nowrap;
}

.info-value {
  flex: 1;
}

.info-value img {
  max-width: 50px;
  height: auto;
}

.info-value input[type='number'] {
  width: 70px;
  padding: 4px;
}

.remove-product {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.remove-product:hover {
  background-color: #c82333;
}

@media screen and (max-width: 768px) {
  .product-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .product-info {
    grid-column: span 1;
  }
}

@media screen and (max-width: 480px) {
  .product-row {
    grid-template-columns: 1fr;
  }

  .product-info {
    grid-column: 1;
  }
}

/* Chosen Products Styles */
#chosen-products {
  width: 100%;
  margin-bottom: 20px;
}

.products-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-row {
  display: grid;
  grid-template-columns: 3% 6% 20% 5% 5% 11% 11% 11% 11%;
  gap: 25px;
  padding: 25px;
  border: 1px solid #ddd;
  background: #fff;
  align-items: center;
}

.product-row > div {
  display: flex;
  align-items: center;
  gap: 5px;
}

.field-label {
  font-weight: 600;
  color: #666;
  white-space: nowrap;
}

.product-row img {
  max-width: 60px;
  height: auto;
  display: block;
}

.product-row input[type='number'] {
  width: 70px;
  padding: 4px;
}

.actions {
  justify-content: flex-end;
}

.remove-product {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.remove-product:hover {
  background-color: #c82333;
}

@media screen and (max-width: 992px) {
  .product-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-row > div {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
  }

  .product-row > div:last-child {
    border-bottom: none;
  }

  .field-label {
    min-width: 100px;
  }

  .actions {
    justify-content: flex-start;
    margin-top: 10px;
  }
}

@media screen and (max-width: 768px) {
  .product-row > div {
    font-size: 14px;
  }

  .field-label {
    min-width: 90px;
  }
}

@media screen and (max-width: 480px) {
  .product-row {
    padding: 10px;
  }

  .product-row > div {
    font-size: 13px;
  }
}

/* Product Slider Styles */
.products-slider {
  padding: 0px 0 20px 0;
  margin-top: 15px;
}

.products-slider .swiper {
  padding: 0 40px 20px 40px;
}

.products-slider .swiper-slide {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.products-slider img {
  width: 450px;
  height: 450px;
  object-fit: contain;
  display: block;
}

.products-slider .swiper-button-next,
.products-slider .swiper-button-prev {
  color: var(--accent-color);
}

.products-slider .swiper-pagination-bullet-active {
  background: var(--accent-color);
}

@media (max-width: 768px) {
  .products-slider img {
    width: 350px;
    height: 350px;
  }
}

/* 16-01-25 19:19 */

/* elementor-kit-843 button, .elementor-kit-843 input[type="button"], 
.elementor-kit-843 input[type="submit"], 
.elementor-kit-843 .elementor-button {
    background-color: var( --e-global-color-29021da4 );
} */

.edit-section {
  background: #fff;
  padding: 20px;
  margin: 20px 0 40px 0;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-search {
  margin-bottom: 20px;
  position: relative;
}

#product-search {
  width: 50%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

#product-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  max-height: 300px;
  overflow-y: auto;
  display: none;
  z-index: 1000;
}

#product-search-results table {
  width: 100%;
  border-collapse: collapse;
}

#product-search-results th,
#product-search-results td {
  padding: 8px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

#product-search-results img {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

#products-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

#products-table th,
#products-table td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: middle;
}

#products-table img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  margin-right: 10px;
  vertical-align: middle;
}

.quantity,
.discount {
  width: 80px;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

#products-table > td > .remove-product {
  background: #dc3545;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}

button.remove-product {
  background: white !important;
}

button.remove-product:hover {
  background: #dc3545 !important;
  border-radius: 4px;
  cursor: pointer;
}

button#update-offer {
  background-color: var(--background-color) !important;
  border-radius: 4px;
  cursor: pointer;
}

.text-right {
  text-align: right;
}

.form-actions {
  margin-top: 20px;
  text-align: right;
}

#save-offer.button.button-primary {
  padding: 10px 20px;
  font-size: 14px;
  background: #3a747c !important;
}

/* Checkbox styles */
#product-search-results .select-product {
  width: 20px !important;
  height: 20px !important;
  margin: 0 10px !important;
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  cursor: pointer !important;
}

/* Selected row styles */
#product-search-results tr.selected {
  background-color: lightblue !important;
}

/* First column width for checkbox */
#product-search-results td:first-child {
  width: 40px !important;
  text-align: center !important;
}

.selected-product {
  background-color: lightblue !important;
}
.select-product {
  width: 20px !important;
  height: 20px !important;
  margin: 0 10px !important;
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
#product-search-results .select-product {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 20px !important;
  height: 20px !important;
  margin: 0 10px !important;
  position: relative !important;
}
#product-search-results tr.selected {
  background-color: lightblue !important;
}
#product-search-results td:first-child {
  width: 40px;
  text-align: center;
}

/* Price details styles */
.price-details {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  margin-top: 1rem;
}

.price-no-vat,
.price-with-vat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.price-details .price {
  font-size: 1.2em;
  font-weight: bold;
  color: #333;
}

.price-details .vat-label {
  font-size: 0.9em;
  color: #666;
  margin-top: 0.2rem;
}

.price-with-vat .price {
  color: #2271b1;
}

.chosen-products-container {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.product-header,
.product-item {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.product-header {
  font-weight: bold;
  background-color: #f5f5f5;
}

.product-field {
  flex: 1;
  text-align: center;
}

.product-image img {
  max-width: 50px;
  height: auto;
}

.product-discount input,
.product-quantity input {
  width: 60px;
  text-align: center;
}

.chosen-products-list {
  min-height: 50px; /* Optional: for visibility when empty */
}

.total-price,
#total-price {
  display: block !important;
  visibility: visible !important;
  position: relative !important;
  z-index: 9999 !important;
}

/* Price details styles */
.price-details {
  display: flex;
  justify-content: flex-start;
  gap: 2rem;
  margin-top: 1rem;
}

.price-no-vat,
.price-with-vat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.price-details .price {
  font-size: 1.2em;
  font-weight: bold;
  color: #333;
}

.price-details .vat-label {
  font-size: 0.9em;
  color: #666;
  margin-top: 0.2rem;
}

.price-with-vat .price {
  color: #2271b1;
}

.elementor-widget-container > h3 {
  font-size: 1.6em;
  font-weight: 600;
  font-family: 'Oswald', Sans-serif;
  color: var(--ast-global-color-2);
  margin-bottom: 0.6em !important;
}

.elementor-widget-container > h6 {
  font-size: 1.1em;
  font-weight: 600;
  font-family: 'Oswald', Sans-serif;
  color: var(--ast-global-color-2);
  margin: 1.6em 0 !important;
}

.elementor-widget-container > p {
  font-size: 1.1em;
  font-style: normal;
  font-weight: 400;
  color: var(--ast-global-color-3);
  font-family: 'Open Sans', sans-serif;
  line-height: 1.4em !important;
  margin-bottom: 0 !important;
}

.elementor-widget-container > h5 {
  margin-top: 1.6em;
  font-size: 1.1em;
  font-weight: 600;
  font-family: 'Oswald', Sans-serif;
  color: var(--ast-global-color-2);
}

.info-panel {
  font-family: Sans-serif;
  line-height: 1.6em;
}

.address-list {
  display: grid;
  grid-template-columns: 1fr 1fr; /* two columns */
  grid-auto-rows: auto; /* rows adjust to content */
  gap: 10px 40px;
}

/* Sofia */
.address-item:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}
.address-item:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}

/* Varna */
.address-item:nth-child(3) {
  grid-column: 1;
  grid-row: 3;
}
.address-item:nth-child(4) {
  grid-column: 1;
  grid-row: 4;
}

/* Veliko Tarnovo */
.address-item:nth-child(5) {
  grid-column: 2;
  grid-row: 1;
}
.address-item:nth-child(6) {
  grid-column: 2;
  grid-row: 2;
}

/* Burgas */
.address-item:nth-child(7) {
  grid-column: 2;
  grid-row: 3;
}
.address-item:nth-child(8) {
  grid-column: 2;
  grid-row: 4;
}

.row.equal-height {
  display: flex;
  flex-wrap: wrap;
}

.row.equal-height > .col-lg-6,
.row.equal-height > .col-lg-3,
.row.equal-height > .col-sm-12 {
  display: flex;
  flex-direction: column;
}

.row.equal-height > .col-lg-6 > .card {
  flex: 1;
}

/* ===== Fixed booking button ===== */
/* === Fixed Booking Button: icon + label vertical === */
.fixed-booking-btn {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 9999;
}

.fixed-booking-btn .book-now-button {
  display: flex;
  flex-direction: column; /* stack icon above text */
  align-items: center;
  justify-content: center;
  width: 60px; /* adjust to taste */
  padding: 0.8rem 2.2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: #000;
  font-size: 0.5em;
  font-weight: 400;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.fixed-booking-btn .book-now-button:hover {
  background: #f2f2f2;
  transform: translateY(-2px);
}

.book-now-icon {
  display: block;
  width: 30px;
  height: 30px;
  background: url('/wp-content/themes/astra-child/images/booking.png')
    center/contain no-repeat;
  margin-bottom: 6px;
}

.book-now-text {
  text-align: center;
  line-height: 1;
  padding: 0 8%; /* horizontal padding so text never touches sides */
}

/* === Fixed vertical side button group === */
.fixed-side-buttons {
  position: fixed;
  right: 1.5rem;
  bottom: 10rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem; /* space between the two buttons */
  z-index: 9999;
}

.fixed-side-buttons .side-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  padding: 0.8rem 0.6rem;
  background: #fff;
  border-radius: 0.8rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: #000;
  font-size: 0.7rem !important;
  font-family: Roboto, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',
    'Segoe UI Emoji', 'Segoe UI Symbol';
  font-weight: 300;
  line-height: 1.2;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.fixed-side-buttons .side-btn:hover {
  background: #f2f2f2;
  transform: translateY(-2px);
}

/* Icon placeholders – replace URLs with your own PNG/SVG paths */
.side-btn-icon {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  margin-bottom: 0.4rem;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* Individual icons */
.uslugi-icon {
  background-image: url('/wp-content/themes/astra-child/images/booking.png');
}
.dashboard-icon {
  background-image: url('/wp-content/themes/astra-child/images/dashboard.png');
}
.login-icon {
  background-image: url('/wp-content/themes/astra-child/images/login.png');
}

/* Text padding so it never touches edges */
.side-btn-text {
  padding: 0 8%;
  margin: 0 8%; /* remove default margin from p tag */
}

div.bookster-root .bw-bg-primary {
  background-color: rgb(99, 114, 122) !important;
}

.btr-icon.bw-text-primary {
  color: rgb(99, 114, 122) !important;
}

div.bookster-root .bw-py-2 {
  padding-bottom: 1rem;
  padding-top: 1rem;
}

.bw-relative > .btr-btn {
  background-color: none !important;
  color: rgb(255, 255, 255) !important;
  padding: 0.5rem 1rem !important;
}

.bw-flex-1 > button.btr-btn_primary,
a.btr-btn {
  color: rgb(255, 255, 255) !important;
}

div.bookster-root .\!bw-text-gray-500 {
  color: rgb(255, 255, 255) !important;
  background-color: rgb(165, 182, 191) !important;
}

.btr-btn {
  background-color: rgb(99, 114, 122) !important;
  color: rgb(255, 255, 255) !important; 
}

.bookster-root > h5 {
  /* font-family: Roboto, ui-sans-serif, system-ui, sans-serif !important;
  font-weight: 400 !important; */
  min-width: 0 !important; /* remove the plugin’s 800px min */
  max-width: 100% !important; /* or any value you like */
  font-size: 24px !important;
  width: 100% !important;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.shortcode-bookster-customer-dashboard {
  min-height: 480px !important;
  min-width: 0 !important; /* remove the plugin’s 800px min */
  max-width: 100% !important; /* or any value you like */
  width: 100% !important;
}


/* Each card styling */
.price-card {
  flex: 1 1 calc(25% - 20px); /* 4 cards per row with spacing */
  background: #f9f9f9;
  border-radius: 8px;
  padding: 30px 25px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease-in-out;
}

/* Heading */
.price-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* Price block */
.price {
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.price .amount-eur {
  font-size: 2.8rem;
  font-weight: 800;
  padding-bottom: 25px;
}

.amount-bgn-container {
  display: block;
}

.price .amount-bgn {
  font-size: 1.2rem;
  font-weight: 500;
}

.price .currency {
  font-size: 1.2rem;
  font-weight: 500;
  padding: 10px;
}

.price .note {
  font-size: 0.9rem;
  color: #777;
}

/* List inside cards */
.price-card ul {
  list-style: none;
  margin: 15px 0 0;
  padding: 0;
  font-size: 0.9rem;
  color: #555;
  text-align: center;
}

/* Responsive: stack nicely on smaller screens */
@media (max-width: 1200px) {
  .price-card {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .price-card {
    flex: 1 1 100%;
  }
}

.elementor-9793 > .elementor-element-2579aba > .e-con-inner {
  display: none;
}

.price-card > ul > li:nth-child(2)::after,
.price-card > ul > li:nth-child(2)::before {
  content: ''; /* Required for pseudo-elements to render */
  display: block; /* Ensures borders and margins work as expected */
  border-top-style: solid;
  border-top-color: #ddd;
  border-top-width: 2px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.ast-container > .elementor-6358 > .elementor-element-64bd215c {
  background-color: transparent !important;
}

.elementor-6358 .elementor-element.elementor-element-64bd215c {
  padding: 0 !important;
}

div.bookster-root .bw-text-sm {
  padding: 1.2em !important;
}

/* .elementor .elementor-element.e-con-full.e-flex.e-con.e-parent.e-lazyloaded {
    padding-top: 0;
} */

.elementor-element.e-con-full.e-flex.e-con.e-parent.e-lazyloaded {
  padding: 0 !important;
}


.garage-table {
    width: 100%;
    margin-bottom: 30px; /* Space between tables */
}

/* Default for 4 columns */
.garage-header,
.garage-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 8px 0;
}

/* Override for 5 columns */
.garage-table.cols-5 .garage-header,
.garage-table.cols-5 .garage-row {
    grid-template-columns: repeat(5, 1fr);
}

.garage-header {
    font-weight: 600;
    border-bottom: 2px solid #000;
}

.garage-row {
    border-bottom: 1px solid #ddd;
}

.garage-table-description {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.5;
}

.garage-table-description {
  padding-top: 15px;
}


				







