/* Base category/search styling with module gallery and approved appearance. */
body:is(#category,#search) .page_heading,body:is(#category,#search) #main h1,body:is(#category,#search) .category-name{text-align:center!important;}body:is(#category,#search).stsidebar_opened #left_column.sidebar_opened,body:is(#category,#search).slide_lr_column.stsidebar_opened #left_column.sidebar_opened{left:0!important;right:auto!important;transform:translate3d(0,0,0)!important;-webkit-transform:translate3d(0,0,0)!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;z-index:10060!important;}body:is(#category,#search).stsidebar_opened #st-content-inner-after{z-index:1000!important;}body:is(#category,#search) #search_filter_toggler{background:#c2272d!important;border:2px solid #c2272d!important;color:#fff!important;border-radius:6px!important;font-weight:700!important;}body:is(#category,#search) #search_filter_toggler:hover,body:is(#category,#search) #search_filter_toggler:focus{background:#111!important;border-color:#111!important;color:#fff!important;}body:is(#category,#search) #js-product-list .products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:34px 26px!important;margin:0!important;}body:is(#category,#search) #js-product-list article.js-product-miniature{width:auto!important;max-width:none!important;min-width:0!important;padding:0!important;margin:0!important;}body:is(#category,#search) article.js-product-miniature .pro_outer_box{height:100%!important;display:flex!important;flex-direction:column!important;box-shadow:none!important;border:0!important;background:#fff!important;}body:is(#category,#search) article.js-product-miniature .pro_first_box{overflow:hidden!important;}body:is(#category,#search) article.js-product-miniature .product_img_link{display:block!important;aspect-ratio:4/5!important;overflow:hidden!important;background:#f5f3f0!important;}body:is(#category,#search) article.js-product-miniature .product_img_link picture,body:is(#category,#search) article.js-product-miniature .product_img_link img{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;}body:is(#category,#search) article.js-product-miniature .pro_second_box{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;padding:16px 0 0!important;text-align:left!important;}body:is(#category,#search) article.js-product-miniature .mini_name{min-height:45px!important;}body:is(#category,#search) article.js-product-miniature .s_title_block,body:is(#category,#search) article.js-product-miniature .s_title_block a{font-family:Arial,sans-serif!important;font-size:16px!important;line-height:1.35!important;font-weight:700!important;color:#111!important;text-align:left!important;}body:is(#category,#search) article.js-product-miniature .product-price-and-shipping{font-size:17px!important;text-align:left!important;margin-top:8px!important;}body:is(#category,#search) article.js-product-miniature .tax_label{display:none!important;}body:is(#category,#search) article.js-product-miniature .product-desc,body:is(#category,#search) article.js-product-miniature .act_box_cart,body:is(#category,#search) article.js-product-miniature .act_box_inner,body:is(#category,#search) article.js-product-miniature .hover_fly{display:none!important;}body:is(#category,#search) .loto-category-quickbuy{margin-top:auto!important;padding-top:10px!important;}body:is(#category,#search) .loto-choice-group{margin:0 0 11px!important;}body:is(#category,#search) .loto-choice-label{display:block!important;margin:0 0 7px!important;font-size:13px!important;line-height:1.2!important;color:#555!important;}body:is(#category,#search) .loto-color-list{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important;}body:is(#category,#search) .loto-color-option{width:27px!important;height:27px!important;border:1px solid #cfcfcf!important;border-radius:50%!important;padding:3px!important;background-clip:content-box!important;box-shadow:inset 0 0 0 3px #fff!important;cursor:pointer!important;transition:border-color .2s,transform .2s!important;}body:is(#category,#search) .loto-color-option:hover,body:is(#category,#search) .loto-color-option:focus,body:is(#category,#search) .loto-color-option.is-active{border:2px solid #111!important;transform:scale(1.04)!important;outline:0!important;}body:is(#category,#search) .loto-variant-select{display:block!important;width:100%!important;height:48px!important;border:1px solid #d6d1cc!important;border-radius:0!important;background:#fff!important;color:#111!important;padding:0 38px 0 14px!important;font-size:15px!important;}body:is(#category,#search) .loto-card-actions{display:grid!important;grid-template-columns:minmax(0,1fr) 52px!important;gap:10px!important;margin-top:8px!important;}body:is(#category,#search) .loto-card-add,body:is(#category,#search) .loto-card-wish{height:50px!important;border-radius:0!important;font-weight:700!important;letter-spacing:.07em!important;transition:background .2s,border-color .2s,color .2s!important;cursor:pointer!important;}body:is(#category,#search) .loto-card-add{border:2px solid #111!important;background:#111!important;color:#fff!important;font-size:13px!important;}body:is(#category,#search) .loto-card-add:hover,body:is(#category,#search) .loto-card-add:focus{background:#c2272d!important;border-color:#c2272d!important;color:#fff!important;}body:is(#category,#search) .loto-card-add[disabled]{opacity:.55!important;cursor:not-allowed!important;}body:is(#category,#search) .loto-card-wish{border:1px solid #111!important;background:#fff!important;color:#111!important;font-size:25px!important;line-height:1!important;}body:is(#category,#search) .loto-card-wish:hover,body:is(#category,#search) .loto-card-wish:focus,body:is(#category,#search) .loto-card-wish.is-active{border-color:#c2272d!important;background:#c2272d!important;color:#fff!important;}body:is(#category,#search) .loto-card-status{min-height:18px!important;margin-top:5px!important;font-size:12px!important;color:#c2272d!important;}#loto-category-footer-sections{display:block!important;clear:both!important;width:100%!important;margin:48px 0 0!important;background:#fff!important;}#loto-category-footer-sections .loto-category-section{width:100%!important;margin:0!important;padding:28px 0 20px!important;background:#fff!important;box-sizing:border-box!important;}#loto-category-footer-sections .loto-category-separator{width:50%!important;max-width:760px!important;height:1px!important;margin:0 auto 22px!important;background:rgba(194,39,45,.5)!important;}#loto-category-footer-sections .loto-category-slider{width:100%!important;max-width:1450px!important;margin:0 auto!important;overflow:hidden!important;}#loto-category-footer-sections .loto-category-track{display:flex!important;align-items:center!important;justify-content:center!important;gap:clamp(18px,2.2vw,38px)!important;padding:18px clamp(20px,4vw,55px)!important;box-sizing:border-box!important;}#loto-category-footer-sections .loto-category-track a{display:block!important;flex:0 0 auto!important;}#loto-category-footer-sections .loto-bubble-image{display:block!important;width:clamp(118px,10vw,160px)!important;height:clamp(118px,10vw,160px)!important;border:3px solid transparent!important;border-radius:50%!important;object-fit:cover!important;transition:transform .25s,border-color .25s!important;}#loto-category-footer-sections .loto-category-track a:hover .loto-bubble-image,#loto-category-footer-sections .loto-category-track a:focus .loto-bubble-image{transform:translateY(-3px)!important;border-color:#c2272d!important;}#loto-category-footer-sections .loto-category-newsletter{background:#f2eee6!important;padding:46px clamp(24px,7vw,110px)!important;}#loto-category-footer-sections .loto-category-newsletter .block_newsletter{width:100%!important;max-width:1280px!important;margin:0 auto!important;padding:0!important;background:transparent!important;}#loto-category-footer-sections .loto-category-newsletter .row{display:flex!important;align-items:center!important;margin:0!important;}#loto-category-footer-sections .loto-category-newsletter #loto-category-newsletter-label{font-family:Georgia,serif!important;font-size:31px!important;line-height:1.15!important;font-weight:400!important;color:#111!important;padding:0 48px 0 0!important;margin:0!important;}#loto-category-footer-sections .loto-category-newsletter #loto-category-newsletter-label small{display:block!important;font-family:Arial,sans-serif!important;font-size:13px!important;line-height:1.55!important;letter-spacing:.02em!important;margin-top:12px!important;color:#555!important;}#loto-category-footer-sections .loto-category-newsletter form{margin:0!important;}#loto-category-footer-sections .loto-category-newsletter .input-wrapper{overflow:hidden!important;border:1px solid #111!important;background:#fff!important;}#loto-category-footer-sections .loto-category-newsletter input[name=email]{height:50px!important;border:0!important;background:#fff!important;padding:0 15px!important;color:#111!important;}#loto-category-footer-sections .loto-category-newsletter input[name=submitNewsletter]{height:52px!important;border:1px solid #111!important;background:#111!important;color:#fff!important;font-weight:700!important;letter-spacing:.06em!important;border-radius:0!important;}#loto-category-footer-sections .loto-category-newsletter input[name=submitNewsletter]:hover,#loto-category-footer-sections .loto-category-newsletter input[name=submitNewsletter]:focus{background:#c2272d!important;border-color:#c2272d!important;}#loto-category-footer-sections .loto-category-newsletter form p{margin:10px 0 0!important;font-size:11px!important;line-height:1.45!important;color:#666!important;}@media(max-width:991px){body:is(#category,#search) #js-product-list .products{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:26px 18px!important;}#loto-category-footer-sections .loto-category-track{justify-content:flex-start!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important;scrollbar-width:none!important;}#loto-category-footer-sections .loto-category-track::-webkit-scrollbar{display:none!important;}#loto-category-footer-sections .loto-category-track a{scroll-snap-align:center!important;}}@media(max-width:767px){body:is(#category,#search) #js-product-list .products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:25px 12px!important;}body:is(#category,#search) article.js-product-miniature .pro_second_box{padding-top:10px!important;}body:is(#category,#search) article.js-product-miniature .mini_name{min-height:38px!important;}body:is(#category,#search) article.js-product-miniature .s_title_block,body:is(#category,#search) article.js-product-miniature .s_title_block a{font-size:13px!important;line-height:1.28!important;}body:is(#category,#search) article.js-product-miniature .product-price-and-shipping{font-size:14px!important;margin-top:4px!important;}body:is(#category,#search) .loto-choice-group{margin-bottom:8px!important;}body:is(#category,#search) .loto-choice-label{font-size:11px!important;margin-bottom:5px!important;}body:is(#category,#search) .loto-color-list{gap:5px!important;}body:is(#category,#search) .loto-color-option{width:22px!important;height:22px!important;padding:2px!important;}body:is(#category,#search) .loto-variant-select{height:40px!important;padding:0 26px 0 8px!important;font-size:12px!important;}body:is(#category,#search) .loto-card-actions{grid-template-columns:minmax(0,1fr) 40px!important;gap:6px!important;margin-top:6px!important;}body:is(#category,#search) .loto-card-add,body:is(#category,#search) .loto-card-wish{height:42px!important;}body:is(#category,#search) .loto-card-add{background:transparent!important;color:#c2272d!important;border:2px solid #c2272d!important;border-radius:5px!important;font-size:10px!important;letter-spacing:.03em!important;padding:0 5px!important;}body:is(#category,#search) .loto-card-add:hover,body:is(#category,#search) .loto-card-add:focus{background:#111!important;border-color:#111!important;color:#fff!important;}body:is(#category,#search) .loto-card-wish{font-size:20px!important;border-radius:5px!important;}#loto-category-footer-sections{margin-top:34px!important;}#loto-category-footer-sections .loto-category-section{padding-top:20px!important;}#loto-category-footer-sections .loto-category-separator{width:72%!important;margin-bottom:12px!important;}#loto-category-footer-sections .loto-category-track{gap:16px!important;padding:14px 22px 22px!important;}#loto-category-footer-sections .loto-bubble-image{width:112px!important;height:112px!important;}#loto-category-footer-sections .loto-category-newsletter{padding:34px 20px!important;}#loto-category-footer-sections .loto-category-newsletter>.block_newsletter>.row{display:block!important;}#loto-category-footer-sections .loto-category-newsletter #loto-category-newsletter-label{width:100%!important;max-width:none!important;padding:0 0 22px!important;font-size:26px!important;text-align:center!important;}#loto-category-footer-sections .loto-category-newsletter .col-md-7{width:100%!important;max-width:none!important;padding:0!important;}}
/* The original image link remains the product link; only these cards own hover. */
body:is(#category,#search) .loto-gallery-frame{position:relative!important;}
body:is(#category,#search) .loto-gallery-managed{touch-action:pan-y pinch-zoom;position:relative;}
body:is(#category,#search) #js-product-list article.js-product-miniature .product_img_link.loto-gallery-managed .back-image,
body:is(#category,#search) #js-product-list article.js-product-miniature .product_img_link.loto-gallery-managed .back_image_pic{display:none!important;}
body:is(#category,#search) #js-product-list article.js-product-miniature .product_img_link.loto-gallery-managed .front-image,
body:is(#category,#search) #js-product-list article.js-product-miniature .product_img_link.loto-gallery-managed .front_image_pic{opacity:1!important;visibility:visible!important;transform:none!important;transition:none!important;}
body:is(#category,#search) #js-product-list article.js-product-miniature .product_img_link.loto-gallery-managed[data-gallery-loading] .front-image,
body:is(#category,#search) #js-product-list article.js-product-miniature .product_img_link.loto-gallery-managed[data-gallery-loading] .front_image_pic{opacity:0!important;}
body:is(#category,#search) .loto-gallery-arrow{position:absolute!important;top:50%!important;transform:translateY(-50%)!important;z-index:5!important;width:44px!important;height:44px!important;min-width:44px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;font:30px/1 Arial,sans-serif!important;opacity:0!important;pointer-events:none!important;transition:opacity .15s ease!important;}
body:is(#category,#search) .loto-gallery-prev{left:5px!important;}
body:is(#category,#search) .loto-gallery-next{right:5px!important;}
@media(hover:hover){body:is(#category,#search) .loto-gallery-frame:hover .loto-gallery-arrow{opacity:1!important;pointer-events:auto!important;}}
/* Keyboard users can reveal a focused arrow without a pointer hover. */
body:is(#category,#search) .loto-gallery-arrow:focus-visible{opacity:1!important;pointer-events:auto!important;outline:2px solid #222!important;outline-offset:-4px!important;}
body:is(#category,#search) .loto-gallery-arrow[hidden]{display:none!important;}
.loto-gallery-status{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;}
@media(prefers-reduced-motion:reduce){body:is(#category,#search) .loto-gallery-managed img,body:is(#category,#search) .loto-gallery-arrow{transition:none!important;animation:none!important;}}

/* Approved card appearance, scoped to cards owned by this module.
   Specificity also covers the retained Transformer custom-code refinements. */
html body:is(#category,#search) #js-product-list article.js-product-miniature[data-loto-category-ready="true"] .loto-category-sold-out{
  color:#000!important;
  background:rgba(218,180,106,.8)!important;
  opacity:1!important;
}
html body:is(#category,#search) #js-product-list article.js-product-miniature[data-loto-category-ready="true"] .loto-category-sold-out[hidden]{display:none!important;}
html body:is(#category,#search) #js-product-list article.js-product-miniature[data-loto-category-ready="true"] :is(.loto-card-add,.loto-card-wish,.loto-variant-select){border-radius:6px!important;}
html body:is(#category,#search) #js-product-list article.js-product-miniature[data-loto-category-ready="true"] :is(.pro_first_box,.product_img_link,.front_image_pic,.front-image){border-radius:6px!important;}
html body:is(#category,#search) #js-product-list article.js-product-miniature[data-loto-category-ready="true"] :is(.pro_first_box,.product_img_link){overflow:hidden!important;}
html body:is(#category,#search) #js-product-list article.js-product-miniature[data-loto-category-ready="true"] :is(.s_title_block,.s_title_block a){font-weight:400!important;}
html body:is(#category,#search) #js-product-list article.js-product-miniature[data-loto-category-ready="true"] :is(.product-price-and-shipping,.product-price-and-shipping .price){font-weight:700!important;}
