/*
Theme Name: Armando's Storefront
Description: Reusable Storefront child theme for Armando's restaurants.
Author: Armando's
Template: storefront
Version: 0.9.1
Text Domain: armandos-storefront
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* Storefront loads this stylesheet automatically after its parent styles. */
#armandos-product-modal #product-addons-total { display: none; }
.armandos-order-count { white-space: nowrap; }
.armandos-order-line-total { display: flex; align-items: center; justify-content: flex-start; gap: 10px; white-space: nowrap; }
.armandos-order-remove { flex-shrink: 0; width: 28px; height: 32px; padding: 0; background: transparent; color: var(--armandos-burgundy); font-size: 22px; line-height: 1; }
.armandos-header-cart { position: relative; }
.armandos-cart-count { position: absolute; top: 0; right: -2px; display: flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 12px; background: var(--armandos-burgundy); color: white; font-size: 11px; font-weight: 700; line-height: 1; }
.armandos-menu-toggle.armandos-header-icon { display: none; background: transparent; border: 0; padding: 0; color: inherit; }
@media (max-width: 850px) {
  #masthead .armandos-header-actions { margin-left: auto; }
  #masthead .armandos-menu-toggle { display: flex; }
  #masthead .armandos-header-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 12px 20px; max-height: calc(100dvh - var(--armandos-header-height) - var(--armandos-admin-offset)); overflow-y: auto; background: var(--armandos-cream); border: 1px solid var(--armandos-border); box-shadow: 0 8px 20px #00000014; }
  #masthead .armandos-header-navigation.is-open { display: block; }
  #masthead .armandos-header-menu { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  #masthead .armandos-header-menu a { padding: 12px 0; font-size: 16px; white-space: normal; }
  #masthead .armandos-header-menu .sub-menu { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 16px; background: transparent; }
}
body:not(.single-product):not(.armandos-menu) .storefront-breadcrumb,
body:not(.single-product):not(.armandos-menu) .woocommerce-breadcrumb,
body.armandos-hide-page-title .type-page > .entry-header { display: none; }
.armandos-store-logo { display: block; max-width: 180px; max-height: 48px; width: auto; height: auto; }
body.armandos-modal-open { overflow: hidden; }
#armandos-product-modal { width: min(620px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 32px; border: 1px solid #dfcdb9; border-top: 5px solid var(--armandos-burgundy); border-radius: 16px; background: linear-gradient(155deg, #f5e8d7 0, #fffaf2 210px); color: var(--armandos-text); box-shadow: 0 24px 80px #27180f40; overflow-y: auto; }
#armandos-product-modal::backdrop { background: #30251e99; backdrop-filter: blur(3px); }
#armandos-product-modal .armandos-modal-close { position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; padding: 0; border-radius: 50%; background: #ffffffb3; color: var(--armandos-burgundy); font-size: 26px; }
#armandos-product-modal h2 { padding-right: 24px; font-family: Georgia, serif; font-weight: 700; color: var(--armandos-burgundy); font-size: 28px; margin-bottom: 12px; }
#armandos-product-modal .armandos-modal-description { color: #6c594b; line-height: 1.6; }
#armandos-product-modal .wc-pao-addon-name { color: #53654a; font-weight: 700; }
#armandos-product-modal button:focus-visible, #armandos-product-modal input:focus-visible, #armandos-product-modal select:focus-visible { outline: 2px solid #53654a; outline-offset: 3px; }
#armandos-product-modal .price { margin-bottom: 20px; color: var(--armandos-burgundy); font-weight: 600; }
#armandos-product-modal form.cart { margin: 20px 0 0; }
#armandos-product-modal .quantity { float: none; margin: 0 0 16px; }
.armandos-quantity-stepper { display: inline-flex; align-items: center; border: 1px solid var(--armandos-border); border-radius: 6px; overflow: hidden; }
.armandos-quantity-stepper button { width: 44px; height: 44px; padding: 0; font-size: 22px; }
#armandos-product-modal .armandos-quantity-stepper input.qty { width: 56px; height: 44px; border: 0; padding: 6px; text-align: center; margin: 0; box-shadow: none; -moz-appearance: textfield; }
.armandos-quantity-stepper input::-webkit-inner-spin-button, .armandos-quantity-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
#armandos-product-modal .single_add_to_cart_button { display: inline-flex; align-items: center; float: none; width: auto; border-radius: 4px; padding: 14px 16px; }
.armandos-modal-total { flex-shrink: 0; padding-right: 16px; margin-right: 16px; border-right: 1px solid #ffffff70; }
.armandos-modal-total[hidden] { display: none; }
.armandos-modal-add-label { flex: 1; text-align: center; }
#armandos-product-modal .woocommerce-variation-price { display: none; }
#armandos-product-modal .variations th, #armandos-product-modal .variations td { display: block; width: 100%; padding: 4px 0; background: transparent; }
#armandos-product-modal .variations select { width: 100%; padding: 8px; }
#armandos-product-modal .woocommerce-error { margin-top: 16px; }
#armandos-product-modal .armandos-modal-actions { display: flex; align-items: stretch; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #ddcbb7; }
#armandos-product-modal .armandos-quantity-stepper { border-color: #d5c4af; border-radius: 8px; background: white; }
#armandos-product-modal .armandos-quantity-stepper button { background: #eee2d1; color: #704333; }
#armandos-product-modal .armandos-quantity-stepper button:hover { background: #deceb6; }
#armandos-product-modal .armandos-quantity-stepper input.qty { background: #fffdf8; font-weight: 600; color: #49372d; }
#armandos-product-modal .armandos-modal-actions .quantity { flex: 0 0 auto; margin: 0; align-self: center; }
#armandos-product-modal .armandos-modal-actions .single_add_to_cart_button { flex: 0 1 auto; min-width: 0; width: auto; margin: 0 0 0 auto; padding: 12px; }
#armandos-product-modal .single_add_to_cart_button { background: var(--armandos-burgundy); color: white; box-shadow: 0 4px 12px #79282e26; border-radius: 8px; }
#armandos-product-modal .single_add_to_cart_button:hover { background: #5f1f25; }
#armandos-product-modal .armandos-modal-actions .armandos-modal-total { padding-right: 10px; margin-right: 10px; }
#armandos-product-modal .armandos-extra-options { display: grid; grid-template-columns: 1fr; gap: 8px; }
#armandos-product-modal .armandos-extra-options > div { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin: 0; border: 1px solid #e1d4c3; border-radius: 7px; background: #fffdf8; transition: background-color .15s, border-color .15s; }
#armandos-product-modal .armandos-extra-options > div:hover { background: #f7eedf; border-color: #bba17d; }
#armandos-product-modal .armandos-extra-options > div:has(input:checked) { border-color: #718563; background: #eaf0e2; box-shadow: inset 3px 0 #718563; }
#armandos-product-modal .armandos-extra-options input[type="checkbox"] { flex-shrink: 0; margin: 0; accent-color: #53654a; }
#armandos-product-modal .armandos-extra-options label { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex: 1; margin: 0; font-size: 13px; cursor: pointer; }
#armandos-product-modal .armandos-extra-options .wc-pao-addon-price { white-space: nowrap; font-size: 12px; color: #785735; font-weight: 600; }
#armandos-product-modal .armandos-extra-options > div:has(input:checked) .wc-pao-addon-price { color: #435837; }
@media (min-width: 600px) { #armandos-product-modal .armandos-extra-options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
  #armandos-product-modal { padding: 24px 16px; }
  #armandos-product-modal .armandos-modal-actions { gap: 8px; }
  #armandos-product-modal .armandos-quantity-stepper input.qty { width: 32px; }
  #armandos-product-modal .armandos-quantity-stepper button { width: 36px; }
  #armandos-product-modal .armandos-modal-actions .single_add_to_cart_button { flex-direction: column; justify-content: center; gap: 3px; padding: 8px; font-size: 12px; }
  #armandos-product-modal .armandos-modal-actions .armandos-modal-total { border: 0; padding: 0; margin: 0; }
}
.armandos-hero-gallery.wp-block-gallery { display: flex !important; flex-wrap: nowrap !important; gap: 0 !important; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 10px; position: relative; scrollbar-width: thin; }
.armandos-hero-gallery.wp-block-gallery figure.wp-block-image { flex: 0 0 100%; width: 100% !important; min-width: 0; margin: 0 !important; scroll-snap-align: start; }
.armandos-hero-gallery.wp-block-gallery figure.wp-block-image a { display: block; width: 100%; }
.armandos-hero-gallery.wp-block-gallery figure.wp-block-image img { display: block; flex: none !important; width: 100%; height: 460px !important; object-fit: cover; }
.armandos-carousel-frame { position: relative; overflow: hidden; border-radius: 10px; }
.armandos-carousel-frame .armandos-hero-gallery { margin: 0 !important; border-radius: 0; scrollbar-width: none; }
.armandos-carousel-frame .armandos-hero-gallery::-webkit-scrollbar { display: none; }
.armandos-carousel-controls button { position: absolute; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; min-height: 40px; padding: 0; border: 1px solid #ffffff60; border-radius: 50%; background: #302b2780; color: white; font-size: 26px; z-index: 2; }
.armandos-carousel-controls button:hover { background: #302b27cc; }
.armandos-carousel-prev { left: 14px; bottom: 14px; }
.armandos-carousel-next { right: 14px; bottom: 14px; }
.armandos-carousel-controls .armandos-carousel-pause { right: 14px; top: 14px; font-size: 16px; }
.armandos-carousel-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; padding: 2px 7px; border-radius: 24px; background: #302b2780; z-index: 2; }
.armandos-carousel-dots button { position: relative; width: 28px; height: 32px; min-height: 32px; border: 0; background: transparent; }
.armandos-carousel-dots button::before { content: ''; width: 7px; height: 7px; background: #ffffff70; border-radius: 50%; }
.armandos-carousel-dots button[aria-current="true"]::before { background: white; }
.armandos-carousel-hint { display: none; }
.armandos-home-hero .wp-block-columns { gap: 40px; margin-bottom: 0; }
@media (min-width: 782px) {
  .armandos-home-hero .wp-block-columns > .wp-block-column:first-child { flex-basis: 42% !important; flex-grow: 0; }
  .armandos-home-hero .wp-block-columns > .wp-block-column:last-child { flex-basis: 0 !important; flex-grow: 1; min-width: 0; }
}
.armandos-home-hero h1 { font-size: clamp(36px, 4.5vw, 58px) !important; line-height: 1.08; letter-spacing: -1.5px; margin: 16px 0 24px; }
.armandos-home-hero .wp-block-column > p:not(:first-child) { max-width: 440px; font-size: 16px !important; line-height: 1.65; }
.armandos-carousel-frame .wp-block-gallery figure.wp-block-image figcaption { left: auto; right: 64px; top: 18px; bottom: auto; width: auto; max-width: calc(100% - 95px); padding: 8px 12px; border-radius: 3px; background: #f8f5efed; color: var(--armandos-burgundy); font-size: 11px; font-weight: 600; letter-spacing: 1px; text-shadow: none; }
@media (max-width: 767px) { .armandos-home-hero { padding: 32px 20px 40px !important; } .armandos-home-hero .wp-block-columns { gap: 28px; } }
@media (max-width: 767px) { .armandos-hero-gallery.wp-block-gallery figure.wp-block-image img { height: 340px !important; } }
.storefront-breadcrumb { padding: 10px 0; margin-bottom: 12px; }
.storefront-breadcrumb .woocommerce-breadcrumb { padding: 0; margin: 0; }
:root { --armandos-cream: #f8f5ef; --armandos-burgundy: #79282e; --armandos-text: #302b27; --armandos-footer: #eee7dc; --armandos-border: #dcd3c7; --armandos-surface: #fffdf9; }
.armandos-header-menu .current-menu-item > a, .armandos-header-menu a:hover, .armandos-header-icon:hover { color: var(--armandos-burgundy); }
.armandos-categories .current-cat > a, .armandos-categories a[aria-current="page"] { color: var(--armandos-burgundy); }
.armandos-menu ul.products li.product .armandos-add-button { border-color: var(--armandos-burgundy); }
.armandos-product-copy h2 a:hover { color: var(--armandos-burgundy); }
.wp-block-button__link:not(.has-background) { background-color: var(--armandos-burgundy); }
.wp-block-button__link:not(.has-text-color) { color: #fff; }
.wp-block-button.is-style-outline .wp-block-button__link:not(.has-background) { background: transparent; }
.wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color) { color: var(--armandos-burgundy); }
:root { --armandos-header-height: 77px; --armandos-admin-offset: 0px; }
.admin-bar { --armandos-admin-offset: 32px; }
/* Clip horizontal overflow without creating a scroll container for sticky items. */
#page.site { overflow-x: clip; }
#masthead.site-header { padding: 0; position: sticky; top: var(--armandos-admin-offset); z-index: 1000; }
html { scroll-padding-top: calc(var(--armandos-header-height) + var(--armandos-admin-offset) + 16px); }
@media (max-width: 782px) { .admin-bar { --armandos-admin-offset: 46px; } }
@media (max-width: 700px) { :root { --armandos-header-height: 65px; } }
#masthead .armandos-header-row { display: flex; align-items: center; gap: 32px; min-height: 76px; max-width: 1200px; position: relative; }
#masthead .armandos-header-row::before, #masthead .armandos-header-row::after { display: none; }
.armandos-site-name { font-size: 24px; font-weight: 700; color: inherit; white-space: nowrap; text-decoration: none; }
.armandos-header-navigation { margin-left: auto; min-width: 0; }
.armandos-header-menu { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; }
.armandos-header-menu > li { position: relative; }
.armandos-header-menu a { display: block; padding: 12px 0; color: inherit; text-decoration: none; white-space: nowrap; font-size: 14px; }
.armandos-header-menu a:hover, .armandos-header-menu .current-menu-item > a { text-decoration: underline; }
.armandos-header-menu .sub-menu { display: none; position: absolute; left: 0; top: 100%; list-style: none; min-width: 180px; margin: 0; padding: 10px 16px; background: var(--armandos-surface); border: 1px solid var(--armandos-border); z-index: 101; }
.armandos-header-menu li:hover > .sub-menu, .armandos-header-menu li:focus-within > .sub-menu { display: block; }
.armandos-header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.armandos-header-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: inherit; cursor: pointer; }
.armandos-header-icon:hover { background: var(--armandos-footer); }
.armandos-header-icon:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.armandos-header-search > summary { list-style: none; }
.armandos-header-search > summary::-webkit-details-marker { display: none; }
.armandos-search-panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(340px, calc(100vw - 40px)); padding: 10px; border: 1px solid var(--armandos-border); border-radius: 6px; background: var(--armandos-surface); z-index: 102; box-shadow: 0 6px 20px #00000012; }
#masthead .armandos-search-form { display: flex; align-items: center; margin: 0; border: 1px solid #ccc; border-radius: 3px; background: var(--armandos-surface); overflow: hidden; }
#masthead .armandos-search-form:focus-within { border-color: #666; box-shadow: 0 0 0 1px #666; }
#masthead .armandos-search-form input[type="search"] { flex: 1; min-width: 0; width: 0; height: 44px; padding: 10px 12px; border: 0; border-radius: 0; background: var(--armandos-surface); box-shadow: none; outline: none; font-size: 14px; color: var(--armandos-text); }
#masthead .armandos-search-form button { display: flex; align-items: center; justify-content: center; flex: 0 0 44px; height: 44px; padding: 0; background: var(--armandos-surface); border: 0; color: var(--armandos-text); }
#masthead .armandos-search-form button:hover { background: var(--armandos-footer); }
@media (max-width: 700px) {
  #masthead .armandos-header-row { gap: 12px; min-height: 64px; }
  .armandos-site-name { font-size: 18px; }
  .armandos-header-menu { gap: 14px; }
  .armandos-header-menu a { font-size: 13px; }
  .armandos-header-actions { gap: 0; }
  .armandos-header-icon { width: 36px; }
}
@media (max-width: 480px) {
  #masthead .armandos-header-row { gap: 8px; }
  .armandos-site-name { font-size: 15px; }
  .armandos-header-navigation { overflow-x: auto; }
  .armandos-header-menu { gap: 12px; }
}
.armandos-combined-checkout #primary { width: 100%; float: none; margin-right: 0; }
.armandos-checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 220px; align-items: start; gap: 32px; }
.armandos-checkout-content { min-width: 0; }
.armandos-combined-checkout form.checkout #customer_details .col-1,
.armandos-combined-checkout form.checkout #customer_details .col-2 {
  float: none;
  width: 100%;
  margin-right: 0;
}
.armandos-combined-checkout form.checkout #customer_details { float: left; width: 52%; margin-right: 4%; }
.armandos-combined-checkout form.checkout #order_review_heading,
.armandos-combined-checkout form.checkout #order_review { display: block; float: right; clear: right; width: 44%; margin-right: 0; }
.armandos-combined-checkout form.checkout #armandos-checkout-shipping[hidden] { display: none; }
.armandos-combined-checkout #armandos-checkout-shipping table { margin-bottom: 16px; font-size: 14px; }
.armandos-combined-checkout #armandos-checkout-shipping th { display: none; }
.armandos-combined-checkout #armandos-checkout-shipping td { padding: 10px 12px; }
.armandos-combined-checkout #armandos-checkout-shipping ul { list-style: none; margin: 0; }
.armandos-combined-checkout #armandos-checkout-shipping li { margin-bottom: 6px; }
.armandos-combined-checkout #armandos-checkout-shipping li:last-child { margin-bottom: 0; }
#armandos-delivery-cities { border: 0; padding: 0; margin: 0 0 12px; }
#armandos-delivery-cities[hidden], #armandos-fulfilment label[hidden], .armandos-minimum-notice[hidden] { display: none; }
#armandos-fulfilment { border: 0; padding: 0; margin: 0 0 12px; }
#armandos-fulfilment label { display: inline-block; margin-right: 16px; cursor: pointer; font-size: 14px; }
.armandos-minimum-notice { font-size: 14px; margin: 8px 0 12px; }
#armandos-delivery-cities legend { font-size: 14px; margin-bottom: 6px; }
#armandos-delivery-cities label { display: inline-block; padding: 7px 10px; margin: 0 4px 6px 0; border: 1px solid var(--armandos-border); border-radius: 3px; cursor: pointer; font-size: 14px; }
#armandos-delivery-cities label:has(input:checked) { border-color: var(--armandos-burgundy); background: var(--armandos-footer); }
@media (max-width: 767px) {
  .armandos-combined-checkout .armandos-checkout-layout > aside { display: none; }
  .armandos-combined-checkout #order_review > #customer_details { margin-top: 20px; margin-bottom: 20px; }
  .armandos-combined-checkout form.checkout #customer_details,
  .armandos-combined-checkout form.checkout #order_review_heading,
  .armandos-combined-checkout form.checkout #order_review { float: none; clear: both; width: 100%; margin-right: 0; }
}
.armandos-combined-checkout .storefront-breadcrumb { padding: 10px 0; margin-bottom: 12px; }
.armandos-combined-checkout .woocommerce-breadcrumb { padding: 0; margin: 0; font-size: 12px; }
.armandos-combined-checkout .entry-header { padding-bottom: 0; margin-bottom: 16px; }
.armandos-combined-checkout .entry-title { font-size: 28px; margin-bottom: 12px; }
.armandos-combined-checkout form.checkout h3 { font-size: 20px; margin: 0 0 10px; }
.armandos-combined-checkout form.checkout .form-row { margin: 0 0 10px; padding: 0; }
.armandos-combined-checkout form.checkout .form-row label { margin: 0 0 3px; line-height: 1.4; font-size: 14px; }
.armandos-combined-checkout form.checkout input.input-text { padding: 7px 10px; min-height: 36px; font-size: 14px; line-height: 1.4; }
.armandos-combined-checkout form.checkout textarea { padding: 7px 10px; min-height: 60px; height: 60px; font-size: 14px; }
.armandos-combined-checkout #customer_details { margin-bottom: 0; }
.armandos-combined-checkout #customer_details .col-1,
.armandos-combined-checkout #customer_details .col-2 { margin-bottom: 0; }
.armandos-combined-checkout .woocommerce-checkout-review-order-table { margin-bottom: 0; font-size: 14px; }
.armandos-combined-checkout .woocommerce-checkout-review-order-table th,
.armandos-combined-checkout .woocommerce-checkout-review-order-table td { padding: 8px 12px; }
.armandos-combined-checkout #payment .payment_methods > li > label { padding: 10px 12px; }
.armandos-combined-checkout #payment .payment_box { padding: 10px 12px; font-size: 14px; }
.armandos-combined-checkout #payment .place-order { padding: 12px; margin-top: 0; }
.armandos-combined-checkout #payment .woocommerce-privacy-policy-text { font-size: 12px; }
.armandos-combined-checkout #payment .woocommerce-privacy-policy-text p { margin-bottom: 10px; }
.armandos-combined-checkout #armandos-cart .woocommerce-mini-cart__buttons { display: none; }
@media (max-width: 850px) { .armandos-checkout-layout { grid-template-columns: minmax(0, 1fr); } }
.site-footer { padding: 36px 0 20px; background: var(--armandos-footer); border-top: 1px solid var(--armandos-border); }
.site-footer > .col-full { max-width: 1200px; }
.armandos-footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; font-size: 14px; }
.armandos-footer-grid h2 { font-size: 17px; font-weight: 600; margin: 0 0 12px; }
.armandos-footer-grid p { margin: 0 0 10px; }
.armandos-footer-grid ul { list-style: none; margin: 0; }
.armandos-footer-grid li { margin-bottom: 6px; }
.armandos-footer-grid a { color: inherit; text-decoration: underline; }
.armandos-footer-bottom { border-top: 1px solid var(--armandos-border); margin-top: 24px; padding-top: 16px; font-size: 12px; }
@media (max-width: 600px) { .armandos-footer-grid { grid-template-columns: 1fr; gap: 24px; } }
/* Scope the ordering layout to product archives; retain Storefront elsewhere. */
.col-full { max-width: 1200px; }
body.page #primary { width: 100%; float: none; margin-right: 0; }
body.page .type-page > .entry-content,
body.page .type-page > .entry-header { max-width: none; }
.armandos-order-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 220px;
  gap: 24px;
  align-items: start;
  margin-bottom: 40px;
}
.armandos-menu .armandos-order-layout #primary {
  float: none;
  width: auto;
  margin: 0;
  min-width: 0;
}
.armandos-panel { border: 1px solid var(--armandos-border); background: var(--armandos-footer); padding: 16px; font-size: 14px; }
.armandos-panel h2 { font-size: 18px; font-weight: 600; margin: 0 0 14px; }
.armandos-shop-widgets { min-width: 0; }
.armandos-shop-widgets > .widget { margin-bottom: 20px; }
.armandos-shop-widgets .widget-title { padding-bottom: 0; border-bottom: 0; }
.armandos-shop-widgets .widget:last-of-type { margin-bottom: 0; }
.armandos-shop-widgets img { max-width: 100%; height: auto; }
.armandos-categories, .armandos-cart { align-self: stretch; }
.armandos-categories > [id^="armandos_categories-"],
.armandos-cart > [id^="armandos_cart-"] {
  position: sticky;
  top: calc(var(--armandos-header-height) + var(--armandos-admin-offset) + 16px);
  max-height: calc(100vh - var(--armandos-header-height) - var(--armandos-admin-offset) - 32px);
  max-height: calc(100dvh - var(--armandos-header-height) - var(--armandos-admin-offset) - 32px);
  overflow-y: auto;
  z-index: 1;
}
.armandos-categories ul { list-style: none; margin: 0; }
.armandos-categories ul ul { margin-left: 12px; }
.armandos-categories a { display: block; padding: 5px 0; color: inherit; text-decoration: underline; }
.armandos-categories a[aria-current="page"], .armandos-categories .current-cat > a { font-weight: 700; }
.armandos-menu .woocommerce-products-header { padding: 0 0 16px; text-align: left; }
.armandos-menu .woocommerce-products-header h1 { font-size: 28px; margin: 0; }
.armandos-menu .storefront-sorting { font-size: 13px; margin-bottom: 12px; }
.armandos-menu .woocommerce-ordering { float: none; margin-bottom: 8px; }
.armandos-menu .woocommerce-ordering select { max-width: 100%; }
.armandos-menu ul.products { margin: 0; }
.armandos-menu ul.products::before, .armandos-menu ul.products::after { display: none; }
.armandos-menu #main ul.products li.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  width: 100%;
  float: none;
  text-align: left;
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--armandos-border);
}
.armandos-menu #main ul.products li.product .woocommerce-loop-product__title { font-size: 16px; font-weight: 600; margin: 0 0 6px; padding: 0; }
.armandos-product-copy { min-width: 0; overflow-wrap: anywhere; }
.armandos-product-copy h2 a { color: inherit; }
.armandos-product-description { font-size: 14px; }
.armandos-product-description p { margin: 0 0 6px; }
.armandos-product-order { display: flex; align-items: flex-start; gap: 12px; }
.armandos-menu ul.products li.product .price { margin: 6px 0 0; white-space: nowrap; font-size: 14px; }
.armandos-add-to-cart { display: flex; gap: 8px; align-items: center; margin: 0; }
.armandos-add-to-cart .quantity { float: none; margin: 0; }
.armandos-add-to-cart .quantity .qty { width: 56px; min-height: 38px; padding: 6px; background: var(--armandos-surface); border: 1px solid #bbb; box-shadow: none; }
.armandos-menu ul.products li.product .armandos-add-button { margin: 0; min-width: 38px; min-height: 38px; padding: 4px 10px; font-size: 20px; line-height: 1.4; border: 1px solid #bbb; }
.armandos-add-button:disabled { opacity: .5; cursor: wait; }
.armandos-cart .widget_shopping_cart { margin: 0; }
.armandos-cart .product_list_widget li { padding-right: 18px; padding-left: 20px; }
.armandos-cart .product_list_widget img { display: none; }
.armandos-cart .woocommerce-mini-cart__buttons .button { display: block; margin: 8px 0 0; text-align: center; }
.armandos-cart .woocommerce-mini-cart__empty-message { margin: 0; }
@media (max-width: 1100px) {
  .armandos-order-layout { grid-template-columns: 220px minmax(0, 1fr) 220px; gap: 16px; }
  .armandos-menu #main ul.products li.product { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 850px) {
  .armandos-order-layout { grid-template-columns: 150px minmax(0, 1fr); }
  .armandos-cart { grid-column: 2; }
  .armandos-cart > [id^="armandos_cart-"] { position: static; max-height: none; }
}
@media (max-width: 600px) {
  .armandos-order-layout { grid-template-columns: minmax(0, 1fr); }
  .armandos-categories > [id^="armandos_categories-"] { position: static; max-height: none; }
  .armandos-menu .armandos-categories { position: sticky; top: calc(var(--armandos-header-height) + var(--armandos-admin-offset)); align-self: start; z-index: 20; background: var(--armandos-cream); }
  .armandos-categories > [id^="armandos_categories-"] { padding: 8px; margin-bottom: 0; overflow: visible; }
  .armandos-categories [id^="armandos_categories-"] .widget-title { display: none; }
  .armandos-categories [id^="armandos_categories-"] > ul { display: flex; flex-wrap: wrap; gap: 4px; overflow: visible; margin: 0; }
  .armandos-categories [id^="armandos_categories-"] > ul > li { flex: 0 0 auto; }
  .armandos-categories a { padding: 6px 8px; white-space: normal; }
  .armandos-cart { grid-column: 1; }
  .armandos-menu .woocommerce-products-header h1 { font-size: 24px; }
  .armandos-menu #main ul.products li.product { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .armandos-product-order { flex-wrap: nowrap; gap: 8px; }
}



