{"id":863,"date":"2025-10-29T17:03:17","date_gmt":"2025-10-29T17:03:17","guid":{"rendered":"https:\/\/alsafwamart.com\/?page_id=863"},"modified":"2025-11-09T18:59:32","modified_gmt":"2025-11-09T18:59:32","slug":"hot-offers","status":"publish","type":"page","link":"https:\/\/alsafwamart.com\/ar\/hot-offers\/","title":{"rendered":"\u0639\u0631\u0648\u0636 \u062d\u0635\u0631\u064a\u0629"},"content":{"rendered":"<div data-elementor-type=\"wp-page\" data-elementor-id=\"863\" class=\"elementor elementor-863\">\n\t\t\t\t<div class=\"elementor-element elementor-element-cfaed6e e-flex e-con-boxed e-con e-parent\" data-id=\"cfaed6e\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-421d722 elementor-widget elementor-widget-spacer\" data-id=\"421d722\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5763010 elementor-widget elementor-widget-heading\" data-id=\"5763010\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u0639\u0631\u0648\u0636 \u062d\u0635\u0631\u064a\u0629<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2aaba96 elementor-widget elementor-widget-shortcode\" data-id=\"2aaba96\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\"><div class=\"woocommerce columns-4\"><\/div><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-6fc71bf e-flex e-con-boxed e-con e-parent\" data-id=\"6fc71bf\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-e0e4533 elementor-widget elementor-widget-html\" data-id=\"e0e4533\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<style>\r\n\/* === Vertical Scroll Base (same style but stacked) === *\/\r\n.as-top10-scroll ul.products {\r\n  display: flex !important;\r\n  flex-wrap: wrap !important;  \/* wrap into rows instead of single horizontal line *\/\r\n  justify-content: flex-start;\r\n  gap: 18px;\r\n  overflow-y: auto;             \/* scroll vertically *\/\r\n  padding: 10px 40px;\r\n  scrollbar-width: thin;\r\n}\r\n\r\n\/* === Product Cards (same styling) === *\/\r\n.as-top10-scroll ul.products li.product {\r\n  flex: 1 1 calc(25% - 18px);   \/* 4 products per row on desktop *\/\r\n  background: #fff;\r\n  border-radius: 12px;\r\n  box-shadow: 0 2px 8px rgba(0,0,0,0.1);\r\n  text-align: center;\r\n  padding: 10px;\r\n  transition: transform 0.3s ease;\r\n  max-width: calc(25% - 18px);\r\n}\r\n.as-top10-scroll ul.products li.product:hover {\r\n  transform: translateY(-4px);\r\n}\r\n\r\n\/* \u2705 Uniform image size *\/\r\n.as-top10-scroll ul.products li.product img {\r\n  width: 100%;\r\n  height: 220px;\r\n  object-fit: cover;\r\n  border-radius: 10px;\r\n  background-color: #f8f8f8;\r\n}\r\n\r\n\/* === Reset Default Woo Spacing === *\/\r\n.as-top10-scroll ul.products li.product .woocommerce-LoopProduct-link {\r\n  display: block;\r\n  margin-bottom: 8px;\r\n}\r\n\r\n\/* \u2705 SALE badge: bigger, bold, and red (same as your original) *\/\r\n.as-top10-scroll ul.products li.product .onsale {\r\n  background: #e00000 !important;\r\n  color: #fff !important;\r\n  font-size: 18px !important;\r\n  font-weight: 700 !important;\r\n  border-radius: 10px !important;\r\n  padding: 8px 14px !important;\r\n  top: 10px !important;\r\n  left: 10px !important;\r\n  right: auto !important;\r\n  text-transform: uppercase;\r\n  box-shadow: 0 2px 6px rgba(0,0,0,0.15);\r\n  z-index: 2;\r\n}\r\n\r\n\/* \u2705 Responsive adjustments (keep your proportions) *\/\r\n@media (max-width: 1024px) {\r\n  .as-top10-scroll ul.products li.product {\r\n    flex: 1 1 calc(33.333% - 18px);\r\n    max-width: calc(33.333% - 18px);\r\n  }\r\n}\r\n@media (max-width: 768px) {\r\n  .as-top10-scroll ul.products li.product {\r\n    flex: 1 1 calc(50% - 18px);\r\n    max-width: calc(50% - 18px);\r\n  }\r\n  .as-top10-scroll ul.products li.product img {\r\n    height: 180px;\r\n  }\r\n}\r\n@media (max-width: 480px) {\r\n  .as-top10-scroll ul.products li.product {\r\n    flex: 1 1 100%;\r\n    max-width: 100%;\r\n  }\r\n}\r\n<\/style>\r\n\r\n<!-- \u2705 Hot Offers Products (vertical scroll, no arrows) -->\r\n<div class=\"as-top10-scroll\">\r\n  <?php echo do_shortcode('[products category=\"hot-offers\" orderby=\"date\" order=\"DESC\" limit=\"-1\" paginate=\"true\"]'); ?>\r\n<\/div>\r\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>\u0639\u0631\u0648\u0636 \u062d\u0635\u0631\u064a\u0629<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"","ast-site-content-layout":"full-width-container","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-863","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/alsafwamart.com\/ar\/wp-json\/wp\/v2\/pages\/863","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alsafwamart.com\/ar\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/alsafwamart.com\/ar\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/alsafwamart.com\/ar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alsafwamart.com\/ar\/wp-json\/wp\/v2\/comments?post=863"}],"version-history":[{"count":38,"href":"https:\/\/alsafwamart.com\/ar\/wp-json\/wp\/v2\/pages\/863\/revisions"}],"predecessor-version":[{"id":1508,"href":"https:\/\/alsafwamart.com\/ar\/wp-json\/wp\/v2\/pages\/863\/revisions\/1508"}],"wp:attachment":[{"href":"https:\/\/alsafwamart.com\/ar\/wp-json\/wp\/v2\/media?parent=863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}