/*
Theme Name: SweetJane
Theme URI: https://sweetjane.qodeinteractive.com/
Description: Delightful Cake Shop Theme
Author: Elated Themes
Author URI: http://themeforest.net/user/elated-themes
Text Domain: sweetjane
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-menu, featured-images, flexible-header, post-formats, sticky-post, threaded-comments, translation-ready
Version: 1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

CSS changes can be made in files in the /css/ folder. This is a placeholder file required by WordPress, so do not delete it.

*/


.eltdf-page-header .eltdf-menu-area .eltdf-logo-wrapper a {
    height: 38px !important;
}
.button-center {
  display: block;
  width: max-content;
  margin: 0 auto;
}
h3 {
	color: #2f241f !important;
}

.text-left {
	text-align: left !important;
}

 .infinity-symbol {
	display: none !important;
}



.eltdf-reveal-from-top {
	background-size: 80% !important;
}

.wc-block-components-quantity-selector {
	display: none !important;
}

.woocommerce-billing-fields {
	display: none !important;
} 

/* ===== Общие ===== */
:root { --brand:#2f241f; }

/* Дата + кнопка загрузки — единый стиль оболочки */
.woocommerce-checkout .form-row input[type="date"],
.woocommerce-checkout .woocommerce-input-wrapper .wooccm-file-button{
	
	  -webkit-appearance: none;  /* Safari */
  -moz-appearance: none;
  appearance: none;
	 position: relative;
    width: 100%;
    margin: 0 0 28px;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 14px;
    font-weight: inherit;
    line-height: calc(45px - (12px * 2) - 2px);
    background-color: transparent;
     border: 1px solid var(--brand);
    border-radius: 0;
    outline: 0;
    cursor: pointer;
    -webkit-appearance: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: border-color .2s ease-in-out;
    transition: border-color .2s ease-in-out;
	box-shadow: none;
	text-align: left !important;     
    display: block;
	float: left !important;
	
}

/* Фокус */
.woocommerce-checkout .form-row input[type="date"]:focus,
.woocommerce-checkout .woocommerce-input-wrapper .wooccm-file-button:focus{
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(214,91,69,.18);
}


input[type="date"]::-webkit-calendar-picker-indicator{
  opacity: 1;                      /* показываем стандартный индикатор */
  cursor: pointer;
  margin-right: 0;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  display: none;
  -webkit-appearance: none;
}

/* ===== Кнопка выбора файла (плагин рендерит button + скрытый input) ===== */
.woocommerce-checkout .woocommerce-input-wrapper .wooccm-file-button{
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;     /* как у обычного input — текст слева */
  color: #333;
  background: #fff;
  cursor: pointer;
}
.woocommerce-checkout .woocommerce-input-wrapper .wooccm-file-button:hover{
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(214,91,69,.12);
}

/* Прячем реальный input[type=file], чтобы не ломал верстку */
.woocommerce-checkout .woocommerce-input-wrapper input[type="file"]{
  display: none !important;
}

/* Список загруженных файлов */
.woocommerce-checkout .woocommerce-input-wrapper .wooccm-file-list{
  display: block !important;
  margin-top: 8px;
  font-size: 14px;
  color: #555;
}

/* Ошибки WooCommerce */
.woocommerce-invalid .input-text[type="date"],
.woocommerce-checkout .woocommerce-input-wrapper .wooccm-file-button.woocommerce-invalid{
  border-color: #d63638 !important;
  box-shadow: none;
}

/* Адаптив */
@media (max-width: 782px){
  .woocommerce-checkout .form-row input[type="date"],
  .woocommerce-checkout .woocommerce-input-wrapper .wooccm-file-button{
    height: 44px;
    font-size: 15px;
  }
}

.eltdf-position-right ul {
    list-style: none !important;
    margin: 0;
    padding: 0;
}
.eltdf-position-right li::marker {
    display: none !important;
}

a {
  color: #2f241f;
  text-decoration: none; /* убираем подчеркивание по умолчанию */
}

a:hover {
  text-decoration: underline; /* добавляем подчеркивание при наведении */
}



@media (max-width: 768px){
	.eltdf-shopping-cart-holder .eltdf-header-cart .eltdf-sc-opener-count { 
position:absolute !important;
right: -9px !important;
top: -5px !important;
	}
	}


.single-product select.custom-variation-select {
		   display: block;
    box-sizing: border-box;
  width: 100%;
  height: 44px;
  background: #fff;
  border: 1px solid #2f241f !important;
  border-radius: 0;  
	font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    color: #777;
    letter-spacing: .2em;
    font-size: 11px;
    height: 54px;
    line-height: 54px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
    padding-left: 10px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23999' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px 12px;
  transition: none;
  box-shadow: none;
  outline: none;

}

.single-product .variation-attribute-label {
	margin: 20px 0 10px 0;
}


.single-product .variations select:hover,
.single-product .variations select:focus{
  border-color: #2f241f !important;  /* не меняем цвет рамки */
  box-shadow: none !important;
  outline: none !important;
}

/* убрать штатную стрелку IE */
.single-product .variations select::-ms-expand{ display:none; }

/* состояние disabled */
.single-product .variations select:disabled{
  color:#9aa0a6;
  background-color:#f6f6f6;
  cursor:not-allowed;
}

/* серый «плейсхолдер», если используешь класс .is-placeholder */
.single-product .variations select.is-placeholder{ color:#9aa0a6; }

.variation-attribute-headings h5 {
	margin-bottom: 10px;
}

.woocommerce-page .eltdf-content .eltdf-quantity-buttons label,div.woocommerce .eltdf-quantity-buttons label {
	display: none !important;
}

.woocommerce-cart table.shop_table_responsive {
	margin-bottom: 20px;
}

/* === ТОЛЬКО МОБАЙЛ (≤768px) === */
@media (max-width: 768px) {

  /* Возвращаем нормальную таблицу и включаем горизонтальный скролл */
  .woocommerce-cart table.shop_table_responsive {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }
  .woocommerce-cart table.shop_table_responsive thead {
    display: table-header-group;
  }
  .woocommerce-cart table.shop_table_responsive tbody tr {
    display: table-row;
  }
  .woocommerce-cart table.shop_table_responsive td,
  .woocommerce-cart table.shop_table_responsive th {
    display: table-cell;
    text-align: left;
    vertical-align: middle;
	  font-size: 12px;
  }
  .woocommerce-cart table.shop_table_responsive td::before {
    content: none !important;
  }

  /* Перенос только в Product; остальные колонки — в одну строку */
  .woocommerce-cart td.product-name,
  .woocommerce-cart td.product-name a {
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
  }
  .woocommerce-cart td.product-price,
  .woocommerce-cart td.product-quantity,
  .woocommerce-cart td.product-subtotal {
    white-space: nowrap;
  }

  /* Сетка только на мобайле, чтобы не ломать десктоп */
  .woocommerce-cart table.shop_table {
    table-layout: fixed;
  }
  .woocommerce-cart td.product-name { width: 46%; }
  .woocommerce-cart td.product-price,
  .woocommerce-cart td.product-quantity,
  .woocommerce-cart td.product-subtotal { width: 18%; }
}

/* === ДЕСКТОП (≥769px) — ничего не меняем, но на всякий случай снимаем фиксации === */
@media (min-width: 769px) {
  .woocommerce-cart table.shop_table {
    table-layout: auto; /* вернуть поведение по умолчанию */
  }
  .woocommerce-cart table.shop_table_responsive {
    display: table;
    overflow: visible;
  }

}

.woocommerce-shipping-destination {
	display: none;
}

.woocommerce-checkout input[name="payment_method"] {
  display: inline-block !important;
  margin-right: 10px;
}

.custom-warning-note {
  border: 1px solid #2f241f;
  padding: 15px;
  margin-top: 20px;
  font-size: 16px;
  color: #777;
  background-color: #fff;
 font-family: "Open Sans", sans-serif;
}

/* 1. Убираем inline-block у контейнера */
body.woocommerce-page .eltdf-content .variations {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

.product_meta .sku_wrapper {
	display: none !important;
}

@media (max-width: 768px) {
  .image-size-mobail {
margin-top: 150px !important;
  }
	}


    .eltdf-pl-text .add_to_cart_button {
        display: none !important;
    }
}

.eltdf-main-menu ul li.menu-item > a:hover .item_outer {
    background-color: #fdf8f1; /* розовый пастельный */
    transition: background-color 0.3s ease;
}

.eltdf-main-menu ul li.menu-item > a {
    display: block;
	   padding: 23px 15px;    
    transition: background-color 0.3s ease;
}

/* фон при наведении */
.eltdf-main-menu ul li.menu-item > a:hover {
    background-color: #fdf8f1;  
}
.woocommerce-result-count, 
.woocommerce-ordering {
	display: none !important;
}


.woocommerce-column--billing-address {
  display: none !important;
}

.eltdf-woo-single-page .woocommerce-tabs ul.tabs > li a  {
	    font-family: "Poiret One", sans-serif;
    font-size: 38px;
    line-height: 1.01em;
    text-transform: capitalize;
    letter-spacing: 0;
    font-weight: 400;
    text-align: center;
    color: #2f241f !important;
}

.eltdf-quantity-minus,
.eltdf-quantity-plus {
    display: none !important;
}

.eltdf-quantity-input {
	font-size: 14px !important;
	top: 10px !important;
	line-height: 25px !important;
}

@media (max-width: 768px) {
.woocommerce-cart .eltdf-quantity-buttons .eltdf-quantity-input {
      top: -2px !important;
      font-size: 12px !important;
}
	}

.woocommerce_order_items th:nth-child(2),
.woocommerce_order_items td:nth-child(2),
.woocommerce_order_items th:nth-child(3),
.woocommerce_order_items td:nth-child(3),
.woocommerce_order_items th:nth-child(4),
.woocommerce_order_items td:nth-child(4) {
    display: none !important;
}
 
.woocommerce-checkout form .input-text,
.woocommerce-checkout form input[type="text"],
.woocommerce-checkout form input[type="email"],
.woocommerce-checkout form input[type="tel"],
.woocommerce-checkout form input[type="number"],
.woocommerce-checkout form input[type="password"],
.woocommerce-checkout form textarea,
.woocommerce-checkout form select {
    font-size: 16px !important; /* минимум 16px, чтобы iOS не делал zoom */
}

.eltdf-iwt-text {
  white-space: normal;
  text-align: center;
	margin: 5px 0 30px !important;
}

.eltdf-iwt-title {
	text-align: center;
	margin: 15px 0 0 !important;
}

@media (max-width: 768px) {
    .sub_menu {
        display: block !important;
    }
}

.cky-btn-revisit-wrapper, .cky-revisit-bottom-left {
	    display: none !important;
}

.eltdf-page-content-holder > .term-description {
	display: none !important;
}

.eltdf-page-content-holder > .page-description {
    display: none !important;
}

.eltdf-content {
    padding-top: 0 !important;
}

.current-menu-item > a,
.current_page_item > a {
    pointer-events: none;
    cursor: default;
}

li.current-menu-item .item_text::after,
li.eltdf-active-item .item_text::after {
    content: '';
    width: 100%;
    height: 1px;          /* подстрой под тему */
    background-color: currentColor;
    display: block;
}

#menu-ua-menu .item_text {
    text-transform: uppercase;
	    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .2em;
}

.btn-center-wrap {
  display: flex !important;
  justify-content: center !important;
  margin-top: 15px !important;
}

.btn-center-wrap .custom-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: auto;
}

@media (max-width: 768px) {
  a:hover,
  button:hover {
    background: inherit !important;
    color: inherit !important;
    border-color: inherit !important;
    box-shadow: none !important;
  }

  /* убираем задержку клика */
  a, button {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
}

.touch-device .eltdf-btn:hover {
  background-color: #2f241f !important;
  color: #fff !important;
  border-color: #2f241f !important;
}

.price {
    color: #6f6f6f;
    letter-spacing: 0.2px;
}

.price-unit {
    font-size: 15px;
}

.price-weight {
    font-size: 15px !important;
    margin-left: 10px;
}

.price-weight {
    margin-left: 14px;
}

.eltdf-mobile-header .eltdf-mobile-logo-wrapper a {
	height: 30px !important;
}

.widget_icl_lang_sel_widget img {
	margin-left: -20px;
}

.widget_icl_lang_sel_widget .wpml-ls-legacy-list-horizontal ul li a {
	 font-family: "Poiret One", sans-serif;
    font-weight: 600;
    letter-spacing: 2px;
}


.eltdf-page-footer {
	background-color: #F7F3F0 !important;
}

.tortiya-order-btn {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: auto;
    margin: 0;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 2em;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #4A3A2F;
    background: transparent;
    border: 0.5px solid #4A3A2F;
    padding: 13px 116px;
    cursor: pointer;
    z-index: 3;
    transition: all 0.25s ease;
	margin: 30px 0 10px 0;
}

.tortiya-order-btn:hover {
    background: #4A3A2F;
    color: #ffffff;
}

/* =========================
   TORTIYA CookieYes Style
   (без изменения размеров)
   ========================= */

/* Баннер */
.cky-notice {
    background: #FCF8F5 !important;
    border: 1px solid #E8DED7 !important;
    padding: 16px !important;
    box-shadow: 0 16px 40px rgba(63, 55, 50, 0.08) !important;
}

/* Заголовок */
.cky-title {
    color: #3F3732 !important;
    font-weight: 400 !important;
}

/* Текст */
.cky-notice-des,
.cky-notice-des p {
    color: #6F6660 !important;
}

/* Кнопки */
.cky-btn {
    box-shadow: none !important;
    transition: all .25s ease !important;
}

/* Accept */
button.cky-btn-accept {
    background-color: #2F241F !important;
    border-color: #2F241F !important;
    color: #FFFFFF !important;
}

button.cky-btn-accept:hover {
    background-color: #43342D !important;
    border-color: #43342D !important;
}

/* Reject + Customize */
button.cky-btn-reject,
button.cky-btn-customize {
    background-color: transparent !important;
    border-color: #2F241F !important;
    color: #2F241F !important;
}

button.cky-btn-reject:hover,
button.cky-btn-customize:hover {
    background-color: #2F241F !important;
    color: #FFFFFF !important;
}

/* Powered by */
.cky-powered-by,
.cky-powered-by a {
    color: #9B928C !important;
}

/* Ссылки */
.cky-notice a {
    color: #2F241F !important;
}

.cky-notice a:hover {
    color: #43342D !important;
}

.contact-intro-text .eltdf-eh-item-content {
    padding: 3px 15% !important;
}