/* Named choices operate the original Woo attribute fields. */
@media (scripting: enabled) {
 body.esp-product-ux-v50 #main .esp-product-summary:has(> [data-esp-initial-pack]) form.variations_form .variations { display:none; }
 body.esp-product-ux-v50 #main form.variations_form:has(> [data-esp-initial-attribute]) > table.variations { display:none; }
}
@media (scripting: none) {
 body.esp-product-ux-v50 #main [data-esp-initial-attribute] { display:none!important; }
 body.esp-product-ux-v50 #main [data-esp-fixed-pack] { display:none!important; }
 body.esp-product-ux-v50 #main [data-esp-initial-pack] > :is(.esp-pack-choices-v50,.esp-selected-price-v50) { display:none!important; }
 body.esp-product-ux-v50 #main [data-esp-initial-pack] > .esp-price-original-v50 { display:block!important; }
}
body.esp-redesign.esp-product-ux-v50 #main [data-esp-fixed-pack] {
 display:grid; align-items:center; min-height:48px; margin:0 0 16px;
}
body.esp-redesign.esp-product-ux-v50 #main [data-esp-fixed-pack] > .esp-pack-fixed-v50 { margin:0; }
body.esp-redesign.esp-product-ux-v50 #main [data-esp-fixed-pack] > .esp-pack-choices-v50 { justify-content:flex-start; }
body.esp-redesign.esp-product-ux-v50 #main [data-esp-fixed-pack] .esp-pack-choice-v50 { min-height:48px; padding-block:8px; }
@media screen and (max-width: 359.98px) {
 /* Long native price ranges still fit beside their currency on small screens.
    Keep the line height of the selected amount when a shopper clears the pack. */
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-price-row-v50[data-esp-initial-pack] > .esp-price-original-v50 {
  font-size:clamp(21px,7vw,25px); line-height:38px;
 }
}
body.esp-redesign.esp-product-ux-v50 #main .esp-product-summary .esp-variant-options {
 display:flex; flex-wrap:wrap; justify-content:flex-start; align-items:center; gap:8px;
 width:100%; flex-basis:100%; margin:0 0 16px;
}
.esp-variant-options__label { flex-basis:100%; color:#45382d; font-weight:600; }
body.esp-product-ux-v50 #main .single_variation_wrap .woocommerce-variation-price:empty { padding-block:0; }
body.esp-product-ux-v50 #main .esp-variation-stock-slot { display:grid; }
body.esp-product-ux-v50 #main .esp-variation-stock-slot > * { grid-area:1 / 1; min-width:0; }
body.esp-product-ux-v50 #main .esp-stock-footprint { visibility:hidden; pointer-events:none; }
body.esp-redesign.esp-product-ux-v50 #main .esp-variant-options .esp-pack-choice-v50 {
 gap:8px; min-height:44px; padding:8px 12px; color:#654d24;
}
body.esp-redesign.esp-product-ux-v50 #main .esp-variant-options .esp-pack-choice-v50:is([aria-pressed="true"],[aria-current="true"]) { background:#795c2d; border-color:#795c2d; color:white; }
body.esp-redesign.esp-product-ux-v50 #main .esp-variant-options .esp-pack-clear-v50:not([hidden]) { display:inline-block; min-height:44px; }
.esp-variant-options [data-torch-color]::before {
 content:''; flex:0 0 15px; width:15px; height:15px; border:1px solid #837461; border-radius:50%;
 background:linear-gradient(135deg,var(--esp-swatch-body) 60%,var(--esp-swatch-trim) 61%);
}
.esp-torch-gallery .esp-pack-gallery__stage, .esp-torch-gallery .esp-pack-gallery__thumb { background:#f3ebde; }
@media screen {
 body.esp-redesign.esp-product-ux-v50 #main > .esp-shell > .esp-breadcrumbs { display:none; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product > .esp-product-layout > .esp-product-gallery { position:relative; min-width:0; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-layout > .esp-product-gallery > .onsale,
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-layout > .esp-product-gallery .best-seller-badge { position:absolute; z-index:4; inset:16px auto auto 16px; margin:0; max-width:calc(100% - 80px); }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-gallery .woocommerce-product-gallery { height:auto!important; max-height:none!important; overflow:visible; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-gallery .flex-viewport { aspect-ratio:1; height:auto!important; min-height:0!important; max-height:none!important; border-radius:16px; background:#f3ebdd; overflow:hidden; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-gallery .flex-viewport > .woocommerce-product-gallery__wrapper { height:100%; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-gallery .woocommerce-product-gallery__image { aspect-ratio:1; max-height:none!important; background:#f3ebdd; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-gallery .woocommerce-product-gallery__image > a { display:block; width:100%; height:100%; aspect-ratio:1; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-gallery .woocommerce-product-gallery__image > a > img { display:block; width:100%!important; height:100%!important; max-height:none!important; object-fit:contain; object-position:center; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-summary .variations tr.esp-pack-row--fixed-v50 { display:none!important; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-summary .esp-pack-fixed-v50 { display:block; margin:0 0 16px; color:#1e1813; font:500 16px/1.5 var(--esp-font-body,'Poppins',sans-serif); }
 body.esp-product-ux-v50 .esp-pack-fixed-v50[hidden] { display:none!important; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-summary .quantity.esp-quantity-v50 { display:inline-grid; grid-template-columns:44px minmax(48px,64px) 44px; align-items:stretch; gap:0; width:max-content; max-width:100%; min-height:58px; padding:0; border:1px solid #b7b0a7; border-radius:10px; background:#fbf8f3; overflow:hidden; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-summary .esp-quantity-v50 > .qty { grid-column:2; grid-row:1; box-sizing:border-box; width:100%; min-width:0; min-height:56px; height:100%; margin:0; padding:8px 0; border:0; border-radius:0; background:transparent; text-align:center; color:#1e1813; font:500 18px/1.4 var(--esp-font-body,'Poppins',sans-serif); appearance:textfield; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-summary .esp-quantity-v50 > .qty::-webkit-inner-spin-button,
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-summary .esp-quantity-v50 > .qty::-webkit-outer-spin-button { margin:0; appearance:none; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-summary .esp-quantity-v50 > .esp-quantity-v50__button { display:flex; align-items:center; justify-content:center; box-sizing:border-box; width:44px; min-width:44px; min-height:56px; height:100%; margin:0; padding:0; border:0; border-radius:0; background:transparent; color:#1e1813; font:400 24px/1 var(--esp-font-body,'Poppins',sans-serif); box-shadow:none; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-summary .esp-quantity-v50__button--minus { grid-column:1; grid-row:1; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-summary .esp-quantity-v50__button--plus { grid-column:3; grid-row:1; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-summary .esp-quantity-v50__button:disabled { opacity:.4; cursor:not-allowed; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-summary .esp-quantity-v50 :is(.qty,button):focus-visible { outline:2px solid #8c6a2c; outline-offset:-3px; }
}

@media (max-width:1023.98px) {
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-layout > .esp-product-gallery .best-seller-badge,
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-layout > .esp-product-gallery > .onsale {
  inset:64px auto auto 12px;
 }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-layout > .esp-product-gallery:has(> .onsale) .best-seller-badge {
  inset:64px 12px auto auto;
 }
}




/* Official cached desktop2:1220: price/real pack choices,64px purchase row.
 * All underlying selects/forms and native variation state remain in their form.
 */
@media screen {
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-summary > .esp-product-price-row-v50 { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; width:100%; min-width:0; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-price-row-v50 > .price,
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-price-row-v50 > .esp-selected-price-v50 { flex:0 1 auto; margin:0; color:#1e1813; font:600 36px/38px var(--esp-font-body,'Poppins',sans-serif); overflow-wrap:anywhere; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-selected-price-v50 > .price { margin:0; color:inherit; font:inherit; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-price-has-selection-v50 > .esp-price-original-v50,
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-summary.esp-native-selected-price-v50 .woocommerce-variation-price { display:none; }
 body.esp-product-ux-v50 .esp-selected-price-v50[hidden],
 body.esp-product-ux-v50 .esp-pack-choices-v50[hidden],
 body.esp-product-ux-v50 .esp-pack-clear-v50[hidden] { display:none!important; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-pack-choices-v50 { display:flex; flex:0 1 auto; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:12px; min-width:0; max-width:100%; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-pack-choice-v50 { display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; min-height:48px; max-width:100%; margin:0; padding:12px 20px; border:1.5px solid #b8924a; border-radius:8px; background:transparent; color:#8c6a2c; font:500 16px/1.4 var(--esp-font-body,'Poppins',sans-serif); white-space:normal; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-pack-choice-v50:is([aria-pressed="true"],[aria-current="true"]) { background:#b8924a; color:#1e1813; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-gallery > .best-seller-badge { color:#1e1813; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-pack-choice-v50:disabled { opacity:.45; cursor:not-allowed; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-pack-choice-v50:focus-visible,
 body.esp-redesign.esp-product-ux-v50 #main .esp-pack-clear-v50:focus-visible { outline:2px solid #1e1813; outline-offset:3px; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-pack-clear-v50 { padding:4px 0; border:0; border-radius:0; background:transparent; color:#6e6357; font:400 12px/1.4 var(--esp-font-body,'Poppins',sans-serif); text-decoration:underline; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-summary .variations tr.esp-pack-row--pills-v50 { display:none!important; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-summary .variations.esp-pack-table--empty-v50 { display:none; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-summary .quantity.esp-quantity-v50 { grid-template-columns:44px minmax(24px,32px) 44px; min-height:64px; border-radius:12px; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-summary .esp-quantity-v50 > :is(.qty,.esp-quantity-v50__button) { min-height:62px; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-summary .single_add_to_cart_button { min-height:64px; padding:20px 32px; border-radius:12px; font:600 20px/1.2 var(--esp-font-body,'Poppins',sans-serif); }
 body.esp-redesign.esp-product-ux-v50 #main .woocommerce-product-gallery .flex-direction-nav { position:absolute; inset:0 0 auto; z-index:3; width:100%; aspect-ratio:1; margin:0; padding:0; list-style:none; pointer-events:none; }
 body.esp-redesign.esp-product-ux-v50 #main .woocommerce-product-gallery .flex-direction-nav a { position:absolute; top:50%; width:44px; height:44px; min-height:44px; margin:0; padding:0; border:0; border-radius:50%; background:#fbf8f3; color:#1e1813; font-size:0; opacity:1; transform:translateY(-50%); pointer-events:auto; text-decoration:none; }
 body.esp-redesign.esp-product-ux-v50 #main .woocommerce-product-gallery .flex-direction-nav .flex-prev { left:24px; right:auto; }
 body.esp-redesign.esp-product-ux-v50 #main .woocommerce-product-gallery .flex-direction-nav .flex-next { right:24px; left:auto; }
 body.esp-redesign.esp-product-ux-v50 #main .woocommerce-product-gallery .flex-direction-nav a::before { content:''; position:absolute; inset:0; margin:auto; width:18px; height:18px; background:url('../images/figma-commerce-v2/gallery-next-v50.svg') center / contain no-repeat; }
 body.esp-redesign.esp-product-ux-v50 #main .woocommerce-product-gallery .flex-direction-nav .flex-prev::before { transform:rotate(180deg); }
 body.esp-redesign.esp-product-ux-v50 #main .woocommerce-product-gallery .flex-direction-nav a.flex-disabled { opacity:.5; pointer-events:none; }
 body.esp-redesign.esp-product-ux-v50 #main .woocommerce-product-gallery .flex-direction-nav a:focus-visible { outline:2px solid #1e1813; outline-offset:3px; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-summary .esp-product-wishlist-v50 { display:flex; flex:0 0 auto; align-items:center; justify-content:center; max-width:100%; margin:0; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-wishlist-v50 .yith-wcwl-add-to-wishlist { margin:0; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-wishlist-v50 a,
 body.esp-redesign.esp-product-ux-v50 #main a.esp-product-wishlist-v50--page { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:64px; max-width:100%; padding:20px 24px; border:0; border-radius:12px; background:#b8924a; color:#fff; font:500 14px/1.4 var(--esp-font-body,'Poppins',sans-serif); text-decoration:none; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-wishlist-v50 a.esp-wishlist-has-icon-v50 { width:82px; font-size:0; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-wishlist-has-icon-v50 :is(svg,img,i) { width:18px; height:18px; margin:0; font-size:18px; }
}


/* Actual installed WPGS/Slick markup. Preserve its native gallery/zoom/lightbox. */
@media screen {
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-gallery .woocommerce-product-gallery { box-sizing:border-box; width:100%!important; margin:0!important; padding:0!important; }
 body.esp-redesign.esp-product-ux-v50 #main .esp-product-gallery .wpgs-for { position:relative; box-sizing:border-box; width:100%!important; max-width:100%; margin:0!important; padding:0!important; }
 body.esp-redesign.esp-product-ux-v50 #main .wpgs-for > .slick-list { box-sizing:border-box; width:100%; margin:0!important; padding:0!important; height:auto!important; min-height:0!important; max-height:none!important; aspect-ratio:1; border-radius:16px; background:#f3ebdd; overflow:hidden; }
 body.esp-redesign.esp-product-ux-v50 #main .wpgs-for > .slick-list > .slick-track { height:100%; }
 body.esp-redesign.esp-product-ux-v50 #main .wpgs-for .wpgs_image.slick-slide { height:auto!important; min-height:0!important; max-height:none!important; aspect-ratio:1; background:#f3ebdd; }
 body.esp-redesign.esp-product-ux-v50 #main .wpgs-for .wpgs_image > .zoomtoo-container,
 body.esp-redesign.esp-product-ux-v50 #main .wpgs-for .wpgs_image > a:not(.woocommerce-product-gallery__lightbox) { display:block; width:100%; height:100%; aspect-ratio:1; }
 body.esp-redesign.esp-product-ux-v50 #main .wpgs-for .wpgs_image img.img-attr:not(.zoomImg) { display:block; width:100%!important; height:100%!important; max-height:none!important; margin:0; object-fit:contain; object-position:center; }
 body.esp-redesign.esp-product-ux-v50 #main .wpgs-for > .slick-arrow { position:absolute; z-index:4; top:50%; box-sizing:border-box; width:44px; height:44px; margin:0; padding:0; border:0; border-radius:50%; background:#fbf8f3; color:#8c6a2c; font-size:0; transform:translateY(-50%); cursor:pointer; }
 body.esp-redesign.esp-product-ux-v50 #main .wpgs-for > :is(.slick-prev,.flaticon-back) { left:24px; right:auto; }
 body.esp-redesign.esp-product-ux-v50 #main .wpgs-for > :is(.slick-next,.flaticon-right-arrow) { right:24px; left:auto; }
 body.esp-redesign.esp-product-ux-v50 #main .wpgs-for > .slick-arrow::before { content:''; position:absolute; inset:0; width:18px; height:18px; margin:auto; background:url('../images/figma-commerce-v2/gallery-next-v50.svg') center / contain no-repeat; }
 body.esp-redesign.esp-product-ux-v50 #main .wpgs-for > :is(.slick-prev,.flaticon-back)::before { transform:rotate(180deg); }
 body.esp-redesign.esp-product-ux-v50 #main .wpgs-for > .slick-disabled { opacity:.5; pointer-events:none; }
 body.esp-redesign.esp-product-ux-v50 #main .wpgs-for > .slick-arrow:focus-visible { outline:2px solid #1e1813; outline-offset:3px; }
 body.esp-redesign.esp-product-ux-v50 #main .wpgs-nav { width:100%; max-width:100%; margin:14px 0 0; }
 body.esp-redesign.esp-product-ux-v50 #main .wpgs-nav .thumbnail_image img.img-attr { display:block; width:auto; height:auto; max-height:91px; max-width:100%; margin-inline:auto; border:1px solid transparent; border-radius:12px; background:#f3ebdd; object-fit:contain; }
 body.esp-redesign.esp-product-ux-v50 #main .wpgs-nav .thumbnail_image.slick-current img { border-color:#8c6a2c; }
}
.esp-fabuloso-finishes { border:0; padding:0; margin:18px 0; min-width:0; }
.esp-fabuloso-finishes legend { font-weight:600; margin:0 0 8px; padding:0; }
.esp-fabuloso-finishes__options { display:flex; flex-wrap:wrap; gap:8px; }
.esp-fabuloso-finishes__options label { position:relative; margin:0; cursor:pointer; }
.esp-fabuloso-finishes__options input { position:absolute; opacity:0; width:1px; height:1px; }
.esp-fabuloso-finishes__name { display:flex; align-items:center; gap:7px; min-height:44px; border:1px solid #c5b397; border-radius:8px; padding:7px 11px; background:#fff; color:#473a2b; }
.esp-fabuloso-finishes__name::before { content:""; width:13px; height:13px; border-radius:50%; background:var(--esp-finish); box-shadow:inset 0 0 0 1px rgb(0 0 0 / 18%); }
.esp-fabuloso-finishes__options input:checked + span { color:#fff; background:#795c2d; border-color:#795c2d; }
.esp-fabuloso-finishes__options input:focus-visible + span { outline:2px solid #27221a; outline-offset:2px; }
.esp-fabuloso-finishes p { margin:8px 0 0; font-size:.9em; color:#685b4c; }
.esp-fabuloso-finishes [lang]:not([lang="en"]), .esp-fabuloso-finishes [hidden] { display:none; }
/* Reserve the taller translated stock message before the first finish is selected. */
.esp-fabuloso-finishes [role="status"] { display:grid; }
.esp-fabuloso-finishes [data-finish-stock] { grid-area:1 / 1; }
.esp-fabuloso-finishes [data-finish-stock][hidden] { display:block !important; visibility:hidden; }
html:lang(fr) .esp-fabuloso-finishes [lang="en"], html:lang(es) .esp-fabuloso-finishes [lang="en"] { display:none; }
html:lang(fr) .esp-fabuloso-finishes [lang="fr"], html:lang(es) .esp-fabuloso-finishes [lang="es"] { display:inline; }
/* Match the studio paper to the gallery while retaining the original high-resolution cigar, band and contact shadow. */
:is(.esp-pack-gallery, .esp-product-photo-dialog) img[src*="/Empress-Sheba-Toro-El-Septimo-Cigars."] {
  --studio-stick-mask: url("../images/cigar-catalog/masks/empress-sheba-toro.png");
}
:is(.esp-pack-gallery, .esp-product-photo-dialog) img[src*="/Small-Impact-El-Septimo-Cigar."] {
  --studio-stick-mask: url("../images/cigar-catalog/masks/small-impact-green.png");
}
:is(.esp-pack-gallery, .esp-product-photo-dialog) img[src*="/Precioso-Pink-El-Septimo-Cigar."] {
  --studio-stick-mask: url("../images/cigar-catalog/masks/precioso-pink.png");
}
:is(.esp-pack-gallery, .esp-product-photo-dialog) img[src*="/20th-Anniversary-El-Septimo-Geneva-Cigar."] {
  --studio-stick-mask: url("../images/cigar-catalog/masks/20th-anniversary-doble-gran-reserva.png");
}
:is(.esp-pack-gallery [data-photo-role="single"], .esp-product-photo-dialog) img:is(
  [src*="/Empress-Sheba-Toro-El-Septimo-Cigars."], [src*="/Small-Impact-El-Septimo-Cigar."],
  [src*="/Precioso-Pink-El-Septimo-Cigar."], [src*="/20th-Anniversary-El-Septimo-Geneva-Cigar."]
) {
  -webkit-mask: var(--studio-stick-mask) center / contain no-repeat;
  mask: var(--studio-stick-mask) center / contain no-repeat;
}
