/*--------------------------------------------------------------
# WooCommerce Product Styles
--------------------------------------------------------------*/

/* Применяем стили только на странице одиночного товара */
.single.single-product .date {
    display: none !important;
}

body.single-product .product.type-product {
    position: relative;
    margin-bottom: 60px;
}

body.single-product .product.type-product .story {
    padding: 40px 0;
}

/* Product gallery */
body.single-product .woocommerce-product-gallery {
    margin-bottom: 40px;
    position: relative;
}

body.single-product .woocommerce-product-gallery__image--placeholder {
    text-align: center;
    background: #f6f6f6;
    padding: 40px;
    border: 1px solid #f2f2f2;
}

body.single-product .woocommerce-product-gallery__image--placeholder img {
    max-width: 100%;
    height: auto;
    border-radius: 3px;
}

/* Product summary */
body.single-product .summary.entry-summary {
    padding: 0px 0;
}

/* Main Price Styling - Красивое оформление главной цены */
body.single-product .price {
    font-size: 48px !important;
    font-weight: 900 !important;
    color: #570047 !important;
    margin-bottom: 30px;
    display: block;
    position: relative;
    padding: 25px 0;
    text-align: center;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border: 2px solid #ffebee;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(183, 28, 28, 0.1);
	display:none;
}

body.single-product .price::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #570047, #ff6b6b);
    border-radius: 2px;
}

body.single-product .price .woocommerce-Price-amount {
    font-weight: 900 !important;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

body.single-product .price .woocommerce-Price-currencySymbol {
    font-weight: 700 !important;
    color: #570047 !important;
}

/* Product form */
body.single-product .woocommerce .cart {
    margin: 0px 0;
}

/* PPOM fields styling */
body.single-product .ppom-wrapper {
    background: #fff;
    padding: 30px;
    border: 1px solid #f2f2f2;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body.single-product .ppom-field-wrapper {
    margin-bottom: 25px;
    padding: 0 15px;
}

body.single-product .ppom-field-wrapper:last-child {
    margin-bottom: 0;
}

/* Form labels */
body.single-product .ppom-field-wrapper label.form-control-label {
    display: block;
    font-weight: 600;
    color: #141414;
    margin-bottom: 12px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.single-product .ppom-input-desc {
    display: block;
    font-weight: 400;
    color: #5d5d5d;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0;
    margin-top: 5px;
}

/* Checkbox styling */
body.single-product .form-check-inline {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 10px;
}

body.single-product .form-check-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #5d5d5d;
    transition: color 0.3s ease;
}

body.single-product .form-check-label:hover {
    color: #570047;
}

body.single-product .ppom-check-input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    border: 2px solid #becbd2;
    background: transparent;
    position: relative;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: all 0.3s ease;
}

body.single-product .ppom-check-input:checked {
    background-color: #570047;
    border-color: #570047;
}

body.single-product .ppom-check-input:checked::before {
    content: '✓';
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: bold;
}

body.single-product .ppom-option-label-price {
    color: #570047;
    font-weight: 600;
    margin-left: 5px;
}

/* Select field styling */
body.single-product .ppom-input.form-select {
    width: 100%;
    padding: 15px 25px;
    border: 1px solid #becbd2;
    background: transparent;
    color: #5d5d5d;
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
    cursor: pointer;
}

body.single-product .ppom-input.form-select:focus {
    border-color: #570047;
    box-shadow: 0 0 0 2px rgba(183, 28, 28, 0.1);
}

/* Quantity field */
body.single-product .quantity {
    margin: 25px 0;
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

body.single-product .quantity .qty {
    width: 80px !important;
    height: 50px !important;
    padding: 12px 15px !important;
    border: 2px solid #becbd2 !important;
    color: #5d5d5d;
    font-size: 16px !important;
    text-align: center;
    outline: none;
    transition: all 0.3s ease;
    border-radius: 0;
    font-weight: 500;
    line-height: 1;
}

body.single-product .quantity .qty:focus {
    border-color: #570047 !important;
    box-shadow: 0 0 0 2px rgba(183, 28, 28, 0.1) !important;
}

/* Add to Cart button - Широкая кнопка */
body.single-product .single_add_to_cart_button {
    background-color: #570047 !important;
    color: #fff !important;
    border: 2px solid #570047 !important;
    padding: 15px 60px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.14em !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    display: inline-block;
    margin-left: 15px;
    outline: none;
    height: 50px !important;
    line-height: 1 !important;
    vertical-align: middle;
    text-decoration: none !important;
    border-radius: 0 !important;
    min-width: 200px;
    text-align: center;
}

body.single-product .single_add_to_cart_button:hover {
    background-color: transparent !important;
    color: #570047 !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(183, 28, 28, 0.3);
}

body.single-product .single_add_to_cart_button:active {
    transform: translateY(0);
}
.wc-block-cart__submit-button{
	background-color:#570047;
	border-color: #570047 !important;
		text-decoration:none !important;
	font-weight: 600 !important;
    text-transform: uppercase !important;
	
}
.wc-block-cart__submit-button:hover{
	background-color:#fff;
	border:0px;

}
.wc-block-components-button__text{
	font-size: 14px !important;
	color:#fff !important;
	text-decoration:none !important;
}
.wc-block-cart__submit-container > a:hover{
	color:#570047 !important;
}
.wc-block-components-button__text:hover{
	color:#570047 !important;
}
/* Выравнивание quantity и кнопки по вертикали */
body.single-product .cart .quantity,
body.single-product .cart .single_add_to_cart_button {
    vertical-align: middle !important;
}

/* Price table */
body.single-product .ppom-price-container-2159 {
    margin: 30px 0;
    background: #f8f8f8;
    padding: 25px;
    border-radius: 3px;
}

body.single-product .ppom-price-container-2159 table {
    width: 100%;
    border-collapse: collapse;
}

body.single-product .ppom-price-container-2159 th {
    text-align: left;
    padding: 12px 15px;
    font-weight: 600;
    color: #141414;
    border-bottom: 1px solid #eaeaea;
}

body.single-product .ppom-price-container-2159 .ppom-product-base-price th {
    border-bottom: 2px solid #570047;
}

body.single-product .ppom-price-container-2159 .ppom-total-without-fixed th {
    font-size: 18px;
    color: #570047;
    border-top: 2px solid #570047;
}

body.single-product .ppom-price {
    color: #570047;
    font-weight: 700;
}

/* Product meta */
body.single-product .product_meta {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eaeaea;
    font-size: 14px;
    color: #5d5d5d;
}

body.single-product .product_meta .posted_in {
    display: block;
    margin-bottom: 10px;
}

body.single-product .product_meta a {
    color: #570047;
    text-decoration: none;
    transition: color 0.3s ease;
}

body.single-product .product_meta a:hover {
    color: #141414;
    text-decoration: underline;
}

/* Conditional field styling */
body.single-product .ppom-c-hide {
    display: none;
}

body.single-product .ppom-c-show {
    display: block;
}

/* Price cloner */
body.single-product #ppom-price-cloner-wrapper {
    margin: 20px 0;
    text-align: center;
}

body.single-product #ppom-price-cloner {
    font-size: 24px;
    font-weight: 700;
    color: #570047;
}

/* Error container - белый и скрытый по умолчанию */
body.single-product #ppom-error-container {
    margin: 20px 0;
    padding: 0 !important;
    background: #ffffff !important;
    border: none !important;
    color: #c62828;
    border-radius: 0;
    min-height: 0;
    display: none;
}

/* Показываем только когда есть ошибки */
body.single-product #ppom-error-container:not(:empty) {
    display: block;
    padding: 15px !important;
    background: #fff3f3 !important;
    border: 1px solid #ffcdd2 !important;
    border-radius: 3px;
}

/* Responsive design */
@media (max-width: 767px) {
    body.single-product .product.type-product .story {
        padding: 20px 0;
    }

    body.single-product .price {
        font-size: 36px !important;
        padding: 20px;
    }

    body.single-product .ppom-wrapper {
        padding: 20px 15px;
    }

    body.single-product .ppom-field-wrapper {
        padding: 0;
    }

    body.single-product .form-check-inline {
        display: block;
        margin-right: 0;
        margin-bottom: 15px;
    }

    body.single-product .quantity {
        display: block;
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    body.single-product .quantity .qty {
        width: 100px !important;
        margin: 0 auto;
    }

    body.single-product .single_add_to_cart_button {
        margin-left: 0 !important;
        margin-top: 15px;
        width: 100%;
        display: block;
        min-width: auto;
        padding: 15px 30px !important;
    }

    body.single-product .cart {
        text-align: center;
    }
}

@media (max-width: 480px) {
    body.single-product .ppom-price-container-2159 {
        padding: 15px;
    }

    body.single-product .ppom-price-container-2159 th {
        padding: 8px 10px;
        font-size: 14px;
    }

    body.single-product .summary.entry-summary {
        padding: 20px 0;
    }

    body.single-product .quantity .qty {
        width: 90px !important;
        font-size: 16px !important;
        height: 45px !important;
    }

    body.single-product .single_add_to_cart_button {
        height: 45px !important;
        padding: 12px 25px !important;
        font-size: 13px !important;
    }

    body.single-product .price {
        font-size: 32px !important;
    }
	.woocommerce-product-gallery{
		display:none;
	}
}

/* Animation for reveal effect */
body.single-product .ale-reveal-img-wrap {
    position: relative;
    overflow: hidden;
}

body.single-product .ale-reveal-img-wrap img {
    transition: transform 0.5s ease;
}

body.single-product .ale-reveal-img-wrap:hover img {
    transform: scale(1.05);
}

/* Form group spacing */
body.single-product .form-group {
    margin-bottom: 0;
}

/* Align items in form rows */
body.single-product .align-items-center {
    align-items: center !important;
}

/* Ensure proper spacing */
body.single-product .form-row {
    margin-bottom: 30px;
}

/* Custom checkbox focus state */
body.single-product .ppom-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(183, 28, 28, 0.2);
}

/* Select option styling */
body.single-product .ppom-input.form-select option {
    padding: 10px;
    background: white;
    color: #5d5d5d;
}

body.single-product .ppom-input.form-select option:hover {
    background: #570047;
    color: white;
}

/* Убираем стандартные стили WooCommerce если мешают */
body.single-product .woocommerce .cart .button.alt {
    border: none !important;
    padding: 0 !important;
}

/* Исправление для скрытого label */
body.single-product .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Дополнительные стили для лучшего отображения */
body.single-product .cart {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* Убедимся что кнопка выглядит как в дизайне */
body.single-product .single_add_to_cart_button.button.alt {
    background-image: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

body.single-product .single_add_to_cart_button.button.alt:hover {
    background-image: none !important;
    text-shadow: none !important;
}

body.single-product .product_meta {
    display: none
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
	display:none;
}
.woocommerce-Tabs-panel h2{
	display:none;
}
/*form*/
.project-form-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 25px 40px;
}
.project-form-wrapper label {
  display: block;
  font-weight: 500;
  color: #333;
}
.project-form-wrapper input[type="text"],
.project-form-wrapper input[type="file"] {
  width: 100%;
  padding: 10px 12px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  color: #333;
  background: #fff;
  transition: 0.3s ease;
}
.project-form-wrapper input[type="text"]:focus {
  border-color: #570047;
  outline: none;
  box-shadow: 0 0 5px rgba(87, 0, 71, 0.3);
}
.project-form-wrapper small {
  font-size: 13px;
  color: #666;
}
.project-form-wrapper input[type="submit"] {
  background-color: #570047;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 35px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s ease;
}
.project-form-wrapper input[type="submit"]:hover {
  background-color: #7c0063;
}
.wpcf7-form label {
  color: #570047;
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="password"],
.wpcf7 input[type="file"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  color: #570047;
  font-size: 15px;
  margin-bottom: 15px;
}
/*form*/