/* ===========================================================
   Smart Garden — put do kupnje: košarica → blagajna → potvrda
   Klasični WooCommerce predlošci (shortcode), Hello Elementor.
   Selektori provjereni na živom webu (woocommerce-cart-form,
   cart_totals, woocommerce-checkout-review-order-table,
   woocommerce-checkout-payment, #place_order).
   =========================================================== */

body.sg-chrome.woocommerce-cart,
body.sg-chrome.woocommerce-checkout,
body.sg-chrome.woocommerce-order-received{background:#F4F7F4}

/* naslov stranice */
body.sg-chrome.woocommerce-cart .elementor-page-title,
body.sg-chrome.woocommerce-checkout .elementor-page-title,
body.sg-chrome.woocommerce-cart h1.entry-title,
body.sg-chrome.woocommerce-checkout h1.entry-title{
  font-family:'Signika',sans-serif !important;font-weight:700 !important;
  font-size:clamp(28px,4vw,40px) !important;color:#22352B !important}

/* ---------- KOŠARICA ---------- */
body.sg-chrome .woocommerce-cart-form{
  background:#fff;border:1px solid rgba(4,31,30,.1);border-radius:20px;
  padding:8px 18px 18px;box-shadow:0 8px 26px rgba(4,31,30,.06)}
body.sg-chrome .woocommerce table.shop_table{
  border:0 !important;border-radius:0 !important;font-family:'Source Sans 3',sans-serif}
body.sg-chrome .woocommerce table.shop_table th{
  font-family:'Signika',sans-serif !important;font-size:12.5px !important;
  letter-spacing:.09em;text-transform:uppercase;color:#5B6B60 !important;
  border-bottom:1px solid rgba(4,31,30,.09) !important;padding:14px 8px !important}
body.sg-chrome .woocommerce table.shop_table td{
  border-top:1px solid rgba(4,31,30,.07) !important;padding:16px 8px !important;vertical-align:middle}
body.sg-chrome .woocommerce table.shop_table td.product-thumbnail img{
  width:74px !important;height:74px;object-fit:cover;border-radius:12px;background:#fff;
  border:1px solid rgba(4,31,30,.08)}
body.sg-chrome td.product-name a{
  font-family:'Signika',sans-serif;font-weight:600;color:#22352B;text-decoration:none;font-size:16px}
body.sg-chrome td.product-name a:hover{color:#449952}
body.sg-chrome .woocommerce-Price-amount{font-family:'Signika',sans-serif;font-weight:700;color:#22352B}
body.sg-chrome td.product-subtotal .woocommerce-Price-amount{color:#E79A2C}
body.sg-chrome .product-remove a.remove{
  color:#B3352E !important;font-size:22px !important;line-height:1;background:none !important;
  width:auto !important;height:auto !important}
body.sg-chrome .product-remove a.remove:hover{color:#fff !important;background:#B3352E !important;
  border-radius:50%;width:26px !important;height:26px !important;display:inline-flex;
  align-items:center;justify-content:center}
body.sg-chrome .quantity input.qty{max-width:82px;text-align:center}

/* kupon */
body.sg-chrome .coupon{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:6px 0}
body.sg-chrome #coupon_code{
  border:1px solid rgba(4,31,30,.14) !important;border-radius:12px !important;
  padding:12px 14px !important;min-width:210px;font-family:'Source Sans 3',sans-serif}
body.sg-chrome .coupon button{background:#22352B !important}
body.sg-chrome .coupon button:hover{background:#0B3A2E !important}

/* zbroj košarice */
body.sg-chrome .cart-collaterals .cart_totals{
  background:#fff;border:1px solid rgba(4,31,30,.1);border-radius:20px;padding:22px;
  box-shadow:0 8px 26px rgba(4,31,30,.06)}
body.sg-chrome .cart_totals h2{
  font-size:20px !important;margin:0 0 12px !important;color:#22352B !important}
body.sg-chrome .cart_totals table th{width:45%;color:#5B6B60 !important;font-size:14px !important}
body.sg-chrome .cart_totals .order-total .woocommerce-Price-amount{font-size:22px;color:#E79A2C}
body.sg-chrome .wc-proceed-to-checkout{padding-top:14px !important}
body.sg-chrome .wc-proceed-to-checkout a.checkout-button{
  display:block !important;text-align:center;font-size:17px !important;padding:16px !important}

/* prazna košarica */
body.sg-chrome .cart-empty{
  font-family:'Signika',sans-serif;font-size:20px;color:#22352B;
  background:#fff;border:1px solid rgba(4,31,30,.1);border-radius:18px;padding:26px;text-align:center}
body.sg-chrome .return-to-shop{text-align:center}

/* ---------- BLAGAJNA ---------- */
body.sg-chrome .woocommerce-checkout .col2-set .col-1,
body.sg-chrome .woocommerce-checkout .col2-set .col-2,
body.sg-chrome #customer_details{margin-bottom:14px}
body.sg-chrome .woocommerce-billing-fields,
body.sg-chrome .woocommerce-shipping-fields,
body.sg-chrome .woocommerce-additional-fields{
  background:#fff;border:1px solid rgba(4,31,30,.1);border-radius:20px;padding:22px;
  box-shadow:0 8px 26px rgba(4,31,30,.06);margin-bottom:16px}
body.sg-chrome .woocommerce-billing-fields h3,
body.sg-chrome .woocommerce-shipping-fields h3,
body.sg-chrome #order_review_heading{
  font-family:'Signika',sans-serif !important;font-weight:700 !important;
  font-size:20px !important;color:#22352B !important;margin:0 0 14px !important}
body.sg-chrome .woocommerce form .form-row label,
body.sg-chrome .woocommerce-form__label{
  font-family:'Signika',sans-serif !important;font-weight:600 !important;
  font-size:13.5px !important;color:#41544A !important;margin-bottom:5px}
body.sg-chrome .woocommerce form .form-row input.input-text,
body.sg-chrome .woocommerce form .form-row textarea,
body.sg-chrome .woocommerce form .form-row .select2-selection,
body.sg-chrome .woocommerce form .form-row select{
  border:1px solid rgba(4,31,30,.14) !important;border-radius:12px !important;
  padding:13px 14px !important;min-height:50px;font-family:'Source Sans 3',sans-serif !important;
  font-size:16px !important;background:#fff !important;box-shadow:none !important}
body.sg-chrome .woocommerce form .form-row input.input-text:focus,
body.sg-chrome .woocommerce form .form-row textarea:focus,
body.sg-chrome .woocommerce form .form-row select:focus{
  outline:2px solid #7FC98B !important;outline-offset:1px;border-color:#449952 !important}
body.sg-chrome .select2-container--default .select2-selection--single{height:50px !important;
  border-radius:12px !important;border-color:rgba(4,31,30,.14) !important}
body.sg-chrome .select2-container--default .select2-selection--single .select2-selection__rendered{
  line-height:48px !important;padding-left:14px !important}
body.sg-chrome .select2-container--default .select2-selection--single .select2-selection__arrow{height:48px !important}

/* pregled narudžbe + plaćanje */
body.sg-chrome .woocommerce-checkout-review-order{
  background:#fff;border:1px solid rgba(4,31,30,.1);border-radius:20px;padding:22px;
  box-shadow:0 10px 30px rgba(4,31,30,.08);position:sticky;top:96px}
body.sg-chrome .woocommerce-checkout-review-order-table{margin-bottom:14px !important}
body.sg-chrome .woocommerce-checkout-review-order-table td,
body.sg-chrome .woocommerce-checkout-review-order-table th{padding:11px 6px !important}
body.sg-chrome .woocommerce-checkout-review-order-table tfoot .order-total td,
body.sg-chrome .woocommerce-checkout-review-order-table tfoot .order-total th{
  border-top:2px solid rgba(4,31,30,.12) !important;padding-top:14px !important}
body.sg-chrome .woocommerce-checkout-review-order-table tfoot .order-total .woocommerce-Price-amount{
  font-size:22px;color:#E79A2C}
body.sg-chrome #payment{background:transparent !important;border-radius:0}
body.sg-chrome #payment ul.payment_methods{
  border-bottom:0 !important;padding:0 !important;display:flex;flex-direction:column;gap:8px}
body.sg-chrome #payment ul.payment_methods li{
  background:#F7FAF7;border:1.5px solid rgba(4,31,30,.1);border-radius:14px;padding:12px 14px;
  list-style:none;transition:border-color .2s ease,background .2s ease}
body.sg-chrome #payment ul.payment_methods li:hover{border-color:#7FC98B}
body.sg-chrome #payment ul.payment_methods li input[type=radio]:checked + label{color:#22352B}
body.sg-chrome #payment ul.payment_methods li label{
  font-family:'Signika',sans-serif !important;font-weight:600 !important;font-size:15px;cursor:pointer}
body.sg-chrome #payment ul.payment_methods li img{max-height:26px;width:auto;margin-left:8px;vertical-align:middle}
body.sg-chrome #payment div.payment_box{
  background:#EDF3EE !important;border-radius:12px !important;font-size:14.5px;color:#41544A;margin-top:10px}
body.sg-chrome #payment div.payment_box::before{display:none !important}
body.sg-chrome .woocommerce-terms-and-conditions-wrapper{font-size:14px;color:#5B6B60;margin-top:8px}
body.sg-chrome .woocommerce-terms-and-conditions-wrapper a{color:#449952;font-weight:600}
body.sg-chrome #place_order{width:100%;font-size:17.5px !important;padding:17px !important;margin-top:12px}

/* poruke i prijava */
body.sg-chrome .woocommerce-form-login,
body.sg-chrome .woocommerce-form-coupon{
  background:#fff !important;border:1px solid rgba(4,31,30,.1) !important;border-radius:16px !important;
  padding:20px !important;margin-bottom:14px}

/* ---------- POTVRDA NARUDŽBE ---------- */
body.sg-chrome .woocommerce-order{
  background:#fff;border:1px solid rgba(4,31,30,.1);border-radius:20px;padding:26px;
  box-shadow:0 8px 26px rgba(4,31,30,.06)}
body.sg-chrome .woocommerce-thankyou-order-received{
  font-family:'Signika',sans-serif !important;font-weight:700 !important;font-size:24px !important;
  color:#22352B !important;background:#EDF5EE;border-radius:14px;padding:16px 18px;
  border-left:5px solid #449952}
body.sg-chrome ul.woocommerce-order-overview{
  display:flex;flex-wrap:wrap;gap:10px;padding:0 !important;margin:18px 0 !important;border:0 !important}
body.sg-chrome ul.woocommerce-order-overview li{
  list-style:none;border:1px solid rgba(4,31,30,.1) !important;border-radius:14px;padding:12px 16px;
  font-family:'Signika',sans-serif;font-size:12.5px;letter-spacing:.06em;text-transform:uppercase;
  color:#5B6B60;flex:1 1 auto}
body.sg-chrome ul.woocommerce-order-overview li strong{
  display:block;font-size:17px;letter-spacing:0;text-transform:none;color:#22352B;margin-top:4px}

/* poruka o digitalnoj isporuci (naš hook) */
.sg-digital{margin:16px 0;padding:18px 20px;border-radius:16px;
  background:linear-gradient(120deg,rgba(68,153,82,.14),rgba(231,154,44,.10));
  border:1px solid rgba(68,153,82,.25);font-family:'Source Sans 3',sans-serif;color:#2C4033}
.sg-digital b{font-family:'Signika',sans-serif}
.sg-digital .sg-d-t{font-family:'Signika',sans-serif;font-weight:700;font-size:16.5px;margin-bottom:6px;color:#22352B}

/* mobilno */
@media (max-width:781px){
  body.sg-chrome .woocommerce-checkout-review-order{position:static;padding:18px}
  body.sg-chrome .woocommerce-cart-form{padding:6px 12px 14px}
  body.sg-chrome .woocommerce table.shop_table td{padding:12px 6px !important}
  body.sg-chrome .woocommerce table.shop_table td.product-thumbnail img{width:58px !important;height:58px}
}
