/* ==========================================================================
   Andol Gifts — WordPress / WooCommerce / Contact Form 7 layer.
   Loads after main.css and only uses its tokens. Woo's own CSS is disabled.
   ========================================================================== */

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.i--flip { transform: scaleX(-1); }
.andol-hidden { display: none !important; }
.chip { cursor: pointer; }
a.chip:hover { text-decoration: none; }

/* About hero logo panel */
.about-logo-panel { display: grid; place-items: center; padding: var(--s-7); background: #fff; border-radius: var(--r-feature); box-shadow: var(--shadow-md); }
.about-logo-panel img { width: min(280px, 70%); }

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: var(--s-7); }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--c-line-2); background: #fff; color: var(--c-navy); font: 700 .875rem/1 var(--ff-head); text-decoration: none; }
.pagination .page-numbers:hover { border-color: var(--c-navy); }
.pagination .page-numbers.current { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }
.pagination .page-numbers.dots { border: 0; background: none; }

/* --------------------------------------------------------------------------
   Notices
   -------------------------------------------------------------------------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-notices-wrapper { margin-bottom: var(--s-5); }
.woocommerce-error, .woocommerce-message, .woocommerce-info, .wc-block-components-notice-banner {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between;
  margin: 0 0 var(--s-4); padding: 14px 16px; border-radius: var(--r-lg); background: #fff;
  border: 1px solid var(--c-line); border-left: 4px solid var(--c-orange); font-size: var(--fs-sm); color: var(--c-text);
}
.woocommerce-error { border-left-color: var(--c-crimson); display: block; }
.woocommerce-error li + li { margin-top: 6px; }
.woocommerce-message { border-left-color: #1F7A4D; }
.woocommerce-info { border-left-color: var(--c-royal); }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button {
  order: 2; display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: var(--r-md);
  background: var(--c-navy); color: #fff; font: 700 .8125rem/1 var(--ff-head); text-decoration: none;
}
.woocommerce-message .button:hover { background: var(--c-navy-700); color: #fff; }

/* --------------------------------------------------------------------------
   AJAX add to cart states
   -------------------------------------------------------------------------- */
.added_to_cart.wc-forward { display: none !important; }
.add_to_cart_button.loading { opacity: .65; pointer-events: none; position: relative; }
.add_to_cart_button.loading::after {
  content: ""; width: 14px; height: 14px; margin-left: 8px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent; animation: andol-spin .7s linear infinite;
}
.add_to_cart_button.added::before { content: "✓"; margin-right: 6px; }
@keyframes andol-spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   Product page
   -------------------------------------------------------------------------- */
.product__main--img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r-xl); background: #fff; }
.product__thumb { padding: 0; border: 2px solid transparent; border-radius: var(--r-lg); overflow: hidden; background: #fff; cursor: pointer; }
.product__thumb img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.product__thumb.is-active { border-color: var(--c-navy); }
.product__form .select { width: 100%; }

.tiers { background: #fff; border: 1px solid var(--c-line-2); border-radius: var(--r-xl); padding: var(--s-4) var(--s-5); }
.tiers__title { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font: 700 .875rem/1.3 var(--ff-head); color: var(--c-ink); }
.tiers__title .i { color: var(--c-ember); }
.tiers table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.tiers th { text-align: left; font: 600 var(--fs-xs)/1.3 var(--ff-body); color: var(--c-muted); text-transform: uppercase; letter-spacing: .06em; padding: 6px 8px; }
.tiers td { padding: 8px; border-top: 1px dashed var(--c-line-2); }
.tiers td:last-child, .tiers th:last-child { text-align: right; }
.tiers td:last-child { font: 700 .9375rem/1 var(--ff-head); color: var(--c-ember); }
.tiers tr.is-active td { background: var(--c-cream); }
.tiers tr.is-active td:first-child { box-shadow: inset 3px 0 0 var(--c-orange); }

/* --------------------------------------------------------------------------
   Cart
   -------------------------------------------------------------------------- */
.woocommerce-cart-form .cart-line img { border-radius: var(--r-md); aspect-ratio: 1 / 1; object-fit: cover; }
.woocommerce-cart-form [name="update_cart"][disabled] { opacity: .5; }
.summary__row--save { color: #1F7A4D; }
.cart-line__total .amount, .summary .amount { white-space: nowrap; }
.blockUI.blockOverlay { border-radius: var(--r-xl); }

/* --------------------------------------------------------------------------
   Checkout (Woo field markup → design fields)
   -------------------------------------------------------------------------- */
.woocommerce-checkout .form-row { display: grid; gap: 6px; margin: 0; }
.woocommerce-checkout .form-row label, .woocommerce form .form-row label { font: 600 var(--fs-sm)/1.3 var(--ff-body); color: var(--c-ink); }
.form-row .required { color: #B3122E; text-decoration: none; border: 0; }
.form-row .optional { display: none; }
.woocommerce-input-wrapper { display: block; }
.form-row-wide, .form-row.span-2 { grid-column: 1 / -1; }
.form-row.woocommerce-invalid .input, .form-row.woocommerce-invalid .select { border-color: var(--c-crimson); }
.form-row.woocommerce-validated .input { border-color: #B9DCC8; }
.woocommerce-checkout .checkout-step > h3 { display: none; }
.woocommerce-checkout .woocommerce-billing-fields > h3, .woocommerce-additional-fields > h3 { display: none; }
#billing_country_field strong { font-weight: 600; }
.woocommerce-checkout .hint { font-size: var(--fs-xs); color: var(--c-muted); }

.woocommerce-checkout-payment .wc_payment_methods { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.woocommerce-checkout-payment .payment_box { display: block; margin-top: 2px; }
.woocommerce-checkout-payment .payment_box p { margin: 0; }
.woocommerce-checkout-payment .place-order { display: grid; gap: var(--s-4); margin-top: var(--s-5); }
.woocommerce-terms-and-conditions-wrapper { font-size: var(--fs-sm); }
.woocommerce-privacy-policy-text p { font-size: var(--fs-xs); color: var(--c-muted); margin: 0 0 8px; }
.woocommerce-form__label-for-checkbox { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.woocommerce-form__label-for-checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--c-navy); flex: none; }
.woocommerce-terms-and-conditions { max-height: 240px; overflow: auto; padding: var(--s-4); border: 1px solid var(--c-line-2); border-radius: var(--r-md); margin-bottom: var(--s-4); }

.summary-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); margin-bottom: var(--s-4); }
.summary-table td, .summary-table th { padding: 10px 0; border-bottom: 1px dashed var(--c-line-2); text-align: left; font-weight: 400; vertical-align: top; }
.summary-table td:last-child { text-align: right; white-space: nowrap; padding-left: 12px; }
.summary-table tbody td { color: var(--c-text); }
.summary-table tfoot th { color: var(--c-text); }
.summary-table .order-total th, .summary-table .order-total td { border-bottom: 0; padding-top: 16px; font: 800 1.25rem/1.2 var(--ff-head); color: var(--c-ink); }
.summary-table .includes_tax { display: block; font: 400 var(--fs-xs)/1.4 var(--ff-body); color: var(--c-muted); }
.summary-table #shipping_method { list-style: none; margin: 0; padding: 0; text-align: right; }

/* --------------------------------------------------------------------------
   My account (Woo default markup, lightly styled)
   -------------------------------------------------------------------------- */
.woocommerce-account main .woocommerce { display: grid; gap: var(--s-6); margin-top: var(--s-6); }
@media (min-width: 900px) { .woocommerce-account.logged-in main .woocommerce { grid-template-columns: 240px 1fr; } }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: var(--s-3); background: #fff; border: 1px solid var(--c-line-2); border-radius: var(--r-xl); }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 12px; border-radius: var(--r-md); color: var(--c-navy); text-decoration: none; font: 600 .9375rem/1.2 var(--ff-head); }
.woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a:hover { background: var(--c-cream-2); }
.woocommerce-MyAccount-content, .woocommerce-form-login, .woocommerce-form-register, .woocommerce-ResetPassword { padding: var(--s-6); background: #fff; border: 1px solid var(--c-line-2); border-radius: var(--r-xl); }
main .woocommerce form .form-row { display: grid; gap: 6px; margin: 0 0 var(--s-4); }
main .woocommerce form .input-text, main .woocommerce form select { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-md); background: #fff; border: 1.5px solid #D8D9E4; }
main .woocommerce .button, main .woocommerce button[type="submit"]:not(.btn) {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border: 0; border-radius: var(--r-md);
  background: var(--c-orange); color: var(--c-navy); font: 700 .9375rem/1.2 var(--ff-head); text-decoration: none; cursor: pointer;
}
main .woocommerce .button:hover { background: var(--c-orange-600); color: var(--c-navy); }
.shop_table:not(.summary-table) { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r-lg); overflow: hidden; font-size: var(--fs-sm); }
.shop_table:not(.summary-table) th, .shop_table:not(.summary-table) td { padding: 12px 14px; border-bottom: 1px solid var(--c-line-2); text-align: left; }
.woocommerce-order-details, .woocommerce-customer-details { margin-top: var(--s-6); }

/* --------------------------------------------------------------------------
   Contact Form 7
   -------------------------------------------------------------------------- */
.wpcf7 form { margin: 0; }
.wpcf7-form-control-wrap { display: block; }
.wpcf7-not-valid-tip { display: block; margin-top: 4px; font-size: var(--fs-xs); color: #B3122E; }
.wpcf7-not-valid { border-color: var(--c-crimson) !important; }
.wpcf7 .wpcf7-response-output { margin: var(--s-4) 0 0 !important; padding: 12px 14px !important; border-radius: var(--r-md); font-size: var(--fs-sm); border-width: 1px !important; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #1F7A4D !important; background: #E3F6EA; color: #14532D; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: var(--c-crimson) !important; }
.wpcf7-spinner { margin: 0 0 0 8px; vertical-align: middle; }
.wpcf7 .screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Newsletter (footer) */
.newsletter__form .input-group { display: flex; }
.newsletter__form .input-group .wpcf7-form-control-wrap { flex: 1; }
.newsletter__form .input-group .input { border-radius: var(--r-md) 0 0 var(--r-md); }
.newsletter__form .input-group .btn { border-radius: 0 var(--r-md) var(--r-md) 0; }
.newsletter__form .wpcf7-spinner { display: none; }
.newsletter__form .wpcf7-response-output { color: var(--c-on-dark); background: transparent !important; }
.newsletter__form .wpcf7-not-valid-tip { color: #FFB4C0; }

/* --------------------------------------------------------------------------
   Header additions: top-bar social icons, larger mobile logo
   -------------------------------------------------------------------------- */
.topbar__links { margin-left: auto; }
.topbar__social { display: flex; align-items: center; gap: 2px; padding-left: var(--s-4); border-left: 1px solid rgba(255,255,255,.18); }
.topbar__social a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--c-on-dark); transition: color .2s var(--ease), background .2s var(--ease); }
.topbar__social a:hover { color: var(--c-navy); background: var(--c-orange); }
.topbar__social .i { width: 15px; height: 15px; }
@media (max-width: 767px) {
  .topbar__inner { justify-content: space-between; text-align: left; gap: var(--s-3); padding-block: 6px; }
  .topbar__msg { display: block; font-size: 11px; line-height: 1.4; }
  .topbar__msg .dot { display: inline-block; margin-right: 6px; vertical-align: 1px; }
  .topbar__msg a { white-space: nowrap; }
  .topbar__social { padding-left: 0; border-left: 0; flex: none; }
  .topbar__social a { width: 26px; height: 26px; }
}


/* "A unit of Andol Enterprises" under the logos */
.brand { flex-direction: column; align-items: flex-start; gap: 3px; text-decoration: none; }
.brand__unit { font: 600 10px/1 var(--ff-body); letter-spacing: .04em; color: var(--c-muted); white-space: nowrap; padding-left: 2px; }
.footer-unit { margin: calc(var(--s-4) * -1 + 4px) 0 var(--s-4); font: 600 var(--fs-xs)/1.3 var(--ff-body); letter-spacing: .04em; color: var(--c-orange); }

/* Header size (client request: taller header, bigger logo) */
:root { --header-h: 96px; }
.brand img { height: 56px; }
/* Search is an icon at every width; it opens a full-width bar under the header */
.site-header__inner > .header-search { display: none; }
.search-toggle { display: inline-grid; }
.mobile-search { padding-top: 4px; }
.mobile-search .header-search { max-width: 720px; margin-inline: auto; }
@media (min-width: 1200px) { .mobile-search.is-open { display: block !important; } }
.brand__unit { font-size: 11px; }
@media (max-width: 1279px) { .brand img { height: 50px; } }
@media (min-width: 1024px) and (max-width: 1199px) {
  .brand img { height: 44px; }
  .nav-link { padding-inline: 8px; font-size: .875rem; }
  .site-header__inner { gap: var(--s-3); }
}
@media (max-width: 1023px) {
  :root { --header-h: 80px; }
  .brand img { height: 50px; }
  .brand__unit { font-size: 10px; }
}
@media (max-width: 480px) {
  .brand img { height: 44px; }
  .brand__unit { font-size: 9px; }
}
@media (max-width: 380px) {
  .brand img { height: 38px; }
  .brand__unit { font-size: 8.5px; }
}
