/* Local product proposal: practical information, without promotional badges. */
.tx-product-buying { margin-top:30px; color:#555; font-size:13px; line-height:1.7; }
.tx-product-buying dl { margin:0; }
.tx-product-buying dl > div { display:grid; grid-template-columns:132px minmax(0,1fr); gap:18px; padding:0 0 12px; }
.tx-product-buying dt { font-weight:600; color:#333; }
.tx-product-buying dd { margin:0; }
.tx-product-buying a { color:#a5332d; text-decoration:underline; text-underline-offset:3px; }
.tx-product-buying a:hover { color:#76251f; }
.tx-product-buying .tx-product-seller { margin:18px 0 0; font-size:13px; line-height:1.8; }
.tx-product-seller span { margin:0 8px; }
.tx-product-question-intro { margin:0 0 18px; font-size:14px; line-height:1.7; color:#555; }
.single-product #ask-form { padding:20px 0; border:0; background:#fff; margin-bottom:18px; }
.single-product #ask-form div.wpforms-container-full { margin:0; }
.single-product #ask-form div.wpforms-container-full .wpforms-form .wpforms-field { padding:0 0 16px; width:100%; }
.single-product #ask-form div.wpforms-container-full .wpforms-form .wpforms-field-label { font-size:14px; color:#333; font-weight:600; margin-bottom:7px; }
.single-product #ask-form div.wpforms-container-full .wpforms-form input[type=text],.single-product #ask-form div.wpforms-container-full .wpforms-form input[type=email],.single-product #ask-form div.wpforms-container-full .wpforms-form textarea { max-width:100%; width:100%; font-size:16px; border:1px solid #bdbdbd; border-radius:2px; padding:10px 12px; background:#fff; color:#333; box-shadow:none; }
.single-product #ask-form div.wpforms-container-full .wpforms-form input[type=text],.single-product #ask-form div.wpforms-container-full .wpforms-form input[type=email] { height:44px; }
.single-product #ask-form div.wpforms-container-full .wpforms-form textarea { min-height:120px; }
.single-product #ask-form div.wpforms-container-full .wpforms-form .wpforms-submit-container { padding-top:0; }
.single-product #ask-form div.wpforms-container-full .wpforms-form button[type=submit] { background:#a5332d; border:1px solid #a5332d; color:#fff; font-size:14px; padding:10px 20px; min-height:44px; border-radius:2px; box-shadow:none; }
.single-product #ask-form div.wpforms-container-full .wpforms-form button[type=submit]:hover { background:#76251f; }
.single-product #ask-form .wpforms-confirmation-container-full { text-transform:none; font-size:14px; line-height:1.7; }
.single-product #ask-form input:focus,.single-product #ask-form textarea:focus { outline:2px solid #a5332d; outline-offset:2px; }
.tx-product-buying a:focus-visible { outline:2px solid #a5332d; outline-offset:3px; }
@media(max-width:600px) {
    .tx-product-buying dl > div { grid-template-columns:1fr; gap:3px; }
    .single-product #ask-form { padding:16px; }
}

/* Let the part, price and buying decision set the hierarchy. */
.tx-product-page .product-summary-wrap { padding-top:28px; }
.tx-product-page .product-summary-wrap > .row { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:72px; margin:0; }
.tx-product-page .product-summary-wrap > .row > .summary-before,
.tx-product-page .product-summary-wrap > .row > .summary { width:100%; max-width:none; padding:0; min-width:0; }
.tx-product-page .product-summary-wrap .product_title { font-size:32px; line-height:1.25; font-weight:500; letter-spacing:-.02em; margin-bottom:25px; }
.tx-product-page .tx-product-price { font-size:30px; line-height:1.25; font-weight:500; color:#262626; margin:0 0 28px; display:flex; flex-wrap:wrap; align-items:baseline; gap:8px 15px; }
.tx-product-page .tx-product-price .tx-price-tax { color:#777; font-size:12px; font-weight:400; }
.tx-product-page .tx-product-price del { color:#777; font-size:20px; }
.tx-product-page .tx-product-price ins { text-decoration:none; }
.tx-product-page .summary .product_meta { max-width:none; margin-bottom:25px; gap:6px; }
.tx-product-page .summary .product_meta > span { display:grid; grid-template-columns:120px minmax(0,1fr); gap:18px; font-size:14px; font-weight:400; line-height:1.5; margin:0; }
.tx-product-page .product-summary-wrap .product_meta > span > span,
.tx-product-page .product-summary-wrap .product_meta > span > a { width:auto; min-width:0; color:#333; overflow-wrap:anywhere; }
.tx-product-page .summary .product_meta .condition_wrapper { padding-top:0; }
.tx-product-page .summary .form-wrapper { margin:0; padding:0; border:0; align-items:center; gap:14px; flex-wrap:wrap; }
.tx-product-page .summary .form-wrapper form.cart { margin:0; display:flex; gap:12px; flex-wrap:wrap; }
.tx-product-page .summary .form-wrapper .quantity { margin:0; }
.tx-product-page .summary .single_add_to_cart_button { background:#a5332d; border-color:#a5332d; font-size:14px; letter-spacing:normal; text-transform:none; padding:0 25px; margin:0; }
.tx-product-page .summary .single_add_to_cart_button:hover { background:#76251f; border-color:#76251f; }
.tx-product-page .summary .single_add_to_cart_button::before { display:none; }
.tx-product-page .summary #ask-btn { border:0; background:none; padding:0 4px; color:#555; font-size:14px; font-weight:400; text-transform:none; text-decoration:underline; text-underline-offset:4px; margin:0; width:auto; }
.tx-product-page .summary #ask-btn:hover { color:#a5332d; }
.tx-product-page .summary #ask-btn:focus-visible { outline:2px solid #a5332d; outline-offset:4px; }
.tx-product-page .summary-before .img-thumbnail { padding:0; border:0; border-radius:0; }
.tx-product-single-image .summary-before .product-thumbnails { display:none; }
.tx-product-page .woocommerce-tabs { margin-top:70px; border:0; }
.tx-product-page .woocommerce-tabs .resp-tabs-list,
.tx-product-page .woocommerce-tabs .resp-tabs-container,
.tx-product-page .woocommerce-tabs .resp-tab-content { border:0; box-shadow:none; }
.tx-product-page .woocommerce-tabs .resp-tabs-list li { border:0; text-transform:none; font-size:15px; font-weight:500; padding-bottom:16px; }
.tx-product-page .woocommerce-tabs .resp-tabs-list li.resp-tab-active { border:0; color:#333; }
.tx-product-page .woocommerce-tabs .resp-tabs-list li.resp-tab-active::after { display:none; }
.tx-product-page .woocommerce-tabs .tab-content { padding-top:20px; border:0; }
.tx-product-page .related.products { margin-top:60px; }
.tx-product-page .related.products > h2 { font-size:23px; font-weight:500; text-transform:none; letter-spacing:normal; margin-bottom:28px; }
@media(max-width:1199px) {
    .tx-product-page .product-summary-wrap > .row { gap:44px; }
    .tx-product-page .product-summary-wrap .product_title { font-size:29px; }
}
@media(max-width:767px) {
    .tx-product-page .product-summary-wrap { padding-top:15px; }
    .tx-product-page .product-summary-wrap > .row { grid-template-columns:1fr; gap:30px; }
    .tx-product-page .product-summary-wrap .product_title { font-size:28px; margin-bottom:20px; }
    .tx-product-page .summary .form-wrapper { justify-content:flex-start; }
    .tx-product-page .summary .form-wrapper form.cart { width:100%; flex-wrap:nowrap; }
    .tx-product-page .summary .form-wrapper .single_add_to_cart_button { flex:1; width:auto; }
    .tx-product-page .summary #ask-btn { display:inline-block; width:auto; }
    .tx-product-page .woocommerce-tabs { margin-top:45px; }
}

.tx-product-page .summary .form-wrapper form.cart { align-items:center; }
.tx-product-page .summary .form-wrapper .single_add_to_cart_button { margin:0 !important; height:48px; min-height:48px; display:inline-flex; align-items:center; justify-content:center; }
.tx-product-tabs { margin-top:32px; }
.tx-product-tablist { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:24px; border-bottom:1px solid #e7e7e7; }
.tx-product-tablist button { appearance:none; cursor:pointer; background:none; border:0; border-bottom:2px solid transparent; color:#666; padding:13px 18px; margin:0 0 -1px; font-size:15px; font-weight:500; font-family:inherit; line-height:1.5; }
.tx-product-tablist button:hover { background:#f7f7f5; color:#333; }
.tx-product-tablist button[aria-selected=true] { border-bottom-color:#a5332d; color:#a5332d; background:#faf6f5; }
.tx-product-tablist button:focus-visible { outline:2px solid #a5332d; outline-offset:3px; }
.tx-product-panel { font-size:15px; line-height:1.8; }
.tx-product-panel[hidden] { display:none !important; }
.tx-product-panel > h2 { display:none; }
.tx-product-panel .shop_attributes { max-width:700px; }
.tx-product-page .product-summary-wrap > .row { row-gap:28px; align-items:start; }
.tx-product-page .product-summary-wrap > .row > .summary-before { grid-column:1; grid-row:1; }
.tx-product-page .product-summary-wrap > .row > .summary { grid-column:2; grid-row:1; }
.tx-product-about { grid-column:1; grid-row:2; width:100%; max-width:none; padding:26px 28px; background:#f5f4f0; border-radius:4px; }
.tx-product-about h2 { color:#333; font-size:20px; font-weight:500; line-height:1.4; letter-spacing:normal; text-transform:none; margin:0 0 14px; }
.tx-product-about p { color:#555; font-size:14px; line-height:1.75; margin:0 0 12px; }
.tx-product-about .tx-product-company { font-size:12px; color:#777; margin-top:18px; }
.tx-product-about a { color:#a5332d; font-size:14px; text-decoration:underline; text-underline-offset:3px; }
@media(max-width:767px) {
    .tx-product-page .product-summary-wrap > .row > .summary { grid-column:1; grid-row:2; }
    .tx-product-about { grid-column:1; grid-row:3; margin-top:12px; padding:24px; }
}
@media(max-width:600px) {
    .tx-product-tablist button { padding:12px 14px; font-size:14px; }
    .tx-product-tabs { margin-top:36px; }
}

/* Keep all purchase controls on the same vertical rhythm, including Porto's mobile rules. */
.tx-product-page .summary .form-wrapper form.cart { flex-direction:row; align-items:center; }
.tx-product-page .summary .form-wrapper form.cart .quantity { flex:0 0 104px; width:104px; height:48px; }
.tx-product-page .summary .form-wrapper .quantity input,
.tx-product-page .summary .form-wrapper .quantity button { height:48px; min-height:48px; max-height:48px; }
.tx-product-page .summary .form-wrapper #ask-btn { display:inline-flex; align-items:center; justify-content:center; height:48px; min-height:48px; max-height:48px; width:auto !important; margin:0 !important; line-height:1.5; }

/* No empty second grid row or native bottom margins before the tabs. */
.tx-product-page .product-summary-wrap > .row > .summary-before,
.tx-product-page .product-summary-wrap > .row > .summary { margin-bottom:0; }

.tx-product-page .summary .product_meta .tx-meta-brands > a { display:inline; width:auto; }

/* Keep gallery controls readable over both light and dark photographs. */
.tx-product-page .product-images .product-image-slider .owl-nav button,
.tx-product-page .product-images > .zoom {
    display:flex; align-items:center; justify-content:center; width:36px; height:36px;
    padding:0; border:1px solid #d8dbd5; border-radius:50%; background:#fffefc !important;
    color:#333e37 !important; opacity:1; visibility:visible; box-shadow:0 2px 10px rgba(0,0,0,.16);
    cursor:pointer; transition:background .15s,box-shadow .15s;
}
.tx-product-page .product-images .product-image-slider .owl-nav button { top:50%; margin-top:-18px; transform:none; }
.tx-product-page .product-images .product-image-slider .owl-nav .owl-prev { left:12px; }
.tx-product-page .product-images .product-image-slider .owl-nav .owl-next { right:12px; }
.tx-product-page .product-images .product-image-slider .owl-nav button::before {
    content:''; display:block; width:10px; height:10px; border:solid currentColor; border-width:0 2px 2px 0;
    transform:rotate(135deg); margin-left:4px;
}
.tx-product-page .product-images .product-image-slider .owl-nav .owl-next::before { transform:rotate(-45deg); margin-left:-4px; }
.tx-product-page .product-images > .zoom { right:12px; bottom:12px; z-index:5; }
.tx-product-page .product-images > .zoom i { position:relative; display:block; width:18px; height:18px; font-size:0; color:#333e37 !important; }
.tx-product-page .product-images > .zoom i::before,.tx-product-page .product-images > .zoom i::after { content:''; position:absolute; display:block; background:currentColor; border:0; }
.tx-product-page .product-images > .zoom i::before { width:18px; height:2px; top:8px; left:0; }
.tx-product-page .product-images > .zoom i::after { width:2px; height:18px; top:0; left:8px; }
.tx-product-page .product-images .product-image-slider .owl-nav button:hover,.tx-product-page .product-images > .zoom:hover { background:#f5f3ee !important; box-shadow:0 3px 12px rgba(0,0,0,.22); }
.tx-product-page .product-images .product-image-slider .owl-nav button:focus-visible,.tx-product-page .product-images > .zoom:focus-visible { outline:2px solid var(--porto-primary-color); outline-offset:3px; }

.tx-product-page .product-thumbnails .thumb-nav { top:50%; height:30px; margin-top:-15px; opacity:1; visibility:visible; }
.tx-product-page .product-thumbnails .thumb-nav > div {
    display:flex; align-items:center; justify-content:center; top:0; width:30px; height:30px; padding:0;
    border:1px solid #d8dbd5; border-radius:50%; background:#fffefc !important; color:#333e37 !important;
    box-shadow:0 2px 8px rgba(0,0,0,.16); cursor:pointer;
}
.tx-product-page .product-thumbnails .thumb-nav .thumb-prev { left:5px; }
.tx-product-page .product-thumbnails .thumb-nav .thumb-next { right:5px; }
.tx-product-page .product-thumbnails .thumb-nav > div::before { content:'' !important; position:static; font-size:0; line-height:0; display:block; width:8px; height:8px; border:solid currentColor; border-width:0 2px 2px 0; transform:rotate(135deg); margin-left:3px; }
.tx-product-page .product-thumbnails .thumb-nav .thumb-next::before { transform:rotate(-45deg); margin-left:-3px; }
.tx-product-page .product-thumbnails .thumb-nav > div:hover { background:#f5f3ee !important; }
.tx-product-page .product-thumbnails .thumb-nav > div:focus-visible { outline:2px solid var(--porto-primary-color); outline-offset:2px; }
