﻿/* Align WooCommerce overrides */

/* ─── HIGH-SPECIFICITY OVERRIDE: Glozin/Elementor injects lime-green (#84cc16) ─ */
html .woocommerce a.button.add_to_cart_button,
html .woocommerce a.button.ajax_add_to_cart,
html .woocommerce button.single_add_to_cart_button,
html .woocommerce .single_add_to_cart_button,
html .single_add_to_cart_button,
html .glozin-product-actions .button,
html .product .add_to_cart_button,
html .woocommerce a.button.add_to_cart_button.loading,
html .woocommerce a.button.add_to_cart_button.added,
html .single_add_to_cart_button.loading,
html .single_add_to_cart_button.added,
html .single_add_to_cart_button:disabled,
html .single_add_to_cart_button.disabled,
html .single_add_to_cart_button.wc-variation-selection-needed,
html .woocommerce button[type=submit],
html .woocommerce input[type=submit] {
  background:#0a0a0a!important;
  background-color:#0a0a0a!important;
  color:#fff!important;
  border-radius:99px!important;
  padding:14px 28px!important;
  font-size:13px!important;
  font-weight:700!important;
  border:0!important;
  cursor:pointer!important;
  letter-spacing:0!important;
}
html .woocommerce a.button.add_to_cart_button:hover,
html .woocommerce button.single_add_to_cart_button:hover,
html .single_add_to_cart_button:hover,
html .woocommerce button[type=submit]:hover,
html .woocommerce input[type=submit]:hover {
  background:#333!important;
  background-color:#333!important;
  color:#fff!important;
}

/* Override lime-green coupon/promo chips from Glozin */
.align-coupon-chip { background:rgba(0,0,0,.06)!important; color:#111!important; border-color:rgba(0,0,0,.12)!important; }

/* WC notices */
.woocommerce-notices-wrapper{margin-bottom:20px}
.woocommerce-message,.woocommerce-error,.woocommerce-info{border-left:4px solid var(--green);background:var(--sage);padding:16px 20px;border-radius:8px;font-size:14px;list-style:none;margin:0 0 20px}
.woocommerce-error{border-color:#d94f4f;background:#fef5f5}
.woocommerce-message::before,.woocommerce-error::before,.woocommerce-info::before{display:none}
.woocommerce-message .button{float:right;font-size:12px;padding:6px 14px}

/* ─── SIDE CART DRAWER ─────────────────────────────────────────────────────── */
.woocommerce-mini-cart{list-style:none;padding:0;margin:0}
.woocommerce-mini-cart__empty-message{text-align:center;padding:60px 0;color:var(--muted);font-size:14px}
.woocommerce-mini-cart-item{display:grid;grid-template-columns:76px 1fr;gap:14px;align-items:start;padding:16px 0;border-bottom:1px solid var(--line)}
.woocommerce-mini-cart-item img{width:76px;height:90px;object-fit:contain;background:#f5f5f5;border-radius:10px}
.woocommerce-mini-cart-item .woocommerce-loop-product__title{font-size:14px;font-weight:600;color:var(--ink);margin-bottom:4px;line-height:1.35}
.woocommerce-mini-cart-item .quantity{font-size:12px;color:var(--muted);margin-top:4px}
.woocommerce-mini-cart-item .remove_from_cart_button{display:inline-block;margin-top:6px;font-size:11px;color:var(--muted);text-decoration:none;background:none;border:0;padding:0;cursor:pointer;letter-spacing:.02em}
.woocommerce-mini-cart-item .remove_from_cart_button:hover{color:#c0392b}
.woocommerce-mini-cart__total{display:flex;justify-content:space-between;padding:16px 0 8px;font-weight:700;font-size:16px;border-top:1px solid var(--line);margin-top:4px}
.woocommerce-mini-cart__buttons{display:flex;flex-direction:column;gap:10px;padding-top:12px}
.woocommerce-mini-cart__buttons .button,
.woocommerce-mini-cart__buttons a{display:block;text-align:center;padding:14px;border-radius:99px;font-size:13px;font-weight:700;text-decoration:none}
.woocommerce-mini-cart__buttons .checkout{background:#0a0a0a;color:#fff}
.woocommerce-mini-cart__buttons .checkout:hover{background:#333}
.woocommerce-mini-cart__buttons .button:not(.checkout){background:#fff;color:#0a0a0a;border:1.5px solid #e0e0e0}
.woocommerce-mini-cart__buttons .button:not(.checkout):hover{background:#f5f5f5}

/* ─── PRODUCT PAGE ──────────────────────────────────────────────────────────── */
.woocommerce div.product div.images{margin-bottom:0}
.woocommerce div.product div.images .woocommerce-product-gallery__image{border-radius:18px;overflow:hidden;background:#f2f2f2}
.woocommerce div.product div.images .flex-viewport{border-radius:18px;overflow:hidden}
.woocommerce div.product p.price{font-size:28px;font-weight:750;color:var(--ink);letter-spacing:-.03em;margin:0 0 14px}
.woocommerce div.product p.price ins{text-decoration:none}
.woocommerce div.product p.price del{font-size:18px;color:var(--muted);font-weight:400}
.woocommerce div.product form.cart .qty{width:60px;text-align:center;border-radius:8px;border:1px solid var(--line);padding:10px}
.woocommerce div.product form.cart .button{background:#0a0a0a;color:#fff;border-radius:99px;padding:15px 32px;font-size:14px;font-weight:700;border:0;cursor:pointer;min-width:180px}
.woocommerce div.product form.cart .button:hover{background:#333}

/* Variation swatches */
.variations td,.variations th{padding:8px 0;font-size:13px}
.variations .label label{font-weight:600}
.variations select{border-radius:8px;font-size:13px;padding:10px 14px;border:1px solid var(--line)}

/* WC tabs */
.woocommerce-tabs{border-top:1px solid var(--line);margin-top:40px;padding-top:40px}
.woocommerce-tabs ul.tabs{list-style:none;padding:0;margin:0 0 30px;display:flex;gap:8px;border-bottom:1px solid var(--line);padding-bottom:14px}
.woocommerce-tabs ul.tabs li{padding:0}
.woocommerce-tabs ul.tabs li a{display:block;padding:8px 16px;border-radius:99px;font-size:13px;font-weight:600;color:var(--muted)}
.woocommerce-tabs ul.tabs li.active a{background:#0a0a0a;color:#fff}
.woocommerce-tabs ul.tabs li::before,.woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce-tabs .panel{font-size:14px;line-height:1.8;color:var(--muted)}

/* Reviews */
#reviews .comment-form-rating label{font-size:13px;font-weight:600}
#reviews .stars a{font-size:18px;color:#0a0a0a}
#reviews .comment_container img{border-radius:50%}

/* Stock status */
.woocommerce .in-stock,.woocommerce .out-of-stock{font-size:12px;font-weight:600;padding:4px 10px;border-radius:99px;display:inline-block}
.woocommerce .in-stock{background:#f0f0f0;color:#111}
.woocommerce .out-of-stock{background:#fef2f2;color:#c0392b}

/* Cart & checkout */
.woocommerce table.shop_table{width:100%;border-collapse:collapse;font-size:14px}
.woocommerce table.shop_table th{text-align:left;padding:12px 16px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);border-bottom:2px solid var(--line)}
.woocommerce table.shop_table td{padding:18px 16px;border-bottom:1px solid var(--line);vertical-align:middle}
.woocommerce table.shop_table .product-thumbnail img{width:70px;height:80px;object-fit:contain;background:var(--sage);border-radius:9px}
.woocommerce table.shop_table .product-name a{font-weight:600;font-size:15px;color:var(--ink)}
.woocommerce .cart-collaterals{display:flex;justify-content:flex-end;margin-top:30px}
.woocommerce .cart_totals{min-width:340px;background:var(--sage);padding:28px;border-radius:16px}
.woocommerce .cart_totals table{width:100%;font-size:14px}
.woocommerce .cart_totals table th,.woocommerce .cart_totals table td{padding:10px 0;border-bottom:1px solid var(--line)}
.woocommerce .cart_totals table .order-total td,.woocommerce .cart_totals table .order-total th{font-weight:750;font-size:18px;border-bottom:0}
.woocommerce .wc-proceed-to-checkout a{display:block;text-align:center;background:#0a0a0a;color:#fff;border-radius:99px;padding:16px;font-size:14px;font-weight:700;margin-top:20px}
.woocommerce .wc-proceed-to-checkout a:hover{background:#333}

/* Account pages */
.woocommerce-account .woocommerce-MyAccount-navigation{min-width:200px}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0}
.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block;padding:10px 14px;border-radius:8px;font-size:13px;color:var(--muted);margin-bottom:4px}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{background:var(--sage);color:var(--ink)}

/* Forms */
.woocommerce form .form-row{margin-bottom:18px}
.woocommerce form .form-row label{display:block;font-size:13px;font-weight:600;margin-bottom:6px}
.woocommerce form .form-row input,.woocommerce form .form-row textarea,.woocommerce form .form-row select{width:100%;border:1px solid var(--line);border-radius:10px;padding:13px 16px;font-size:14px}
.woocommerce form .form-row input:focus,.woocommerce form .form-row textarea:focus,.woocommerce form .form-row select:focus{outline:2px solid #888;outline-offset:2px;border-color:transparent}

/* Coupon */
.woocommerce .coupon{display:flex;gap:10px}
.woocommerce .coupon input{flex:1;border-radius:10px}
.woocommerce .coupon button{border-radius:99px;white-space:nowrap}

/* Remove WC default layout quirks */
.woocommerce-page .woocommerce{max-width:none}
/* ─── OVERRIDE ALL REMAINING GLOZIN LIME-GREEN ELEMENTS ────────────────────── */
.align-filter__pill.is-active,
.align-filter__pill:hover,
html .align-filter__pill.is-active,
html .align-filter__pill:hover {
  background:#0a0a0a!important;
  color:#fff!important;
  border-color:#0a0a0a!important;
}
/* Variation color swatch dots (square color boxes) */
html .glozin-swatch.selected,
html .glozin-swatch:hover,
html [class*="glozin-swatch"].active {
  border-color:#0a0a0a!important;
  outline-color:#0a0a0a!important;
}
/* Any remaining lime-green divs (color indicators etc) */
html .gz-product-feature,
html .gz-feature-badge,
html [class*="align-badge"],
html [class*="gz-badge"] {
  background:#f0f0f0!important;
  color:#111!important;
}
/* Stock indicator + misc badges */
html .gz-in-stock-indicator,
html .gz-stock-badge { background:#f0f0f0!important; color:#111!important; }