/*
	Theme Name: Hello Elementor
	Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
	Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
	Author: Elementor Team
	Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
	Version: 3.4.4
	Stable tag: 3.4.4
	Requires at least: 6.0
	Tested up to: 6.8
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-elementor
	Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready,
*/

/* ============================================================
   DR.SOIL — Cart Page Custom Styles
   Bazat pe HTML-ul real randat de WooCommerce Blocks
   Adaugă în functions.php via wp_enqueue_style() cu is_cart()
   ============================================================ */

/* ----------------------------------------------------------
   1. LAYOUT PRINCIPAL — sidebar layout
   ---------------------------------------------------------- */

.wc-block-components-sidebar-layout.wc-block-cart {
  font-family: 'Metallophile Sp8 Medium', sans-serif !important;
	background: transparent !important;
}

.wc-block-cart__main {
  background: transparent !important;
}

/* ----------------------------------------------------------
   2. TABEL PRODUSE — wc-block-cart-items
   ---------------------------------------------------------- */

table.wc-block-cart-items {
  background: #6C3F1F !important;
  border: 1px solid #6C3F1F !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  font-family: 'Metallophile Sp8 Medium', sans-serif !important;
  box-shadow: 0 2px 10px rgba(108, 63, 31, 0.08) !important;
  width: 100% !important;
}

/* Header tabel */
.wc-block-cart-items__header {
  background: transparent !important;
	border: none !important;
}

.wc-block-cart-items__header th {
  font-family: 'Metallophile Sp8 Medium', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #6c3f1f !important;
  padding: 0.85rem 1rem !important;
  border-bottom: 2px solid #d4c49a !important;
}

/* Rânduri produse */
.wc-block-cart-items__row {
  border-bottom: 1px solid #e8dfc0 !important;
  transition: background 0.15s ease !important;
}

.wc-block-cart-items__row:last-child {
  border-bottom: none !important;
}


/* Celule tabel */
.wc-block-cart-item__image,
.wc-block-cart-item__product,
.wc-block-cart-item__total {
  padding: 0.9rem 1rem !important;
  vertical-align: middle !important;
}

/* Imagine produs */
.wc-block-cart-item__image img {
  border-radius: 6px !important;
  border: 1px solid #e0d5b8 !important;
  width: 60px !important;
  height: 60px !important;
  object-fit: cover !important;
}

/* Nume produs (link) */
a.wc-block-components-product-name {
  font-family: 'Metallophile Sp8 Medium', sans-serif !important;
  font-size: 0.9rem !important;
  color: #3a2510 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

a.wc-block-components-product-name:hover {
  color: #6c3f1f !important;
  text-decoration: underline !important;
}
.wp-block-heading{
	  font-family: 'Metallophile Sp8 Medium', sans-serif !important;

}
.entry-title{
	display: none !important;
}
/* Descriere produs */
.wc-block-components-product-metadata__description p {
  display: none !important;
}

/* Preț în rând produs */
.wc-block-cart-item__prices .wc-block-components-product-price,
.wc-block-cart-item__prices .wc-block-formatted-money-amount {
  font-family: 'Metallophile Sp8 Medium', sans-serif !important;
  font-size: 0.88rem !important;
  color: #6c3f1f !important;
  font-weight: 600 !important;
}

/* Total per rând (coloana din dreapta) */
.wc-block-cart-item__total .wc-block-components-product-price,
.wc-block-cart-item__total .wc-block-formatted-money-amount {
  font-family: 'Metallophile Sp8 Medium', sans-serif !important;
  font-size: 0.95rem !important;
  color: #6c3f1f !important;
  font-weight: 700 !important;
}

/* ----------------------------------------------------------
   3. QUANTITY SELECTOR
   ---------------------------------------------------------- */

.wc-block-components-quantity-selector {
  border: 1px solid #d4c49a !important;
  border-radius: 6px !important;
  background: #fdf8ec !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
}

.wc-block-components-quantity-selector__input {
  font-family: 'Metallophile Sp8 Medium', sans-serif !important;
  color: #3a2510 !important;
  background: transparent !important;
  border: none !important;
  text-align: center !important;
  width: 40px !important;
  font-size: 0.9rem !important;
}

.wc-block-components-quantity-selector__button {
  background: #f0e6cc !important;
  color: #6c3f1f !important;
  border: none !important;
  font-size: 1.1rem !important;
  padding: 0.3rem 0.6rem !important;
  cursor: pointer !important;
  transition: background 0.15s !important;
}

.wc-block-components-quantity-selector__button:hover:not(:disabled) {
  background: #d4c49a !important;
}

.wc-block-components-quantity-selector__button:disabled {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
}

/* Buton remove (coș de gunoi) */
.wc-block-cart-item__remove-link {
  background: none !important;
  border: none !important;
  color: #b07a50 !important;
  cursor: pointer !important;
  padding: 0.2rem !important;
  margin-left: 0.5rem !important;
  opacity: 0.7 !important;
  transition: opacity 0.15s, color 0.15s !important;
}

.wc-block-cart-item__remove-link:hover {
  color: #8b1a1a !important;
  opacity: 1 !important;
}

.wc-block-cart-item__remove-link svg {
  fill: currentColor !important;
}

/* ----------------------------------------------------------
   4. SIDEBAR — ORDER SUMMARY
   ---------------------------------------------------------- */

.wc-block-components-sidebar.wc-block-cart__sidebar {
  font-family: 'Metallophile Sp8 Medium', sans-serif !important;
}

.wp-block-woocommerce-cart-order-summary-block {
  background: transparent !important;
  border: 1px solid #6C3F1F !important;
  border-radius: 20px !important;
  padding: 1.5rem !important;
  box-shadow: 0 2px 10px rgba(108, 63, 31, 0.08) !important;
  font-family: Georgia, serif !important;
}

/* Titlu "Basket totals" */
h2.wc-block-cart__totals-title {
  font-family: 'Metallophile Sp8 Medium', sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #3a2510 !important;
  border-bottom: 2px solid #d4c49a !important;
  padding-bottom: 0.85rem !important;
  margin-bottom: 1rem !important;
  margin-top: 0 !important;
}

/* ----------------------------------------------------------
   5. TOTALS ITEMS (Subtotal, Shipping, Total)
   ---------------------------------------------------------- */

.wc-block-components-totals-wrapper {
  border-bottom: 1px solid #e8dfc0 !important;
  padding: 0.75rem 0 !important;
}

.wc-block-components-totals-wrapper:last-child {
  border-bottom: none !important;
}

.wc-block-components-totals-item {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-family: Georgia, serif !important;
}

.wc-block-components-totals-item__label {
  font-family: 'Metallophile Sp8 Medium', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  color: #3a2510 !important;
}

.wc-block-components-totals-item__value,
.wc-block-formatted-money-amount.wc-block-components-totals-item__value {
  font-family: 'Metallophile Sp8 Medium', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  color: #3a2510 !important;
}

/* Total final (Estimated total / Total) */
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: #3a2510 !important;
}

.wc-block-components-totals-footer-item-tax-value,
.wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
  font-family: 'Metallophile Sp8 Medium', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #3a2510 !important;
}

.wc-block-components-totals-footer-item {
  border-top: 2px solid #3a2510 !important;
  padding-top: 0.85rem !important;
  margin-top: 0.25rem !important;
}

/* ----------------------------------------------------------
   6. COUPON / ADD COUPONS
   ---------------------------------------------------------- */

.wc-block-components-totals-coupon.wc-block-components-panel {
  font-family: 'Metallophile Sp8 Medium', sans-serif !important;
  border: 1px dashed #d4c49a !important;
  border-radius: 6px !important;
  padding: 0.5rem 0.75rem !important;
  margin-bottom: 0.5rem !important;
}

.wc-block-components-panel__button {
  font-family: 'Metallophile Sp8 Medium', sans-serif !important;
  font-size: 0.85rem !important;
  color: #6c3f1f !important;
  font-style: italic !important;
  cursor: pointer !important;
}

.wc-block-components-panel__button-icon path {
  fill: #6c3f1f !important;
}

/* ----------------------------------------------------------
   7. BUTON PROCEED TO CHECKOUT
   ---------------------------------------------------------- */

.wc-block-cart__submit-button.contained,
a.wc-block-cart__submit-button {
  background-color: #2d5a27 !important;
  color: #e7dfc8 !important;
  font-family: 'Metallophile Sp8 Medium', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  border-radius: 7px !important;
  border: none !important;
  padding: 1rem 1.5rem !important;
  text-align: center !important;
  letter-spacing: 0.02em !important;
  transition: background 0.2s ease, transform 0.1s ease !important;
  text-decoration: none !important;
  display: block !important;
  width: 100% !important;
  box-shadow: 0 3px 8px rgba(45, 90, 39, 0.25) !important;
}

.wc-block-cart__submit-button.contained:hover,
a.wc-block-cart__submit-button:hover {
  background-color: #214a1c !important;
  transform: translateY(-1px) !important;
  color: #e7dfc8 !important;
}

.wc-block-components-button__text {
  font-family: 'Metallophile Sp8 Medium', sans-serif !important;
  font-weight: 700 !important;
}

.wc-block-cart__submit-container {
  margin-top: 1rem !important;
}

/* "Or" separator între express payments și checkout */
.wc-block-components-express-payment-continue-rule {
  font-family: 'Metallophile Sp8 Medium', sans-serif !important;
  color: #9b7a5a !important;
  font-size: 0.85rem !important;
  font-style: italic !important;
  text-align: center !important;
  margin: 0.75rem 0 !important;
}

/* ----------------------------------------------------------
   8. BEST SELLING PRODUCTS — product-collection
   ---------------------------------------------------------- */

.wp-block-woocommerce-product-collection h2.wp-block-heading {
  font-family: 'Metallophile Sp8 Medium', sans-serif !important;
  color: #6c3f1f !important;
  font-size:2rem !important;
  font-weight: 700 !important;
}

ul.wc-block-product-template li.wc-block-product {
  background: #eeebdd !important;
  border: 1px solid #e0d5b8 !important;
  border-radius: 20px !important;
  padding: 1rem !important;
  transition: box-shadow 0.2s, transform 0.2s !important;
}

ul.wc-block-product-template li.wc-block-product:hover {
  box-shadow: 0 4px 14px rgba(108, 63, 31, 0.12) !important;
  transform: translateY(-2px) !important;
}

/* Titlu produs în grid */
ul.wc-block-product-template .wp-block-post-title a {
  font-family: Teutonic, serif !important;
  color: #6c3f1f !important;
  text-decoration: none !important;
  font-size: 1.2rem !important;
}

ul.wc-block-product-template .wp-block-post-title a:hover {
  text-decoration: underline !important;
}

/* Preț în grid */
ul.wc-block-product-template .wc-block-components-product-price {
  font-family: Georgia, serif !important;
  color: #6c3f1f !important;
}

/* Imagine produs în grid */
.wc-block-components-product-image img {
	border-radius:20px !important;
	width:200px !important;
}

/* ----------------------------------------------------------
   9. SHIPPING OPTIONS în totals
   ---------------------------------------------------------- */

.wc-block-components-totals-shipping .wc-block-components-totals-item__label {
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: #3a2510 !important;
}