/* ============================================================
   Digitalshayan — Single Product Page Styles
   FILE: style.css
   Loaded after assets/cmshop-landing/style.css (see functions.php),
   so all colors/spacing/radius/shadow variables and .product-card /
   .featured-promo-card / header / footer styles are already
   available here — only product-page-specific pieces are added.
   ============================================================ */

.cmshop-single-product { background: var(--green-pale); }

/* ---------- Breadcrumb ---------- */
.cmshop-breadcrumb-row { padding: 16px 24px 0; font-size: 12.5px; color: var(--text-muted); }
.cmshop-breadcrumb-row .woocommerce-breadcrumb a { color: var(--text-muted); }
.cmshop-breadcrumb-row .woocommerce-breadcrumb a:hover { color: var(--green-primary-dark); }

/* ---------- Two-column main section ---------- */
.cmshop-product-main {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  padding: 20px 24px 48px;
  align-items: start;
}

/* ---------- Gallery (left) ---------- */
.cmshop-product-gallery { position: relative; }
.cmshop-gallery-badge { position: absolute; top: 12px; left: 12px; z-index: 5; }
.woocommerce-product-gallery { max-width: 100%; }
.woocommerce-product-gallery__wrapper { border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid var(--border-soft); }
.woocommerce-product-gallery img { width: 100%; height: auto; object-fit: contain; }
.flex-control-thumbs { display: flex; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.flex-control-thumbs li { width: 64px; height: 64px; }
.flex-control-thumbs img {
  width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md);
  border: 1px solid var(--border-soft); cursor: pointer; opacity: .75; transition: opacity .2s ease, border-color .2s ease;
}
.flex-control-thumbs img.flex-active,
.flex-control-thumbs img:hover { opacity: 1; border-color: var(--green-primary); }

/* ---------- Buy box (right) ---------- */
.cmshop-product-info { display: flex; flex-direction: column; gap: 4px; }
.cmshop-product-cats { font-size: 11px; font-weight: 700; letter-spacing: .5px; color: var(--text-muted); margin-bottom: 4px; }
.cmshop-product-info .product_title { font-size: 26px; font-weight: 800; color: var(--text-dark); margin: 0 0 10px; line-height: 1.25; }

.cmshop-product-info .woocommerce-product-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.cmshop-product-info .star-rating { color: var(--star-gold); font-size: 14px; }
.cmshop-product-info .woocommerce-review-link { font-size: 12.5px; color: var(--text-muted); }

.cmshop-product-info .price { display: block; font-size: 24px; font-weight: 800; color: var(--price-red); margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border-soft); }
.cmshop-product-info .price del { font-size: 16px; font-weight: 500; color: #a3a8a4; margin-right: 8px; }
.cmshop-product-info .price ins { text-decoration: none; }

.woocommerce-product-details__short-description { font-size: 13.5px; line-height: 1.7; color: var(--text-dark); margin-bottom: 14px; }
.woocommerce-product-details__short-description ul { list-style: disc; padding-left: 20px; margin: 8px 0; }
.woocommerce-product-details__short-description li { margin-bottom: 4px; }

.cmshop-stock-row { margin-bottom: 14px; }
.cmshop-stock-row p.stock { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; margin: 0; }
.cmshop-stock-row p.stock::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.cmshop-stock-row p.stock.in-stock { color: #2e9e4f; }
.cmshop-stock-row p.stock.out-of-stock { color: var(--red-badge); }

/* WooCommerce's own add-to-cart form (quantity + button) */
form.cart { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
form.cart .quantity { margin: 0; }
form.cart .qty {
  width: 64px; height: 46px; text-align: center; border: 1px solid var(--border-soft);
  border-radius: var(--radius-md); font-size: 14px; font-family: var(--font-body);
}
form.cart .button,
form.cart .single_add_to_cart_button {
  flex: 1 1 auto; min-width: 160px; height: 46px; border: 0; border-radius: var(--radius-md);
  background: var(--green-primary); color: #1a1200; font-weight: 700; font-size: 14px;
  cursor: pointer; transition: background .2s ease, transform .2s ease;
}
form.cart .button:hover,
form.cart .single_add_to_cart_button:hover { background: var(--green-primary-dark); transform: translateY(-1px); }
form.cart .reset_variations { font-size: 12px; margin-left: 6px; }

.btn-buy-now {
  display: block; width: 100%; height: 46px; margin-bottom: 12px; border: 0; border-radius: var(--radius-md);
  background: var(--text-dark); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer;
  transition: background .2s ease, transform .2s ease; font-family: var(--font-body);
}
.btn-buy-now:hover { background: #333; transform: translateY(-1px); }

.btn-whatsapp-order,
.btn-assistance {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 44px; border-radius: var(--radius-md); font-weight: 700; font-size: 13.5px; margin-bottom: 10px;
}
.btn-whatsapp-order { background: var(--whatsapp-green); color: #fff; }
.btn-whatsapp-order:hover { background: var(--whatsapp-green-dark); }
.btn-assistance { background: var(--green-pale); color: var(--text-dark); border: 1px solid var(--border-soft); }
.btn-assistance:hover { border-color: var(--green-primary); color: var(--green-primary-dark); }

.cmshop-trust-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; list-style: none; margin: 16px 0 8px; padding: 14px 0;
  border-top: 1px solid var(--border-soft); font-size: 12.5px; color: var(--text-dark);
}
.cmshop-order-note {
  font-size: 12px; color: var(--text-muted); background: var(--green-pale);
  border: 1px dashed var(--border-soft); border-radius: var(--radius-md); padding: 8px 12px; margin: 0 0 14px;
}

.cmshop-product-info .product_meta { font-size: 12.5px; color: var(--text-muted); line-height: 1.8; margin-bottom: 8px; }
.cmshop-product-info .product_meta a { color: var(--text-muted); }
.cmshop-product-info .product_meta a:hover { color: var(--green-primary-dark); }

.cmshop-share-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-muted); }
.cmshop-share-row a {
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--green-pale); border: 1px solid var(--border-soft); font-weight: 700; font-size: 12px;
}
.cmshop-share-row a:hover { border-color: var(--green-primary); color: var(--green-primary-dark); }

/* ---------- Tabs (Description / Reviews / See Video) ---------- */
.cmshop-product-tabs { padding: 0 24px 48px; }
.woocommerce-tabs ul.tabs { display: flex; gap: 6px; list-style: none; margin: 0 0 24px; padding: 0; border-bottom: 1px solid var(--border-soft); }
.woocommerce-tabs ul.tabs li { margin: 0; }
.woocommerce-tabs ul.tabs li a { display: inline-block; padding: 10px 4px; margin-right: 22px; font-size: 14px; font-weight: 700; color: var(--text-muted); border-bottom: 2px solid transparent; }
.woocommerce-tabs ul.tabs li.active a { color: var(--text-dark); border-bottom-color: var(--green-primary); }
.woocommerce-tabs .woocommerce-Tabs-panel { font-size: 13.5px; line-height: 1.75; color: var(--text-dark); max-width: 820px; }
.woocommerce-tabs .woocommerce-Tabs-panel h2 { font-size: 18px; margin: 0 0 14px; }
.woocommerce-tabs .woocommerce-Tabs-panel ul { list-style: disc; padding-left: 20px; }
.cmshop-video-wrap { position: relative; }
.cmshop-video-wrap iframe { max-width: 100%; border-radius: var(--radius-md); }

/* ---------- FAQ accordion ---------- */
.cmshop-faq-section { padding: 0 24px 48px; }
.cmshop-faq-section h2 { font-size: 22px; font-weight: 800; margin: 0 0 6px; position: relative; padding-bottom: 10px; }
.cmshop-faq-section h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--green-primary); border-radius: 2px; }
.cmshop-faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 720px; margin-top: 18px; }
.cmshop-faq-item { border: 1px solid var(--border-soft); border-radius: var(--radius-md); background: var(--white); overflow: hidden; }
.cmshop-faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; background: none; border: 0; text-align: left; font-size: 13.5px; font-weight: 700; color: var(--text-dark);
}
.cmshop-faq-icon { color: var(--green-primary); font-size: 18px; line-height: 1; transition: transform .2s ease; }
.cmshop-faq-item.is-open .cmshop-faq-icon { transform: rotate(45deg); }
.cmshop-faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.cmshop-faq-a p { margin: 0; padding: 0 16px 14px; font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ---------- Related products / promo section spacing ---------- */
.cmshop-related-section { padding: 0 24px 48px; }
.cmshop-related-section h2 { font-size: 22px; font-weight: 800; margin: 0 0 18px; }
.cmshop-promo-section { padding: 0 24px 48px; }
.cmshop-promo-grid { flex-direction: row; gap: 20px; }
.cmshop-promo-grid .featured-promo-card { min-height: 170px; }

/* ---------- Subtle filter polish (sidebar, toolbar, buttons) ---------- */
@keyframes cmshopFadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.shop-sidebar .sidebar-box { animation: cmshopFadeUp .45s ease both; }
.shop-sidebar .sidebar-box:nth-child(2) { animation-delay: .07s; }
.shop-sidebar .sidebar-box:nth-child(3) { animation-delay: .14s; }
.shop-toolbar,
.cmshop-archive-header { animation: cmshopFadeUp .4s ease both; }
@media (prefers-reduced-motion: reduce) {
  .shop-sidebar .sidebar-box,
  .shop-toolbar,
  .cmshop-archive-header { animation: none; opacity: 1; transform: none; }
}

.sort-select,
.price-filter-inputs input,
.price-filter-form input[type="number"] { transition: border-color .2s ease, box-shadow .2s ease; }
.sort-select:focus-visible,
.price-filter-inputs input:focus-visible,
.price-filter-form input[type="number"]:focus-visible {
  outline: none; border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(255, 165, 0, .18);
}
.btn-apply { transition: background .2s ease, transform .15s ease, box-shadow .2s ease; }
.btn-apply:hover { box-shadow: var(--shadow-card-hover); }
.btn-apply:active { transform: scale(.96); }
.category-list li a { will-change: transform; }
.category-list li:not(.active) a:active { transform: scale(.98); }


.cmshop-archive-header { padding: 22px 24px 0; }
.cmshop-archive-header h1 {
  font-size: 28px; font-weight: 800; color: var(--text-dark); margin: 0 0 6px; position: relative; display: inline-block; padding-bottom: 12px;
}
.cmshop-archive-header h1::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; background: var(--green-primary); border-radius: 2px; }
.cmshop-archive-body { padding: 28px 24px 56px; }
.cmshop-archive-body .product-grid { margin: 0; }

/* WooCommerce's native sort dropdown, restyled to match .sort-select */
.woocommerce-ordering select.orderby {
  padding: 8px 14px; border-radius: 6px; border: 1px solid var(--border-soft);
  background: var(--white); font-size: 13px; color: var(--text-dark); font-family: var(--font-body);
}

/* WooCommerce's native pagination, restyled to match .cmshop-pagination */
.woocommerce-pagination { margin-top: 30px; }
.woocommerce-pagination ul.page-numbers { display: flex; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.woocommerce-pagination .page-numbers li { margin: 0; }
.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: 6px; background: var(--white); border: 1px solid var(--border-soft); font-size: 13px; font-weight: 600; color: var(--text-dark);
}
.woocommerce-pagination .page-numbers .current,
.woocommerce-pagination .page-numbers a:hover {
  background: var(--green-primary); color: #1a1200; border-color: var(--green-primary);
}

/* WooCommerce's native "no products found" notice */
.cmshop-archive-body .woocommerce-info {
  background: var(--green-pale); border: 1px dashed var(--border-soft); border-radius: var(--radius-md);
  padding: 16px 20px; font-size: 13.5px; color: var(--text-dark); list-style: none; margin: 0;
}

@media (max-width: 640px) {
  .cmshop-archive-header { padding: 18px 20px 0; }
  .cmshop-archive-body { padding: 20px 20px 40px; }
}


@media (max-width: 900px) {
  .cmshop-product-main { grid-template-columns: 1fr; gap: 24px; padding: 16px 20px 36px; }
  .cmshop-breadcrumb-row { padding: 14px 20px 0; }
  .cmshop-product-tabs,
  .cmshop-faq-section,
  .cmshop-related-section,
  .cmshop-promo-section { padding-left: 20px; padding-right: 20px; }
}
/* ---------- Cart page ---------- */
.cmshop-cart-body { padding: 8px 24px 56px; display: grid; grid-template-columns: 1fr 340px; gap: 30px; align-items: start; }
.cmshop-cart-body form.woocommerce-cart-form { grid-column: 1; }
.cmshop-cart-body .cart-collaterals { grid-column: 2; grid-row: 1 / span 2; }
.cmshop-cart-body .cross-sells { grid-column: 1; margin-top: 20px; }

table.cart {
  width: 100%; border-collapse: collapse; background: var(--white);
  border: 1px solid var(--border-soft); border-radius: var(--radius-md); overflow: hidden;
}
table.cart thead th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--text-muted); padding: 14px 12px; border-bottom: 1px solid var(--border-soft); }
table.cart td { padding: 14px 12px; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
table.cart tr:last-child td { border-bottom: 0; }
table.cart td.product-thumbnail img { width: 64px; border-radius: var(--radius-md); }
table.cart td.product-name a { color: var(--text-dark); font-weight: 600; font-size: 13.5px; }
table.cart td.product-price,
table.cart td.product-subtotal { color: var(--price-red); font-weight: 700; font-size: 13.5px; }
table.cart .quantity .qty { width: 60px; height: 38px; text-align: center; border: 1px solid var(--border-soft); border-radius: var(--radius-md); font-family: var(--font-body); }
table.cart td.product-remove a.remove {
  display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--green-pale); color: var(--price-red) !important; font-size: 16px; line-height: 1; transition: background .2s ease, transform .2s ease;
}
table.cart td.product-remove a.remove:hover { background: var(--price-red); color: #fff !important; transform: scale(1.08); }
table.cart tr.woocommerce-cart-form__cart-item:hover { background: var(--green-pale); }

td.actions { background: var(--green-pale); }
.coupon { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.coupon label { display: none; }
.coupon .input-text { padding: 9px 12px; border: 1px solid var(--border-soft); border-radius: var(--radius-md); font-size: 13px; font-family: var(--font-body); }
td.actions .button {
  padding: 10px 20px; border-radius: var(--radius-md); border: 1px solid var(--border-soft); background: var(--white);
  color: var(--text-dark); font-weight: 700; font-size: 13px; cursor: pointer; transition: border-color .2s ease, color .2s ease;
}
td.actions .button:hover { border-color: var(--green-primary); color: var(--green-primary-dark); }
td.actions .button.btn-apply { background: var(--green-primary); color: #1a1200; border: none; }
td.actions .button.btn-apply:hover { background: var(--green-primary-dark); color: #1a1200; }

.cart-collaterals .cart_totals {
  background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: 20px;
}
.cart_totals h2 { font-size: 17px; margin: 0 0 14px; }
.cart_totals table { width: 100%; border-collapse: collapse; }
.cart_totals tr th,
.cart_totals tr td { padding: 10px 0; border-bottom: 1px solid var(--border-soft); font-size: 13.5px; color: var(--text-dark); text-align: left; }
.cart_totals tr:last-child th,
.cart_totals tr:last-child td { border-bottom: 0; }
.cart_totals .order-total th,
.cart_totals .order-total td { font-size: 16px; font-weight: 800; }
.cart_totals .order-total .woocommerce-Price-amount { color: var(--price-red); }
.wc-proceed-to-checkout a.checkout-button {
  display: block; width: 100%; text-align: center; margin-top: 14px; padding: 13px; border-radius: var(--radius-md);
  background: var(--green-primary); color: #1a1200; font-weight: 700; font-size: 14px; transition: background .2s ease, transform .2s ease;
}
.wc-proceed-to-checkout a.checkout-button:hover { background: var(--green-primary-dark); transform: translateY(-1px); }

.cross-sells h2 { font-size: 17px; margin: 0 0 14px; }
.cross-sells ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cross-sells ul.products li.product {
  background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: 14px; text-align: center;
}
.cross-sells ul.products li.product img { border-radius: var(--radius-md); margin-bottom: 8px; }
.cross-sells ul.products li.product .woocommerce-loop-product__title { font-size: 13px; font-weight: 600; color: var(--text-dark); }
.cross-sells ul.products li.product .price { color: var(--price-red); font-weight: 700; font-size: 13px; }

.cmshop-cart-empty { text-align: center; padding: 40px 24px; }
.cmshop-cart-empty a.button {
  display: inline-block; margin-top: 12px; padding: 11px 24px; border-radius: var(--radius-md);
  background: var(--green-primary); color: #1a1200; font-weight: 700; font-size: 13.5px;
}

@media (max-width: 900px) {
  .cmshop-cart-body { grid-template-columns: 1fr; }
  .cmshop-cart-body .cart-collaterals,
  .cmshop-cart-body .cross-sells { grid-column: 1; }
}
@media (max-width: 640px) {
  table.cart thead { display: none; }
  table.cart, table.cart tbody, table.cart tr, table.cart td { display: block; width: 100%; }
  table.cart tr { padding: 12px; border-bottom: 8px solid var(--green-pale); }
  table.cart td { border-bottom: 0; padding: 6px 0; text-align: right; }
  table.cart td::before { content: attr(data-title); float: left; font-weight: 700; color: var(--text-muted); font-size: 12px; }
  table.cart td.product-thumbnail::before { content: none; }
  .cross-sells ul.products { grid-template-columns: 1fr; }
}

/* ---------- Checkout page (CSS-only — form logic untouched) ---------- */
.woocommerce-checkout .container.cmshop-cart-body,
body.woocommerce-checkout .entry-content .container { padding: 8px 24px 56px; max-width: 1320px; margin: 0 auto; }
.woocommerce-checkout form.woocommerce-checkout {
  display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: start; max-width: 1320px; margin: 0 auto; padding: 8px 24px 56px;
}
#customer_details { grid-column: 1; background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: 22px; }
#order_review_heading,
#customer_details h3 { font-size: 17px; margin: 0 0 14px; }
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.woocommerce-checkout .form-row { margin-bottom: 14px; }
.woocommerce-checkout .form-row-wide { grid-column: 1 / -1; }
.woocommerce-checkout label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.woocommerce-checkout .input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border-soft); border-radius: var(--radius-md);
  font-size: 13.5px; font-family: var(--font-body); background: var(--white); color: var(--text-dark);
}
.woocommerce-checkout .input-text:focus-visible,
.woocommerce-checkout select:focus-visible,
.woocommerce-checkout textarea:focus-visible { outline: none; border-color: var(--green-primary); box-shadow: 0 0 0 3px rgba(255, 165, 0, .18); }
.woocommerce-checkout .select2-container .select2-selection--single { height: 42px; border: 1px solid var(--border-soft); border-radius: var(--radius-md); }
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 42px; color: var(--text-dark); }

#order_review { grid-column: 2; grid-row: 1 / span 2; background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: 22px; position: sticky; top: 90px; }
#order_review table.shop_table { border: 0; }
#order_review table.shop_table th,
#order_review table.shop_table td { border-bottom: 1px solid var(--border-soft); padding: 10px 0; font-size: 13px; }
#order_review .order-total .woocommerce-Price-amount { color: var(--price-red); font-weight: 800; }

#payment { grid-column: 2; background: var(--green-pale); border: 1px solid var(--border-soft); border-radius: var(--radius-md); margin-top: 16px; }
#payment ul.payment_methods { list-style: none; margin: 0; padding: 16px; border-bottom: 1px solid var(--border-soft); }
#payment ul.payment_methods li { margin-bottom: 8px; font-size: 13.5px; }
#payment .payment_box { background: var(--white); border-radius: var(--radius-md); padding: 12px; margin-top: 8px; font-size: 12.5px; color: var(--text-muted); }
#payment #place_order {
  display: block; width: calc(100% - 32px); margin: 16px; padding: 13px; border: 0; border-radius: var(--radius-md);
  background: var(--green-primary); color: #1a1200; font-weight: 700; font-size: 14px; cursor: pointer; transition: background .2s ease, transform .2s ease;
}
#payment #place_order:hover { background: var(--green-primary-dark); transform: translateY(-1px); }

.woocommerce-checkout .checkout_coupon,
.woocommerce-checkout .woocommerce-form-login {
  background: var(--green-pale); border: 1px dashed var(--border-soft); border-radius: var(--radius-md);
  padding: 16px; max-width: 1320px; margin: 0 auto 16px; grid-column: 1 / -1;
}
.woocommerce-checkout .woocommerce-info { grid-column: 1 / -1; }

@media (max-width: 900px) {
  .woocommerce-checkout form.woocommerce-checkout { grid-template-columns: 1fr; padding: 16px 20px 40px; }
  #customer_details, #order_review, #payment { grid-column: 1; }
  #order_review { position: static; grid-row: auto; }
  .woocommerce-billing-fields__field-wrapper,
  .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
}

/* ---------- Checkout page: Block Checkout (WooCommerce Blocks) ---------- */
.wp-block-woocommerce-checkout { max-width: 1320px; margin: 0 auto; padding: 8px 24px 56px; }
.wc-block-checkout__main { display: flex; flex-direction: column; gap: 18px; }
.wc-block-components-checkout-step {
  background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius-md);
  padding: 20px 22px; margin: 0 !important;
}
.wc-block-components-checkout-step__heading .wc-block-components-checkout-step__title { font-size: 17px; font-weight: 800; color: var(--text-dark); }
.wc-block-components-checkout-step__description { font-size: 12.5px; color: var(--text-muted); }

.wc-block-components-text-input,
.wc-block-components-address-form .wc-block-components-country-input,
.wc-block-components-address-form .wc-block-components-state-input {
  border: 1px solid var(--border-soft) !important; border-radius: var(--radius-md) !important;
}
.wc-block-components-text-input input,
.wc-block-components-text-input.is-active label { border-color: transparent; }
.wc-block-components-text-input input:focus,
.wc-block-components-text-input.is-active { border-color: var(--green-primary) !important; box-shadow: 0 0 0 3px rgba(255, 165, 0, .18) !important; }
.wc-block-components-checkbox input[type="checkbox"]:checked { background-color: var(--green-primary) !important; border-color: var(--green-primary) !important; }

.wc-block-components-notice-banner { border-radius: var(--radius-md) !important; }
.wc-block-components-checkout-place-order-button {
  background: var(--green-primary) !important; color: #1a1200 !important; border: 0 !important;
  border-radius: var(--radius-md) !important; font-weight: 700 !important; transition: background .2s ease, transform .2s ease !important;
}
.wc-block-components-checkout-place-order-button:hover { background: var(--green-primary-dark) !important; transform: translateY(-1px); }

.wc-block-checkout__sidebar,
.wc-block-components-order-summary,
.wc-block-components-totals-wrapper {
  background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius-md);
}
.wc-block-checkout__sidebar { padding: 4px; position: sticky; top: 90px; }
.wc-block-components-order-summary__button-text { color: var(--text-dark); }
.wc-block-components-totals-item__value,
.wc-block-components-order-summary-item__total-price { color: var(--price-red); font-weight: 700; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: 17px; font-weight: 800; }

@media (max-width: 900px) {
  .wp-block-woocommerce-checkout .wc-block-checkout__form,
  .wp-block-woocommerce-checkout { padding: 16px 20px 40px; }
}



