/*
Theme Name: CreativePhila
Theme URI: https://creativephila.com
Author: CreativePhila
Description: Custom theme for CreativePhila, an Indian philately e-commerce store. Built to match the original CreativePhila design (maroon/gold/cream) and wired to WooCommerce.
Version: 1.0
Text Domain: creativephila
*/

:root {
  --maroon: #7a1f2b;
  --maroon-dark: #591420;
  --gold: #c9a227;
  --cream: #faf6ee;
  --ink: #26201b;
  --gray: #6b6259;
  --border: #e6ddcb;
  --green: #2e7d4f;
  --navy: #1c2a5c;
  --link-blue: #2f5fdb;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; background: var(--cream); color: var(--ink); line-height: 1.5; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.topbar { background: var(--maroon-dark); color: #f2e9d8; font-size: 13px; padding: 6px 0; }
.topbar .container { display: flex; justify-content: space-between; }

/* Header */
header.site-header { background: #fff; border-bottom: 3px solid var(--maroon); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 24px; }
.logo { font-size: 26px; font-weight: bold; color: var(--maroon); letter-spacing: 0.5px; }
.logo span { color: var(--gold); }
.search-box { flex: 1; max-width: 420px; display: flex; }
.search-box input { flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-right: none; border-radius: 4px 0 0 4px; font-family: inherit; }
.search-box button { background: var(--maroon); color: #fff; border: none; padding: 0 16px; border-radius: 0 4px 4px 0; cursor: pointer; }
.header-actions { display: flex; align-items: center; gap: 20px; font-size: 14px; }
.cart-link { position: relative; font-weight: bold; }
.cart-badge { background: var(--gold); color: #fff; border-radius: 50%; font-size: 11px; padding: 1px 6px; position: absolute; top: -10px; right: -14px; }

nav.main-nav { background: var(--maroon); }
nav.main-nav ul { list-style: none; display: flex; flex-wrap: wrap; }
nav.main-nav li { position: relative; }
.nav-item-row { display: flex; align-items: center; }
nav.main-nav a { display: block; padding: 12px 16px; color: #fff; font-size: 14px; }
nav.main-nav a:hover { background: var(--maroon-dark); }
nav.main-nav .caret { font-size: 10px; }
.submenu-toggle { display: none; background: none; border: none; color: #fff; padding: 12px 14px; cursor: pointer; font-size: 12px; }
.has-dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; min-width: 240px; box-shadow: 0 8px 20px rgba(0,0,0,0.15); border-radius: 0 0 6px 6px; z-index: 60; padding: 6px 0; max-height: 360px; overflow-y: auto; }
.has-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { color: var(--ink) !important; padding: 8px 16px; font-size: 13px; }
.dropdown-menu a:hover { background: var(--cream); color: var(--maroon) !important; }

/* Mobile hamburger toggle (hidden on desktop) */
.hamburger-btn { display: none; background: none; border: none; font-size: 24px; color: var(--maroon); cursor: pointer; padding: 4px 8px; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%); color: #fff; padding: 60px 0; }
.hero .container { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.hero-text { flex: 1; min-width: 280px; }
.hero-text h1 { font-size: 34px; margin-bottom: 14px; }
.hero-text p { color: #e9dcc4; margin-bottom: 22px; max-width: 480px; }
.btn { display: inline-block; background: var(--gold); color: #fff; padding: 12px 26px; border-radius: 4px; font-weight: bold; border: none; cursor: pointer; font-size: 15px; }
.btn:hover { opacity: 0.9; }
.btn-outline { background: transparent; border: 2px solid var(--maroon); color: var(--maroon); }
.hero .btn-outline { border-color: #fff; color: #fff; margin-left: 10px; }

/* Section headings */
.section { padding: 46px 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; border-bottom: 2px solid var(--border); padding-bottom: 10px; }
.section-head h2 { color: var(--maroon); font-size: 24px; }
.section-head a { color: var(--gold); font-size: 14px; font-weight: bold; }

/* Category chips */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.cat-card { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 18px 10px; text-align: center; font-size: 14px; font-weight: bold; color: var(--maroon); transition: 0.15s; }
.cat-card:hover { border-color: var(--maroon); box-shadow: 0 2px 10px rgba(0,0,0,0.08); }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.product-card { background: #fff; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; transition: 0.15s; height: 100%; }
.product-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); transform: translateY(-2px); }
.product-card img { height: 170px; object-fit: contain; background: #f0ebe0; width: 100%; display: block; }
.product-image-outer { position: relative; }
.product-image-wrap { position: relative; overflow: hidden; }
.pc-thumb-zoom { display: none; position: absolute; top: 10px; left: 100%; margin-left: 8px; max-width: 192px; max-height: 192px; width: auto; height: auto; object-fit: contain; border: 2px solid var(--maroon); border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); z-index: 80; background: #fff; }
.product-image-outer:hover .pc-thumb-zoom { display: block; }
.discount-ribbon { position: absolute; top: 14px; left: -32px; background: var(--green); color: #fff; font-size: 11px; font-weight: bold; padding: 3px 34px; transform: rotate(-45deg); box-shadow: 0 2px 6px rgba(0,0,0,0.25); z-index: 5; letter-spacing: 0.3px; }
.product-body { padding: 14px; display: flex; flex-direction: column; flex: 1; }
.product-top { flex: 1; }
.product-bottom { margin-top: auto; }
.product-cat { font-size: 11px; color: var(--gold); font-weight: bold; text-transform: uppercase; letter-spacing: 0.5px; }
.product-name { font-size: 15px; margin: 6px 0; }
.price-row { display: flex; align-items: baseline; gap: 8px; margin: 8px 0; flex-wrap: wrap; }
.price { font-size: 18px; font-weight: bold; color: var(--maroon); }
.mrp { font-size: 13px; color: var(--gray); text-decoration: line-through; }
.save-percent { font-size: 13px; color: var(--green); font-weight: bold; margin-left: 8px; }
.stock-badge { font-size: 12px; color: var(--green); margin-bottom: 8px; }
.stock-badge.low { color: #b45309; }
.stock-badge.out { color: #b91c1c; }
.wishlist-heart-btn { position: absolute; top: 8px; right: 8px; background: rgba(255,255,255,0.9); border: none; width: 32px; height: 32px; border-radius: 50%; font-size: 17px; color: var(--gray); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(0,0,0,0.15); z-index: 5; }
.wishlist-heart-btn.saved { color: #d32f2f; }
.wishlist-heart-btn:hover { transform: scale(1.08); }
.add-cart-btn { background: var(--maroon); color: #fff; border: none; padding: 9px; border-radius: 4px; font-size: 13px; cursor: pointer; font-weight: bold; width: 100%; }
.add-cart-btn:hover { background: var(--maroon-dark); }
.add-cart-btn:disabled { background: var(--gray); cursor: not-allowed; }

/* Filters (shop page) */
.shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: 30px; }
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: start; }
.filters { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 18px; height: fit-content; }
.filters h3 { font-size: 15px; margin-bottom: 10px; color: var(--maroon); }
.filters label { display: block; font-size: 14px; margin: 6px 0; cursor: pointer; }
.filters select, .filters input[type=number] { width: 100%; padding: 7px; border: 1px solid var(--border); border-radius: 4px; margin-bottom: 12px; font-family: inherit; }
.filters-toggle-btn { display: none; width: 100%; background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 12px; font-family: inherit; font-size: 14px; font-weight: bold; color: var(--maroon); margin-bottom: 14px; cursor: pointer; text-align: left; }

/* Product detail */
.pd-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.pd-layout img { border: 1px solid var(--border); border-radius: 8px; width: 100%; }
.pd-info h1 { color: var(--maroon); font-size: 26px; margin-bottom: 10px; }
.pd-meta { color: var(--gray); font-size: 14px; margin-bottom: 16px; }
.pd-price { font-size: 30px; color: var(--maroon); font-weight: bold; }
.qty-row { display: flex; align-items: center; gap: 12px; margin: 18px 0; }
.qty-row input { width: 60px; padding: 8px; text-align: center; border: 1px solid var(--border); border-radius: 4px; }

/* Cart & checkout */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cart-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 560px; }
.cart-table th, .cart-table td { padding: 12px; border-bottom: 1px solid var(--border); text-align: left; font-size: 14px; }
.cart-table th.amount-col, .cart-table td.amount-col { text-align: right; }
table th.amount-col, table td.amount-col { text-align: right; }
.img-thumb-wrap { position: relative; display: inline-block; }
.img-thumb-small { width: 60px; height: 60px; object-fit: contain; border-radius: 4px; border: 1px solid var(--border); cursor: zoom-in; display: block; background: #f4f4f4; }
.img-thumb-zoom { display: none; position: absolute; top: -10px; left: 68px; max-width: 192px; max-height: 192px; width: auto; height: auto; object-fit: contain; border: 2px solid var(--maroon); border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); z-index: 80; background: #fff; }
.img-thumb-wrap:hover .img-thumb-zoom { display: block; }
.cart-table img { width: 60px; height: 60px; object-fit: contain; border-radius: 4px; background: #f4f4f4; }
.cart-summary { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 20px; max-width: 340px; margin-left: auto; margin-top: 20px; }
.cart-summary .row { display: flex; justify-content: space-between; margin: 8px 0; font-size: 14px; }
.cart-summary .total { font-weight: bold; font-size: 18px; color: var(--maroon); border-top: 1px solid var(--border); padding-top: 10px; margin-top: 10px; }
.remove-link { color: #b91c1c; font-size: 13px; cursor: pointer; }

.checkout-form { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 24px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.checkout-form label, .wizard-step label { display: block; font-size: 13px; font-weight: bold; margin-bottom: 4px; margin-top: 12px; }
.checkout-form input, .checkout-form select, .checkout-form textarea,
.wizard-step input[type=text], .wizard-step input[type=email], .wizard-step input[type=tel], .wizard-step select {
  width: 100%; padding: 10px; border: 1px solid var(--border); border-radius: 4px; font-family: inherit;
}

/* Footer */
footer { background: var(--maroon-dark); color: #e9dcc4; padding: 40px 0 20px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 26px; }
footer h4 { color: #fff; margin-bottom: 12px; font-size: 15px; }
footer ul { list-style: none; }
footer li { margin-bottom: 6px; font-size: 13px; }
.footer-bottom { text-align: center; font-size: 12px; margin-top: 30px; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 16px; color: #cbb98f; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--gray); }
.badge-alert { background: #fff8e1; border: 1px solid var(--gold); padding: 10px 16px; border-radius: 6px; font-size: 14px; margin-bottom: 20px; }
.badge-success { background: #e8f5ee; border: 1px solid var(--green); color: var(--green); padding: 16px; border-radius: 6px; font-size: 14px; }
.visitor-counter { position: fixed; bottom: 16px; right: 16px; background: rgba(0,0,0,0.7); color: #fff; font-size: 12px; padding: 7px 12px; border-radius: 20px; z-index: 40; }

@media (max-width: 900px) {
  /* Hamburger nav takes over from hover dropdowns */
  .hamburger-btn { display: inline-block; }
  nav.main-nav { display: none; }
  nav.main-nav.nav-open { display: block; }
  nav.main-nav ul { flex-direction: column; }
  nav.main-nav li { width: 100%; }
  .nav-item-row { justify-content: space-between; }
  nav.main-nav a { padding: 13px 20px; }
  .submenu-toggle { display: block; }
  .has-dropdown .dropdown-menu { position: static; box-shadow: none; border-radius: 0; background: rgba(0,0,0,0.15); min-width: 0; max-height: none; padding: 0; }
  .has-dropdown:hover .dropdown-menu { display: none; }
  .has-dropdown .dropdown-menu.open { display: block; }
  .dropdown-menu a { color: #fff !important; padding: 10px 32px; }
  .dropdown-menu a:hover { background: rgba(0,0,0,0.2); color: #fff !important; }

  .filters-toggle-btn { display: block; }
  .filters { display: none; }
  .filters.open { display: block; }
}

@media (max-width: 800px) {
  .shop-layout, .checkout-layout, .pd-layout, .grid2, .grid3 { grid-template-columns: 1fr; }
  .header-row { flex-wrap: wrap; gap: 12px; }
  .search-box { order: 3; max-width: 100%; }
  .cart-summary { max-width: none; margin-left: 0; }
}

@media (max-width: 600px) {
  .container { padding: 0 14px; }
  .logo img { height: 40px !important; }
  .hero { padding: 36px 0; }
  .hero-text h1 { font-size: 24px; }
  .hero-text p { font-size: 14px; }
  .btn { padding: 10px 18px; font-size: 14px; }
  .btn-outline { display: inline-block; margin: 8px 0 0 0; }
  .section { padding: 30px 0; }
  .section-head h2 { font-size: 19px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .product-card img { height: 130px; }
  .product-name { font-size: 13px; }
  .price { font-size: 15px; }
  .cat-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
  .cat-card { padding: 12px 6px; font-size: 12px; }
  .topbar .container { flex-direction: column; gap: 2px; text-align: center; }
  .pd-info h1 { font-size: 20px; }
  .pd-price { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .checkout-form, .filters { padding: 14px; }
  .wizard-step-header { flex-wrap: wrap; }
  .step-header-right { width: 100%; margin-left: 40px; text-align: left; margin-top: 4px; }
  .address-card { flex-direction: column; }
  .order-item-row { flex-wrap: wrap; }
  .order-item-row .item-price { margin-left: 0; }
}


/* ---- Checkout Wizard (Delivery Address / Review Order / Payment) ---- */
.wizard-step { background: #fff; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 16px; overflow: hidden; }
.wizard-step.active { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.wizard-step-header { display: flex; align-items: center; gap: 12px; padding: 16px 20px; }
.wizard-step.active .wizard-step-header { background: #eef0fb; }
.wizard-step.done .wizard-step-header { background: #fff; }
.step-number { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 13px; flex-shrink: 0; font-family: inherit; }
.step-number.done { background: var(--green); }
.step-title { font-weight: bold; font-size: 16px; font-family: inherit; }
.step-header-right { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--gray); text-align: right; }
.step-change-link { color: var(--link-blue); font-weight: bold; text-decoration: underline; cursor: pointer; background: none; border: none; font-size: 13px; font-family: inherit; }
.step-body { padding: 0 20px 20px; font-family: inherit; }
.step-body-label { font-size: 13px; color: var(--gray); padding: 12px 0 10px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.req-star { color: #d32f2f; }

.address-card { border: 2px solid var(--navy); background: #eef0fb; border-radius: 8px; padding: 16px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.address-card .addr-radio { margin-top: 3px; flex-shrink: 0; }
.address-card .addr-name { font-weight: bold; margin-bottom: 4px; font-size: 14px; }
.address-card .addr-lines { font-size: 13px; color: var(--gray); line-height: 1.6; }
.edit-btn { border: 1px solid var(--border); background: #fff; padding: 6px 16px; border-radius: 4px; font-size: 12px; font-weight: bold; cursor: pointer; flex-shrink: 0; font-family: inherit; }

.wizard-btn-primary { background: var(--navy); color: #fff; border: none; padding: 13px 22px; border-radius: 5px; font-weight: bold; letter-spacing: 0.3px; font-size: 13px; cursor: pointer; text-transform: uppercase; font-family: inherit; }
.wizard-btn-primary:hover { opacity: 0.9; }
.add-address-link { color: var(--link-blue); font-weight: bold; font-size: 13px; cursor: pointer; margin-left: 18px; background: none; border: none; text-transform: uppercase; font-family: inherit; }

.seller-block { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.seller-header { background: #f4f5f8; padding: 10px 16px; font-size: 13px; color: var(--gray); }
.seller-header strong { color: var(--ink); }
.order-item-row { display: flex; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--border); align-items: flex-start; }
.order-item-row img { width: 56px; height: 56px; object-fit: contain; border-radius: 4px; border: 1px solid var(--border); flex-shrink: 0; background: #f4f4f4; }
.order-item-row .item-name { font-size: 13px; color: var(--ink); margin-bottom: 4px; }
.order-item-row .item-qty { font-size: 12px; color: var(--gray); }
.order-item-row .item-price { margin-left: auto; font-weight: bold; white-space: nowrap; }
.wizard-shipping-row { display: flex; justify-content: space-between; padding: 12px 16px; border-top: 1px solid var(--border); font-size: 13px; color: var(--gray); background: #fafbfc; }
.total-shipping-row { display: flex; justify-content: space-between; padding: 14px 4px; font-weight: bold; margin-top: 10px; border-top: 1px solid var(--border); }

.billing-checkbox-row { border: 1px solid var(--border); border-radius: 6px; padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 16px; }
.billing-check-box { border: 1px solid var(--border); border-radius: 6px; padding: 14px 16px; margin-bottom: 18px; font-size: 13px; }
.trust-box { background: #e8f5ee; border: 1px solid #bfe3cd; border-radius: 6px; padding: 14px 16px; margin-bottom: 18px; }
.trust-box .trust-line { display: flex; align-items: center; gap: 8px; color: #1f6e42; font-size: 13px; font-weight: bold; margin-bottom: 8px; }
.trust-box .trust-line:last-child { margin-bottom: 0; }
.pay-btn { width: 100%; background: var(--navy); color: #fff; border: none; padding: 15px; border-radius: 6px; font-weight: bold; font-size: 14px; letter-spacing: 0.4px; cursor: pointer; text-transform: uppercase; font-family: inherit; }
.pay-btn:hover { opacity: 0.92; }
.ssl-note { text-align: center; font-size: 11px; color: var(--gray); margin-top: 10px; font-family: inherit; }

.pay-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; font-family: inherit; }
.pay-modal { background: #fff; border-radius: 10px; overflow: hidden; max-width: 460px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,0.35); }
.pay-modal-header { background: linear-gradient(135deg, #2b1f6b, #1a1350); color: #fff; padding: 20px; }
.pay-modal-header .brand { font-weight: bold; font-size: 16px; margin-bottom: 12px; }
.pay-modal-header .amount { font-size: 22px; font-weight: bold; }
.pay-modal-body { padding: 20px; }
.pay-option { border: 1px solid var(--border); border-radius: 6px; padding: 12px 14px; margin-bottom: 10px; font-size: 13px; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.pay-option.selected { border-color: var(--navy); background: #eef0fb; }
.demo-note { background: #fff8e1; border: 1px solid var(--gold); padding: 10px 12px; border-radius: 6px; font-size: 12px; margin-bottom: 14px; }

/* ============================================
   WooCommerce compatibility styling
   (Maps default WooCommerce markup to the
   CreativePhila maroon/gold/cream design)
   ============================================ */

.woocommerce, .woocommerce-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}

/* Buttons */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce-page a.button {
  background: var(--maroon) !important;
  color: #fff !important;
  border-radius: 4px !important;
  font-weight: bold !important;
  padding: 10px 22px !important;
  border: none !important;
  font-family: 'Poppins', sans-serif !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
  background: var(--maroon-dark) !important;
}
.woocommerce a.added_to_cart { color: var(--maroon) !important; font-weight: bold; }

/* Prices */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price, .woocommerce div.product span.price {
  color: var(--maroon) !important;
  font-weight: bold;
}
.woocommerce span.onsale {
  background: var(--green) !important;
}

/* Shop grid */
.woocommerce ul.products li.product {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px !important;
  transition: 0.15s;
}
.woocommerce ul.products li.product:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.woocommerce ul.products li.product img {
  border-radius: 4px;
  background: #f0ebe0;
}
.woocommerce ul.products li.product h3, .woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--ink);
  font-size: 15px;
}

/* Cart & checkout tables */
.woocommerce table.shop_table {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.woocommerce table.shop_table th {
  background: var(--cream);
  color: var(--maroon);
}
.woocommerce-checkout #payment {
  background: #fff !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px;
}
.woocommerce-checkout #payment div.payment_box {
  background: #eef0fb !important;
}

/* Forms (login, register, checkout, my account) */
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,
.woocommerce-page form .form-row input.input-text {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px;
  font-family: 'Poppins', sans-serif;
}
.woocommerce-form-login__submit, .woocommerce-form-register__submit {
  background: var(--maroon) !important;
}

/* My Account */
.woocommerce-MyAccount-navigation ul { list-style: none; }
.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 10px 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}
.woocommerce-MyAccount-navigation ul li.is-active a {
  color: var(--maroon);
  font-weight: bold;
}

/* Notices */
.woocommerce-message, .woocommerce-info {
  border-top-color: var(--maroon) !important;
}
.woocommerce-message::before, .woocommerce-info::before {
  color: var(--maroon) !important;
}
.woocommerce-error {
  border-top-color: #b91c1c !important;
}

/* Product single page */
.woocommerce div.product div.summary { padding-left: 10px; }
.woocommerce div.product .product_title { color: var(--maroon); }
.single_add_to_cart_button {
  background: var(--maroon) !important;
}

/* Star ratings, keep gold */
.woocommerce .star-rating span::before, .woocommerce p.stars a::before {
  color: var(--gold) !important;
}
