#gm-shop *{box-sizing: border-box;}



#gm-shop h2{font-family: Georgia,serif; color: #e7c777; font-weight: 400;}

#gm-shop h2{font-size: 24px; margin: 0 0 14px;}

#gm-shop.order{border: 1px solid #675638; border-radius: 8px; background: #131311; padding: clamp(11px,2vw,18px);}
#gm-shop .products{display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 14px; align-items: start;}
#gm-shop button,#gm-shop select,#gm-shop input,#gm-shop textarea{font: inherit; color: inherit;}
#gm-shop button{cursor: pointer; background: #201b14; border: 1px solid #8c7447; border-radius: 5px; padding: 8px 12px;}
#gm-shop button:focus-visible,#gm-shop input:focus-visible,#gm-shop select:focus-visible,#gm-shop textarea:focus-visible{outline: 2px solid #efca80; outline-offset: 2px;}
#gm-shop button:hover{border-color: #e7c777; color: #f8d995;}
#gm-shop button:disabled{opacity: .36; cursor: default;}


#gm-shop .gm-shop-gallery{min-width: 0;}
#gm-shop .rail{position: relative; display: flex; gap: 8px; overflow: auto; scrollbar-width: none; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; scroll-padding-inline: 1px;}
#gm-shop .rail::-webkit-scrollbar{display: none;}
#gm-shop .card{scroll-snap-align: start; flex: 0 0 min(55%,200px); display: grid; gap: 6px; min-width: 0; background: #0c0d0d; border: 1px solid #514633; border-radius: 5px; padding: 5px;}
#gm-shop .card:last-child{margin-inline-end: max(0px,calc(100% - min(55%,200px)));}
#gm-shop .card.active{border-color: #b5975e;}
#gm-shop .image{padding: 0; border: 0; background: none; width: 100%;}
#gm-shop .card img{width: 100%; height: 136px; object-fit: contain; display: block;}
#gm-shop .pick{padding: 5px 3px; white-space: normal; color: #efd196; font-size: 13px;}
#gm-shop .gm-shop-nav{display: grid; grid-template-columns: 32px minmax(0,1fr) 32px; align-items: center; gap: 8px; margin: 8px 0 0;}
#gm-shop .gm-shop-nav button{height: 28px; padding: 0; line-height: 1; font-size: 20px;}
#gm-shop #gm-shop-jump{width: 100%; min-width: 0; height: 14px; accent-color: #e7c777;}
#gm-shop form{border-top: 1px solid #514633; margin-top: 14px; padding-top: 12px;}
#gm-shop .fields{display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px;}
#gm-shop label{display: grid; gap: 4px; font-size: 13px; min-width: 0;}
#gm-shop input,#gm-shop select,#gm-shop textarea{width: 100%; min-width: 0; background: #0d0e0e; border: 1px solid #685739; border-radius: 4px; padding: 8px;}
#gm-shop textarea{resize: vertical; min-height: 55px;}
#gm-shop .wide{grid-column: 1/-1;}
#gm-shop .order-lines{display: grid; gap: 8px; margin-bottom: 14px;}
#gm-shop .order-line{display: flex; flex-wrap: wrap; align-items: end; gap: 8px; padding: 8px; border: 1px solid #514633; border-radius: 5px;}
#gm-shop .order-line .product-label{flex: 1 1 110px; align-self: center; color: #efd196;}
#gm-shop .product-label strong,#gm-shop .product-label small{display: block;}
#gm-shop .product-label small{color: #c5b69b;}
#gm-shop .order-line label{flex: 1 1 106px;}
#gm-shop .order-line .qty{flex: 0 1 96px;}
#gm-shop .remove{padding: 7px 9px; background: transparent;}
#gm-shop .order-lines:empty{display: none;}
#gm-shop #gm-shop-summary{white-space: pre-wrap; border-top: 1px solid #514633; margin: .8em 0 0; padding-top: 8px; color: #efdbb3;}
#gm-shop .actions{display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; margin-top: 8px;}
#gm-shop #gm-shop-status{color: #e7c777; font-size: 13px;}
#gm-shop dialog{position: fixed; inset: 0; background: #060606; border: 0; color: #e7c777; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; overflow: hidden;}
#gm-shop dialog[open]{display: grid; grid-template-rows: auto minmax(0,1fr);}
#gm-shop dialog::backdrop{background: #060606;}
#gm-shop .viewer-tools{position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 10px; gap: 12px; background: #0d0d0deb;}
#gm-shop #gm-shop-close{font-size: 25px; line-height: 1; padding: 5px 10px; box-shadow: 0 0 9px #f3cf654a;}
#gm-shop .photo-area{overflow: auto; display: flex; align-items: flex-start; justify-content: center; min-height: 0;}
#gm-shop #gm-shop-large{width: 100%; height: 100%; object-fit: contain; display: block; cursor: zoom-in;}
#gm-shop .photo-area.zoom{display: block;}
#gm-shop .zoom #gm-shop-large{width: max(180%,650px); max-width: none; height: auto; cursor: zoom-out;}
@media (max-width:630px){
#gm-shop .products{grid-template-columns: minmax(0,1fr); gap: 9px;}


#gm-shop .card{flex-basis: min(62%,171px);}
#gm-shop .card:last-child{margin-inline-end: calc(100% - min(62%,171px));}
#gm-shop .card img{height: 109px;}
#gm-shop .fields .contact{grid-column: 1/-1;}
}



#gm-shop.order{padding: clamp(8px,2vw,14px);}
#gm-shop .products{display: block;}
#gm-shop .rail{position: relative; gap: 6px; scroll-padding-inline: 0; --peek: clamp(13px,5%,40px);}
#gm-shop .card,#gm-shop .card:last-child{flex: 0 0 calc((100% - 2 * var(--peek) - 24px) / 3); margin: 0; scroll-snap-align: center; gap: 4px; padding: 3px;}
#gm-shop .card:first-child{scroll-snap-align: start;}
#gm-shop .card:last-child{scroll-snap-align: end;}
#gm-shop .card img{height: auto; aspect-ratio: 1;}
#gm-shop .pick{font-size: clamp(11px,2.9vw,13px); white-space: nowrap; padding: 5px 1px;}
#gm-shop .shimmer{display: flex; height: 15px; margin-bottom: 4px; overflow: hidden; border: 1px solid #66563776; border-radius: 4px; background: #201a13; user-select: none;}
#gm-shop .flow{position: relative; flex: 1; overflow: hidden;}
#gm-shop .flow i{position: absolute; left: 0; top: 0; font: 15px/12px Arial,sans-serif; font-style: normal; color: #e7c777; text-shadow: 0 0 5px #efd691; animation: gm-shop-travel 4.8s linear infinite; opacity: 0;}
#gm-shop .flow.back i{animation-name: gm-shop-travel-back;}
@keyframes gm-shop-travel { 
  0% {left: 0; opacity: 0;} 
  20%,70% {opacity: .49;} 
  100% {left: 98%; opacity: 0;} 
}
@keyframes gm-shop-travel-back { 
  0% {left: 98%; opacity: 0;} 
  20%,70% {opacity: .49;} 
  100% {left: 0; opacity: 0;} 
}
#gm-shop .flow[hidden]{display: none;}
@media (prefers-reduced-motion:reduce){
#gm-shop .flow i{animation: none; display: none;}
#gm-shop .flow i:first-child{display: block; left: 50%; opacity: .62;}
}
#gm-shop .gm-shop-nav{margin-top: 4px;}
#gm-shop form{margin-top: 8px; padding-top: 8px;}
#gm-shop h2{margin-bottom: 3px;}
#gm-shop .intro{font-size: 13px; line-height: 1.4; color: #fff; margin: 0;}
#gm-shop .intro,#gm-shop #gm-shop-empty-order{text-align: justify; text-align-last: start;}
#gm-shop .order-lines{gap: 4px; margin-bottom: 7px;}
#gm-shop .order-line{display: flex; flex-wrap: wrap; align-items: end; gap: 5px; padding: 5px;}
#gm-shop .product-label{display: flex; align-items: center; gap: 6px; flex: 1 1 125px; min-width: 0;}
#gm-shop .order-line label{flex: 1 1 64px;}
#gm-shop .order-line .qty{flex: 0 1 79px;}
#gm-shop .remove{padding: 7px 6px; font-size: 12px;}
#gm-shop .fields{gap: 6px;}
#gm-shop label{gap: 3px;}
#gm-shop input,#gm-shop select,#gm-shop textarea{padding: 6px;}
#gm-shop textarea{min-height: 46px;}
#gm-shop .actions button{min-width: 0; min-height: 38px; padding: 7px 4px; text-align: center; font-size: clamp(12px,3.7vw,15px);}
#gm-shop #gm-shop-status{display: block; margin-top: 4px;}
#gm-shop #gm-shop-status:empty{display: none;}
#gm-shop .thumb{width: 42px; min-width: 42px; padding: 1px; background: #101010;}
#gm-shop .thumb img{display: block; width: 100%; aspect-ratio: 1; object-fit: contain;}
#gm-shop #gm-shop-summary{border-top: 1px solid #514633; padding-top: 7px; margin-top: 7px;}
#gm-shop #gm-shop-summary h3{font-size: 15px; margin: 0 0 5px;}
#gm-shop .summary-row{display: flex; align-items: center; gap: 7px; padding: 4px 0; border-bottom: 1px solid #343026;}
#gm-shop .summary-row strong{color: white;}
#gm-shop .summary-row small{display: block; color: #d0c2a8;}
#gm-shop .summary-contacts{margin: 6px 0 0; white-space: pre-wrap; overflow-wrap: anywhere;}
#gm-shop #gm-shop-phone-group{position: relative; display: grid; grid-template-columns: auto 1fr; gap: 5px;}
#gm-shop #gm-shop-country-trigger,#gm-shop .country-choice{display: flex; align-items: center; gap: 6px; padding: 5px 7px;}
#gm-shop .flag{font-size: 17px; line-height: 1;}
#gm-shop .call-code{color: #efcf87; font-variant-numeric: tabular-nums; white-space: nowrap;}
#gm-shop #gm-shop-country-menu{position: absolute; top: 100%; left: 0; right: 0; z-index: 3; background: #181612; border: 1px solid #8c7447; border-radius: 5px; padding: 5px; box-shadow: 0 6px 18px #0009;}
#gm-shop #gm-shop-country-options{max-height: min(38vh,220px); overflow: auto;}
#gm-shop .country-choice{width: 100%; border: 0; background: none; text-align: left; font-size: 13px;}
#gm-shop .country-choice .call-code{min-width: 40px;}
#gm-shop #gm-shop-empty-order{color: #c5b69b; font-size: 16px; font-weight: 400; font-style: normal; margin: 2mm 0 3mm;}
#gm-shop .intro::before,#gm-shop #gm-shop-empty-order::before,#gm-shop #gm-shop-empty-order::after{content: ""; display: block; border-top: 1px solid #685739; margin: 0 2mm 2mm;}
#gm-shop #gm-shop-empty-order::after{margin: 2mm 2mm 0;}
#gm-shop .order-star{margin-inline-end: .24em;}
#gm-shop .intro:has(+ #gm-shop-empty-order[hidden]){margin-bottom: 9px;}
#gm-shop .country-choice[hidden]{display: none;}
#gm-shop form > .wide{margin-top: 6px;}
@media (max-width:630px){
#gm-shop .fields>.contact{grid-column: 1/-1;}
}
#gm-shop .product-heading{color: #fff;}
#gm-shop .product-number{color: #efd196; white-space: nowrap;}
#gm-shop .order-line label.cap-size{flex-basis: 90px;}
#gm-shop #gm-shop-preview-button{border-color: #826644; background: linear-gradient(180deg,#3d2c20,#241910); color: #f7e6c5;}
#gm-shop #gm-shop-send{border-color: #e7c783; background: linear-gradient(180deg,#f5dda5,#d7af68); color: #24180f;}
#gm-shop #gm-shop-preview-button:hover,#gm-shop #gm-shop-send:hover{border-color: #fff1cd; box-shadow: 0 0 6px #e0b96a5e;}
#gm-shop #gm-shop-country-empty{margin: 5px 2px; color: #b8b8b8; font-size: 13px;}
#gm-shop {font:15px/1.45 Inter,Arial,sans-serif;color:#ecdfc9}
#gm-shop *,#gm-shop *::before,#gm-shop *::after{box-sizing:border-box}
#gm-shop [hidden]{display:none!important}
#gm-shop .gm-shop-nav{position:static;inset:auto;padding:0;background:none;min-height:0;border:0;box-shadow:none;backdrop-filter:none}
#gm-shop .gm-shop-gallery{display:block;width:100%;min-width:0}
#gm-shop .rail{width:100%;min-width:0}
#gm-shop .gm-shop-nav{width:100%;min-width:0}
#gm-shop #gm-shop-form h3{font:400 24px/1.3 Georgia,serif;color:#e7c777;margin:0 0 3px}
#gm-shop #gm-shop-summary h3{font-size:15px;color:#efdbb3}
#gm-shop .pick{white-space:normal;line-height:1.2;overflow-wrap:anywhere}
#gm-shop .call-code,#gm-shop #gm-shop-customer-phone{direction:ltr;unicode-bidi:isolate}
#gm-shop:dir(rtl) .flow i{animation-name:gm-shop-travel-back}
#gm-shop:dir(rtl) .flow.back i{animation-name:gm-shop-travel}
@media(prefers-reduced-motion:reduce){#gm-shop .flow i{animation:none!important}}

html[lang="he"] #gm-shop .gm-shop-nav{direction:rtl}
html[lang="he"] #gm-shop .gm-shop-nav > *{direction:ltr}

/* Desktop merchandise frames: compact gallery above the review-width form. */
@media (min-width:901px) and (any-hover:hover) and (any-pointer:fine) {
 #gm-shop.order {
  --gm-shop-form-width:var(--gm-desktop-form-width,var(--gm-desktop-form-max,900px));
  padding:0;
  border:0;
  background:transparent;
 }

 #gm-shop > .products,
 #gm-shop > #gm-shop-form {
  padding:14px;
  border:1px solid #675638;
  border-radius:8px;
  background:#131311;
 }

 #gm-shop > .products {
  width:75%;
  margin-inline:auto;
 }

 #gm-shop > #gm-shop-form {
  width:var(--gm-shop-form-width);
  margin-inline:calc((100% - var(--gm-shop-form-width)) / 2);
 }
}
