/*
Theme Name: Burger
Theme URI: https://example.com/burger
Author: Burger Team
Author URI: https://example.com
Description: A lightweight starter WordPress theme called Burger.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: burger
*/

/* Basic reset */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #fff;
}

a {
  color: #c0392b;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header,
.site-footer {
  background: #111;
  color: #fff;
  padding: 1rem;
}

.site-header a,
.site-footer a {
  color: #fff;
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

.site-main {
  padding: 2rem 0;
}

.site-title {
  margin: 0;
  font-size: 1.5rem;
}

.site-description {
  margin: 0.25rem 0 0;
  opacity: 0.8;
}

.primary-menu {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 1rem 0 0;
}

.post {
  margin-bottom: 2rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 1.5rem;
}

.entry-title {
  margin-top: 0;
}

.widget-area {
  margin-top: 2rem;
  padding: 1rem;
  border: 1px solid #eee;
  background: #fafafa;
}

/* Libertine header: submenu dropdowns — solid white (overrides .gradient / black mobile panel) */
.fixed-menus .header__submenu.list-menu,
.fixed-menus .header__submenu.list-menu--disclosure,
.header-bottom .header__submenu.list-menu,
.header-bottom .header__submenu.list-menu--disclosure,
.fixed-menu .header__submenu.list-menu,
.fixed-menu .header__submenu.list-menu--disclosure {
  background-color: #fff !important;
  background-image: none !important;
}

.fixed-menu .header__submenu.list-menu li a {
  background-color: #fff !important;
  color: var(--black, #0a131c) !important;
}

.fixed-menu .header__submenu.list-menu li a:hover {
  background-color: var(--black, #0a131c) !important;
  color: #fff !important;
}

.fixed-menus ul li ul.header__submenu li a,
.header-bottom .header__submenu.list-menu li a {
  color: var(--black, #0a131c) !important;
}

.fixed-menus ul li ul.header__submenu li a:hover,
.header-bottom .header__submenu.list-menu li a:hover {
  color: #fff !important;
  background-color: var(--black, #0a131c) !important;
}

/* Libertine shell: header logos 1.5× (base.css: link 15rem, sticky slot 5rem) */
.head-flex .header__heading-link {
  width: 22.5rem !important;
}

/* Sticky header logo: 1.5× base 5rem slot → 7.5rem, then ×1.5 again for visible image size */
.fixed-head .sticky-logo {
  width: 11.25rem !important;
}

.fixed-head .sticky-logo img {
  width: 100%;
  height: auto;
  max-width: 100%;
}

@media (min-width: 1081px) {
  .fixed-menus {
    left: 15.85rem !important;
    width: calc(100% - 24rem) !important;
  }
}

@media (max-width: 1270px) and (min-width: 1081px) {
  .fixed-menus {
    left: 17.85rem !important;
    width: calc(100% - 24rem) !important;
  }
}

/* WooCommerce: single product title */
.woocommerce div.product .product_title{
  font-size: 30px !important;
  padding-top: 40px !important;
}

/* WooCommerce: description under price, above add to cart */
.woocommerce div.product .burger-wc-single-description {
  margin: 0 0 1.5rem;
}

/* WooCommerce: Libertine-style quantity (+ / −) */
.wrap-quant {
  /* display: inline-block; */
  vertical-align: middle;
  margin: 0 0.75rem 2rem 0;

}

.burger-quantity-input.quantity {
  display: inline-flex;
  flex-direction: row;
  align-items: stretch;
  border: 0.1rem solid rgba(10, 19, 28, 0.22);
  border-radius: 0.4rem;
  overflow: hidden;
  vertical-align: middle;
}

.wrap-quant .quantity__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  min-width: 4.4rem;
  padding: 0;
  margin: 0;
  border: none;
  background: #f3f3f3;
  color: #0a131c;
  cursor: pointer;
  line-height: 0;
  transition: background 0.15s ease;
}

.wrap-quant .quantity__button:hover {
  background: #e5e5e5;
}

.wrap-quant .quantity__button .icon {
  width: 1rem;
  height: 1rem;
}

.wrap-quant .quantity__input {
  width: 4.5rem;
  min-width: 3rem;
  margin: 0;
  padding: 0.55rem 0.35rem;
  border: none;
  border-left: 0.1rem solid rgba(10, 19, 28, 0.12);
  border-right: 0.1rem solid rgba(10, 19, 28, 0.12);
  text-align: center;
  font-size: 1.6rem;
  line-height: 1.3;
  -moz-appearance: textfield;
}

.wrap-quant .quantity__input::-webkit-outer-spin-button,
.wrap-quant .quantity__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.woocommerce .cart .wrap-quant {
  margin-right: 0.5rem;
  margin-bottom: 2rem !important;
}

/* WooCommerce: add to cart button under quantity (product page) */
body.single-product .woocommerce div.product form.cart,
body.single-product .woocommerce div.product .woocommerce-variation-add-to-cart.variations_button {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

body.single-product .woocommerce div.product form.cart .wrap-quant,
body.single-product .woocommerce div.product .woocommerce-variation-add-to-cart .wrap-quant {
  display: block;
  margin-right: 0;
  align-self: flex-start;
}

body.single-product .woocommerce div.product form.cart .single_add_to_cart_button,
body.single-product .woocommerce div.product .woocommerce-variation-add-to-cart .single_add_to_cart_button {
  float: none !important;
  align-self: stretch;
  width: 100%;
  max-width: 100%;
}

/* WooCommerce: Libertine-style add to cart (product-form__submit) */
body.single-product .single_add_to_cart_button.product-form__submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.8rem;
  padding: 1.2rem 2rem;
  box-sizing: border-box;
  border: 0.25rem solid var(--black, #0a131c);
  border-radius: 3rem;
  background: var(--color-background, #fff);
  color: var(--black, #0a131c);
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

body.single-product .single_add_to_cart_button.product-form__submit:hover,
body.single-product .single_add_to_cart_button.product-form__submit:focus-visible {
  background: #000 !important;
  background-color: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
}

body.single-product .single_add_to_cart_button.product-form__submit .loading-overlay__spinner.hidden {
  display: none;
}

body.single-product .single_add_to_cart_button.product-form__submit.loading .loading-overlay__spinner {
  display: inline-block !important;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 2.4rem;
  height: 2.4rem;
}

body.single-product .single_add_to_cart_button.product-form__submit.loading > span:first-of-type {
  visibility: hidden;
}

body.single-product .single_add_to_cart_button.product-form__submit .path {
  stroke: currentColor;
}

/* WooCommerce: single product — gallery centered, stacked above summary */
body.single-product .woocommerce div.product div.images.woocommerce-product-gallery {
  float: none !important;
  width: 100% !important;
  max-width: min(100%, 640px);
  margin: 10px auto 0 !important;
}

body.single-product .woocommerce div.product div.summary {
  float: none !important;
  width: 100% !important;
  clear: both;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* WooCommerce: single product — main image + gallery thumbnails (30px radius) */
body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image {
  border-radius: 30px;
  overflow: hidden;
}

body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img,
body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image a {
  border-radius: 30px;
  display: block;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs img {
  border-radius: 30px;
}

body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image--placeholder {
  border-radius: 30px;
  overflow: hidden;
}

body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image--placeholder img {
  border-radius: 30px;
  display: block;
}

/* WooCommerce: hide notice banners on product page (incl. AJAX add-to-cart) */
body.single-product .woocommerce-notices-wrapper {
  display: none !important;
}

.woocommerce div.product div.images.woocommerce-product-gallery{
  margin-top: 40px !important;
}
.woocommerce-product-gallery__wrapper{
  text-align: center;
  img{
    margin-bottom: 10px;
  }
}

.woocommerce div.product form.cart .button{
  margin-top: 2rem !important;
}

/* Shop / Libertine product cards: arrow icon from local mirror asset */
.card__heading a {
  position: relative;
  padding-right: 4rem;
}

.card__heading a::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 3rem;
  height: 3rem;
  margin: auto 0 auto 1rem;
  background-image: url("mirror/cdn/shop/t/16/assets/arrowrightw.png");
  background-position: center;
  background-size: 0.5rem;
  background-repeat: no-repeat;
  background-color: var(--blue, #0082ca);
  border-radius: 50%;
  border: 0.25rem solid var(--black, #0a131c);
  z-index: 100;
  cursor: pointer;
  box-sizing: border-box;
}