/*
Theme Name: Alvox Watches
Theme URI: https://alvoxwatches.com
Author: Alvox Watches
Author URI: https://alvoxwatches.com
Description: A clean, premium, mobile-first one-page WooCommerce theme built for Alvox Watches. Designed as a compact smartphone watch catalog with a single home page, dynamic WooCommerce product grid, and simple social/contact section.
Version: 1.2.2
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: alvox-watches
Tags: e-commerce, one-column, custom-menu, featured-images, mobile
*/

/* ==========================================================================
   0. Reset & Variables
   ========================================================================== */

:root {
  --alvox-bg: #ffffff;
  --alvox-bg-soft: #faf9f7;
  --alvox-ink: #161513;
  --alvox-ink-soft: #55524a;
  --alvox-gold: #a9812f;
  --alvox-gold-soft: #c9a54a;
  --alvox-border: #e9e6df;
  --alvox-shadow: 0 2px 10px rgba(20, 18, 14, 0.06);
  --alvox-radius: 14px;
  --alvox-max-width: 480px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--alvox-bg);
  color: var(--alvox-ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.alvox-wrap {
  max-width: var(--alvox-max-width);
  margin: 0 auto;
  width: 100%;
}

/* ==========================================================================
   1. Header
   ========================================================================== */

.alvox-header {
  background: var(--alvox-ink);
  padding: 9px 20px;
  text-align: center;
}

.alvox-brand {
  margin: 0;
  color: #fff;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2.6px;
  text-transform: uppercase;
}

/* ==========================================================================
   2. Hero / Cover
   ========================================================================== */

.alvox-hero {
  position: relative;
  height: 190px;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #1c1a17 0%, #33302a 55%, #1c1a17 100%);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.alvox-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.alvox-hero__content {
  position: relative;
  z-index: 1;
  padding: 0 20px 16px;
  color: #fff;
}

.alvox-hero__eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--alvox-gold-soft);
  margin: 0 0 4px;
  font-weight: 600;
}

.alvox-hero__title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
}

/* ==========================================================================
   3. Products
   ========================================================================== */

.alvox-products {
  padding: 18px 14px 8px;
}

.alvox-products__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 4px 12px;
}

.alvox-products__heading h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.alvox-products__heading span {
  font-size: 11px;
  color: var(--alvox-ink-soft);
}

.alvox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.alvox-card {
  background: #fff;
  border: 1px solid var(--alvox-border);
  border-radius: var(--alvox-radius);
  box-shadow: var(--alvox-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.alvox-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--alvox-bg-soft);
  overflow: hidden;
}

.alvox-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.alvox-card__image .alvox-noimg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--alvox-border);
}

.alvox-card__body {
  padding: 9px 10px 11px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.alvox-card__name {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--alvox-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.2em;
}

.alvox-card__price {
  font-size: 13px;
  font-weight: 700;
  color: var(--alvox-gold);
}

.alvox-card__price del {
  font-weight: 400;
  color: var(--alvox-ink-soft);
  opacity: 0.7;
  margin-right: 4px;
  font-size: 11.5px;
}

.alvox-card__btn {
  margin-top: 4px;
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 7px 8px;
  border: 1px solid var(--alvox-ink);
  border-radius: 999px;
  color: var(--alvox-ink);
  transition: background 0.15s ease, color 0.15s ease;
}

.alvox-card__btn:active {
  background: var(--alvox-ink);
  color: #fff;
}

.alvox-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--alvox-ink-soft);
  font-size: 13px;
}

/* ==========================================================================
   4. Social / Contact
   ========================================================================== */

.alvox-social {
  padding: 22px 20px;
  text-align: center;
  border-top: 1px solid var(--alvox-border);
  margin-top: 10px;
}

.alvox-social__label {
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--alvox-ink-soft);
  margin: 0 0 14px;
}

.alvox-social__icons {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.alvox-social__icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--alvox-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--alvox-ink);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.alvox-social__icons a:active {
  transform: scale(0.94);
  background: var(--alvox-ink);
  color: #fff;
}

.alvox-social__icons svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==========================================================================
   5. About
   ========================================================================== */

.alvox-about {
  background: var(--alvox-bg-soft);
  padding: 24px 22px;
  text-align: center;
}

.alvox-about h2 {
  margin: 0 0 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.alvox-about p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--alvox-ink-soft);
}

/* ==========================================================================
   6. Footer
   ========================================================================== */

.alvox-footer {
  background: var(--alvox-ink);
  color: #fff;
  padding: 20px 20px 16px;
  text-align: center;
}

.alvox-footer__brand {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.alvox-footer__links {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  color: #cfcac0;
  margin-bottom: 12px;
}

.alvox-footer__links span {
  opacity: 0.5;
}

.alvox-footer__copy {
  font-size: 10.5px;
  color: #8b8780;
  margin: 0;
}

/* ==========================================================================
   7. Responsive scale-up (tablet / desktop fallback)
   ========================================================================== */

@media (min-width: 481px) {
  .alvox-wrap {
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.06);
  }
  .alvox-hero {
    height: 230px;
  }
}

@media (min-width: 700px) {
  body {
    background: var(--alvox-bg-soft);
  }
}

/* ==========================================================================
   8. Floating Social Buttons
   ========================================================================== */

.alvox-floating-social {
  position: fixed;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
  pointer-events: none;
}

.alvox-floating-social a {
  pointer-events: auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--alvox-border);
  box-shadow: 0 3px 12px rgba(20, 18, 14, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--alvox-ink);
  opacity: 0;
  transform: translateX(24px);
  animation: alvox-fab-in 0.5s ease-out forwards, alvox-fab-float 3.2s ease-in-out 0.8s infinite;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.alvox-floating-social a svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.alvox-floating-social a:nth-child(1) { animation-delay: 0.05s, 0.85s; }
.alvox-floating-social a:nth-child(2) { animation-delay: 0.18s, 1s; }
.alvox-floating-social a:nth-child(3) { animation-delay: 0.31s, 1.15s; }

.alvox-floating-social a:hover,
.alvox-floating-social a:focus-visible {
  background: var(--alvox-ink);
  color: #fff;
  box-shadow: 0 5px 16px rgba(20, 18, 14, 0.22);
  transform: translateX(0) scale(1.08);
  animation-play-state: paused;
}

.alvox-floating-social a:active {
  transform: translateX(0) scale(0.96);
}

@keyframes alvox-fab-in {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes alvox-fab-float {
  0%, 100% {
    transform: translateX(0) translateY(0);
  }
  50% {
    transform: translateX(0) translateY(-3px);
  }
}

@media (max-width: 480px) {
  .alvox-floating-social {
    right: 8px;
  }
  .alvox-floating-social a {
    width: 30px;
    height: 30px;
  }
  .alvox-floating-social a svg {
    width: 13px;
    height: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .alvox-floating-social a {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   9. Single Product Page (WooCommerce product detail)
   ========================================================================== */

.single-product div.product {
  max-width: var(--alvox-max-width);
  margin: 0 auto;
  padding: 16px 16px 32px;
  display: block;
  overflow: hidden;
}

.single-product div.product .woocommerce-product-gallery,
.single-product div.product .images {
  width: 100%;
  max-width: 100%;
  float: none;
  margin: 0 0 16px;
}

.single-product div.product .woocommerce-product-gallery .flex-viewport {
  height: auto !important;
}

.single-product div.product .woocommerce-product-gallery img,
.single-product div.product .images img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--alvox-radius);
  border: 1px solid var(--alvox-border);
}

.single-product div.product .flex-control-thumbs {
  display: flex;
  gap: 6px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.single-product div.product .flex-control-thumbs li {
  width: 52px;
  height: 52px;
}

.single-product div.product .flex-control-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--alvox-border);
  max-height: none;
}

.single-product div.product .summary {
  width: 100%;
  max-width: 100%;
  float: none;
  clear: both;
}

.single-product div.product .product_title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.3;
}

.single-product div.product .price {
  font-size: 16px;
  font-weight: 700;
  color: var(--alvox-gold);
  margin: 0 0 12px;
}

.single-product div.product .woocommerce-product-details__short-description {
  font-size: 13px;
  line-height: 1.7;
  color: var(--alvox-ink-soft);
  margin: 0 0 14px;
}

.single-product div.product form.cart {
  margin: 0 0 16px;
}

.single-product div.product .single_add_to_cart_button,
.single-product div.product .button {
  background: var(--alvox-ink);
  color: #fff !important;
  border: none;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.single-product div.product .quantity input.qty {
  width: 56px;
  padding: 8px;
  border: 1px solid var(--alvox-border);
  border-radius: 8px;
  font-size: 13px;
}

.single-product div.product .woocommerce-tabs,
.single-product div.product .related.products {
  max-width: 100%;
  margin-top: 20px;
  font-size: 13px;
}

/* ==========================================================================
   10. Direct Order Form (product page, no cart/checkout)
   ========================================================================== */

.alvox-order-form {
  margin-top: 16px;
  border: 1px solid var(--alvox-border);
  border-radius: var(--alvox-radius);
  box-shadow: var(--alvox-shadow);
  overflow: hidden;
  background: #fff;
}

.alvox-order-form__summary {
  background: var(--alvox-bg-soft);
  padding: 12px 14px;
  border-bottom: 1px solid var(--alvox-border);
}

.alvox-order-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12.5px;
  color: var(--alvox-ink-soft);
  padding: 3px 0;
}

.alvox-order-row span:last-child {
  font-weight: 600;
  color: var(--alvox-ink);
}

.alvox-order-row--total {
  margin-top: 4px;
  padding-top: 7px;
  border-top: 1px dashed var(--alvox-border);
  font-size: 13.5px;
}

.alvox-order-row--total span {
  font-weight: 700 !important;
  color: var(--alvox-gold) !important;
}

.alvox-order-form__fields {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.alvox-order-form__fields label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--alvox-ink-soft);
}

.alvox-order-form__fields input[type="text"],
.alvox-order-form__fields input[type="tel"],
.alvox-order-form__fields select,
.alvox-order-form__fields input[type="number"],
.alvox-order-form__fields textarea {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--alvox-ink);
  border: 1px solid var(--alvox-border);
  border-radius: 8px;
  padding: 9px 10px;
  background: #fff;
}

.alvox-order-form__fields input:focus,
.alvox-order-form__fields select:focus,
.alvox-order-form__fields textarea:focus {
  outline: none;
  border-color: var(--alvox-gold-soft);
}

.alvox-order-form__fields textarea {
  resize: vertical;
  min-height: 44px;
}

.alvox-order-qty input {
  max-width: 90px;
}

.alvox-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.alvox-order-submit {
  margin-top: 4px;
  border: none;
  border-radius: 999px;
  background: var(--alvox-ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 12px 14px;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.alvox-order-submit:hover {
  background: var(--alvox-gold);
}

.alvox-order-submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.alvox-order-message {
  margin: 0;
  padding: 0 14px 14px;
  font-size: 12.5px;
  line-height: 1.5;
}

.alvox-order-message--error {
  color: #b3261e;
}

.alvox-order-message--success {
  color: #2e7d32;
  padding: 14px;
  font-weight: 500;
}

.alvox-order-form--done .alvox-order-form__summary {
  border-radius: var(--alvox-radius) var(--alvox-radius) 0 0;
}

/* Dynamic homepage category navigation; intentionally minimal to preserve the existing design. */
.alvox-categories {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 0 4px 12px;
  margin: 0;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.alvox-categories::-webkit-scrollbar {
  display: none;
}

.alvox-category {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border: 1px solid var(--alvox-border);
  border-radius: 999px;
  color: var(--alvox-ink);
  background: #fff;
  font-size: 11px;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.alvox-category.is-active {
  color: #fff;
  background: var(--alvox-ink);
  border-color: var(--alvox-ink);
}

.alvox-brand a {
  color: inherit;
  text-decoration: none;
}



/* Compact, understated advance-payment note */
.alvox-payment-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 2px;
  padding: 10px 11px;
  border: 1px solid #eee4e8;
  border-radius: 8px;
  background: #fcfafb;
}
.alvox-payment-note__tag {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
  border-radius: 5px;
  background: #d12053;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
}
.alvox-payment-note__copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.alvox-payment-note__copy strong { color: var(--alvox-ink); font-size: 11px; line-height: 1.35; font-weight: 700; }
.alvox-payment-note__copy span { color: var(--alvox-ink-soft); font-size: 10.5px; line-height: 1.35; }
.alvox-payment-note__copy span b { color: #bd1748; font-size: 11px; letter-spacing: .2px; }
.alvox-payment-note__copy small { color: #777; font-size: 10px; line-height: 1.4; }
.alvox-bkash-transaction-label { margin-top: 1px; }
.alvox-order-row--cod { padding-top: 6px; color: #2e7d32; }
.alvox-order-row--cod span:last-child { color: #2e7d32; font-weight: 700; }
.alvox-facebook-order-link {
  align-self: flex-start;
  margin: -2px 0 1px;
  color: var(--alvox-ink-soft);
  font-size: 10.5px;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.alvox-facebook-order-link:hover { color: var(--alvox-gold); }
@media (max-width: 360px) { .alvox-payment-note { padding: 9px; gap: 7px; } }


/* Clear, compact bKash number with a one-tap copy action. */
.alvox-payment-note__copy { flex: 1 1 auto; }
.alvox-bkash-number-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1px 0 2px;
}
.alvox-payment-note__copy .alvox-bkash-number {
  color: #bd1748;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: .45px;
  font-weight: 800;
}
.alvox-copy-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 27px;
  padding: 4px 8px;
  border: 1px solid #ead6dd;
  border-radius: 6px;
  background: #fff;
  color: #8e2344;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.alvox-copy-number svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.alvox-copy-number:hover,
.alvox-copy-number.is-copied {
  border-color: #bd1748;
  background: #fff5f8;
}
.alvox-copy-feedback {
  color: #287a48;
  font-size: 10px;
  font-weight: 600;
}
.alvox-order-form__fields > .alvox-order-form__summary {
  margin-top: 2px;
  border: 1px solid var(--alvox-border);
  border-radius: 9px;
  padding: 10px 12px;
}


/* ==========================================================================
   11. Cart access + compact native WooCommerce cart / checkout
   ========================================================================== */
.alvox-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
}
.alvox-header .alvox-brand { text-align: center; }
.alvox-header-cart {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 29px;
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .25px;
  text-decoration: none;
}
.alvox-header-cart svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.alvox-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--alvox-gold);
  color: #fff;
  font-size: 9px;
  line-height: 1;
}
.alvox-header-cart:hover,
.alvox-header-cart:focus-visible { color: #fff; border-color: var(--alvox-gold-soft); }

/* Keep the two product-page choices visually distinct and easy to scan. */
.single-product div.product form.cart {
  margin: 0 0 10px;
  padding: 0;
}
.single-product div.product .single_add_to_cart_button {
  min-height: 40px;
}
.single-product .alvox-order-form { margin-top: 10px; }

/* WooCommerce Cart and Checkout use the existing narrow site shell. */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce {
  max-width: var(--alvox-max-width);
  margin: 0 auto;
  padding: 16px 13px 28px;
  font-size: 12px;
}
.woocommerce .woocommerce-notices-wrapper { font-size: 12px; }
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
  padding: 10px 12px 10px 34px !important;
  margin: 0 0 12px !important;
  border-top-width: 2px;
  font-size: 11px;
  line-height: 1.45;
}
.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-error::before { top: 9px; left: 12px; }
.woocommerce-cart .woocommerce h2,
.woocommerce-checkout .woocommerce h2,
.woocommerce-checkout .woocommerce h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 16px;
  line-height: 1.3;
  margin: 0 0 10px;
}
.woocommerce-cart table.shop_table,
.woocommerce-checkout table.shop_table {
  border: 1px solid var(--alvox-border);
  border-radius: 10px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  font-size: 11px;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 8px 7px;
  border-color: var(--alvox-border);
  vertical-align: middle;
}
.woocommerce table.shop_table th {
  color: var(--alvox-ink-soft);
  font-size: 10px;
  font-weight: 700;
}
.woocommerce table.shop_table .product-name a,
.woocommerce table.shop_table .product-name {
  font-weight: 600;
  color: var(--alvox-ink);
}
.woocommerce table.shop_table .product-thumbnail img {
  width: 48px;
  border-radius: 6px;
}
.woocommerce .quantity .qty {
  width: 48px;
  min-height: 32px;
  padding: 5px;
  border: 1px solid var(--alvox-border);
  border-radius: 7px;
  font-size: 12px;
}
.woocommerce a.remove {
  width: 22px;
  height: 22px;
  font-size: 17px;
  line-height: 22px;
}
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #place_order {
  min-height: 38px;
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--alvox-ink);
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2px;
}
.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #place_order:hover {
  background: var(--alvox-gold);
  color: #fff !important;
}
.woocommerce .cart-collaterals,
.woocommerce .woocommerce-checkout-review-order {
  margin-top: 14px;
}
.woocommerce .cart_totals,
.woocommerce-checkout #order_review {
  float: none;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--alvox-border);
  border-radius: 10px;
  background: #fff;
}
.woocommerce .cart_totals table,
.woocommerce-checkout #order_review table {
  border: 0;
  margin: 0 0 10px;
}
.woocommerce .cart_totals .checkout-button,
.woocommerce-checkout #place_order {
  width: 100%;
  text-align: center;
}
.woocommerce form .form-row {
  padding: 0;
  margin: 0 0 10px;
}
.woocommerce form .form-row label {
  margin-bottom: 4px;
  color: var(--alvox-ink-soft);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .15px;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--alvox-border);
  border-radius: 8px;
  background: #fff;
  color: var(--alvox-ink);
  font-family: inherit;
  font-size: 12px;
}
.woocommerce form .form-row textarea { min-height: 58px; }
.woocommerce form .form-row input:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  outline: none;
  border-color: var(--alvox-gold-soft);
  box-shadow: 0 0 0 2px rgba(169,129,47,.08);
}
.woocommerce-checkout #payment {
  border-radius: 10px;
  background: var(--alvox-bg-soft);
  font-size: 11px;
}
.woocommerce-checkout #payment ul.payment_methods { padding: 10px 12px; }
.woocommerce-checkout #payment div.payment_box { font-size: 10.5px; line-height: 1.45; }
.woocommerce-checkout #payment .place-order { padding: 10px 12px; }
.alvox-checkout-payment-note {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 10px 11px;
  margin: 0 0 13px;
  border: 1px solid #eee4e8;
  border-radius: 9px;
  background: #fcfafb;
}
.alvox-checkout-payment-tag {
  flex: 0 0 auto;
  padding: 4px 6px;
  border-radius: 5px;
  background: #d12053;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}
.alvox-checkout-payment-note > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.alvox-checkout-payment-note strong { font-size: 11px; line-height: 1.3; }
.alvox-checkout-payment-note span:not(.alvox-checkout-payment-tag):not(.alvox-checkout-copy-feedback) {
  color: var(--alvox-ink-soft);
  font-size: 10px;
}
.alvox-checkout-number-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}
.alvox-checkout-number-row b {
  color: #bd1748;
  font-size: 15px;
  letter-spacing: .35px;
}
.alvox-checkout-copy {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 26px;
  padding: 4px 7px;
  border: 1px solid #ead6dd;
  border-radius: 6px;
  background: #fff;
  color: #8e2344;
  font-size: 10px;
  font-weight: 700;
}
.alvox-checkout-copy svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.alvox-checkout-copy-feedback { color: #287a48; font-size: 10px; }
.alvox-checkout-payment-note small { color: #777; font-size: 9.5px; line-height: 1.35; }
.woocommerce-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout .woocommerce-shipping-fields > h3 { margin-bottom: 10px; }
.woocommerce-checkout .woocommerce-additional-fields { margin-top: 12px; }
.woocommerce-checkout .woocommerce-privacy-policy-text,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { font-size: 10px; line-height: 1.45; }
@media (max-width: 360px) {
  .alvox-header { padding-left: 8px; padding-right: 8px; }
  .alvox-header .alvox-brand { font-size: 13px; letter-spacing: 1.8px; }
  .alvox-header-cart { right: 7px; padding: 4px 6px; gap: 3px; }
  .alvox-header-cart > span:nth-child(2) { display: none; }
  .woocommerce-cart .woocommerce,
  .woocommerce-checkout .woocommerce { padding-left: 9px; padding-right: 9px; }
}


/* Cart/Checkout page shell and lower bKash confirmation panel. */
.alvox-page-content {
  max-width: var(--alvox-max-width);
  margin: 0 auto;
  padding: 16px 12px 28px;
}
.alvox-page-content > h1 {
  margin: 0 0 12px;
  font: 600 18px/1.3 "Playfair Display", Georgia, serif;
}
.alvox-checkout-payment-note {
  margin-top: 12px;
  margin-bottom: 12px;
}
.alvox-checkout-payment-content { flex: 1 1 auto; min-width: 0; }
.alvox-checkout-advance-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 0 2px;
  font-size: 10px;
  color: var(--alvox-ink-soft);
}
.alvox-checkout-advance-line b { color: #bd1748; font-size: 13px; }
.alvox-checkout-transaction-row { margin: 7px 0 0 !important; }
.alvox-checkout-transaction-row label { display: block; margin-bottom: 4px; }
.alvox-checkout-transaction-row input { width: 100%; }
.woocommerce-cart .return-to-shop .button { width: 100%; text-align: center; }
.woocommerce-cart .wc-proceed-to-checkout { padding-top: 10px; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { margin-bottom: 0; }
@media (max-width: 480px) {
  .woocommerce-cart .woocommerce,
  .woocommerce-checkout .woocommerce { padding-top: 12px; }
  .woocommerce-cart table.shop_table td,
  .woocommerce-cart table.shop_table th { padding: 7px 5px; }
  .alvox-checkout-payment-note { padding: 9px; gap: 7px; }
}


/* Clear, high-contrast cart states and product actions. */
.woocommerce-cart .cart-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--alvox-border);
  border-left: 4px solid var(--alvox-gold);
  border-radius: 10px;
  background: #fff;
  color: var(--alvox-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.woocommerce-cart .return-to-shop { margin-top: 14px; }
.woocommerce-cart .return-to-shop .button,
.woocommerce-cart .return-to-shop a.button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--alvox-ink);
  border-radius: 9px;
  background: var(--alvox-ink) !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .35px;
  text-decoration: none;
  opacity: 1 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.10);
}
.woocommerce-cart .return-to-shop .button:hover,
.woocommerce-cart .return-to-shop a.button:focus-visible {
  background: var(--alvox-gold) !important;
  border-color: var(--alvox-gold) !important;
  color: #fff !important;
}
.single-product div.product .single_add_to_cart_button,
.single-product div.product .single_add_to_cart_button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid var(--alvox-ink) !important;
  border-radius: 9px;
  background: var(--alvox-ink) !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  opacity: 1 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.10);
}
.single-product div.product .single_add_to_cart_button:hover,
.single-product div.product .single_add_to_cart_button:focus-visible {
  background: var(--alvox-gold) !important;
  border-color: var(--alvox-gold) !important;
  color: #fff !important;
}
.woocommerce-cart table.shop_table .product-thumbnail { width: 68px; }
.woocommerce-cart table.shop_table .product-thumbnail img {
  display: block;
  width: 60px;
  height: 60px;
  object-fit: cover;
  border: 1px solid var(--alvox-border);
  background: #fff;
}
/* Product image + name in the Checkout order summary. */
.woocommerce-checkout #order_review table.shop_table .product-name { min-width: 0; }
.alvox-checkout-product {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.alvox-checkout-product-image {
  display: block;
  flex: 0 0 58px;
  width: 58px !important;
  height: 58px !important;
  object-fit: cover;
  border: 1px solid var(--alvox-border);
  border-radius: 7px;
  background: #fff;
}
.alvox-checkout-product-name { display: block; min-width: 0; line-height: 1.45; }
@media (max-width: 480px) {
  .alvox-checkout-product { gap: 7px; }
  .alvox-checkout-product-image {
    flex-basis: 48px;
    width: 48px !important;
    height: 48px !important;
  }
}
