/* Uther Peptide rebuild: styles for elements added on top of the original Tailwind build */
:root { --u-green:#2F8966; --u-dark:#151515; --u-mint:#bbf2dd; --u-bg:#F1EFE9; }
body { background: var(--u-bg); color:#000; font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
img { max-width:100%; height:auto; }

/* Header extras */
.uther-icon-btn { display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:999px; background:transparent; cursor:pointer; transition:background .3s; }
.uther-icon-btn:hover { background:rgba(0,0,0,.06); }
.uther-cart-pill { display:inline-flex; align-items:center; gap:6px; padding:8px 14px; border-radius:999px; background:var(--u-dark); color:#fff; font-weight:600; font-size:14px; transition:background .3s; }
.uther-cart-pill:hover { background:var(--u-green); }
.uther-cart-count { min-width:1ch; display:inline-block; text-align:center; }

/* Buttons */
.uther-btn, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce-page .button {
  display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:12px 26px; border-radius:999px !important;
  background:var(--u-dark) !important; color:#fff !important; font-weight:600; border:0; cursor:pointer; transition:background .3s, transform .2s; line-height:1.2; text-align:center;
}
.uther-btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background:var(--u-green) !important; color:#fff !important; }
.uther-btn--block { width:100%; padding:15px 26px; font-size:17px; }
.uther-btn--small { padding:9px 16px; font-size:14px; width:100%; }
.uther-btn--disabled { background:#bbb !important; cursor:not-allowed; }
.uther-btn.loading { opacity:.6; }
.uther-btn.added::after { content:" \2713"; }
a.added_to_cart { display:block; text-align:center; font-size:13px; margin-top:6px; color:var(--u-green); font-weight:600; }

/* Product cards */
.uther-card__buy { padding:0 6px 8px; display:flex; flex-direction:column; gap:10px; }
.uther-price, .uther-price .amount { font-weight:700; font-size:17px; color:#000; }
.uther-price del { color:#888; font-weight:400; margin-right:6px; }
.uther-price ins { text-decoration:none; }

/* Single product */
.uther-breadcrumb a { color:var(--u-green); }
.uther-specs { margin-top:1.25rem; display:grid; gap:6px; font-size:15px; }
.uther-specs li { word-break:break-word; }
.woocommerce-product-details__short-description p { line-height:1.65; }
.single_product_tag { display:inline-block; margin:0 8px 8px 0 !important; }
.single_product_tag.is-current { background:#000; color:#fff; }
.uther-buybox__price, .uther-buybox__price .amount { font-size:2.2rem; font-weight:800; line-height:1.1; }
.uther-buybox__price del { font-size:1.2rem; color:#888; font-weight:400; }
.uther-buybox__meta { margin:8px 0 20px; color:#555; font-size:14px; }
.uther-instock { color:var(--u-green); font-weight:700; }
.uther-outstock { color:#b91c1c; font-weight:700; }
.uther-buybox form.cart { display:flex; flex-direction:column; gap:14px; }
.uther-qty { display:flex; align-items:center; border:1px solid #ddd; border-radius:999px; width:max-content; overflow:hidden; }
.uther-qty .quantity { margin:0 !important; }
.uther-qty input.qty { width:56px; height:44px; text-align:center; border:0; font-weight:700; font-size:16px; -moz-appearance:textfield; background:transparent; }
.uther-qty input.qty::-webkit-outer-spin-button, .uther-qty input.qty::-webkit-inner-spin-button { -webkit-appearance:none; margin:0; }
.uther-qty__btn { width:44px; height:44px; font-size:20px; cursor:pointer; background:#f5f5f5; }
.uther-qty__btn:hover { background:var(--u-mint); }
.uther-buybox__notes { margin-top:22px; display:grid; gap:8px; font-size:14px; color:#333; }
.uther-buybox__notes li::before { content:"\2713"; color:var(--u-green); font-weight:700; margin-right:8px; }
.uther-ruo-note { margin-top:18px; font-size:12px; color:#666; border-top:1px solid #eee; padding-top:12px; }
.product_desc ul { list-style:disc; padding-left:1.4rem; margin:10px 0; }
.product_desc ol { padding-left:1.6rem; }
.product_desc h2 { font-size:1.75rem; font-weight:700; margin-top:28px; }
.product_desc table { width:100%; border-collapse:collapse; margin:16px 0; font-size:15px; }
.product_desc th, .product_desc td { border:1px solid #e5e5e5; padding:8px 12px; text-align:left; }
.product_desc details { border:1px solid #eee; border-radius:12px; padding:12px 16px; margin:10px 0; background:#fafafa; }
.product_desc summary { font-weight:600; cursor:pointer; }

/* Generic pages */
.uther-prose h2 { font-size:1.6rem; font-weight:700; margin:28px 0 10px; }
.uther-prose h3 { font-size:1.25rem; font-weight:700; margin:22px 0 8px; }
.uther-prose p { line-height:1.75; margin:10px 0; }
.uther-prose ul { list-style:disc; padding-left:1.4rem; margin:10px 0; }
.uther-prose ol { list-style:decimal; padding-left:1.4rem; margin:10px 0; }
.uther-prose a { color:var(--u-green); font-weight:600; }
.uther-intro p { line-height:1.7; margin-bottom:10px; }

/* Mini cart drawer */
#mini-cart-overlay { position:fixed; inset:0; background:rgba(0,0,0,.45); opacity:0; visibility:hidden; transition:.3s; z-index:60; }
#mini-cart-overlay.active { opacity:1; visibility:visible; }
#mini-cart-drawer { position:fixed; top:0; right:0; height:100%; width:min(420px, 92vw); background:#fff; z-index:61; transform:translateX(100%); transition:transform .4s cubic-bezier(.7,0,.2,1); padding:28px 24px; overflow-y:auto; box-shadow:-10px 0 40px rgba(0,0,0,.15); }
#mini-cart-drawer.active { transform:translateX(0); }
#mini-cart-drawer.pt-32 { padding-top:28px; }
#mini-cart-drawer h2 { font-size:1.4rem; }
#mini-cart-close { font-size:30px; line-height:1; cursor:pointer; }
.woocommerce-mini-cart { margin-top:20px; }
.woocommerce-mini-cart-item { display:grid; grid-template-columns:64px 1fr auto; gap:12px; align-items:center; padding:12px 0; border-bottom:1px solid #eee; position:relative; font-size:14px; }
.woocommerce-mini-cart-item img { width:64px !important; height:64px; object-fit:cover; border-radius:10px; float:none !important; margin:0 !important; }
.woocommerce-mini-cart-item > a:not(.remove) { display:contents; font-weight:600; }
.woocommerce-mini-cart-item .remove { order:3; color:#999 !important; font-size:20px; text-decoration:none; }
.woocommerce-mini-cart-item .quantity { grid-column:2; color:#555; }
.woocommerce-mini-cart__total { display:flex; justify-content:space-between; padding:16px 0; font-size:17px; }
.woocommerce-mini-cart__buttons { display:grid; gap:10px; }
.woocommerce-mini-cart__buttons .button { width:100%; }
.woocommerce-mini-cart__buttons .checkout { background:var(--u-green) !important; }
.woocommerce-mini-cart__empty-message { text-align:center; color:#777; padding:40px 0; }

/* Cart & checkout */
.uther-wc { background:#fff; border-radius:24px; padding:20px; box-shadow:0 4px 18px rgba(0,0,0,.06); }
@media (min-width:768px) { .uther-wc { padding:40px; } }
.woocommerce table.shop_table { border-radius:16px; border-color:#eee; }
.woocommerce table.shop_table th { font-weight:700; }
.woocommerce table.shop_table td { padding:14px 12px; }
.woocommerce table.cart img { width:70px; border-radius:10px; }
.woocommerce .quantity .qty { width:70px; height:42px; border:1px solid #ddd; border-radius:999px; text-align:center; }
.woocommerce-cart .cart-collaterals .cart_totals { width:100%; max-width:480px; float:right; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .select2-container .select2-selection--single {
  border:1px solid #ddd; border-radius:12px; padding:12px 14px; min-height:46px; background:#fff;
}
.select2-container .select2-selection--single .select2-selection__rendered { line-height:22px; padding-left:0; }
.select2-container--default .select2-selection--single .select2-selection__arrow { top:10px; right:8px; }
.woocommerce form .form-row label { font-weight:600; margin-bottom:4px; }
.woocommerce-checkout #payment { background:#f7f7f4; border-radius:16px; }
.woocommerce-checkout #payment div.payment_box { background:#fff; border-radius:12px; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color:#fff; }
#place_order { width:100%; padding:16px; font-size:17px; background:var(--u-green) !important; }
#place_order:hover { background:var(--u-dark) !important; }
.uther-ruo { background:#f0fbf6; border:1px solid var(--u-mint); border-radius:12px; padding:12px 14px !important; margin-bottom:16px !important; font-size:14px; }
.uther-ruo input { margin-right:8px; }
.uther-ship-bar { background:#f0fbf6; border:1px solid var(--u-mint); border-radius:14px; padding:12px 16px; margin-bottom:20px; font-size:15px; }
.uther-ship-bar__track { display:block; height:6px; border-radius:999px; background:#d7efe4; margin-top:8px; overflow:hidden; }
.uther-ship-bar__track span { display:block; height:100%; background:var(--u-green); }
.uther-ship-bar--done { font-weight:700; color:var(--u-green); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-radius:12px; border-top-color:var(--u-green); }
.woocommerce-message::before, .woocommerce-info::before { color:var(--u-green); }
.uther-crypto-box { background:#f0fbf6; border:1px solid var(--u-mint); border-radius:20px; padding:24px; margin:24px 0; }
.uther-crypto-box h2 { font-size:1.5rem; font-weight:800; margin-bottom:10px; }
.uther-crypto-box p { margin:8px 0; line-height:1.6; }
.uther-crypto-wallet code { display:inline-block; background:#fff; border:1px dashed #9cc; border-radius:10px; padding:10px 12px; font-size:15px; word-break:break-all; }
.uther-copy { margin-left:8px; padding:8px 14px; border-radius:999px; background:var(--u-dark); color:#fff; cursor:pointer; font-size:13px; }
.uther-copy.copied { background:var(--u-green); }
.woocommerce-order-overview { padding-left:0; }

/* Search results */
#search-results li a { display:flex; align-items:center; gap:12px; padding:6px; border-radius:10px; }
#search-results li a:hover { background:#f3f3f3; }
#search-results img { width:44px; height:44px; object-fit:cover; border-radius:8px; }
#search-results .sr-price { margin-left:auto; font-weight:700; }

/* Sidebar accordion */
.toggle-category.open .cat_icon .vertical { transform:translateX(-50%) rotate(90deg); opacity:0; }
.product-list.open { max-height:3000px; padding-bottom:12px; }

@media (max-width:767px) {
  .uther-card h3 { font-size:14px; }
  .uther-price, .uther-price .amount { font-size:15px; }
  .woocommerce-cart .cart-collaterals .cart_totals { float:none; max-width:none; }
}

/* v2.0.3 fixes: cart drawer above overlay; mobile category tiles */
#mini-cart-drawer { z-index:10000 !important; }
#mini-cart-overlay { z-index:9998 !important; }
.grid_parent .grid-tile { position:relative; overflow:hidden; border-radius:1rem; min-height:0; min-width:0; }
.grid_parent .grid-tile img { position:absolute; inset:0; width:100%; height:100%; }
.grid_parent .grid-tile > div { z-index:2; }
@media screen and (max-width:768px) {
  .grid_parent { grid-template-columns:repeat(2, minmax(0,1fr)) !important; grid-template-rows:repeat(5, 130px) !important; gap:10px !important; }
  .grid_parent .div1 { grid-area:1 / 1 / 3 / 3 !important; }
  .grid_parent .div2 { grid-area:3 / 1 / 4 / 3 !important; }
  .grid_parent .div3 { grid-area:4 / 1 / 5 / 2 !important; }
  .grid_parent .div5 { grid-area:4 / 2 / 5 / 3 !important; }
  .grid_parent .div6 { grid-area:5 / 1 / 6 / 2 !important; }
  .grid_parent .div4 { grid-area:5 / 2 / 6 / 3 !important; }
  .grid_parent .grid-tile a { white-space:normal !important; padding:6px 14px !important; font-size:13px; line-height:1.25; max-width:calc(100% - 16px); display:inline-block; }
  .grid_parent .grid-tile > div { width:100%; }
}

/* mobile checkout: stack columns */
@media screen and (max-width:768px) {
  .woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-1, .woocommerce-page .col2-set .col-2 { float:none !important; width:100% !important; max-width:none !important; }
  .woocommerce form .form-row-first, .woocommerce form .form-row-last, .woocommerce-page form .form-row-first, .woocommerce-page form .form-row-last { float:none !important; width:100% !important; }
  .woocommerce form .form-row label { line-height:1.4; }
  #order_review, #order_review_heading { float:none !important; width:100% !important; }
}

/* blog posts: featured image size, CTA */
.single-post article img.wp-post-image { max-height:440px; object-fit:contain; background:#dbe7f5; }
.uther-cta a { text-decoration:underline; }
