/* DCS Dog Paw — WooCommerce brand styling (shop / product / cart / checkout / account).
   A design-tokenek a style.css :root-jabol jonnek (--lime/--forest/--cream/--btn/--btn-orange). */

.woo-main{background:var(--cream);padding:52px 0 70px;min-height:60vh}
.woo-main a{color:inherit}

/* ── Shop header ── */
.woocommerce-products-header{margin-bottom:8px}
.woocommerce-products-header__title,.woo-main h1.page-title{font-size:40px;font-weight:900;color:#1a2a12;letter-spacing:-.5px}
.woocommerce-result-count{color:#5c6b4e;font-size:14px;margin:6px 0 22px;display:inline-block}
.woocommerce-ordering{float:right}
.woocommerce-ordering select{font-family:inherit;font-size:14px;padding:10px 14px;border:1px solid #dfe4cf;border-radius:8px;background:#fff;color:#33471f}

/* ── Product grid (shop + related) ── */
.woo-main ul.products,.related ul.products,ul.products{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
/* WC-core clearfix ::before/::after grid-item lenne display:grid-nel -> phantom elso cella. Semlegesitjuk. */
ul.products::before,ul.products::after,.woocommerce ul.products::before,.woocommerce ul.products::after{content:none!important;display:none!important}
ul.products li.product{margin:0;width:auto;float:none}
ul.products li.product.pcard{background:#fff;border-radius:16px;padding:22px;text-align:center;box-shadow:0 2px 14px rgba(0,0,0,.05);display:flex;flex-direction:column;align-items:center}
li.product.pcard .pcard-link{display:block;width:100%}
li.product.pcard .ph{height:190px;display:flex;align-items:center;justify-content:center;margin-bottom:8px}
li.product.pcard .ph img{max-height:190px;width:auto;margin:0 auto}
li.product.pcard h3,li.product.pcard .woocommerce-loop-product__title{font-size:16px;color:#1a1a1a;font-weight:700;margin:6px 0 10px;line-height:1.25;padding:0}
li.product.pcard .price{color:#20430f;font-weight:800;font-size:16px;margin-bottom:12px}
li.product.pcard .pcard-desc{font-size:13px;color:#555;line-height:1.5;margin-bottom:16px}
li.product.pcard .pcard-btn,li.product.pcard .button{margin-top:auto;background:var(--forest);color:#fff;font-weight:700;font-size:14px;padding:10px 30px;border-radius:40px;border:none}
li.product.pcard .pcard-btn:hover,li.product.pcard .button:hover{filter:brightness(1.1)}
/* Shop-nezetben kompakt kartya (nincs leiras); a related-nel latszik */
body.woocommerce-page:not(.single-product) li.product.pcard .pcard-desc{display:none}

/* Pagination */
.woocommerce-pagination{margin-top:34px;text-align:center}
.woocommerce-pagination ul{display:inline-flex;gap:8px;list-style:none;border:none}
.woocommerce-pagination ul li{border:none}
.woocommerce-pagination a.page-numbers,.woocommerce-pagination span.page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;border-radius:50%;background:#fff;color:#33471f;font-weight:700;border:1px solid #e2e8d0}
.woocommerce-pagination .page-numbers.current{background:var(--lime);color:#1a2a12;border-color:var(--lime)}

/* ── Single product ── */
/* Flexbox-wrap: CSAK a galeria + summary all egymas mellett (52/44%); MINDEN mas kozvetlen
   gyerek (related/benefits/tabs/up-sells) 100% szeles kulon sorban. !important + body-prefix,
   mert a WC-core (.woocommerce ul.products li.product{width:22.05%;float:left}) + WPBakery
   (js_composer meg aktiv) magasabb specificitasu szabalyai kulonben osszenyomjak a kartyakat. */
body.single-product div.product{display:flex!important;flex-wrap:wrap;gap:48px;align-items:flex-start}
body.single-product div.product>.woocommerce-product-gallery{flex:0 0 52%!important;max-width:52%;margin:0}
body.single-product div.product>.summary{flex:0 0 44%!important;max-width:44%;margin:0;width:auto!important}
body.single-product div.product>*:not(.woocommerce-product-gallery):not(.summary){flex:0 0 100%!important;width:100%!important;max-width:100%!important;float:none!important}
/* Related/Discover kartyak: grid, NEM a WC-core float+22% */
body.single-product .related.products ul.products,
body.single-product .up-sells.products ul.products{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:26px;float:none}
body.single-product ul.products li.product{width:auto!important;float:none!important;margin:0!important}
.single-product .woocommerce-product-gallery img{border-radius:14px}
/* SAJAT termek-galeria (product-image.php override): thumbnail-strip bal + fo kep jobb (ref 05) */
.dcsdp-gallery{display:flex;gap:16px;align-items:flex-start}
.dcsdp-gallery .dg-thumbs{display:flex;flex-direction:column;gap:12px;flex:0 0 76px}
.dcsdp-gallery .dg-thumb{border:1px solid #e2e8d0;border-radius:10px;background:#fff;padding:5px;cursor:pointer;width:76px;height:76px;display:flex;align-items:center;justify-content:center;overflow:hidden;transition:.2s}
.dcsdp-gallery .dg-thumb.active{border-color:var(--accent);border-width:2px}
.dcsdp-gallery .dg-thumb:hover{border-color:var(--accent)}
.dcsdp-gallery .dg-thumb img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:0}
.dcsdp-gallery .dg-main{flex:1;border-radius:14px;overflow:hidden;background:#fff;display:flex;align-items:center;justify-content:center;min-height:360px}
.dcsdp-gallery .dg-main img{max-width:100%;max-height:520px;width:auto;height:auto;object-fit:contain;border-radius:14px}
@media(max-width:560px){
  .dcsdp-gallery{flex-direction:column-reverse}
  .dcsdp-gallery .dg-thumbs{flex-direction:row;flex:none;flex-wrap:wrap}
}
.single-product .summary{margin:0}
.single-product .product_title{font-size:34px;font-weight:900;color:#1a2a12;line-height:1.1;margin-bottom:14px}
.single-product .woocommerce-product-details__short-description{font-size:15px;color:#3a3a3a;line-height:1.6;margin-bottom:18px}
.single-product .woocommerce-product-details__short-description b,.single-product .woocommerce-product-details__short-description strong{font-weight:800;color:#1a2a12}
.single-product .price{color:#20430f;font-weight:900;font-size:26px;margin-bottom:18px}
.single-product .price del{color:#9aa88b;font-weight:600;margin-right:8px}
.single-product form.cart{display:flex;gap:12px;align-items:center;margin:18px 0 24px}
.single-product .quantity input.qty{width:70px;padding:12px;border:1px solid #dfe4cf;border-radius:8px;font-family:inherit;text-align:center}
.single-product button.single_add_to_cart_button,.woocommerce #respond input#submit,.single-product .single_add_to_cart_button{background:var(--btn-orange)!important;color:#fff!important;font-weight:800;font-size:16px;padding:14px 34px;border-radius:40px;border:none;text-transform:none;letter-spacing:0}
.single-product button.single_add_to_cart_button:hover{filter:brightness(1.05)}
.single-product .product_meta{font-size:13px;color:#7c8a6c;margin-top:8px}
/* Leiras a jobb hasabban (ref 05: a tab helyett) */
.single-product .summary .pd-desc{font-size:15px;color:#3a3a3a;line-height:1.7;margin-top:20px}
.single-product .summary .pd-desc h2,.single-product .summary .pd-desc h3,.single-product .summary .pd-desc h4{color:#1a2a12;font-weight:800;margin:16px 0 8px;font-size:17px}
.single-product .summary .pd-desc p{margin-bottom:12px}
.single-product .summary .pd-desc ul{margin:0 0 12px 20px}
/* Description accordions / tabs -> lime-kereten belul, tiszta */
.woocommerce-tabs .tabs{list-style:none;display:flex;gap:8px;flex-wrap:wrap;border:none;margin:26px 0 0;padding:0}
.woocommerce-tabs .tabs li{background:#eef3df;border-radius:40px;border:none}
.woocommerce-tabs .tabs li a{color:#33471f;font-weight:700;padding:8px 18px}
.woocommerce-tabs .tabs li.active{background:var(--lime)}
.woocommerce-tabs .panel{padding-top:18px;color:#3a3a3a;line-height:1.7}
.related.products>h2,.up-sells>h2{text-align:center;font-size:34px;font-weight:900;color:#1a2a12;margin:56px 0 30px}
/* Related/Discover: 4 oszlop a ref 05 szerint */
.single-product .related ul.products,.single-product .up-sells ul.products{grid-template-columns:repeat(4,1fr)}
/* Related/upsell kartyak a fooldali stilusra: lime gomb + leiras latszik (mint az elo 'View') */
.single-product .related li.product.pcard .pcard-btn,.single-product .up-sells li.product.pcard .pcard-btn{background:var(--btn);color:#1a2a12}
.single-product .related li.product.pcard .pcard-desc{display:block}

/* ── Cart ── */
.woocommerce-cart .woo-main{padding-top:40px}
.woocommerce table.shop_table{border:none;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 2px 14px rgba(0,0,0,.05)}
.woocommerce table.shop_table th{background:var(--forest);color:#fff;font-weight:700;padding:16px;border:none}
.woocommerce table.shop_table td{padding:16px;border-top:1px solid #f0f3e6;vertical-align:middle}
.woocommerce table.shop_table .product-thumbnail img{width:72px;border-radius:10px}
.woocommerce .cart-collaterals .cart_totals h2{font-size:22px;font-weight:800;color:#1a2a12;margin-bottom:12px}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--btn);color:#1a2a12;font-weight:700;padding:12px 26px;border-radius:40px;border:none;transition:.2s}
.woocommerce a.button:hover,.woocommerce button.button:hover{filter:brightness(1.05)}
.woocommerce a.button.alt,.woocommerce button.button.alt,.wc-proceed-to-checkout a.checkout-button{background:var(--btn-orange)!important;color:#fff!important}
.woocommerce .coupon input.input-text{padding:12px 14px;border:1px solid #dfe4cf;border-radius:8px}
.woocommerce .cart-collaterals .cart_totals{background:#fff;border-radius:14px;padding:24px;box-shadow:0 2px 14px rgba(0,0,0,.05)}

/* ── Checkout ── */
.woocommerce-checkout h3{font-size:22px;font-weight:800;color:#1a2a12;margin-bottom:14px}
.woocommerce form .form-row label{font-weight:600;color:#33471f;font-size:14px}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.select2-container .select2-selection{padding:13px 15px;border:1px solid #dfe4cf;border-radius:8px;font-family:inherit;font-size:14px;background:#fff}
.woocommerce-checkout #payment{background:#fff;border-radius:14px;box-shadow:0 2px 14px rgba(0,0,0,.05)}
.woocommerce-checkout #payment ul.payment_methods{border-bottom:1px solid #f0f3e6}
#order_review .shop_table,#order_review_heading{margin-top:0}
.woocommerce #payment #place_order,.woocommerce-checkout button#place_order{background:var(--btn-orange)!important;color:#fff!important;font-weight:800;font-size:16px;padding:15px 34px;border-radius:40px;width:100%}

/* ── My account ── */
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block;padding:12px 16px;border-radius:10px;color:#33471f;font-weight:600}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{background:var(--lime);color:#1a2a12}
.woocommerce-account .woocommerce-MyAccount-content{background:#fff;border-radius:14px;padding:28px;box-shadow:0 2px 14px rgba(0,0,0,.05)}
.woocommerce-account:not(.logged-in) .woo-main .col2-set,.woocommerce .col2-set{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.woocommerce form.login,.woocommerce form.register{border:1px solid #e2e8d0;border-radius:14px;padding:26px;background:#fff}

/* ── Block-alapu kosar/penztar (wc-blocks) brand-igazitas (konzervativ: fo gombok + kontener) ── */
.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout{max-width:1200px;margin-left:auto;margin-right:auto}
.wc-block-components-button.contained,.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button{
	background:var(--btn-orange)!important;color:#fff!important;border-radius:40px!important;font-weight:800!important
}
.wc-block-components-button.contained:hover{filter:brightness(1.05)}
.wc-block-cart__totals-title,.wc-block-components-title,.wc-block-checkout__main-title{color:#1a2a12}
.wc-block-components-totals-item__value,.wc-block-formatted-money-amount{color:#20430f;font-weight:800}
.wc-block-components-text-input input,.wc-block-components-select .components-form-token-field__input,.wc-block-checkout input.wc-block-components-text-input{border-radius:8px}

/* ── Notices ── */
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-top-color:var(--accent);border-radius:8px;background:#f4f8e6}
.woocommerce-message:before,.woocommerce-info:before{color:var(--accent)}

@media(max-width:900px){
  .woo-main ul.products,.related ul.products,ul.products,.single-product .related ul.products,.single-product .up-sells ul.products{grid-template-columns:1fr 1fr}
  .single-product div.product{gap:26px}
  .single-product div.product>.woocommerce-product-gallery,.single-product div.product>.summary{flex:0 0 100%;max-width:100%}
  .woocommerce .col2-set{grid-template-columns:1fr}
  .woocommerce-ordering{float:none;margin-bottom:16px}
}
@media(max-width:560px){
  .woo-main ul.products,ul.products{grid-template-columns:1fr}
}
