@media (max-width: 1399px) {
  .col-gd {
      width: 25%;
  }
  .hero-area3.hero-area4 .item {
      height: 450px;
  }
}
@media (max-width: 1366px) {
  .slider-area-wrapper .item-inner {
      max-width: 70%;
  }
  .flash-sell-area.three_column_product .section-title h2{
      font-size: 24px;
  }
  .flash-sell-area.three_column_product .section-title h2 {
      font-size: 20px;
  }
}

@media (max-width: 1050px) {
  .left-category-area .category-list .navi-link img{
      display: none;
  }
  .left-category-area .category-list .navi-link {
      padding: 17px 8px;
  }
  .left-category-area .category-list {
      padding: 14px 0px;
  }
  .left-category-area .category-list .navi-link i {
      top: 5px;
  }

}

@media (max-width: 991px) {
  .hero-area3 .right-img img {
      max-width: 220px;
      display: inline-block;
      margin-bottom: 20px;
  }
  .slider-area-wrapper .item-inner {
      max-width: 100%;
  }

  .hero-area3 .left-content .title {
      font-size: 24px;
      line-height: 34px;
  }
  .hero-area3 .left-content{
      text-align: center;
      width: 100%;
  }
  .owl-carousel .owl-prev, .owl-carousel .owl-next {
      width: 30px;
      height: 30px;
      line-height: 30px;
  }
  .hero-area3 .left-content .subtitle {
      font-size: 30px;
  }
  .service-section.mt-60.pt-0{
      margin-top: 30px !important;
  }

  .col-gd {
      width: 33.333%;
  }
  .newproduct-section .section-title,
  .sps-two .section-title
  {
      display: block;
      text-align: center;
  }
  .sps-two  .section-title h2,
  .newproduct-section  .section-title h2
  {
      display: inline-block;
      margin-bottom : 20px;
  }
  .newproduct-section .section-title .links,
  .sps-two .section-title .links
  {
      display : block;
  }
  .newproduct-section .section-title .links, 
  .sps-two .section-title .links 
  {
      padding-bottom: 10px;
  }
  .section-title .links a::before {
      display: none;
  }
  .widget.p-4 {
      padding: 0px !important;
      box-shadow: none !important;
  }
  .contact-page .card.widget.p-4,
  .checkut-page .card.widget.p-4
  {
      border-radius: 5px !important;
      padding: 1.5rem !important;
  }
  .topbar{
      position: relative;
  }
  .compare-mobile {
      margin-right: 0px;
      margin-left: 10px;
  }
  .site-header .search-box-wrap{
      position: absolute;
      left: 0px;
      width: 100%;
      background: #fff;
      width: 100%;
      height: 100%;
      top: 0px;
      z-index: 999;
  }
  .close-m-serch{
      font-size: 24px;
      margin-left: 20px;
      cursor: pointer;
  }
  .track-order-link.wishlist-mobile{
      margin-right: 10px;
  }
  .t-h-dropdown {
      margin-right: 10px;
  }
  .hero-slider .item {
      height: 430px;
  }
  .body_theme2 .hero-slider .item {
      height: 430px;
  }
}

@media (max-width: 767px) {
  .hero-area3.hero-area4 .item {
      height: 320px;
  }
  .body_theme2 .genius-banner{
      margin-bottom: 30px;
  }
  .body_theme3 .genius-banner{
      margin-bottom: 30px;
  }
  .body_theme4 .genius-banner{
      margin-bottom: 30px;
  }
  .page-title {
      margin-bottom: 10px;
      padding-top: 0;
      padding-bottom: 0;
  }
  .page-title .breadcrumbs {
      padding-top: 8px;
      padding-bottom: 4px;
  }
  .container.padding-bottom-3x.mb-1 > .row:first-child {
      margin-top: 0;
  }
  .container.padding-bottom-3x.mb-1 > .row:first-child > [class*="col-"] {
      padding-top: 0;
  }
  .shop-top-filter-wrapper {
      padding: 6px 10px;
      margin-top: 0;
      margin-bottom: 10px;
      border: 1px solid #ebebeb;
      border-radius: 8px;
  }
  .shop-top-filter-wrapper > .row {
      display: flex;
      flex-wrap: nowrap;
      align-items: center;
      margin-left: 0;
      margin-right: 0;
  }
  .shop-top-filter-wrapper > .row > .col-md-10 {
      flex: 1 1 0;
      min-width: 0;
      max-width: none;
      width: auto;
      padding-left: 0;
      padding-right: 8px;
  }
  .shop-top-filter-wrapper > .row > .col-md-2 {
      flex: 0 0 auto;
      max-width: none;
      width: auto;
      padding-left: 0;
      padding-right: 0;
  }
  .shop-top-filter-wrapper .gd-text-sm-center {
      text-align: left;
  }
  .shop-top-filter-wrapper .gd-text-sm-center .sptfl {
      display: flex;
      flex-wrap: nowrap;
      align-items: center;
      gap: 8px;
      width: 100%;
  }
  .quickFilter .quickFilter-title {
      width: auto;
      min-width: 0;
      height: 36px;
      line-height: 34px;
      margin-right: 0;
      padding: 0 10px;
      font-size: 13px;
      white-space: nowrap;
  }
  .quickFilter .quickFilter-title i {
      font-size: 12px;
  }
  .shop-top-filter-wrapper select.form-control:not([size]):not([multiple]) {
      height: 36px;
      font-size: 13px;
      padding: 4px 28px 4px 10px;
  }
  .shop-top-filter-wrapper .shop-sorting {
      display: flex;
      flex: 1 1 0;
      flex-wrap: nowrap;
      align-items: center;
      gap: 0;
      min-width: 0;
      margin-top: 0;
      text-align: left;
  }
  .shop-top-filter-wrapper .shop-sorting label {
      display: none;
  }
  .shop-top-filter-wrapper .shop-sorting .form-control {
      flex: 1 1 0;
      max-width: none;
      width: 100%;
      min-width: 0;
      margin-right: 0;
  }
  .shop-top-filter-wrapper .shop-sorting span {
      display: none;
  }
  .shop-top-filter-wrapper .shop-view {
      float: none;
      margin-top: 0;
      display: inline-flex;
      flex-shrink: 0;
  }
  .shop-top-filter-wrapper .shop-view > a {
      width: 36px;
      height: 36px;
      line-height: 36px;
      font-size: 14px;
  }

  .col-gd {
      width: 50%;
  }
  .hero-slider .owl-carousel .owl-nav div {
      width: 35px;
      height: 35px;
      line-height: 35px;
  }
  .hero-slider .item {
      padding: 0px 20px;
  }
  .payment-methods .single-payment-method {
      width: 50%;
  }
  .details-page-top-right-content{
      margin-top: 30px;
  }
  .t-m-s-a{
      text-align: center;
  }
  a.genius-banner {
      margin-bottom: 30px;
  }
  .deal-of-day-section .section-title{
      display: block;
      text-align: center;
  }
  .deal-of-day-section .section-title h2{
      display: inline-block;
  }
  .deal-of-day-section .countdown{
      display: table;
      margin: 0 auto;
  }
  .deal-of-day-section .section-title .right-area{
      padding: 10px 0px 10px;
  }
  .flash-sell-area .section-title{
      text-align: left;
  }

}
@media (max-width: 576px) {
  .shop-top-filter-wrapper {
      padding: 6px 8px;
  }
  .quickFilter .quickFilter-title {
      padding: 0 8px;
      font-size: 12px;
  }
  .quickFilter .quickFilter-title i {
      margin-right: 4px;
  }
  .shop-top-filter-wrapper .shop-sorting #sorting {
      display: block;
      margin: 0;
  }
  .shop-top-filter-wrapper .shop-view > a {
      width: 34px;
      height: 34px;
      line-height: 34px;
  }
  .hero-slider .item {
      height: 340px;
  }
  .announcement-with-content .left-area {
      display: none;
  }
  .announcement-with-content .right-area {
      padding-left: 0px;
  }
  .announcement-with-content .right-area h3{
      font-size: 24px;
      font-weight: 600;
  }
}


@media (max-width: 500px) {
  .hero-area3.hero-area4 .item {
      height: 250px;
  }
  .slider-area-wrapper .item-inner .title {
      font-size: 30px;
  }
  .slider-area-wrapper .item-inner .subtitle {
      font-size: 15px;
      line-height: 24px;
  }

  .selected-product-section .features-slider .owl-nav div{
      top: 50% !important;
      transform: translateY(-50%);
  }
  .selected-product-section .features-slider .owl-nav div.owl-prev{
      left: -10px;
      right: auto;
  }
  .selected-product-section .features-slider .owl-nav div.owl-next{
      right: -10px;
  }
  .product-card .product-title > a {
      font-size: 13px !important;
      display: block;
  }
  .product-card .product-category>a{
      font-size: 12px;
  }
  .deal-of-day-section .section-title .h3::before{
      display: none;
  }
  .site-header .toolbar .toolbar-item {
      width: 34px;
      margin-left: 6px;
  }
  .flash-sell-new-section .product-card{
      display: block;
  }
  .flash-sell-new-section .product-card .product-thumb{
      width: 100%;
  }
  .flash-sell-area .section-title h2{
      font-size: 20px;
  }
  .p-action-button{
      display: block;
      margin-top: 12px;
  }
  .details-page-top-right-content .product-quantity{
      float: none;
  }
  .topbar .search-box-inner .search-box select {
      width: 80px;
  }
  .site-header .search-box-wrap .input-group{
      position: unset;
  }
  .site-header .search-box-wrap .search-box-inner{
      position: relative;
  }
}

@media (max-width: 414px) {
  .g-3, .gy-3 {
      --bs-gutter-y: 10px !important;
  }
  .g-3, .gx-3 {
      --bs-gutter-x: 10px !important;
  }
  .t-h-dropdown {
      margin-right: 8px;
  }
  .section-title h2 {
      font-size: 20px;
  }
  .details-page-top-right-content .p-title-main {
      font-size: 20px;
      line-height: 30px;
  }
 
}
@media (max-width: 390px) {
  .product-card .product-price > del{
      display: block;
  }
}
@media (max-width: 360px) {
  .product-card .product-title > a {
      font-size: 12px !important;
  }
  .product-card .product-card-body {
      padding: 10px 5px 0px;
  }
  .product-card.p-col .product-thumb {
      width: 100px;
      margin-right: 20px;
  }
  .genius-banner .inner-content h4 {
      font-size: 20px;
  }
}

.pagination {
  display: block; 
}
.pagination li {
  display: inline-block;
  margin: 3px 3px;
}

/* Header logo: wide assets need height-based sizing, not fixed 136px width */
.site-header .topbar > .container > .row > .col-lg-12 > .d-flex {
  align-items: center;
}
.site-header .site-branding {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 6px 0;
  margin-right: 16px;
}
.site-header .site-branding .site-logo {
  width: auto !important;
  max-width: min(200px, 32vw);
  line-height: 0;
}
.site-header .site-branding .site-logo > img,
.site-header .site-branding .site-logo-img {
  width: auto !important;
  height: 34px !important;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
}
@media (max-width: 991px) {
  .site-header .site-branding .site-logo > img,
  .site-header .site-branding .site-logo-img {
    height: 30px !important;
  }
  .site-header .site-branding .site-logo {
    max-width: min(168px, 46vw);
  }
}
@media (max-width: 575px) {
  .site-header .site-branding .site-logo > img,
  .site-header .site-branding .site-logo-img {
    height: 26px !important;
  }
  .site-header .site-branding .site-logo {
    max-width: min(148px, 52vw);
  }
}

/* Product cards: same image box size regardless of uploaded aspect ratio */
.product-card:not(.product-list) .product-thumb {
  aspect-ratio: 1 / 1;
  background-color: #f7f7f7;
}

.product-card:not(.product-list) .product-thumb > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Product detail: hover lens + floating zoom pane (no empty column) */
.product-gallery.is-product-zooming {
  z-index: 25;
  overflow: visible;
}

.product-gallery .product-image-zoom-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.product-gallery .product-image-zoom-main {
  position: relative;
  width: 100%;
}

.product-gallery .product-image-zoom-main.is-zoomable {
  cursor: crosshair;
}

.product-gallery .product-zoom-lens {
  position: absolute;
  display: none;
  border: 2px solid #ff6a00;
  background: rgba(255, 106, 0, 0.1);
  pointer-events: none;
  z-index: 6;
  box-sizing: border-box;
  border-radius: 2px;
}

.product-gallery .product-zoom-pane {
  position: absolute;
  left: calc(100% + 12px);
  top: 0;
  width: min(400px, 42vw);
  max-height: min(520px, 65vh);
  display: none;
  background-repeat: no-repeat;
  background-color: #fff;
  background-position: 0 0;
  border: 1px solid #ececec;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 30;
  pointer-events: none;
}

.product-gallery .product-zoom-pane.is-active {
  display: block;
}

.product-gallery .product-zoom-hint {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 7;
  max-width: calc(100% - 24px);
  padding: 8px 12px;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.35;
  color: #333;
  text-align: center;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: opacity 0.2s ease;
}

.product-gallery .product-zoom-hint.is-hidden,
.product-gallery .product-image-zoom-main.is-video-slide-active .product-zoom-hint {
  opacity: 0;
  visibility: hidden;
}

.product-gallery .product-details-slider .item img.is-zoomable {
  cursor: crosshair;
}

@media (max-width: 991.98px) {
  .product-gallery .product-zoom-pane,
  .product-gallery .product-zoom-lens {
    display: none !important;
  }

  .product-gallery .product-zoom-hint {
    display: none;
  }
}

/* Product detail: no forced letterbox gap; slide height follows active image */
.product-gallery .product-details-slider .item {
  line-height: 0;
  background-color: #f7f7f7;
}

.product-gallery .product-details-slider .item img {
  width: 100%;
  height: auto;
  max-height: min(520px, 65vh);
  display: block;
  object-fit: contain;
  object-position: top center;
}

.product-gallery .product-details-slider .owl-stage-outer {
  height: auto !important;
}

.product-thumbnails .owl-thumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.product-gallery-video-slide__thumb-source {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
}

.product-gallery-video-slide {
  position: relative;
}

.product-gallery-video-slide .product-gallery-video-frame {
  position: relative;
  width: 100%;
  line-height: 0;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
}

.product-gallery-video-slide .product-gallery-video-frame iframe {
  display: block;
  width: 100%;
  height: min(520px, 65vh);
  min-height: 240px;
  border: 0;
}

.product-thumbnails .owl-thumbs .owl-thumb-item.is-video-thumb {
  position: relative;
}

.product-thumbnails .owl-thumbs .owl-thumb-item.is-video-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.product-thumbnails .owl-thumbs .owl-thumb-item.is-video-thumb::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.95);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23333' d='M8 5v14l11-7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 55% center;
  background-size: 12px 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

/* Product detail info: title always at top (not vertically centered vs tall gallery) */
.details-page-top-right-content {
  height: auto;
  align-self: flex-start;
}

.product-thumbnails .owl-thumbs .owl-thumb-item img {
  object-fit: cover;
  object-position: center;
}

.details-page-top-right-content .product-quantity {
  border-radius: 4px;
  overflow: hidden;
}

.details-page-top-right-content .product-quantity > span:first-child {
  border-right: 0;
  border-radius: 4px 0 0 4px;
}

.details-page-top-right-content .product-quantity > input {
  border-left: 0;
  border-right: 0;
  border-radius: 0;
}

.details-page-top-right-content .product-quantity > span:last-child {
  border-left: 0;
  border-radius: 0 4px 4px 0;
}

.details-page-top-right-content .p-action-button {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}

.details-page-top-right-content .p-action-button .btn {
  min-height: 41px;
  line-height: 39px;
  padding: 0 22px;
  margin: 0 !important;
}

.details-page-top-right-content .p-d-f-area .left {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Steadfast-style checkout recipient */
.checkut-page .steadfast-recipient-form {
  max-width: 100%;
}
.steadfast-delivery-toggle {
  display: inline-flex;
  border: 1px solid #e4e4e4;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: #fff;
}
.steadfast-delivery-pill {
  border: none;
  background: #fff;
  color: #333;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.45rem 1.15rem;
  line-height: 1.4;
  cursor: pointer;
}
.steadfast-delivery-pill.active {
  background: #111;
  color: #fff;
}
.steadfast-delivery-pill:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.steadfast-section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9aa0a6;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
}
.steadfast-recipient-form .steadfast-field label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #444;
  margin-bottom: 0.35rem;
}
.steadfast-input-wrap {
  position: relative;
}
.steadfast-input-wrap .steadfast-input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa0a6;
  font-size: 1rem;
  line-height: 1;
  pointer-events: none;
}
.steadfast-input-wrap .form-control {
  padding-left: 2.35rem;
}
.steadfast-recipient-form textarea.form-control {
  min-height: 88px;
  resize: vertical;
}
.steadfast-label-active {
  color: #1a9b4b;
  font-weight: 600;
}
.steadfast-address-input--active,
.steadfast-address-input:focus {
  border-color: #1a9b4b;
  box-shadow: 0 0 0 0.15rem rgba(26, 155, 75, 0.15);
}
.steadfast-address-found {
  margin-top: 0.45rem;
  font-size: 0.8125rem;
  color: #444;
}
.steadfast-address-found .icon-check {
  color: #1a9b4b;
  margin-right: 0.25rem;
}
.steadfast-input-clearable .form-control {
  padding-right: 2.25rem;
}
.steadfast-input-combobox .form-control {
  padding-right: 4.25rem;
}
.steadfast-combobox {
  position: relative;
}
.steadfast-combobox-toggle {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #9aa0a6;
  padding: 0 6px;
  line-height: 1;
  cursor: pointer;
}
.steadfast-combobox-toggle:hover {
  color: #555;
}
.steadfast-combobox-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 30;
  max-height: 320px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.steadfast-combobox-item {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: #fff;
  padding: 0.55rem 0.85rem;
  font-size: 0.875rem;
  color: #333;
  cursor: pointer;
}
.steadfast-combobox-item small {
  display: block;
  color: #9aa0a6;
  font-size: 0.75rem;
  margin-top: 0.1rem;
}
.steadfast-combobox-item:hover,
.steadfast-combobox-item.is-active {
  background: #f5f7fa;
}
.steadfast-combobox-empty {
  padding: 0.65rem 0.85rem;
  font-size: 0.8125rem;
  color: #9aa0a6;
}
.steadfast-combobox-meta {
  padding: 0.45rem 0.85rem;
  font-size: 0.75rem;
  color: #9aa0a6;
  background: #fafafa;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1;
}
.steadfast-input-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #9aa0a6;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0 4px;
  cursor: pointer;
}
.steadfast-input-clear:hover {
  color: #555;
}
.steadfast-exact-hint {
  margin-top: 0.35rem;
  font-size: 0.75rem;
}
.steadfast-form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: -0.25rem 0 1rem;
}
.steadfast-link-btn {
  color: #1a9b4b !important;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none !important;
}
.steadfast-link-muted {
  color: #9aa0a6 !important;
  font-size: 0.875rem;
  text-decoration: none !important;
}
.steadfast-area-skipped #recipient-area {
  background: #f5f5f5;
}
.steadfast-alt-panel {
  border-top: 1px dashed #eee;
  padding-top: 1rem;
  margin-bottom: 0.5rem;
}