.gmsos-wrap{box-sizing:border-box;display:flex;direction:rtl;align-items:center;gap:30px;padding:66px 38px 0;min-height:398px;border-radius:28px;background:#8b0000;position:relative;margin:20px 0 70px;font-family:inherit}
.gmsos-wrap *{box-sizing:border-box}.gmsos-track-area{order:1;position:relative;flex:1;min-width:0;align-self:stretch}.gmsos-track{display:flex;gap:14px;align-items:stretch;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0 0 0;direction:rtl;height:100%}.gmsos-track::-webkit-scrollbar{display:none}
.gmsos-card{position:relative;flex:0 0 calc((100% - 28px)/3);min-width:0;background:#fff;border:1px solid #e6e6e6;border-radius:16px;box-shadow:0 1px 2px #0000000d;display:flex;flex-direction:column;align-items:stretch;overflow:visible;scroll-snap-align:start;color:#333;padding:20px 14px 0;min-height:394px}
.gmsos-badge{position:absolute;top:-1px;left:28%;right:28%;z-index:2;text-align:center;background:#690000;color:#fff;border-radius:0 0 13px 13px;padding:6px 4px 7px;font-weight:700;font-size:14px;white-space:nowrap}
.gmsos-image{display:flex;align-items:center;justify-content:center;height:220px;margin:0 0 4px;overflow:hidden}.gmsos-image img{width:100%;height:100%;max-height:210px;object-fit:contain}
.gmsos-product-title{color:#292929;text-decoration:none;font-size:15px;line-height:1.8;text-align:right;min-height:62px;margin:0 2px 8px;display:block}
.gmsos-card-bottom{border-top:1px solid #eee;margin-top:auto;padding:18px 0 14px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.gmsos-buy{background:#f3f7fa;color:#7b8791;text-decoration:none;border-radius:0 30px 30px 0;padding:12px 9px;font-size:12px;white-space:nowrap;margin-right:-14px}
.gmsos-prices{text-align:left;font-size:13px;line-height:1.8;color:#8b0000;font-weight:700}.gmsos-prices del{display:block;color:#999;font-size:10px;font-weight:400}.gmsos-prices ins{text-decoration:none;color:#8b0000}
.gmsos-info{order:0;flex:0 0 25%;min-width:180px;text-align:center;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 0 25px}
.gmsos-info h3{font-size:24px;line-height:1.5;color:#fff;margin:0 0 24px;font-weight:800}
.gmsos-countdown{display:flex;direction:rtl;gap:5px;justify-content:center}.gmsos-countdown>div{border:1px dashed #fff;border-radius:13px;min-width:57px;padding:8px 6px 7px;display:flex;flex-direction:column;align-items:center;gap:4px}.gmsos-countdown b{font-size:20px;line-height:1.1;color:#fff}.gmsos-countdown span{font-size:12px;color:#fff}
.gmsos-arrow{position:absolute;top:46%;z-index:3;border:0;background:#fff;color:#8b0000;width:34px;height:42px;border-radius:8px;box-shadow:0 2px 8px #0002;font-size:30px;line-height:1;cursor:pointer}.gmsos-prev{right:-12px}.gmsos-next{left:-12px}
.gmsos-dots{display:flex;justify-content:center;gap:7px;padding:12px}.gmsos-dots button{width:7px;height:7px;border:0;border-radius:50%;background:#ccc;padding:0}.gmsos-dots button.is-active{background:#8b0000}
.gmsos-empty,.gmsos-notice{color:#fff;padding:24px;text-align:center}.gmsos-empty{color:#333}
@media(max-width:1024px){.gmsos-wrap{gap:18px;padding:45px 22px 0}.gmsos-info{flex-basis:24%;min-width:145px}.gmsos-info h3{font-size:20px}.gmsos-card{flex-basis:calc((100% - 14px)/2)}.gmsos-card:nth-child(n+3){display:none}}
@media(max-width:767px){.gmsos-wrap{display:flex;flex-direction:column-reverse;padding:28px 14px 18px;gap:22px;margin-bottom:35px}.gmsos-info{width:100%;min-width:0;padding:0}.gmsos-info h3{margin-bottom:14px;font-size:21px}.gmsos-card{flex-basis:82%;min-height:365px}.gmsos-card:nth-child(n+3){display:flex}.gmsos-image{height:190px}.gmsos-product-title{font-size:14px}.gmsos-arrow{top:42%}}


/* Elementor editor compatibility: keep the product cards in a horizontal row
   even when the editor canvas is narrower than the live page. */
.elementor-editor-active .elementor-widget-gmsos-special-offers .gmsos-wrap,
.elementor-editor-preview .elementor-widget-gmsos-special-offers .gmsos-wrap{
  display:flex !important; flex-direction:row !important; align-items:center !important;
  min-height:398px !important; gap:18px !important; padding:45px 22px 0 !important;
}
.elementor-editor-active .elementor-widget-gmsos-special-offers .gmsos-track-area,
.elementor-editor-preview .elementor-widget-gmsos-special-offers .gmsos-track-area{
  display:block !important; flex:1 1 0% !important; width:auto !important; min-width:0 !important;
  order:1 !important; align-self:stretch !important;
}
.elementor-editor-active .elementor-widget-gmsos-special-offers .gmsos-track,
.elementor-editor-preview .elementor-widget-gmsos-special-offers .gmsos-track{
  display:flex !important; flex-direction:row !important; flex-wrap:nowrap !important;
  align-items:stretch !important; overflow-x:auto !important; height:100% !important;
}
.elementor-editor-active .elementor-widget-gmsos-special-offers .gmsos-card,
.elementor-editor-preview .elementor-widget-gmsos-special-offers .gmsos-card{
  display:flex !important; flex-direction:column !important; flex:0 0 calc((100% - 28px)/3) !important;
  width:calc((100% - 28px)/3) !important; max-width:calc((100% - 28px)/3) !important;
  min-width:0 !important; min-height:394px !important; background:#fff !important;
  padding:20px 14px 0 !important; border:1px solid #e6e6e6 !important;
  border-radius:16px !important; color:#333 !important;
}
.elementor-editor-active .elementor-widget-gmsos-special-offers .gmsos-card:nth-child(n),
.elementor-editor-preview .elementor-widget-gmsos-special-offers .gmsos-card:nth-child(n){display:flex !important}
.elementor-editor-active .elementor-widget-gmsos-special-offers .gmsos-info,
.elementor-editor-preview .elementor-widget-gmsos-special-offers .gmsos-info{
  order:0 !important; flex:0 0 25% !important; width:auto !important; min-width:150px !important;
  display:flex !important; flex-direction:column !important; justify-content:center !important;
  align-items:center !important; padding:0 0 25px !important;
}
.elementor-editor-active .elementor-widget-gmsos-special-offers .gmsos-image,
.elementor-editor-preview .elementor-widget-gmsos-special-offers .gmsos-image{
  display:flex !important; height:210px !important; width:100% !important;
  align-items:center !important; justify-content:center !important; overflow:hidden !important;
}
.elementor-editor-active .elementor-widget-gmsos-special-offers .gmsos-image img,
.elementor-editor-preview .elementor-widget-gmsos-special-offers .gmsos-image img{
  width:100% !important; height:100% !important; max-height:210px !important; object-fit:contain !important;
}


/* v1.0.2: keep navigation arrows visible and clickable in Elementor preview */
.gmsos-wrap .gmsos-track-area { position:relative !important; overflow:visible !important; }
.gmsos-wrap .gmsos-arrow,
.elementor-editor-active .elementor-widget-gmsos-special-offers .gmsos-arrow,
.elementor-editor-preview .elementor-widget-gmsos-special-offers .gmsos-arrow {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  visibility:visible !important;
  opacity:1 !important;
  pointer-events:auto !important;
  position:absolute !important;
  z-index:50 !important;
  top:46% !important;
  width:36px !important;
  height:42px !important;
  min-width:36px !important;
  min-height:42px !important;
  padding:0 !important;
  border:1px solid #eee !important;
  border-radius:8px !important;
  background:#fff !important;
  color:#8b0000 !important;
  font-size:30px !important;
  line-height:1 !important;
  box-shadow:0 2px 8px #0002 !important;
  cursor:pointer !important;
}
.gmsos-wrap .gmsos-prev { right:5px !important; left:auto !important; }
.gmsos-wrap .gmsos-next { left:5px !important; right:auto !important; }


/* Countdown expiration actions: blur only the product slider area. */
.gmsos-wrap.gmsos-expired .gmsos-track {
  filter: blur(5px);
  transition: filter .35s ease;
  pointer-events: none;
  user-select: none;
}
.gmsos-wrap.gmsos-expired .gmsos-arrow,
.gmsos-wrap.gmsos-expired .gmsos-dots { opacity:.35 !important; pointer-events:none !important; }
.gmsos-wrap .gmsos-arrow:disabled { cursor:not-allowed !important; }


/* v1.1.1: reduce the empty red space above the product cards by about 10%,
   while preserving the intentional card overhang below the red panel. */
.gmsos-wrap { padding-top:59px !important; }
@media(max-width:1024px) { .gmsos-wrap { padding-top:40px !important; } }
@media(max-width:767px) { .gmsos-wrap { padding-top:25px !important; } }
.elementor-editor-active .elementor-widget-gmsos-special-offers .gmsos-wrap,
.elementor-editor-preview .elementor-widget-gmsos-special-offers .gmsos-wrap { padding-top:40px !important; }


/* v1.1.2: visually let the product cards extend below the red panel */
.gmsos-wrap .gmsos-track-area {
  transform: translateY(28px) !important;
  position: relative;
  z-index: 2;
}
.gmsos-wrap .gmsos-info {
  position: relative;
  z-index: 1;
}
/* Keep the intended overlap on smaller screens as well */
@media (max-width: 767px) {
  .gmsos-wrap .gmsos-track-area {
    transform: translateY(18px) !important;
  }
}


/* v1.1.3: reduce the empty red space above product cards by about half */
.gmsos-wrap {
  padding-top: 33px !important;
}
.gmsos-wrap .gmsos-track-area {
  transform: translateY(28px) !important;
}
@media (max-width: 767px) {
  .gmsos-wrap {
    padding-top: 22px !important;
  }
  .gmsos-wrap .gmsos-track-area {
    transform: translateY(18px) !important;
  }
}
