
/* VictorStore Product Listing V1 — HikaShop grid cards; product detail V11 unaffected */
.hikashop_products_listing .hikashop_products > .hk-row-fluid,
.hikashop_products_listing .hikashop_products > .hk-row-fluid.hk-row-10 {
 display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:18px!important; direction:rtl; align-items:stretch; margin:0!important;
}
.hikashop_products_listing .hikashop_products > .hk-row-fluid > .hikashop_product {
 grid-column:auto!important; width:100%!important; max-width:100%!important;
 min-width:0!important; flex:none!important; margin:0!important; padding:0!important;
}
.hikashop_products_listing .hikashop_product .hikashop_container,
.hikashop_products_listing .hikashop_product .hikashop_subcontainer {height:100%; min-width:0;}
.hikashop_products_listing .hikashop_product .hikashop_subcontainer {
 padding:0!important; margin:0!important; border:1px solid #e7ebf0!important;
 box-shadow:0 7px 26px rgba(20,39,55,.055)!important; border-radius:20px!important;
 overflow:hidden; background:#fff!important; transition:transform .22s,box-shadow .22s,border-color .22s;
}
.hikashop_products_listing .hikashop_product .hikashop_subcontainer:hover {
 transform:translateY(-4px); border-color:#ffd3ba!important;
 box-shadow:0 13px 35px rgba(20,39,55,.10)!important;
}
.hikashop_products_listing .vs-listing-card {
 height:100%; min-width:0; display:flex; flex-direction:column;
 direction:rtl; text-align:right; padding:0 15px 16px;
 font-family:inherit; color:#1b2c42;
}
.hikashop_products_listing .vs-listing-card .hikashop_product_image {
 order:1; width:calc(100% + 30px)!important; height:215px!important;
 margin:0 -15px 14px!important; background:linear-gradient(155deg,#fafbfd,#f1f4f7);
 display:flex; align-items:center; justify-content:center;
}
.hikashop_products_listing .vs-listing-card .hikashop_product_image_subdiv {
 width:100%!important; height:100%!important; display:flex; align-items:center; justify-content:center;
}
.hikashop_products_listing .vs-listing-card .hikashop_product_listing_image {
 max-width:100%!important; max-height:195px!important; width:auto!important; height:auto!important;
 object-fit:contain!important; padding:8px!important; box-sizing:border-box;
 transition:transform .25s;
}
.hikashop_products_listing .hikashop_product:hover .hikashop_product_listing_image {transform:scale(1.04)}
.hikashop_products_listing .vs-listing-card .hikashop_product_name {
 order:2; display:block; width:100%; min-height:54px; margin:0 0 8px!important;
 font-size:15px!important; line-height:1.85; font-weight:800;
}
.hikashop_products_listing .vs-listing-card .hikashop_product_name a {
 color:#203148!important; text-decoration:none!important; display:-webkit-box;
 -webkit-line-clamp:2;-webkit-box-orient:vertical; overflow:hidden;
}
.hikashop_products_listing .vs-listing-card .hikashop_product_name a:hover {color:#ff6000!important}
.hikashop_products_listing .vs-listing-card .vs-listing-price {order:3; border-top:1px solid #eff0f2; padding-top:10px; min-height:52px;}
.hikashop_products_listing .vs-listing-card .vs-listing-price .hikashop_product_price {
 color:#ff6000!important; font-size:18px!important; font-weight:850!important; line-height:1.8;
}
.hikashop_products_listing .vs-listing-card .vs-listing-price .hikashop_product_price_per_unit {display:none!important}
.hikashop_products_listing .vs-listing-card .hikashop_product_code_list {order:4; font-size:11px; color:#8793a1;}
.hikashop_products_listing .vs-listing-card .hikashop_product_characteristics_on_listing {order:5;}
.hikashop_products_listing .vs-listing-card dl {order:6; margin:3px 0;}
.hikashop_products_listing .vs-listing-card .vs-listing-cart {
 order:10; margin-top:auto; padding-top:12px; width:100%;
}
.hikashop_products_listing .vs-listing-card .vs-listing-cart .hikabtn,
.hikashop_products_listing .vs-listing-card .vs-listing-cart button.hikabtn {
 background:#ff6000!important;color:#fff!important; border:1px solid #ff6000!important;
 border-radius:10px!important; padding:10px 12px!important; font-size:13px!important;
 font-weight:750!important; min-height:40px;
}
.hikashop_products_listing .vs-listing-card .vs-listing-cart .hikashop_product_quantity_field_change {
 background:#fff!important;color:#ff6000!important; padding:3px 7px!important;
 border:1px solid #ffe1cc!important; min-height:0; border-radius:6px!important;
}
.hikashop_products_listing .vs-listing-card .vs-listing-cart input[type=number],
.hikashop_products_listing .vs-listing-card .vs-listing-cart input[type=text] {
 width:44px!important; min-height:28px; font-size:13px; text-align:center;
}
.hikashop_products_listing .vs-listing-card .hikashop_product_vote,
.hikashop_products_listing .vs-listing-card .hikashop_product_vote_listing {order:8;}
.hikashop_products_listing .vs-listing-card .product_details_button {order:11;}
@media(max-width:1150px) {
 .hikashop_products_listing .hikashop_products > .hk-row-fluid,
 .hikashop_products_listing .hikashop_products > .hk-row-fluid.hk-row-10 {grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media(max-width:800px) {
 .hikashop_products_listing .hikashop_products > .hk-row-fluid,
 .hikashop_products_listing .hikashop_products > .hk-row-fluid.hk-row-10 {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:510px) {
 .hikashop_products_listing .hikashop_products > .hk-row-fluid,
 .hikashop_products_listing .hikashop_products > .hk-row-fluid.hk-row-10 {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;}
 .hikashop_products_listing .vs-listing-card {padding:0 9px 12px;}
 .hikashop_products_listing .vs-listing-card .hikashop_product_image {height:150px!important; width:calc(100% + 18px)!important;margin:0 -9px 10px!important;}
 .hikashop_products_listing .vs-listing-card .hikashop_product_listing_image {max-height:142px!important;}
 .hikashop_products_listing .vs-listing-card .hikashop_product_name {font-size:12px!important;}
 .hikashop_products_listing .vs-listing-card .vs-listing-price .hikashop_product_price {font-size:15px!important;}
}


/* VictorStore Product Listing V2 — catalog and sidebar layout */
html:has(.vs-listing-card) body {background:#f7f8fb;}
.hikashop_products_listing:has(.vs-listing-card) {
    max-width:1380px; margin:10px auto 45px;
}
.vs-catalog-layout {display:grid; grid-template-columns:minmax(0,1fr) 270px; align-items:start; gap:18px; direction:rtl;}
.vs-catalog-content {min-width:0; grid-column:1;}
.vs-catalog-sidebar {grid-column:2;display:flex;flex-direction:column;gap:14px; position:sticky;top:18px;}
.vs-catalog-box {border:1px solid #e8ecf1;box-shadow:0 4px 15px rgba(23,39,57,.045);border-radius:13px;background:white;padding:17px; direction:rtl;}
.vs-catalog-box h3 {font-size:15px;font-weight:800;margin:0 0 15px;padding:0 0 11px;border-bottom:1px solid #edf0f3;color:#28374d;text-align:right;}
.vs-catalog-filter-label {display:block;color:#6b7788;font-size:12px;margin:14px 0 6px;}
.vs-catalog-box input[type=search],.vs-catalog-box input[type=number] {font-family:inherit;outline:none;width:100%;box-sizing:border-box;background:#fafbfc;border:1px solid #e1e5eb;border-radius:9px;padding:10px;color:#263448;font-size:13px;}
.vs-catalog-box input:focus {border-color:#ff8135;}
.vs-catalog-range {display:flex;gap:7px;align-items:center;}
.vs-catalog-range input {min-width:0;}
.vs-catalog-btn {width:100%;background:#ff6000;border:1px solid #ff6000;border-radius:9px;color:white;font:700 13px inherit;padding:11px;cursor:pointer;margin-top:13px;}
.vs-catalog-btn-secondary {background:#fff;border-color:#e6e9ed;color:#536176;}
.vs-catalog-small {color:#8b95a1;font-size:11px;display:block;margin-top:10px;line-height:1.8;}
.vs-catalog-suggestions {display:grid;gap:10px;}
.vs-catalog-suggestions a {display:flex;gap:9px;align-items:center;color:#27354a;text-decoration:none;font-size:12px;line-height:1.7;}
.vs-catalog-suggestions img {width:55px;height:55px;object-fit:contain;flex:none;background:#f7f8fa;border-radius:8px;}
.vs-catalog-toolbar {display:flex;gap:12px;align-items:center;justify-content:space-between;padding:14px 18px;background:#fff;border:1px solid #e8ecf1;border-radius:12px;margin-bottom:17px;direction:rtl;}
.vs-catalog-toolbar strong {font-size:14px;color:#26344a;}
.vs-catalog-toolbar select {background:#f7f8fa;border:1px solid #e1e5eb;border-radius:8px;padding:8px 10px;font:inherit;font-size:12px;color:#384a5c;}
.vs-catalog-toolbar span {color:#798494;font-size:12px;}
.vs-live-results{display:none;margin-top:10px;border:1px solid #e5eaf0;border-radius:10px;overflow:hidden;background:#fff;box-shadow:0 7px 20px rgba(15,28,45,.06)}
.vs-live-results.is-open{display:block}
.vs-live-results a{display:flex;align-items:center;justify-content:space-between;gap:9px;text-decoration:none;color:#25364b;font-size:12px;padding:10px 11px;border-bottom:1px solid #edf0f3}
.vs-live-results a:last-child{border-bottom:0}
.vs-live-results a:hover{background:#fff3e9;color:#ee6100}
.vs-live-results img{width:38px;height:38px;object-fit:contain}
.vs-live-results .vs-live-empty{font-size:12px;color:#748298;padding:12px}
.vs-catalog-empty {display:none;text-align:center;padding:35px;color:#667788;}
.hikashop_products_listing .vs-listing-card .hikashop_product_image {background:white!important;height:225px!important;}
.hikashop_products_listing .vs-listing-card .hikashop_product_listing_image {max-height:205px!important;}
.hikashop_products_listing .vs-listing-card .vs-listing-price {border-top:0!important;text-align:center;padding:10px 0!important;}
.hikashop_products_listing .vs-listing-card .hikashop_product_name {font-size:14px!important;font-weight:600!important;}
.hikashop_products_listing .vs-listing-card .vs-listing-price .hikashop_product_price {font-size:16px!important;}
.hikashop_products_listing .vs-listing-card .vs-listing-cart .hikabtn.hikacart {width:100%;}
@media(min-width:1151px){.vs-catalog-content .hikashop_products>.hk-row-fluid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;}}
@media(max-width:1100px){.vs-catalog-layout{grid-template-columns:minmax(0,1fr) 230px;}.vs-catalog-content .hikashop_products>.hk-row-fluid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}}
@media(max-width:850px){.vs-catalog-layout{grid-template-columns:minmax(0,1fr);}.vs-catalog-content,.vs-catalog-sidebar{grid-column:1;}.vs-catalog-sidebar{position:static;grid-row:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}.vs-catalog-content{grid-row:2;}}
@media(max-width:560px){.vs-catalog-sidebar{grid-template-columns:1fr;}.vs-catalog-content .hikashop_products>.hk-row-fluid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;}.vs-catalog-toolbar{flex-wrap:wrap;}}


/* VictorStore Product Listing V2.1: widescreen only, isolated from product detail */
@media (min-width: 992px) {
  body:has(.vs-catalog-layout) #sp-main-body > .container,
  body:has(.vs-catalog-layout) #sp-main-body .container,
  body:has(.vs-catalog-layout) .com-hikashop.view-category #sp-component,
  body:has(.vs-catalog-layout) .com-hikashop.view-product #sp-component {
    max-width: 1760px !important;
    width: calc(100% - 32px) !important;
  }
  body:has(.vs-catalog-layout) .hikashop_products_listing:has(.vs-listing-card) {
    width: 100% !important;
    max-width: 1680px !important;
    margin: 14px auto 45px !important;
  }
  body:has(.vs-catalog-layout) .vs-catalog-layout {
    grid-template-columns: minmax(0, 1fr) 300px !important;
    gap: 22px !important;
  }
  body:has(.vs-catalog-layout) .vs-catalog-content .hikashop_products > .hk-row-fluid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }
  body:has(.vs-catalog-layout) .vs-catalog-content .hikashop_products > .hk-row-fluid > .hikashop_product {
    grid-column: auto / span 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    flex: initial !important;
  }
}
@media (min-width: 1700px) {
  body:has(.vs-catalog-layout) .vs-catalog-content .hikashop_products > .hk-row-fluid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  body:has(.vs-catalog-layout) .vs-catalog-layout {
    grid-template-columns: minmax(0, 1fr) 240px !important;
    gap: 16px !important;
  }
  body:has(.vs-catalog-layout) .vs-catalog-content .hikashop_products > .hk-row-fluid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}


/* VictorStore Product Listing V2.2 — refinements */
body:has(.vs-catalog-layout) .vs-catalog-toolbar {justify-content:flex-start;flex-wrap:wrap;gap:14px;}
body:has(.vs-catalog-layout) .vs-catalog-toolbar strong {white-space:nowrap;min-width:fit-content;font-size:13px;}
body:has(.vs-catalog-layout) .vs-catalog-toolbar .vs-catalog-count {white-space:nowrap;direction:rtl;font-variant-numeric:normal;}
body:has(.vs-catalog-layout) .vs-catalog-sort-label {display:inline-flex;gap:8px;align-items:center;margin-inline-start:auto;white-space:nowrap;font-size:12px;font-weight:700;color:#43536a;}
body:has(.vs-catalog-layout) .vs-catalog-sort-label select {max-width:185px;}
body:has(.vs-catalog-layout) .vs-listing-card .vs-listing-description {order:3;margin:0 0 9px;color:#718092;font-weight:400;font-size:12px;line-height:1.9;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:0;}
body:has(.vs-catalog-layout) .vs-listing-card .vs-listing-price {order:2;margin-bottom:2px;}
body:has(.vs-catalog-layout) .vs-listing-card .hikashop_product_name {order:1;}
body:has(.vs-catalog-layout) .vs-listing-card .hikashop_product_image {order:0;}
body:has(.vs-catalog-layout) .vs-listing-card .vs-listing-cart {order:10;}
body:has(.vs-catalog-layout) .vs-listing-card .vs-listing-cart .hikashop_product_quantity_change_div_default {display:inline-flex!important;flex-flow:row nowrap!important;gap:5px!important;align-items:center!important;justify-content:center!important;}
body:has(.vs-catalog-layout) .vs-listing-card .vs-listing-cart .hikashop_quantity_form {display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:center!important;gap:6px!important;}
body:has(.vs-catalog-layout) .vs-listing-card .vs-listing-cart .hikashop_product_quantity_field_change {min-width:30px!important;height:31px!important;line-height:23px!important;padding:3px 7px!important;}
body:has(.vs-catalog-layout) .vs-listing-card .vs-listing-cart button.hikabtn.hikacart {width:100%!important;box-sizing:border-box!important;padding:12px 6px!important;font-size:clamp(11px,.9vw,13px)!important;white-space:normal!important;min-height:45px!important;line-height:1.4!important;}
body:has(.vs-catalog-layout) .vs-catalog-suggestions img {width:54px!important;height:54px!important;object-fit:contain!important;}
@media(min-width:992px){
 body:has(.vs-catalog-layout) .hikashop_products_listing.vs-catalog-count-1 .vs-catalog-content .hikashop_products>.hk-row-fluid {grid-template-columns:minmax(0,1fr)!important;}
 body:has(.vs-catalog-layout) .hikashop_products_listing.vs-catalog-count-2 .vs-catalog-content .hikashop_products>.hk-row-fluid {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
 body:has(.vs-catalog-layout) .hikashop_products_listing.vs-catalog-count-3 .vs-catalog-content .hikashop_products>.hk-row-fluid {grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media(max-width:640px){body:has(.vs-catalog-layout) .vs-catalog-sort-label{margin-inline-start:0;}}


/* VictorStore Product Listing V2.3: gallery image and quantity alignment */
body:has(.vs-catalog-layout) .vs-listing-card .hikashop_product_image {
  height: clamp(240px, 21vw, 350px) !important;
  min-height: 240px !important;
  width: calc(100% + 30px) !important;
  margin: 0 -15px 14px !important;
  padding: 12px !important;
  box-sizing: border-box !important;
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
}
body:has(.vs-catalog-layout) .vs-listing-card .hikashop_product_image_subdiv,
body:has(.vs-catalog-layout) .vs-listing-card .hikashop_product_image_subdiv > a {
  width:100% !important; height:100% !important;
  max-width:100% !important; display:flex !important;
  justify-content:center !important; align-items:center !important;
}
body:has(.vs-catalog-layout) .vs-listing-card .hikashop_product_listing_image {
  display:block !important; width:100% !important; height:100% !important;
  max-width:100% !important; max-height:100% !important;
  object-fit:contain !important; padding:0 !important;
}
body:has(.vs-catalog-layout) .vs-listing-card .vs-listing-cart .hikashop_quantity_form,
body:has(.vs-catalog-layout) .vs-listing-card .vs-listing-cart .hikashop_product_quantity_div {
  display:flex !important; flex-direction:row !important; flex-wrap:nowrap !important;
  align-items:center !important; justify-content:center !important;
  gap:7px !important;
}
body:has(.vs-catalog-layout) .vs-listing-card .vs-listing-cart .hikashop_product_quantity_change_div_default,
body:has(.vs-catalog-layout) .vs-listing-card .vs-listing-cart .hikashop_product_quantity_input_div_default {
  display:inline-flex !important; flex-direction:row !important; flex-wrap:nowrap !important;
  align-items:center !important; justify-content:center !important; gap:6px !important;
  width:auto !important; margin:0 !important; padding:0 !important;
}
body:has(.vs-catalog-layout) .vs-listing-card .vs-listing-cart .hikashop_product_quantity_field_change {
  width:33px !important; min-width:33px !important; height:33px !important;
  display:inline-flex !important; align-items:center !important; justify-content:center !important;
  margin:0 !important; padding:0 !important; line-height:1 !important;
}
body:has(.vs-catalog-layout) .vs-listing-card .vs-listing-cart .hikashop_quantity_form input[type=number],
body:has(.vs-catalog-layout) .vs-listing-card .vs-listing-cart .hikashop_quantity_form input[type=text] {
  width:43px !important; height:33px !important; min-height:33px !important;
  margin:0 !important; padding:0 3px !important; text-align:center !important;
}
@media(max-width:560px){
  body:has(.vs-catalog-layout) .vs-listing-card .hikashop_product_image {
    height:190px !important; min-height:190px !important;
    width:calc(100% + 18px) !important; margin:0 -9px 10px !important;
  }
}


/* V2.9: typography comes from the central custom.css controller. */


/* VictorStore catalog V2.10 — compact responsive product cards.
   Presentation only: HikaShop prices, inventory, quantity and add-to-cart untouched. */
body:has(.vs-catalog-layout) .vs-listing-card .hikashop_product_image {
  height: 172px !important;
  min-height: 172px !important;
  margin-bottom: 8px !important;
  padding: 8px !important;
}
body:has(.vs-catalog-layout) .vs-listing-card .hikashop_product_listing_image {
  max-height: 156px !important;
  object-fit: contain !important;
}
body:has(.vs-catalog-layout) .vs-listing-card {
  padding-bottom: 11px !important;
}
body:has(.vs-catalog-layout) .vs-listing-card .hikashop_product_name {
  min-height: 39px !important;
  margin-bottom: 4px !important;
  line-height: 1.55 !important;
}
body:has(.vs-catalog-layout) .vs-listing-card .vs-listing-price {
  min-height: 34px !important;
  padding: 2px 0 !important;
  margin-bottom: 2px !important;
}
body:has(.vs-catalog-layout) .vs-listing-card .vs-listing-description {
  direction: rtl !important;
  text-align: right !important;
  unicode-bidi: plaintext;
  overflow-wrap: anywhere;
  line-height: 1.85 !important;
  -webkit-line-clamp: 2 !important;
  line-height: 1.65 !important;
  margin-bottom: 5px !important;
  font-size: 11.5px !important;
}
body:has(.vs-catalog-layout) .vs-listing-card .vs-listing-cart {
  padding-top: 5px !important;
}
body:has(.vs-catalog-layout) .vs-listing-card .vs-listing-cart .hikashop_quantity_form {
  margin-top: 2px !important;
  margin-bottom: 4px !important;
}
body:has(.vs-catalog-layout) .vs-listing-card .vs-listing-cart button.hikabtn.hikacart {
  min-height: 39px !important;
  padding: 8px 5px !important;
}
@media (max-width: 560px) {
  body:has(.vs-catalog-layout) .vs-listing-card .hikashop_product_image {
    height: 132px !important;
    min-height: 132px !important;
    padding: 5px !important;
    margin-bottom: 6px !important;
  }
  body:has(.vs-catalog-layout) .vs-listing-card .hikashop_product_listing_image {
    max-height: 122px !important;
  }
  body:has(.vs-catalog-layout) .vs-listing-card .hikashop_product_name {
    min-height: 36px !important;
  }
}


/* VictorStore listing V2.11: listing-only visual changes, preserve HikaShop forms. */
body:has(.vs-catalog-layout) .vs-listing-card .hikashop_product_stock_count {
  display: none !important;
}
body:has(.vs-catalog-layout) .vs-listing-card .vs-listing-last-one {
  order: 9;
  align-self: stretch;
  margin: 5px 0 7px;
  padding: 7px 10px;
  border: 1px solid #ffcca0;
  border-radius: 9px;
  background: #fff4e8;
  color: #b94100;
  text-align: center;
  font-weight: 800;
  font-size: clamp(11px, .88vw, 13px);
  line-height: 1.65;
}
/* Quantity control hidden visually, but HikaShop keeps its native submitted input. */
body:has(.vs-catalog-layout) .vs-listing-card .vs-listing-cart .hikashop_product_quantity_input_div_default_main,
body:has(.vs-catalog-layout) .vs-listing-card .vs-listing-cart .hikashop_product_quantity_input_div_default,
body:has(.vs-catalog-layout) .vs-listing-card .vs-listing-cart .hikashop_product_quantity_change_div_default,
body:has(.vs-catalog-layout) .vs-listing-card .vs-listing-cart .hikashop_product_quantity_div,
body:has(.vs-catalog-layout) .vs-listing-card .vs-listing-cart .hikashop_product_quantity_field,
body:has(.vs-catalog-layout) .vs-listing-card .vs-listing-cart .hikashop_product_quantity_field_change {
  display: none !important;
}
body:has(.vs-catalog-layout) .vs-listing-card .vs-listing-cart .hikashop_quantity_form {
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
  margin: 0 !important;
}
/* Stronger flag-wave: only the product photo moves. */
@keyframes vs-product-flag-wave {
  0%, 100% { transform: perspective(470px) rotateY(0deg) rotateZ(0deg) skewY(0deg) translateX(0); }
  18% { transform: perspective(470px) rotateY(-17deg) rotateZ(-4deg) skewY(-2deg) translateX(-5px); }
  42% { transform: perspective(470px) rotateY(15deg) rotateZ(3.6deg) skewY(2deg) translateX(5px); }
  67% { transform: perspective(470px) rotateY(-12deg) rotateZ(-3deg) skewY(-1.5deg) translateX(-4px); }
  85% { transform: perspective(470px) rotateY(8deg) rotateZ(2deg) skewY(1deg) translateX(2px); }
}
body:has(.vs-catalog-layout) .vs-listing-card .hikashop_product_listing_image {
  transform-origin: center top;
  backface-visibility: hidden;
}
@media (hover:hover) and (pointer:fine) {
  body:has(.vs-catalog-layout) .vs-listing-card .hikashop_product_image:hover .hikashop_product_listing_image {
    animation: vs-product-flag-wave .88s ease-in-out infinite !important;
  }
}
@media (prefers-reduced-motion:reduce) {
  body:has(.vs-catalog-layout) .vs-listing-card .hikashop_product_listing_image {
    animation: none !important;
  }
}


/* VictorStore VS-LIST-015: native pagination layout (catalog only) */
/* VS-LIST-016: full-width pagination after BOTH columns */
.hikashop_products_listing > .vs-catalog-pagination,
.hikashop_products_listing > .vs-catalog-pagination-wrap {
  box-sizing:border-box;width:100%;max-width:100%;clear:both;
  display:flex!important;align-items:center;justify-content:center;
  flex-wrap:wrap;column-gap:14px;row-gap:6px;
  padding:12px 18px;margin:13px 0 22px!important;
  background:#fff;border:1px solid #e8ecf1;border-radius:12px;
  direction:inherit;text-align:center;
}
.hikashop_products_listing > .vs-catalog-pagination .hikashop_limit,
.hikashop_products_listing > .vs-catalog-pagination .limit,
.hikashop_products_listing > .vs-catalog-pagination .hikashop_pagination,
.hikashop_products_listing > .vs-catalog-pagination .pagination,
.hikashop_products_listing > .vs-catalog-pagination [class*="limit_box"],
.hikashop_products_listing > .vs-catalog-pagination label {
  display:inline-flex!important;align-items:center!important;vertical-align:middle;
  justify-content:center;flex-wrap:nowrap;gap:7px;
  width:auto!important;margin:0!important;padding:0!important;
  float:none!important;white-space:nowrap;
}
.hikashop_products_listing > .vs-catalog-pagination select {width:auto!important;max-width:95px;margin:0!important;}
.hikashop_products_listing > .vs-catalog-pagination ul {display:inline-flex;align-items:center;justify-content:center;flex-wrap:nowrap;gap:5px;margin:0!important;}
@media(max-width:560px){.hikashop_products_listing > .vs-catalog-pagination{padding:10px 6px;column-gap:9px;}}
.vs-catalog-content .vs-catalog-pagination {
  clear: both !important;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin: 22px 0 12px !important;
  padding: 15px 18px;
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 12px;
  box-sizing: border-box;
  text-align: center;
}
.vs-catalog-content .vs-catalog-pagination > * { float: none !important; margin: 0 !important; }
.vs-catalog-content .vs-catalog-pagination .pagination,
.vs-catalog-content .vs-catalog-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 5px; margin: 0; }
.vs-catalog-content .vs-catalog-pagination select { max-width: 100px; }
.vs-catalog-content .hikashop_products > .hk-row-fluid { width: 100%; }
.vs-catalog-content .hikashop_products > .hk-row-fluid > .hikashop_product { float: none !important; }
@media(max-width:600px){ .vs-catalog-content .vs-catalog-pagination {padding:12px 8px;gap:9px;} }


/* VS-LIST-017B — Sort selector rendering only (FA/EN) */
body:has(.vs-catalog-layout) .vs-catalog-toolbar .vs-catalog-sort-label > select.vs-catalog-sort {
  box-sizing: border-box !important;
  display: inline-block !important;
  flex: 0 0 auto !important;
  width: 155px !important;
  min-width: 155px !important;
  max-width: 155px !important;
  height: 38px !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: 4px 12px !important;
  border: 1px solid #e1e5eb !important;
  border-radius: 8px !important;
  background-color: #f7f8fa !important;
  color: #384a5c !important;
  font-family: var(--vs-site-font, inherit) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: normal !important;
  letter-spacing: normal !important;
  text-indent: 0 !important;
  text-align: start !important;
  -webkit-text-fill-color: #384a5c !important;
  opacity: 1 !important;
  appearance: auto !important;
  -webkit-appearance: menulist !important;
  overflow: visible !important;
}
body:has(.vs-catalog-layout) .vs-catalog-toolbar .vs-catalog-sort-label > select.vs-catalog-sort option {
  color: #384a5c !important;
  background: #fff !important;
  font-size: 12px !important;
}


/* VS-LIST-018: locale-aware catalog layout; original card sizes and logic untouched. */
/* Explicit areas make sidebar placement independent of grid direction. */
html[lang^="fa"] body:has(.vs-catalog-layout) .vs-catalog-layout,
html[lang^="en"] body:has(.vs-catalog-layout) .vs-catalog-layout {
  direction:ltr;
  grid-template-areas:"sidebar main";
  grid-template-columns:300px minmax(0,1fr) !important;
}
html[lang^="fa"] body:has(.vs-catalog-layout) .vs-catalog-layout {
  grid-template-areas:"main sidebar";
  grid-template-columns:minmax(0,1fr) 300px !important;
}
body:has(.vs-catalog-layout) .vs-catalog-layout > .vs-catalog-content {grid-area:main;min-width:0;}
body:has(.vs-catalog-layout) .vs-catalog-layout > .vs-catalog-sidebar {grid-area:sidebar;min-width:0;}
html[lang^="fa"] body:has(.vs-catalog-layout) .vs-catalog-toolbar,
html[lang^="fa"] body:has(.vs-catalog-layout) .vs-catalog-sidebar,
html[lang^="fa"] body:has(.vs-catalog-layout) .vs-catalog-box {direction:rtl;text-align:right;}
html[lang^="en"] body:has(.vs-catalog-layout) .vs-catalog-toolbar,
html[lang^="en"] body:has(.vs-catalog-layout) .vs-catalog-sidebar,
html[lang^="en"] body:has(.vs-catalog-layout) .vs-catalog-box {direction:ltr;text-align:left;}
html[lang^="en"] body:has(.vs-catalog-layout) .vs-catalog-box h3 {text-align:left;}
html[lang^="en"] body:has(.vs-catalog-layout) .vs-catalog-toolbar .vs-catalog-count {direction:ltr;}
html[lang^="fa"] body:has(.vs-catalog-layout) .vs-catalog-content .hikashop_products > .hk-row-fluid {direction:rtl;}
html[lang^="en"] body:has(.vs-catalog-layout) .vs-catalog-content .hikashop_products > .hk-row-fluid {direction:ltr;}
html[lang^="en"] body:has(.vs-catalog-layout) .vs-listing-card {direction:ltr;text-align:left;}
html[lang^="en"] body:has(.vs-catalog-layout) .vs-listing-card .vs-listing-description {direction:ltr!important;text-align:left!important;}
html[lang^="en"] body:has(.vs-catalog-layout) .vs-catalog-sort-label > select.vs-catalog-sort {direction:ltr;text-align:left!important;}
html[lang^="fa"] body:has(.vs-catalog-layout) .vs-catalog-sort-label > select.vs-catalog-sort {direction:rtl;text-align:right!important;}
html[lang^="en"] body:has(.vs-catalog-layout) .vs-catalog-range {direction:ltr;}
html[lang^="fa"] body:has(.vs-catalog-layout) .vs-catalog-range {direction:rtl;}
@media(min-width:992px) and (max-width:1199px){
 html[lang^="fa"] body:has(.vs-catalog-layout) .vs-catalog-layout {grid-template-columns:minmax(0,1fr) 240px!important;}
 html[lang^="en"] body:has(.vs-catalog-layout) .vs-catalog-layout {grid-template-columns:240px minmax(0,1fr)!important;}
}
@media(max-width:991px) and (min-width:851px){
 html[lang^="fa"] body:has(.vs-catalog-layout) .vs-catalog-layout {grid-template-columns:minmax(0,1fr) 230px!important;}
 html[lang^="en"] body:has(.vs-catalog-layout) .vs-catalog-layout {grid-template-columns:230px minmax(0,1fr)!important;}
}
@media(max-width:850px){
 html[lang^="fa"] body:has(.vs-catalog-layout) .vs-catalog-layout,
 html[lang^="en"] body:has(.vs-catalog-layout) .vs-catalog-layout {grid-template-areas:"sidebar" "main";grid-template-columns:minmax(0,1fr)!important;}
}

/* VS-LIST-019 — English layout grid placement correction only. */
@media (min-width:851px) {
  html[lang^="en"] body:has(.vs-catalog-layout) .vs-catalog-layout > .vs-catalog-sidebar {
    grid-column: 1 !important; grid-row: 1 !important;
  }
  html[lang^="en"] body:has(.vs-catalog-layout) .vs-catalog-layout > .vs-catalog-content {
    grid-column: 2 !important; grid-row: 1 !important;
  }
}
@media (max-width:850px) {
  html[lang^="en"] body:has(.vs-catalog-layout) .vs-catalog-layout > .vs-catalog-sidebar {grid-column:1 !important; grid-row:1 !important;}
  html[lang^="en"] body:has(.vs-catalog-layout) .vs-catalog-layout > .vs-catalog-content {grid-column:1 !important; grid-row:2 !important;}
}
