/*
Theme Name: Printsyde Theme
Theme URI: https://printsyde.com
Author: Printsyde
Author URI: https://printsyde.com
Description: Custom WordPress theme scaffold for Printsyde-style landing page.
Version: 1.2.9
Text Domain: printsyde-theme
*/
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@900,700,500,300,400&display=swap');

:root {
  --ps-bg: #f6f3ee;
  /* Light beige background like reference */
  --ps-section-bg: #fffcf6;
  --ps-surface: #fff;
  --ps-text: #181f2c;
  --ps-muted: #6f7480;
  --ps-line: #e6e6e6;
  --ps-brand: #f47a20;
  --ps-primary: #f47a20;
  --ps-sale: #26acc8;
  --ps-wrap: 1600px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Satoshi", "Segoe UI", Arial, sans-serif;
  color: var(--ps-text);
  background: var(--ps-bg);
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.printsyde-header-wrap .container {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
}

.printsyde-header-wrap .hidden.h-3.w-full.bg-white.lg\:block {
  display: none;
}

.printsyde-header-wrap .hidden.w-full.bg-white.lg\:block {
  display: none;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3 {
  padding: 0 !important;
}

.printsyde-header-wrap .hidden.w-full.border-b.lg\:block.py-1 {
  display: none;
}

.ps-mobile-header {
  position: relative;
  z-index: 20;
  background: #fff;
}

.ps-mobile-header-top {
  min-height: 56px;
  /* Compact height */
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
}

.ps-mobile-menu-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #777;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ps-mobile-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.ps-mobile-logo img {
  width: 140px;
  /* Scaled down logo */
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.ps-mobile-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ps-mobile-cart-btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--ps-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* Fixed: Added relative to anchor badge */
}

.ps-header-cart-btn {
  position: relative;
  /* Fixed: Anchor badge for desktop */
}

.ps-mobile-cart-btn svg {
  width: 24px;
  height: 24px;
}

.ps-cart-count-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  /* Adjust to stay on top-right of icon */
  background: var(--ps-brand);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #fff;
  line-height: 1;
  pointer-events: none;
  z-index: 5;
}

.ps-mobile-menu-btn svg {
  stroke-width: 1.8;
  /* Thinner lines */
  color: #272727;
}

.ps-mobile-signin {
  height: 32px;
  /* Small pill button */
  min-width: auto;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ps-brand);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.ps-mobile-search-wrap {
  padding: 0 12px 10px;
  border-top: 1px solid #f0f0f0;
}

.ps-mobile-search {
  min-height: 40px;
  /* Slimmer search bar */
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ps-mobile-search svg {
  width: 18px;
  height: 18px;
}

.ps-mobile-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #202530;
}

.ps-mobile-search input::placeholder {
  color: #aeaeae;
}

@media (min-width: 1024px) {
  .ps-mobile-header {
    display: none;
  }

  .printsyde-header-wrap .hidden.h-3.w-full.bg-white.lg\:block {
    display: block;
    height: 12px;
    width: 100%;
    background: #fff;
  }

  .printsyde-header-wrap .hidden.w-full.bg-white.lg\:block {
    display: block;
    width: 100%;
    background: #fff;
  }

  .printsyde-header-wrap .hidden.w-full.border-b.lg\:block.py-1 {
    display: block;
    width: 100%;
    border-bottom: 1px solid #e5e7eb;
    padding-top: 4px;
    padding-bottom: 4px;
    background: #fff;
  }
}


.printsyde-header-main .flex.h-\[72px\].items-center.justify-between {
  min-height: 72px;
}

.printsyde-header-main .relative.h-\[70px\].w-\[140px\] {
  height: 70px;
  width: 140px;
}

.printsyde-header-main .absolute.inset-0.h-full.w-full.object-cover {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.printsyde-header-main .flex.h-12.flex-1.items-center.gap-3.rounded-r-full.border {
  border-radius: 0 999px 999px 0 !important;
}

.printsyde-header-main .text-primary,
.printsyde-header-bottom .hover\:text-primary:hover {
  color: #f97316;
}

.printsyde-header-main .bg-primary,
.printsyde-header-main .hover\:bg-primary-600:hover {
  background: #f97316;
}

.printsyde-header-main .text-primary-foreground {
  color: #fff;
}

.printsyde-header-main .text-foreground,
.printsyde-header-bottom .text-foreground {
  color: #1f2937;
}

.printsyde-header-main .max-w-\[724px\] {
  max-width: 724px;
}

.printsyde-header-main input::placeholder {
  color: #aeaeae;
}

.printsyde-header-main .rounded-full {
  border-radius: 999px;
}

.printsyde-header-main .shadow-xs {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.printsyde-header-main .gap-14 {
  gap: 56px;
}

.printsyde-header-main .gap-6 {
  gap: 24px;
}

.printsyde-header-main .gap-4 {
  gap: 16px;
}

.printsyde-header-bottom .container.flex.items-center {
  align-items: center;
}

.printsyde-header-main .ps-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.printsyde-header-main .ps-header-left {
  display: flex;
  align-items: center;
  gap: 56px;
}

.printsyde-header-main .ps-header-logo {
  width: 140px;
  height: 70px;
}

.printsyde-header-main .ps-header-logo img {
  object-fit: contain;
}

.printsyde-header-main .ps-header-category-btn {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  gap: 8px;
  border-radius: 999px;
  padding: 10px;
}

.printsyde-header-main .ps-header-category-wrap {
  position: relative;
}

.ps-category-mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -14px;
  width: 900px;
  height: 520px;
  border: 1px solid #e9eaee;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.15);
  display: none;
  overflow: hidden;
  z-index: 300;
}

.ps-header-category-wrap.is-open .ps-category-mega-menu {
  display: grid;
  grid-template-columns: 280px 1fr;
}

.ps-category-menu-left {
  border-right: 1px solid #ebedf0;
  background: #fff;
  padding: 8px 0;
  overflow-y: auto;
}

.ps-category-parent-item {
  width: 100%;
  min-height: 48px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  color: #303642;
  font-size: 15px;
  font-weight: 500;
}

.ps-category-parent-item:hover,
.ps-category-parent-item.is-active {
  background: #fff4ea;
  color: var(--ps-brand);
  font-weight: 700;
}

.ps-category-item-arrow {
  font-size: 24px;
  color: #8c93a3;
}

.ps-category-parent-item>span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: calc(100% - 24px);
}

.ps-category-parent-item.is-active .ps-category-item-arrow,
.ps-category-parent-item:hover .ps-category-item-arrow {
  color: var(--ps-brand);
}

.ps-category-menu-right {
  background: #fff;
  padding: 20px 24px;
  overflow-y: auto;
}

.ps-category-panel {
  display: none;
}

.ps-category-panel.is-active {
  display: block;
}

.ps-category-all-link {
  text-decoration: none;
  color: var(--ps-brand);
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ps-category-children-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ps-category-child-card {
  text-decoration: none;
  color: #242934;
}

.ps-category-child-thumb {
  width: 100%;
  height: 140px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  background: #eff0f2;
}

.ps-category-child-thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6f7787;
  font-size: 20px;
  font-weight: 700;
}

.ps-category-child-card p {
  margin: 8px 0 0;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


.printsyde-header-main .ps-header-right {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.printsyde-header-main .ps-header-search-wrap {
  flex: 1;
  min-width: 0;
  max-width: 724px;
}

.printsyde-header-main .ps-header-search {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-radius: 999px;
  position: relative;
}

.printsyde-header-main #ps-search-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 48px;
  min-width: 72px;
  padding: 0 8px 0 20px;
  border: 1px solid #d1d1d1;
  border-right: 0;
  border-radius: 999px 0 0 999px;
  background: #f8f8f8;
  color: #272727;
  font-size: 16px;
  font-weight: 500;
  font-family: 'Satoshi', sans-serif;
  cursor: pointer;
  transition: background-color 0.2s;
  position: relative;
  z-index: 20;
}

.printsyde-header-main #ps-search-all-btn:hover {
  background-color: #f0f0f0;
}

.printsyde-header-main #ps-search-all-btn:hover {
  background: #ddd;
}

.printsyde-header-main #ps-search-all-btn span {
  display: inline-block;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.printsyde-header-main .ps-header-search-input-wrap {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  height: 48px;
  border: 1px solid #d1d1d1;
  border-left: 0;
  border-radius: 0 999px 999px 0;
  padding: 0 16px;
  gap: 12px;
}

.printsyde-header-main .ps-header-search-input-wrap input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 16px;
  color: #1f2937;
}

.printsyde-header-main .ps-header-search-input-wrap input::placeholder {
  color: #9aa0a7;
}

.printsyde-header-main .ps-header-main-search {
  height: 100%;
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  color: #1f2937;
  font-size: 16px;
  outline: none;
}

.printsyde-header-main .ps-header-main-search::placeholder {
  color: #aeaeae;
}

.printsyde-header-main .ps-header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.printsyde-header-main .ps-header-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.printsyde-header-main .ps-header-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #f97316;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.printsyde-header-main .ps-header-icons a,
.printsyde-header-main .ps-header-icons button {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.printsyde-header-main .ps-header-cart-btn {
  border: 0;
  background: transparent;
}

.printsyde-header-main .ps-header-signin {
  min-height: 40px;
  min-width: 128px;
  font-size: 16px;
  padding: 8px 24px;
  border-radius: 999px;
}

.printsyde-header-bottom .ps-header-campaigns {
  display: flex;
  min-height: 58px;
  align-items: center;
}

.printsyde-header-bottom .ps-header-campaigns a {
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  color: #111827;
  padding-top: 8px;
  padding-bottom: 8px;
  line-height: 1.2;
}

.printsyde-header-bottom .ps-campaign-divider {
  width: 1px;
  margin-left: 24px;
  margin-right: 24px;
  height: 40px;
  background: #868686;
}

.printsyde-header-bottom .ps-campaign-col-left {
  display: flex;
  flex: 1;
  justify-content: flex-end;
}

.printsyde-header-bottom .ps-campaign-col-center {
  display: flex;
  align-items: center;
}

.printsyde-header-bottom .ps-campaign-col-right {
  display: flex;
  flex: 1;
  justify-content: flex-start;
}

.ps-wrap {
  width: min(var(--ps-wrap), calc(100% - 36px));
  margin: 0 auto;
}

.ps-header {
  background: #f8f8f8;
  border-bottom: 1px solid var(--ps-line);
}

.ps-header-top {
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
}

.ps-logo img {
  width: 158px;
  display: block;
}

.ps-category-btn {
  border: 0;
  background: transparent;
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ps-category-btn span {
  font-size: 24px;
  font-weight: 400;
}

.ps-search {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  border: 1px solid #4d4d4d;
  border-radius: 999px;
  background: #fff;
  min-height: 76px;
  overflow: hidden;
}

.ps-search-type {
  padding: 0 22px;
  border-right: 1px solid #5a5a5a;
  font-size: 34px;
  line-height: 1;
}

.ps-search input {
  border: 0;
  outline: none;
  width: 100%;
  padding: 0 24px;
  font-size: 36px;
  color: #8b8b8b;
}

.ps-header-icons {
  display: flex;
  gap: 20px;
}

.ps-header-icons a {
  color: #f47a20;
  text-decoration: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid #ffd5b5;
  font-size: 22px;
}

/* Keep legacy header styles from affecting the new printsyde header */
.printsyde-header-main .ps-header-icons a {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  font-size: inherit;
}

.ps-signin {
  background: var(--ps-brand);
  color: #fff;
  text-decoration: none;
  padding: 16px 38px;
  border-radius: 999px;
  font-size: 38px;
  font-weight: 700;
}

.ps-campaign-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 14px 0 18px;
}

.ps-campaign-nav a {
  color: var(--ps-text);
  text-decoration: none;
  font-size: 36px;
  font-weight: 500;
  padding: 10px 24px;
}

.ps-divider {
  width: 1px;
  height: 38px;
  background: #8f8f8f;
}

.ps-hero {
  position: relative;
  padding: 14px 0 6px;
}

.ps-hero-viewport {
  overflow: hidden;
  padding: 0 12px;
}

.ps-hero-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s ease;
}

.ps-hero-slide {
  flex: 0 0 calc((100% - 32px) / 3);
  border-radius: 10px;
  overflow: hidden;
}

.ps-hero-slide img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 10 / 9;
  object-fit: cover;
}

.ps-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 0;
  background: rgba(34, 34, 34, 0.9);
  color: #fff;
  font-size: 34px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ps-hero-arrow.prev {
  left: 44px;
}

.ps-hero-arrow.next {
  right: 44px;
}

.ps-sections-wrap {
  background: var(--ps-section-bg);
  padding: 60px 0 50px;
}

.ps-home-cats {
  background: #fff;
  padding: 50px 0 56px;
}

.ps-home-cats-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.ps-home-cats-head h2 {
  margin: 0;
  text-align: center;
  font-weight: 700;
  font-size: 40px;
  line-height: 44px;
  color: #0d1224;
}

.ps-home-cats-head p {
  margin: 0;
  text-align: center;
  color: #aeaeae;
  font-size: 18px;
  line-height: 28px;
}

.ps-home-cats-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.ps-home-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.ps-home-cat-media {
  height: 239px;
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
}

.ps-home-cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-home-cat-item span {
  text-align: center;
  font-family: "Satoshi", system-ui, sans-serif;
  font-weight: 700;
  color: #0d1224;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 0;
}

.ps-product-section+.ps-product-section {
  margin-top: 64px;
}

.ps-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.ps-section-head h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  color: #0d1224;
}

.ps-section-head a {
  text-decoration: none;
}

.ps-rail-controls {
  display: flex;
  gap: 20px;
  padding-right: 4px;
}

.ps-rail-controls button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 7px 18px rgba(0, 0, 0, 0.08);
  color: #1f2937;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  padding: 0;
}

.ps-rail-controls button svg {
  width: 16px;
  height: 16px;
  display: block;
}

.ps-rail-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.ps-rail-viewport::-webkit-scrollbar {
  display: none;
}

.ps-rail-track {
  display: flex;
  gap: 20px;
  padding: 4px 2px 12px;
}

.ps-product-section .ps-rail-track .ps-product-card {
  flex: 0 0 200px;
  min-width: 0;
}

@media (min-width: 480px) {
  .ps-product-section .ps-rail-track .ps-product-card {
    flex: 0 0 220px;
  }
}

@media (min-width: 768px) {
  .ps-product-section .ps-rail-track .ps-product-card {
    flex: 0 0 240px;
  }
}

@media (min-width: 1200px) {
  .ps-product-section .ps-rail-track .ps-product-card {
    flex: 0 0 260px;
  }
}

.ps-show-all-wrap {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.ps-show-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 40px;
  padding: 0 32px;
  border: 1px solid var(--ps-brand);
  border-radius: 999px;
  color: var(--ps-brand);
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-transform: capitalize;
}

.ps-show-all-btn:hover {
  background: var(--ps-brand);
  color: #fff;
}

.ps-product-section {
  padding: 32px 0;
}

@media (min-width: 768px) {
  .ps-product-section {
    padding: 64px 0;
  }
}

.ps-bg-white {
  background-color: #fff;
}

.ps-bg-alt {
  background-color: #FFFCF6;
}

.ps-product-card {
  position: relative;
  list-style: none;
}

.ps-product-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.ps-card-shadow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  height: 66%;
  width: 100%;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.07);
}

.ps-product-media {
  position: relative;
  z-index: 2;
  margin: 0 10px;
  border-radius: 9px;
  overflow: hidden;
  background: #eef1f4;
  border: 4px solid transparent;
  background-clip: padding-box;
  transition: border-color 0.3s ease;
}

.ps-product-card:hover .ps-product-media {
  border-color: var(--ps-primary) !important;
}

.ps-product-media img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.5s ease, opacity 0.25s ease;
  opacity: 0;
}

.ps-product-card:hover .ps-product-media img {
  transform: scale(1.1);
}

/* Border handled above */

.ps-quickview-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.ps-product-card:hover .ps-quickview-wrap {
  opacity: 1;
}

.ps-quickview-btn {
  transform: translateY(16px);
  border: 0;
  border-radius: 8px;
  background: var(--ps-brand);
  color: #fff;
  font-weight: 700;
  padding: 10px 30px;
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
}

.ps-product-card:hover .ps-quickview-btn {
  transform: translateY(0);
}

.ps-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, #e8ebef 8%, #f5f7fa 18%, #e8ebef 33%);
  background-size: 200% 100%;
  animation: ps-shimmer 1.2s linear infinite;
}

.ps-product-media.loaded .ps-skeleton {
  opacity: 0;
  visibility: hidden;
}

.ps-product-media.loaded img {
  opacity: 1;
}

.ps-sale-badge {
  position: absolute;
  right: 14px;
  top: 12px;
  background: var(--ps-sale);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  z-index: 3;
}

.ps-like-btn {
  position: absolute;
  right: 14px;
  bottom: 8px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
  color: var(--ps-brand);
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.ps-like-btn svg {
  width: 24px;
  height: 24px;
  display: block;
}

.ps-product-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
}

.ps-product-body h3 {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
  color: #0d1224;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 2;
  max-height: calc(1.3em * 2);
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

.ps-product-card:hover .ps-product-body h3 {
  color: var(--ps-primary) !important;
}

.ps-product-meta {
  margin-bottom: 4px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px;
}

.ps-product-meta p {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #6e707a;
  font-size: 12px;
  line-height: 1.4;
}

.ps-product-rate {
  display: flex;
  align-items: baseline;
  gap: 3px;
  white-space: nowrap;
  font-size: 12px;
}

.ps-product-rate span:first-child {
  font-weight: 600;
  color: #0d1224;
}

.ps-product-rate span:nth-child(2) {
  color: #0d1224;
}

.ps-product-rate span:last-child {
  color: #727272;
}

.ps-product-price {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.ps-product-price .new {
  color: var(--ps-brand);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.ps-product-price .old {
  color: #6e707a;
  font-size: 13px;
  text-decoration: line-through;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 
  Legacy Homepage Sections (Reviews, Blog, Trust, About, Seller) 
  Migrated to Tailwind in template-parts/home/*.php 
*/

.ps-about-highlight {
  color: #F97316;
  font-weight: 700;
}

/* Newsletter */
.ps-newsletter-wrap {
  position: relative;
  background-color: #F2E9DC;
  overflow: hidden;
}

.ps-newsletter-star {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  pointer-events: none;
  z-index: 1;
}

@media (min-width: 768px) {
  .ps-newsletter-star {
    display: block;
  }
}

.ps-newsletter-container {
  position: relative;
  z-index: 10;
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding: 32px 0;
}

@media (min-width: 768px) {
  .ps-newsletter-container {
    padding: 0;
    min-height: 200px;
  }
}

.ps-newsletter-left {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.ps-newsletter-title {
  font-weight: 500;
  color: #272727;
  font-size: 18px;
  line-height: 1.3;
  margin: 0;
}

@media (min-width: 640px) {
  .ps-newsletter-title {
    font-size: 24px;
  }
}

@media (min-width: 768px) {
  .ps-newsletter-title {
    font-weight: 700;
    font-size: 30px;
  }
}

@media (min-width: 1024px) {
  .ps-newsletter-title {
    font-size: 36px;
  }
}

.ps-newsletter-form {
  margin: 0;
}

.ps-newsletter-field-row {
  display: flex;
  align-items: center;
  margin-top: 8px;
}

@media (min-width: 768px) {
  .ps-newsletter-field-row {
    margin-top: 16px;
  }
}

.ps-newsletter-input {
  flex: 1;
  height: 36px;
  min-width: 0;
  border: 1px solid #d1d5db;
  border-right: none;
  border-radius: 6px 0 0 6px;
  background: #fff;
  padding: 0 12px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  color: #0d1224;
}

@media (min-width: 768px) {
  .ps-newsletter-input {
    height: 48px;
    width: 384px;
    flex: none;
    font-size: 14px;
  }
}

.ps-newsletter-input:focus {
  border-color: var(--ps-brand);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.ps-newsletter-input::placeholder {
  color: #9ca3af;
}

.ps-newsletter-btn {
  height: 36px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0 6px 6px 0;
  background-color: var(--ps-brand);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 0 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .ps-newsletter-btn {
    height: 48px;
  }
}

.ps-newsletter-btn:hover {
  background-color: #ea6c0e;
}

.ps-newsletter-right {
  position: absolute;
  right: -40px;
  bottom: 0;
  width: 50%;
  display: flex;
  align-items: flex-end;
}

@media (min-width: 768px) {
  .ps-newsletter-right {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    align-items: center;
  }
}

.ps-newsletter-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Back to Top */
.ps-back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  color: #0D1224;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  border: none;
}

.ps-back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.ps-back-to-top:hover {
  background-color: #f5f5f5;
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .ps-back-to-top {
    width: 48px;
    height: 48px;
    right: 24px;
    bottom: 24px;
  }
}

@media (max-width: 1919px) {

  .ps-category-btn,
  .ps-search-type,
  .ps-campaign-nav a {
    font-size: 24px;
  }

  .ps-search {
    min-height: 58px;
  }

  .ps-search input {
    font-size: 24px;
  }

  .ps-signin {
    font-size: 24px;
    padding: 12px 28px;
  }

  .ps-section-head h2 {
    font-size: 30px;
    /* sm:text-3xl equivalent */
  }
}

@media (max-width: 1024px) {
  .ps-home-cats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .ps-home-cat-media {
    height: 180px;
  }

  .ps-home-cat-item span {
    font-size: 22px;
  }

  .ps-header-top {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ps-campaign-nav {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
  }

  .ps-divider {
    display: none;
  }

  .ps-hero-slide {
    flex-basis: calc((100% - 16px) / 2);
  }

  .ps-section-head h2 {
    font-size: 24px;
    /* text-2xl equivalent */
  }

  .ps-product-card {
    /* Grid handled by .products */
  }

  .ps-product-body {
    padding: 12px;
  }

  .ps-product-body h3 {
    font-size: 14px;
  }

  .ps-product-price .new {
    font-size: 15px;
  }

  .ps-product-price .old {
    font-size: 12px;
  }


  @media (max-width: 390px) {
    .ps-home-cats {
      padding: 26px 0 32px;
    }

    .ps-home-cats-head {
      gap: 8px;
      margin-bottom: 18px;
    }

    .ps-home-cats-head h2 {
      font-size: 24px;
      line-height: 30px;
    }

    .ps-home-cats-head p {
      font-size: 14px;
      line-height: 24px;
    }

    .ps-home-cats-grid {
      gap: 12px;
    }

    .ps-home-cat-media {
      height: 140px;
    }

    .ps-home-cat-item {
      gap: 8px;
    }

    .ps-home-cat-item span {
      font-size: 14px;
    }

    .ps-wrap {
      width: calc(100% - 16px);
    }

    .ps-logo img {
      width: 122px;
    }

    .ps-category-btn {
      font-size: 18px;
    }

    .ps-search,
    .ps-search input,
    .ps-search-type {
      min-height: 44px;
      font-size: 16px;
    }

    .ps-signin {
      font-size: 16px;
      padding: 10px 18px;
      justify-self: start;
    }

    .ps-campaign-nav a {
      font-size: 16px;
      padding: 8px 10px;
    }

    .ps-hero-viewport {
      padding: 0;
    }

    .ps-hero-slide {
      flex-basis: 100%;
    }

    .ps-hero-arrow {
      display: none;
    }

    .ps-sections-wrap {
      padding: 30px 0;
    }

    .ps-product-section+.ps-product-section {
      margin-top: 38px;
    }

    .ps-section-head h2 {
      font-size: 20px;
    }

    .ps-rail-controls {
      display: none;
    }

    .ps-product-card {
      /* Grid handled by .products */
    }

    .ps-product-body h3 {
      font-size: 13px;
      margin-bottom: 6px;
    }

    .ps-product-rate {
      font-size: 11px;
    }

    .ps-product-price .new {
      font-size: 14px;
    }

    .ps-product-price .old {
      font-size: 12px;
    }

    .ps-like-btn {
      width: 40px;
      height: 40px;
      right: 10px;
      bottom: 6px;
    }

    .ps-sale-badge {
      right: 10px;
      top: 8px;
      padding: 4px 8px;
      font-size: 11px;
    }

    .ps-show-all-wrap {
      margin-top: 14px;
      justify-content: center;
    }

    .ps-show-all-btn {
      min-width: 120px;
      height: 40px;
      padding: 0 20px;
      border-width: 1px;
      border-radius: 999px;
      font-size: 18px;
      line-height: 1;
      color: var(--ps-brand);
    }

    .ps-show-all-btn:hover {
      background: var(--ps-brand);
      color: #fff;
    }
  }
}

.ps-footer-wrap {
  background: #fff;
  border-radius: 60px 60px 0 0;
  /* Large rounded corners */
  margin-top: 0;
  position: relative;
  z-index: 10;
  overflow: hidden;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.02);
}

.ps-footer-wrap .container {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
}

.ps-footer-main {
  background: transparent;
}

.ps-footer-main-container {
  position: relative;
  z-index: 10;
  padding: 32px 0;
}

.ps-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.ps-footer-col {
  min-width: 0;
}

.ps-footer-logo .custom-logo-link,
.ps-footer-logo-fallback {
  display: inline-flex;
  align-items: center;
  height: 56px;
  overflow: hidden;
}

.ps-footer-logo .custom-logo-link img,
.ps-footer-logo img {
  height: 80px;
  width: auto;
  max-width: 320px;
  transform: translateY(-10%);
  object-fit: contain;
}

.ps-footer-logo-text {
  font-size: 30px;
  font-weight: 800;
  color: #0d1224;
  letter-spacing: 0.02em;
}

.ps-footer-about {
  margin: 16px 0 24px;
}

.ps-footer-about p {
  color: #727272;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
  margin: 0;
}

.ps-footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ps-footer-social-icon {
  color: #bdbdbd;
  transition: color 0.2s ease;
}

.ps-footer-social-icon:hover {
  color: var(--ps-brand);
}

.ps-footer-social-icon svg {
  width: 24px;
  height: 24px;
}

.ps-footer-desc {
  margin: 12px 0 18px;
  color: #272727;
  font-size: 14px;
  line-height: 1.6;
}

.ps-footer-dmca {
  width: 128px;
}

.ps-footer-dmca img {
  width: 100%;
  height: auto;
  display: block;
}

.ps-footer-list h3,
.ps-footer-contact h3,
.ps-footer-accordion summary {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: #0d1224;
}

.ps-footer-list ul,
.ps-footer-accordion ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ps-footer-list li,
.ps-footer-accordion li {
  margin-bottom: 10px;
}

.ps-footer-list li:last-child,
.ps-footer-accordion li:last-child {
  margin-bottom: 0;
}

.ps-footer-list a,
.ps-footer-accordion a {
  color: #272727;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.ps-footer-list a:hover,
.ps-footer-accordion a:hover {
  color: #f97316;
}

.ps-footer-contact-list {
  display: grid;
  gap: 9px;
}

.ps-footer-contact-list div {
  color: #272727;
  font-size: 12px;
  line-height: 1.5;
}

.ps-footer-contact-list strong {
  font-weight: 700;
}

.ps-footer-bottom {
  background: #fff;
  /* Unified white background */
  padding: 20px 0 40px;
  border-top: 1px solid #f8f8f8;
}

.ps-footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ps-footer-locale-wrap {
  display: flex;
  align-items: center;
}

.ps-footer-locale {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 4px 12px;
  background: transparent;
  color: #0d1224;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.ps-footer-locale:hover {
  background: rgba(0, 0, 0, 0.04);
}

.ps-footer-locale svg {
  width: 20px;
  height: 20px;
}

.ps-footer-copy {
  margin: 0;
  color: #272727;
  font-size: 14px;
  font-weight: 500;
}

.ps-footer-payments {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ps-payment-icon {
  display: inline-block;
  height: 28px;
  width: auto;
  flex-shrink: 0;
  vertical-align: middle;
}

.ps-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.ps-footer-social-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
}

.ps-footer-social-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.ps-footer-copy {
  margin: 0;
  color: #0d1224;
  font-size: 14px;
  font-weight: 500;
}

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

.ps-footer-accordion {
  border: 0;
}

.ps-footer-accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.ps-footer-accordion summary::-webkit-details-marker {
  display: none;
}

.ps-footer-accordion summary svg {
  width: 16px;
  height: 16px;
  color: #9ca3af;
  transition: transform 0.2s ease;
}

.ps-footer-accordion[open] summary svg {
  transform: rotate(180deg);
}

.ps-footer-accordion ul {
  margin-top: 10px;
}

@media (min-width: 640px) {
  .ps-footer-main-container {
    padding: 64px 0;
  }

  .ps-footer-logo .custom-logo-link,
  .ps-footer-logo-fallback {
    height: 64px;
  }

  .ps-footer-logo .custom-logo-link img,
  .ps-footer-logo img {
    height: 96px;
  }

  .ps-footer-list a,
  .ps-footer-accordion a,
  .ps-footer-contact-list div {
    font-size: 14px;
  }

  .ps-footer-copy {
    font-size: 16px;
  }
}

@media (max-width: 1023px) {
  .ps-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (min-width: 1024px) {
  .lg-order-1 {
    order: 1;
  }

  .lg-order-2 {
    order: 2;
  }

  .lg-order-3 {
    order: 3;
  }
}

@media (max-width: 767px) {
  .ps-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .ps-footer-list h3,
  .ps-footer-contact h3,
  .ps-footer-accordion summary {
    margin-bottom: 10px;
  }

  .ps-footer-bottom {
    padding: 20px 0;
  }

  .ps-footer-bottom-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 1023px) {
  .ps-about-pillars {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ps-pillar {
    flex-direction: column;
  }

  .ps-pillar-divider {
    display: none;
  }

  .ps-pillar-icon-wrap {
    align-self: center;
  }

  .ps-pillar-body {
    align-items: center;
    text-align: center;
  }
}

/* Category Dropdown Refined 1-1 */
#ps-search-category-dropdown {
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 1.25rem;
  /* ~20px rounded */
  margin-top: 0.75rem;
}

#ps-search-category-dropdown.scale-100 {
  opacity: 1;
  transform: scale(1);
}

#ps-category-search-input {
  background-color: #f9f9f9;
  color: #272727;
  font-weight: 400;
}

#ps-category-search-input::placeholder {
  color: #aeaeae;
}

.ps-category-list {
  padding-right: 2px;
}

.ps-category-item {
  font-family: 'Satoshi', sans-serif;
  font-size: 16px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.ps-category-item:hover {
  background-color: #f8f8f8;
}

.ps-category-item.active {
  color: var(--ps-brand) !important;
  font-weight: 700 !important;
  background-color: transparent;
}

/* Custom Scrollbar 1-1 with Buttons */
.custom-scrollbar::-webkit-scrollbar {
  width: 12px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: #272727;
  border-radius: 10px;
  border: 4px solid white;
  /* Makes it look thinner and centered */
}

.custom-scrollbar::-webkit-scrollbar-button:single-button {
  background-color: transparent;
  display: block;
  background-size: 8px;
  background-repeat: no-repeat;
  background-position: center;
  height: 16px;
  width: 12px;
}

/* Up Arrow */
.custom-scrollbar::-webkit-scrollbar-button:single-button:vertical:decrement {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='black'><path d='M50 20L90 80L10 80Z'/></svg>");
}

/* Down Arrow */
.custom-scrollbar::-webkit-scrollbar-button:single-button:vertical:increment {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='black'><path d='M50 80L90 20L10 20Z'/></svg>");
}


/* Quick View Modal Refined 1-1 */
.ps-qv-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.ps-qv-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.ps-qv-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.ps-qv-dialog {
  position: relative;
  z-index: 2001;
  background: #fff;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  scrollbar-width: none;
}

.ps-qv-dialog::-webkit-scrollbar {
  display: none;
}

.ps-qv-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #f5f5f5;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}

.ps-qv-close:hover {
  background: #eee;
}

.ps-qv-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .ps-qv-grid {
    grid-template-columns: 440px 1fr;
  }
}

.ps-qv-media-col {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ps-qv-image-container {
  background: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
}

.ps-qv-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ps-qv-media-info {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}

.ps-qv-short-desc {
  margin-bottom: 12px;
  font-weight: 500;
}

.ps-qv-review-snippet {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.ps-qv-review-snippet .reviewer-name {
  font-weight: 700;
  color: #272727;
}

.ps-qv-review-snippet .stars {
  color: #f97316;
  letter-spacing: 2px;
}

.ps-qv-review-snippet .review-count {
  color: #727272;
}

.ps-qv-content-col {
  padding: 30px 40px 30px 0;
  display: flex;
  flex-direction: column;
}

@media (max-width: 767px) {
  .ps-qv-content-col {
    padding: 0 30px 30px;
  }
}

.ps-qv-pricing-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.ps-qv-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price-now-label {
  font-size: 24px;
  font-weight: 700;
  color: #272727;
}

.ps-qv-price-current {
  font-size: 32px;
  font-weight: 800;
  color: #272727;
}

.ps-qv-price-regular {
  font-size: 18px;
  color: #ef4444;
  text-decoration: line-through;
  font-weight: 500;
}

.ps-qv-save-badge {
  color: #22c55e;
  font-weight: 600;
  font-size: 14px;
}

.ps-qv-details-link {
  color: #f97316;
  text-decoration: underline;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 24px;
  display: inline-block;
}

.ps-qv-field-wrap {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.ps-qv-field-wrap label {
  font-weight: 700;
  color: #272727;
  min-width: 70px;
}

.ps-qv-select-wrapper {
  flex: 1;
  position: relative;
}

.ps-qv-select-wrapper select {
  width: 100%;
  height: 44px;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 0 16px;
  appearance: none;
  background: #fff url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right 12px center;
  background-size: 16px;
  outline: none;
}

.ps-qv-qty {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  height: 44px;
  width: 120px;
  overflow: hidden;
}

.ps-qv-qty button {
  width: 40px;
  height: 100%;
  border: none;
  background: transparent;
  font-size: 20px;
  color: #f97316;
  cursor: pointer;
  transition: background 0.2s;
}

.ps-qv-qty button:hover {
  background: #f9f9f9;
}

.ps-qv-qty input {
  width: 40px;
  height: 100%;
  border: none;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
  outline: none;
  -moz-appearance: textfield;
}

.ps-qv-qty input::-webkit-outer-spin-button,
.ps-qv-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ps-qv-promos {
  background: #fffcf8;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.promo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #272727;
}

.promo-icon {
  width: 20px;
  height: 20px;
  background: #f97316;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.ps-qv-shipping {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #272727;
  margin-bottom: 24px;
}

.shipping-icon {
  color: #f97316;
  fill: #f97316;
}

.ps-qv-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ps-qv-btn {
  height: 52px;
  border-radius: 26px;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}

.ps-qv-btn-outline {
  background: #fff;
  color: #f97316;
  border: 2px solid #f97316;
}

.ps-qv-btn-outline:hover {
  background: #fffcf8;
}

.ps-qv-btn-primary {
  background: #f97316;
  color: #fff;
}

.ps-qv-btn-primary:hover {
  background: #ea6c0e;
}

.ps-qv-message {
  font-size: 13px;
  margin-bottom: 12px;
}

.ps-qv-message.is-error {
  color: #ef4444;
}

.ps-qv-message.is-success {
  color: #22c55e;
}

/* Mobile Category Drawer 1-1 */
.ps-mobile-category-drawer {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ps-mobile-category-drawer.is-open {
  transform: translateX(0);
}

.ps-mobile-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 16px;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}

.ps-mobile-category-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18px;
  font-weight: 700;
  color: #272727;
  white-space: nowrap;
}

.ps-mobile-category-back,
.ps-mobile-category-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #272727;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 10;
}

.ps-mobile-category-body {
  flex: 1;
  overflow-y: auto;
  position: relative;
}

.ps-mobile-category-level {
  position: absolute;
  inset: 0;
  background: #fff;
  transition: transform 0.3s ease;
  visibility: hidden;
  opacity: 0;
}

.ps-mobile-category-level.is-active {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

/* L1 is active by default */
.ps-mobile-category-l1 {
  transform: translateX(0);
}

.ps-mobile-category-l2 {
  transform: translateX(100%);
}

.ps-mobile-category-l2.is-active {
  transform: translateX(0);
}

.ps-mobile-category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f9f9f9;
  color: #272727;
  font-size: 16px;
  font-weight: 500;
  position: relative;
}

.ps-mobile-category-arrow {
  color: #aeaeae;
}

.ps-mobile-category-group {
  display: flex;
  flex-direction: column;
}

.ps-mobile-category-view-all {
  display: block;
  padding: 16px 0;
  text-align: center;
  color: #aeaeae;
  font-size: 15px;
  border-bottom: 1px solid #f9f9f9;
}

.ps-mobile-category-child-item {
  display: block;
  padding: 16px 20px;
  border-bottom: 1px solid #f9f9f9;
  color: #272727;
  font-size: 16px;
  font-weight: 500;
}

body.ps-mobile-menu-open {
  overflow: hidden;
}

/* Shop Page Refined 1-1 */
.ps-shop-cats {
  padding: 4px 0 38px;
  background: #fff;
}

.ps-shop-cats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  gap: 42px;
  overflow: visible;
  padding-bottom: 0;
  max-width: 560px;
  margin: 0 auto;
}

.ps-shop-cat-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.ps-shop-cat-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  background: #f1f2f4;
  transition: all 0.3s ease;
}

.ps-shop-cat-item:hover .ps-shop-cat-icon {
  transform: scale(1.1);
}

.ps-shop-cat-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-shop-cat-name {
  margin-top: 11px;
  font-size: 15px;
  font-weight: 500;
  color: #111827;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  line-height: 1.3;
}

.ps-shop-cat-name svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.ps-shop-cat-item:hover .ps-shop-cat-name svg {
  transform: translateX(2px);
}

@media (min-width: 1024px) {
  .ps-shop-cats {
    padding: 6px 0 34px;
  }

  .ps-shop-cats-grid {
    gap: 72px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 900px;
  }

  .ps-shop-cat-icon {
    width: 94px;
    height: 94px;
  }

  .ps-shop-cat-name {
    font-size: 23px;
    line-height: 1.22;
    margin-top: 12px;
  }
}

.ps-shop-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 28px;
  background: #fff;
}

.ps-all-filter-btn {
  display: flex;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 999px;
  border: 1px solid var(--ps-primary);
  background: transparent;
  padding: 0 18px;
  font-size: 18px;
  font-weight: 500;
  color: var(--ps-primary);
  text-transform: capitalize;
  cursor: pointer;
  transition: all 0.2s;
}

.ps-all-filter-btn:hover {
  background: rgba(244, 122, 32, 0.05);
}

.ps-sort-wrapper {
  position: relative;
}

.ps-sort-trigger {
  height: 40px;
  min-width: 126px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 0 14px 0 18px;
  font-size: 16px;
  font-weight: 500;
  color: #1a202c;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  outline: none;
}

.ps-sort-trigger svg {
  color: #9ca3af;
}

.ps-sort-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 240px;
  background: #fff;
  border: 1px solid #e8ebf0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.14);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 20;
}

.ps-sort-wrapper.is-open .ps-sort-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ps-sort-dropdown form {
  display: grid;
  gap: 3px;
}

.ps-sort-option {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 500;
  color: #111827;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.ps-sort-option:hover,
.ps-sort-option.is-active {
  background: #f7eadf;
  color: var(--ps-brand);
}

.ps-shop-filter-popup {
  position: fixed;
  inset: 0;
  z-index: 100050;
  visibility: hidden;
  pointer-events: none;
}

.ps-shop-filter-popup.is-open {
  visibility: visible;
  pointer-events: auto;
}

.ps-shop-filter-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.ps-shop-filter-popup.is-open .ps-shop-filter-overlay {
  opacity: 1;
}

.ps-shop-filter-panel {
  position: absolute;
  top: 0;
  left: -420px;
  width: 420px;
  max-width: calc(100vw - 18px);
  height: 100%;
  background: #fff;
  box-shadow: 10px 0 36px rgba(0, 0, 0, 0.14);
  border-radius: 0 18px 18px 0;
  display: flex;
  flex-direction: column;
  transition: left 0.24s ease;
}

.ps-shop-filter-popup.is-open .ps-shop-filter-panel {
  left: 0;
}

.ps-shop-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 14px;
  border-bottom: 1px solid #eceff3;
}

.ps-shop-filter-head h3 {
  margin: 0;
  font-size: 20px;
  color: #111827;
  font-weight: 700;
}

.ps-shop-filter-close {
  width: 30px;
  height: 30px;
  border: 1px solid #d9dee6;
  border-radius: 6px;
  background: #fff;
  color: #4b5563;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ps-shop-filter-form {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ps-shop-filter-body {
  flex: 1;
  overflow: auto;
  padding: 14px 16px 10px;
}

.ps-filter-group {
  margin-bottom: 16px;
}

.ps-filter-group h4 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.ps-filter-price-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
}

.ps-filter-price-row input,
.ps-filter-select {
  height: 38px;
  border: 1px solid #dce2ea;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 13px;
  color: #111827;
  background: #fff;
  width: 100%;
}

.ps-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ps-filter-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ps-filter-chip span {
  display: inline-flex;
  border: 1px solid #dce2ea;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  color: #111827;
  background: #fff;
}

.ps-filter-chip input:checked+span {
  border-color: #f97316;
  color: #f97316;
  background: #fff7ed;
}

.ps-filter-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #111827;
}

.ps-shop-filter-foot {
  border-top: 1px solid #eceff3;
  padding: 12px 16px 14px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 8px;
}

.ps-filter-reset,
.ps-filter-apply {
  height: 40px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.ps-filter-reset {
  border: 1px solid #dce2ea;
  background: #fff;
  color: #111827;
}

.ps-filter-apply {
  border: 1px solid #f97316;
  background: #f97316;
  color: #fff;
}

body.ps-filter-open {
  overflow: hidden;
}

.ps-shop-main .products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 16px;
  row-gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ps-shop-main .products li.product,
.ps-shop-main .products li.ps-product-card {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  clear: none !important;
  display: block;
}

.ps-shop-main .products::before,
.ps-shop-main .products::after,
.ps-shop-main .products li.product::before,
.ps-shop-main .products li.product::after {
  content: none !important;
}

@media (min-width: 768px) {
  .ps-shop-main .products {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .ps-shop-main .products {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1536px) {
  .ps-shop-main .products {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 767px) {
  .ps-shop-main .products {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 12px;
    row-gap: 24px;
  }
}

.ps-shop-main .woocommerce-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.ps-shop-main {
  background: #ffffff;
  padding: 0 0 40px;
}

/* Reuse home product card style on shop */
.ps-shop-main .ps-card-shadow {
  display: none;
}

.ps-shop-main .ps-product-card {
  border-radius: 9px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.ps-shop-main .ps-product-media {
  margin: 0 10px;
  border-radius: 9px;
  border: 0;
  background: #eef1f4;
}

.ps-shop-main .ps-product-media img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.ps-shop-main .ps-product-card:hover .ps-product-media {
  border-color: var(--ps-primary) !important;
}

.ps-shop-main .ps-product-card:hover .ps-product-media img {
  transform: scale(1.1);
}

.ps-shop-main .ps-product-body {
  padding: 8px;
  min-height: 124px;
  display: flex;
  flex-direction: column;
}

.ps-shop-main .ps-product-body h3 {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
  color: #111827;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.25em * 2);
  max-height: calc(1.25em * 2);
  text-overflow: ellipsis;
}

.ps-shop-main .ps-product-meta {
  margin-bottom: 4px;
  gap: 4px;
  margin-top: auto;
}

@media (max-width: 767px) {
  .ps-shop-main .ps-product-body {
    min-height: 132px;
  }
}

.ps-shop-main .ps-product-meta p {
  font-size: 12px;
  line-height: 1.33;
  color: #6e707a;
}

.ps-shop-main .ps-product-rate {
  font-size: 12px;
  gap: 3px;
}

.ps-shop-main .ps-product-rate span:first-child,
.ps-shop-main .ps-product-rate span:nth-child(2) {
  color: #111827;
  font-weight: 700;
}

.ps-shop-main .ps-product-rate span:last-child {
  color: #727272;
}

.ps-shop-main .ps-product-price {
  gap: 8px;
}

.ps-shop-main .ps-product-price .amount {
  color: #f97316;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.ps-shop-main .ps-product-price ins {
  text-decoration: none;
}

.ps-shop-main .ps-product-price del {
  color: #8f95a3;
  font-size: 14px;
  font-weight: 500;
}

.ps-shop-main .ps-product-price del .amount {
  color: #8f95a3;
  font-size: 14px;
  font-weight: 500;
}

.ps-shop-main .ps-product-price .new {
  font-size: 18px;
  font-weight: 700;
  color: #f97316;
  line-height: 1;
}

.ps-shop-main .ps-product-price .old {
  font-size: 14px;
  color: #8f95a3;
}

.ps-shop-main .ps-sale-badge {
  top: 8px;
  right: 10px;
  font-size: 12px;
  line-height: 1;
  padding: 6px 10px;
}

.ps-shop-main .ps-like-btn {
  width: 40px;
  height: 40px;
  right: 20px;
  bottom: 8px;
}

.ps-shop-main .ps-like-btn svg {
  width: 24px;
  height: 24px;
}

@media (min-width: 640px) {
  .ps-shop-main .ps-product-body {
    padding: 16px;
  }

  .ps-shop-main .ps-product-body h3 {
    font-size: 16px;
  }

  .ps-shop-main .ps-product-price .new,
  .ps-shop-main .ps-product-price .amount {
    font-size: 20px;
  }

  .ps-shop-main .ps-product-price .old,
  .ps-shop-main .ps-product-price del,
  .ps-shop-main .ps-product-price del .amount {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .ps-shop-main .ps-like-btn {
    right: 10px;
  }
}

.ps-shop-deals-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 18px;
}

.ps-shop-deals-title-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.ps-shop-deals-head h2 {
  margin: 0;
  color: #0d1224;
  font-size: 32px;
  line-height: 1.14;
  font-weight: 800;
}

.ps-shop-deals-timer {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #f47a20;
  font-size: 30px;
  line-height: 1;
  font-weight: 600;
}

.ps-shop-deals-timer svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.ps-shop-deals-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ps-shop-deals-arrow {
  width: 32px;
  height: 32px;
  border: 1px solid #ececec;
  border-radius: 999px;
  background: #fff;
  color: #9ba0aa;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

@media (max-width: 1023px) {
  .ps-shop-deals-head h2 {
    font-size: 28px;
  }

  .ps-shop-deals-timer {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .ps-shop-main {
    padding-bottom: 36px;
  }

  .ps-shop-main .products {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 12px;
    row-gap: 24px;
  }

  .ps-shop-deals-head {
    margin-bottom: 16px;
  }

  .ps-shop-deals-head h2 {
    font-size: 30px;
  }

  .ps-shop-deals-timer {
    font-size: 20px;
  }

  .ps-shop-deals-arrows {
    display: none;
  }

  .ps-shop-cats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 100%;
  }

  .ps-shop-cat-icon {
    width: 66px;
    height: 66px;
  }

  .ps-shop-cat-name {
    font-size: 12px;
    margin-top: 7px;
  }
}

.ps-shop-main .woocommerce-pagination ul {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.ps-shop-main .woocommerce-pagination ul li a,
.ps-shop-main .woocommerce-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #eee;
  text-decoration: none;
  color: #272727;
  font-weight: 700;
  transition: all 0.2s;
}

.ps-shop-main .woocommerce-pagination ul li span.current {
  background: var(--ps-brand);
  color: #fff;
  border-color: var(--ps-brand);
}

/* Product Detail Refined 1-1 */
.ps-single-product-main {
  padding: 40px 0 80px;
  background: #fff;
}

.ps-product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

@media (min-width: 1024px) {
  .ps-product-detail-grid {
    grid-template-columns: 1fr 480px;
    align-items: start;
  }
}

/* Gallery Vertical Refined 1-1 */
.ps-product-gallery-wrap {
  position: relative;
}

.ps-product-gallery {
  display: flex;
  flex-direction: column-reverse;
  gap: 16px;
}

@media (min-width: 1024px) {
  .ps-product-gallery {
    flex-direction: row;
    align-items: flex-start;
  }
}

.ps-gallery-main {
  flex: 1;
  background: #fff;
  /* White background instead of gray */
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eee;
}

.ps-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ps-gallery-thumbs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

@media (min-width: 1024px) {
  .ps-gallery-thumbs {
    flex-direction: column;
    width: 64px;
    /* Slimmer thumbnails */
    height: auto;
    overflow-y: visible;
    padding-bottom: 0;
  }
}

.ps-thumb-item {
  flex: 0 0 64px;
  height: 64px;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee;
  cursor: pointer;
  transition: all 0.2s;
}

.ps-thumb-item.is-active {
  border-color: var(--ps-brand);
  border-width: 2px;
}

.ps-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-prod-warning {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ef4444;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.ps-prod-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  color: #000;
  margin-bottom: 24px;
}

.ps-prod-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.author-name {
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

.ps-prod-rating .stars {
  color: #f47a20;
  /* Brand Orange */
  font-size: 18px;
}

.ps-prod-rating .count {
  font-size: 14px;
  color: #727272;
}

.ps-prod-price-wrap {
  background: transparent;
  /* Remove gray background */
  padding: 0;
  margin-bottom: 24px;
}

.ps-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.price-label {
  font-size: 20px;
  font-weight: 800;
  color: #000;
}

.ps-price-current {
  font-size: 32px;
  font-weight: 800;
  color: #000;
}

.ps-price-regular {
  font-size: 18px;
  color: #ef4444;
  text-decoration: line-through;
  font-weight: 500;
}

.ps-save-badge {
  margin-top: 4px;
  color: #ef4444;
  /* Match red color for savings */
  font-weight: 600;
  font-size: 14px;
}

.ps-prod-description {
  font-size: 15px;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 30px;
}

/* Purchase Section & WooCommerce Overrides */
.ps-prod-purchase-section .variations {
  width: 100%;
  margin-bottom: 30px;
  border-collapse: collapse;
}

.ps-prod-purchase-section .variations td {
  display: block;
  padding: 0;
  margin-bottom: 20px;
}

.ps-prod-purchase-section .variations .label {
  display: block;
  margin-bottom: 12px;
}

.ps-prod-purchase-section .variations .label label {
  font-size: 16px;
  font-weight: 700;
  color: #0d1224;
  text-transform: capitalize;
}

.ps-prod-purchase-section .variations .value {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Style Select as Box */
.ps-prod-purchase-section .variations select {
  display: none;
  /* Hide default select if we use custom UI, but for now let's style it better */
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  padding: 0 16px;
  font-weight: 600;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23727272' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* If we want the actual box swatches (1-1 look), we need to use a plugin or custom JS. 
   For now, I will style the standard select more cleanly and add a note about swatches. */

.ps-prod-purchase-section .single_variation_wrap {
  margin-top: 30px;
}

.ps-prod-purchase-section .woocommerce-variation-add-to-cart {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ps-prod-purchase-section .quantity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ps-prod-purchase-section .quantity::before {
  content: 'Quantity:';
  font-weight: 700;
  color: #0d1224;
  font-size: 16px;
}

.ps-prod-purchase-section .quantity input {
  height: 40px;
  width: 80px;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
  text-align: center;
  font-weight: 700;
}

/* Accordions */
.ps-prod-accordions {
  margin-top: 40px;
  border-top: 1px solid #f0f0f0;
}

.ps-accordion-item {
  border-bottom: 1px solid #f0f0f0;
}

.ps-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
}

.ps-accordion-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0d1224;
  margin: 0;
}

.ps-accordion-header svg {
  transition: transform 0.3s;
}

.ps-accordion-item.is-open .ps-accordion-header svg {
  transform: rotate(180deg);
}

.ps-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s;
  padding: 0;
}

.ps-accordion-item.is-open .ps-accordion-content {
  max-height: 1000px;
  padding-bottom: 24px;
}

/* Reviews Split Layout Refined */
.ps-reviews-section {
  padding: 60px 0;
  background: #fff;
}

.ps-reviews-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 1024px) {
  .ps-reviews-container {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.ps-reviews-left h2,
.ps-reviews-right h2 {
  font-size: 24px;
  font-weight: 800;
  color: #000;
  margin-bottom: 30px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 12px;
}

.ps-shop-review-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.ps-big-rating {
  font-size: 32px;
  font-weight: 800;
  color: #000;
}

.ps-rating-meta .stars {
  color: #f47a20;
}

.ps-review-card {
  border-bottom: 1px solid #f9f9f9;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.ps-rev-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.ps-rev-head .stars {
  color: #f47a20;
  font-size: 14px;
}

.ps-review-card p {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.ps-review-card .author {
  font-weight: 700;
  color: #000;
}

/* Related */
.ps-prod-related {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid #f0f0f0;
}

.ps-prod-related h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 40px;
  text-align: center;
}

/* Side Cart Drawer 1-1 Refined */
.ps-cart-count-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--ps-brand);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.ps-side-cart {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 100000;
  visibility: hidden;
  transition: visibility 0.3s;
}

.ps-side-cart.is-open {
  visibility: visible;
}

.ps-side-cart-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s;
}

.ps-side-cart.is-open .ps-side-cart-overlay {
  opacity: 1;
}

.ps-side-cart-wrapper {
  position: absolute;
  top: 0;
  right: -576px;
  width: 576px;
  max-width: calc(100vw - 24px);
  height: 100%;
  background: #fff;
  box-shadow: -10px 0 36px rgba(0, 0, 0, 0.12);
  transition: right 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  border-radius: 30px 0 0 30px;
}

.ps-side-cart.is-open .ps-side-cart-wrapper {
  right: 0;
}

.ps-side-cart-header {
  padding: 20px 20px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ps-side-cart-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: #272727;
  line-height: 1.2;
  margin: 0;
}

.ps-side-cart-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  color: #6b7280;
  transition: all 0.2s;
  padding: 0;
}

.ps-side-cart-close svg {
  width: 16px;
  height: 16px;
}

.ps-side-cart-close:hover {
  border-color: var(--ps-brand);
  color: var(--ps-brand);
}


.ps-side-cart-body {
  flex: 1;
  overflow: hidden;
}

.ps-side-cart-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ps-side-cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 8px 20px 10px;
}

.ps-cart-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 0;
}

.ps-cart-item-media {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 7px;
  overflow: hidden;
  background: #f8f8f8;
}

.ps-cart-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-cart-item-info {
  flex: 1;
}

.ps-cart-item-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 2px;
}

.ps-cart-item-head h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.32;
  margin: 0;
  color: #2c2c2c;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ps-cart-item-head h3 a {
  text-decoration: none;
  color: #272727;
}

.ps-cart-item-price-col {
  font-size: 16px;
  font-weight: 700;
  color: #2c2c2c;
  white-space: nowrap;
  line-height: 1;
  text-align: right;
}

.ps-cart-item-price-col .amount {
  font-weight: 700;
}

.ps-cart-item-price-col ins {
  text-decoration: none;
}

.ps-cart-item-price-col del {
  display: block;
  color: #6e707a;
  font-weight: 500;
  font-size: 14px;
  margin: 2px 0 0;
  text-decoration-thickness: 1px;
}

.ps-cart-item-meta {
  font-size: 14px;
  color: #272727;
  margin-bottom: 8px;
  line-height: 1.35;
}

.ps-cart-item-meta dl {
  margin: 0;
}

.ps-cart-item-meta dt,
.ps-cart-item-meta dd {
  display: inline;
  float: none;
  margin: 0;
}

.ps-cart-item-meta dt {
  color: #4b5563;
  font-weight: 500;
}

.ps-cart-item-meta dd {
  color: #2b2b2b;
}

.ps-cart-item-meta dd::after {
  content: "";
  display: block;
}

.ps-cart-item-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ps-cart-item-remove {
  font-size: 14px;
  font-weight: 700;
  color: #2b2b2b;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}

.ps-cart-item-qty {
  display: flex;
  align-items: center;
  border: 1px solid #e3e6ea;
  border-radius: 4px;
  height: 26px;
  overflow: hidden;
}

.ps-qty-btn {
  width: 28px;
  height: 100%;
  background: #fff;
  border: none;
  font-size: 14px;
  cursor: pointer;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ps-qty-btn:hover {
  color: var(--ps-brand);
}

.ps-cart-item-qty input {
  width: 30px;
  height: 100%;
  border: none;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: #374151;
  padding: 0;
}

.ps-cart-empty {
  text-align: center;
  padding: 40px 0;
}

.ps-cart-empty p {
  color: #727272;
  margin-bottom: 20px;
}


/* Side Cart Footer Refined */
.ps-side-cart-footer {
  padding: 0 20px 16px;
  background: #fff;
  border-top: 0;
}

.ps-cart-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  padding-bottom: 12px;
  border-top: 1px solid #e5e7eb;
  margin-bottom: 12px;
}

.ps-cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #202530;
  font-weight: 700;
  /* Extra bold labels and values */
}

.ps-discount-row {
  color: #22c55e;
}

.ps-cart-promo-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #202530;
  margin-top: 4px;
}

.ps-cart-promo-line svg {
  color: var(--ps-brand);
}

.ps-cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}

.ps-cart-total-row span {
  font-size: 16px;
  font-weight: 600;
  color: #202530;
}

.ps-total-val {
  font-size: 30px;
  font-weight: 700;
  color: var(--ps-brand);
  line-height: 1.2;
}

.ps-cart-taxes-note {
  font-size: 12px;
  color: #6b7280;
  font-style: italic;
  margin: 8px 0 10px;
}

.ps-cart-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.ps-btn-outline-brand {
  flex: 1 1 50%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid var(--ps-brand);
  border-radius: 999px;
  color: var(--ps-brand);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
}

.ps-btn-outline-brand:hover {
  background: var(--ps-brand);
  color: #fff;
}

.ps-btn-brand-solid {
  flex: 1 1 50%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ps-brand);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s;
}

.ps-btn-brand-solid:hover {
  background: #ea6c0e;
}

.ps-cart-policy-note {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
  color: #6b7280;
  text-align: center;
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
  font-style: italic;
}

.ps-cart-policy-note a {
  color: #272727;
  text-decoration: underline;
  font-style: italic;
}

.ps-cart-policy-note {
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.ps-btn-outline-brand svg,
.ps-btn-brand-solid svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 767px) {
  .ps-side-cart-wrapper {
    width: 100%;
    max-width: 100%;
    right: -100%;
    border-radius: 0;
  }

  .ps-side-cart-header h2 {
    font-size: 20px;
  }
}

@media (min-width: 640px) {
  .ps-side-cart-header {
    padding: 28px 28px 20px;
  }

  .ps-side-cart-header h2 {
    font-size: 24px;
  }

  .ps-side-cart-items {
    padding: 8px 28px 12px;
  }

  .ps-side-cart-footer {
    padding: 0 28px 20px;
  }

  .ps-btn-outline-brand,
  .ps-btn-brand-solid {
    height: 48px;
    font-size: 16px;
  }
}

@media (min-width: 1200px) {
  .ps-side-cart-wrapper {
    width: 576px;
    right: -576px;
    max-width: 576px;
  }

  .ps-side-cart-header {
    padding: 28px 28px 20px;
  }

  .ps-side-cart-header h2 {
    font-size: 24px;
    letter-spacing: 0;
  }

  .ps-side-cart-items {
    padding: 8px 28px 12px;
  }

  .ps-cart-item {
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
  }

  .ps-cart-item-head h3 {
    font-size: 15px;
    line-height: 1.25;
  }

  .ps-cart-item-price-col {
    font-size: 16px;
  }

  .ps-side-cart-footer {
    padding: 0 28px 20px;
  }

  .ps-cart-summary-row {
    font-size: 14px;
  }

  .ps-cart-total-row span {
    font-size: 16px;
  }

  .ps-total-val {
    font-size: 30px;
    letter-spacing: 0;
  }

  .ps-btn-outline-brand,
  .ps-btn-brand-solid {
    height: 48px;
    font-size: 16px;
  }
}

.woocommerce-breadcrumb {
  font-size: 13px;
  color: #727272;
  margin-bottom: 24px;
}

.woocommerce-breadcrumb a {
  color: #727272;
  text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
  text-decoration: underline;
}

.woocommerce-breadcrumb .breadcrumb-separator {
  margin: 0 8px;
}

/* Related Searches Section */
.ps-related-searches {
  padding: 60px 0;
  border-top: 1px solid #f0f0f0;
}

.ps-related-searches h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 30px;
  text-align: center;
}

.ps-search-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.ps-pill-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #272727;
  text-decoration: none;
  transition: all 0.2s;
}

.ps-pill-link:hover {
  background: #f9f9f9;
  border-color: #ccc;
}

/* Single Product Final Pixel Lock */
.single-product .ps-single-product-main {
  background: #f7f5f2;
  padding: 22px 0 0;
}

.single-product .ps-single-product-main .ps-wrap {
  width: min(1320px, calc(100% - 40px));
}

.single-product .ps-product-detail-grid {
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  margin-bottom: 24px;
}

.single-product .ps-product-gallery {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
}

.single-product .ps-gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 48px;
  padding: 0;
  overflow: visible;
}

.single-product .ps-thumb-item {
  flex: 0 0 48px;
  height: 48px;
  border-radius: 8px;
  border: 1px solid #e3e6ea;
}

.single-product .ps-thumb-item.is-active {
  border-color: var(--ps-brand);
}

.single-product .ps-gallery-main {
  position: relative;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #e8e5e0;
}

.single-product .ps-gallery-main img {
  width: 100%;
  aspect-ratio: auto;
  min-height: 420px;
  max-height: 640px;
  object-fit: contain;
  background: #f3f4f6;
}

.single-product .ps-gallery-heart {
  position: absolute;
  left: auto;
  bottom: auto;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  right: 12px;
  top: 12px;
  border: 1px solid #d9dee6;
  border-radius: 999px;
  background: #fff;
  color: var(--ps-brand);
  font-size: 18px;
}

.single-product .ps-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #9aa1ab;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(17, 24, 39, 0.08);
}

.single-product .ps-gallery-prev {
  left: 12px;
}

.single-product .ps-gallery-next {
  right: 12px;
}

/* Sản phẩm không có gallery thumbnail: main image chiếm full width */
.single-product .ps-gallery-main:only-child,
.single-product .ps-no-thumbs .ps-gallery-main {
  grid-column: 1 / -1;
}

.single-product .ps-no-thumbs {
  grid-template-columns: 1fr;
}

.single-product .ps-prod-warning {
  margin: 0 0 12px;
  color: var(--ps-brand);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
}

/* Flame icon in urgency banner */
.single-product .ps-prod-warning .ps-flame-svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--ps-brand);
  fill: var(--ps-brand);
}

.single-product .ps-prod-title {
  margin: 0 0 10px;
  color: #272727;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
}

.single-product .ps-price-row {
  gap: 8px;
}

.single-product .price-label {
  font-size: 15px;
  font-weight: 700;
  color: #272727;
}

.single-product .ps-price-current {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
  color: #272727;
}

.single-product .ps-price-current .amount {
  color: #272727;
}

.single-product .ps-price-regular {
  font-size: 16px;
  line-height: 1;
  color: #d12525;
  font-weight: 500;
  text-decoration: line-through;
}

.single-product .ps-save-badge {
  margin-top: 4px;
  color: #16a34a;
  font-size: 14px;
  font-weight: 500;
}

.single-product .ps-prod-description {
  margin: 12px 0 10px;
  font-size: 16px;
  line-height: 1.5;
  color: #272727;
}

/* Author row: name + star rating inline */
.single-product .ps-prod-author-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.single-product .author-name {
  font-size: 16px;
  font-weight: 700;
  color: #272727;
  text-decoration: none;
}

.single-product .author-name:hover {
  text-decoration: underline;
}

.single-product .ps-author-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #f59e0b;
  /* amber star color */
}

.single-product .ps-author-stars svg {
  width: 14px;
  height: 14px;
  fill: #f59e0b;
}

.single-product .ps-prod-purchase-section .variations {
  margin-bottom: 10px;
}

.single-product .ps-prod-purchase-section .variations td {
  margin-bottom: 12px;
}

.single-product .ps-prod-purchase-section .variations .label label {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  color: #272727;
}

.single-product .ps-prod-purchase-section .variations select {
  display: block !important;
  height: 48px;
  border: 1px solid #d7dbe2;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 16px;
  color: #1f2937;
  background-color: #fff;
}

.single-product .ps-prod-purchase-section .quantity::before {
  font-size: 18px;
  color: #272727;
}

.single-product .ps-prod-purchase-section .quantity .qty {
  width: 72px;
  height: 48px;
  border: 1px solid #d7dbe2;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  padding: 0;
}

.single-product .ps-prod-purchase-section .quantity {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.single-product .ps-qty-btn {
  width: 40px;
  height: 48px;
  border: 1px solid #d7dbe2;
  background: #fff;
  color: var(--ps-brand);
  font-size: 18px;
  line-height: 1;
}

.single-product .ps-qty-minus {
  color: #9ca3af;
}

.single-product .ps-prod-purchase-section .single_add_to_cart_button,
.single-product .ps-prod-purchase-section .single_add_to_cart_button.button,
.single-product .ps-prod-purchase-section .single_add_to_cart_button.button.alt,
.single-product .ps-prod-purchase-section button.single_add_to_cart_button {
  width: 100%;
  height: 48px;
  margin-top: 10px;
  border: 0;
  border-radius: 999px;
  background: var(--ps-brand) !important;
  color: #fff !important;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.single-product .ps-buy-now-btn {
  width: 100%;
  height: 48px;
  margin-top: 10px;
  border: 1px solid var(--ps-brand);
  border-radius: 999px;
  background: #fff;
  color: var(--ps-brand);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.single-product .ps-prod-promos {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.single-product .promo-item {
  font-size: 15px;
  color: #111827;
}

.single-product .promo-icon,
.single-product .ps-prod-shipping svg {
  color: var(--ps-brand);
}

.single-product .ps-prod-shipping {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.42;
  color: #111827;
}

.single-product .ps-prod-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 332px;
  gap: 28px;
  align-items: start;
  margin-top: 22px;
}

.single-product .ps-shop-reviews-block {
  background: transparent;
  padding: 2px 0 22px;
}

.single-product .ps-shop-reviews-head h2 {
  margin: 0 0 10px;
  color: #272727;
  font-size: 20px;
  line-height: 1.18;
  font-weight: 700;
}

/* Reviews tabs — now buttons for better accessibility */
.single-product .ps-shop-reviews-tabs {
  display: flex;
  border-bottom: 1px solid #d9dde5;
}

.single-product .ps-shop-reviews-tabs .ps-tab-btn {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 16px;
  color: #272727;
  padding: 14px 8px 12px;
  line-height: 1.22;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: color 0.15s;
}

.single-product .ps-shop-reviews-tabs .ps-tab-btn.is-active {
  color: var(--ps-brand);
  border-bottom: 2px solid var(--ps-brand);
  margin-bottom: -1px;
}

/* Legacy span support (keep for backward compat) */
.single-product .ps-shop-reviews-tabs span {
  font-size: 16px;
  color: #272727;
  padding: 14px 8px 12px;
  line-height: 1.22;
  font-weight: 700;
}

.single-product .ps-shop-reviews-tabs .is-active {
  color: var(--ps-brand);
  border-bottom: 2px solid var(--ps-brand);
}

.single-product .ps-shop-reviews-summary {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.single-product .ps-shop-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.single-product .ps-shop-rating-star {
  color: #f59e0b;
  font-size: 30px;
  line-height: 1;
}

.single-product .ps-shop-rating strong {
  font-size: 18px;
  color: #272727;
  line-height: 1;
}

.single-product .ps-shop-reviews-filter {
  min-width: 120px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #e6e8ec;
  background: #fff;
  color: #272727;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.single-product .ps-shop-reviews-empty {
  min-height: 84px;
  font-size: 16px;
  color: #7a8190;
  padding-top: 22px;
}

.single-product .ps-prod-related {
  margin-top: 26px;
  padding: 52px 48px 58px;
  border-top: 0;
  background: #fffcf6;
  border-radius: 0;
}

.single-product .ps-prod-related .related>h2 {
  display: none;
}

.single-product .ps-related-head h2 {
  font-size: 56px;
  color: #0d1224;
  line-height: 1.12;
  font-weight: 700;
}

.single-product .ps-see-more-btn {
  border: 1px solid var(--ps-brand);
  color: var(--ps-brand);
  border-radius: 999px;
  padding: 11px 34px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  min-height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.single-product .ps-prod-related .products {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  overflow: visible;
}

.single-product .ps-prod-related .products li.product,
.single-product .ps-prod-related .products li.ps-product-card {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  min-width: 0;
}

.single-product .ps-prod-related .products li.product a {
  display: block;
}

.single-product .ps-prod-related .products li.product a img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 9px;
  background: #f3f4f6;
}

.single-product .ps-prod-related .products li.product .ps-card-shadow {
  display: none;
}

.single-product .ps-prod-related .products li.product .ps-product-media {
  margin: 0;
  border: 1px solid #e9edf3;
  border-radius: 8px 8px 0 0;
}

.single-product .ps-prod-related .products li.product .ps-product-body {
  padding: 11px 0 0;
}

.single-product .ps-prod-related .products li.product .ps-product-body h3 {
  font-size: 16px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: calc(1.35em * 2);
  text-overflow: ellipsis;
}

.single-product .ps-prod-related .products li.product .ps-product-price .amount {
  color: var(--ps-brand);
  font-size: 20px;
  font-weight: 800;
}

.single-product .ps-related-searches {
  border-top: 0;
  padding: 52px 0 22px;
}

.single-product .ps-related-searches h2 {
  text-align: left;
  font-size: 52px;
  line-height: 1.12;
  font-weight: 700;
  color: #0d1224;
  margin-bottom: 22px;
}

.single-product .ps-search-pills {
  justify-content: flex-start;
  gap: 14px;
}

.single-product .ps-pill-link {
  background: #fef2e9;
  border: 0;
  color: var(--ps-brand);
  font-size: 22px;
  line-height: 1.25;
  padding: 11px 24px;
}

/* ============================================================
   ACCORDION CARDS (Item Details, Shipping, etc.) — Mobile collapsible
   Desktop: always open. Mobile: collapse/expand
   ============================================================ */

.single-product .ps-accordion-trigger {
  display: none;
  /* hidden on desktop — always expanded */
  width: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
}

.single-product .ps-accordion-trigger h3 {
  margin: 0;
}

.single-product .ps-accordion-chevron {
  display: none;
  /* hidden on desktop */
  flex-shrink: 0;
  transition: transform 0.25s;
}

.single-product .ps-accordion-body {
  /* Always visible on desktop */
}

.single-product .ps-right-card {
  border-top: 1px solid #d9dde5;
  padding: 14px 0;
}

/* Aside mobile separator */
.single-product .ps-prod-bottom-right {
  /* adds visual gap from reviews section on mobile when stacked */
}

.single-product .ps-right-card h3 {
  margin: 0 0 12px;
  color: #272727;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  text-transform: uppercase;
}

.single-product .ps-prod-bottom-right .ps-right-card:first-child h3 {
  text-transform: uppercase;
}

.single-product .ps-right-card-content,
.single-product .ps-right-card p,
.single-product .ps-right-card li {
  color: #272727;
  font-size: 16px;
  line-height: 1.5;
}

.single-product .ps-right-card strong,
.single-product .ps-right-card b,
.single-product .ps-right-card a {
  color: #272727;
  font-weight: 700;
}

.single-product .ps-right-action-list a {
  color: #272727;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
}

.single-product .ps-right-action-list li {
  margin-bottom: 8px;
}

.single-product .ps-right-icon-list,
.single-product .ps-right-action-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.single-product .ps-right-icon-list li,
.single-product .ps-right-action-list li {
  margin: 0 0 12px;
}

.single-product .ps-right-icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.single-product .ps-right-row-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ps-brand);
}

.single-product .ps-right-row-icon svg {
  width: 16px;
  height: 16px;
}

.single-product .ps-right-icon-list p {
  margin: 0;
}

.single-product .ps-right-icon-list .is-muted {
  color: #6f6f6f;
}

.single-product .ps-right-icon-list li:last-child,
.single-product .ps-right-action-list li:last-child {
  margin-bottom: 0;
}

.single-product .ps-flame-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.single-product .ps-tag-pills span {
  background: #eaeaea;
  color: #272727;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
}

.single-product .ps-tag-pills {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 2px;
}

@media (max-width: 1279px) {
  .single-product .ps-product-detail-grid {
    grid-template-columns: minmax(0, 1fr) 368px;
  }

  .single-product .ps-prod-bottom-grid {
    grid-template-columns: minmax(0, 1fr) 316px;
  }

  .single-product .ps-shop-reviews-head h2,
  .single-product .ps-related-head h2,
  .single-product .ps-related-searches h2 {
    font-size: 34px;
  }

  .single-product .ps-right-card h3 {
    font-size: 16px;
  }

  .single-product .ps-right-card-content,
  .single-product .ps-right-card p,
  .single-product .ps-right-card li {
    font-size: 16px;
  }

  .single-product .ps-prod-related .products li.product .ps-product-body h3 {
    font-size: 20px;
  }

  .single-product .ps-prod-related .products li.product .ps-product-price .amount {
    font-size: 28px;
  }

  .single-product .ps-pill-link {
    font-size: 16px;
  }
}

@media (max-width: 1024px) {
  .single-product .ps-single-product-main .ps-wrap {
    width: min(1320px, calc(100% - 24px));
  }

  .single-product .ps-product-detail-grid,
  .single-product .ps-prod-bottom-grid {
    grid-template-columns: 1fr;
  }

  .single-product .ps-product-gallery {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .single-product .ps-gallery-main img {
    min-height: 360px;
    max-height: 520px;
  }

  .single-product .ps-shop-reviews-head h2,
  .single-product .ps-related-head h2,
  .single-product .ps-related-searches h2 {
    font-size: 24px;
  }

  .single-product .ps-shop-reviews-tabs span {
    font-size: 15px;
    padding: 10px 6px;
  }

  .single-product .ps-shop-reviews-empty {
    font-size: 14px;
    min-height: 58px;
  }

  .single-product .ps-prod-related .products li.product,
  .single-product .ps-prod-related .products li.ps-product-card {
    width: 100% !important;
  }

  .single-product .ps-prod-related {
    padding: 32px 18px;
  }

  .single-product .ps-prod-related .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .single-product .ps-prod-related .products li.product .ps-product-body h3 {
    font-size: 16px;
  }

  .single-product .ps-prod-related .products li.product .ps-product-price .amount {
    font-size: 24px;
  }

  .single-product .ps-related-searches {
    padding: 30px 0 18px;
  }

  .single-product .ps-pill-link {
    font-size: 14px;
    padding: 8px 14px;
  }

  .single-product .ps-right-card h3 {
    font-size: 18px;
  }

  .single-product .ps-right-card-content,
  .single-product .ps-right-card p,
  .single-product .ps-right-card li {
    font-size: 16px;
  }

  .single-product .ps-prod-title {
    font-size: 16px;
  }

  .single-product .price-label {
    font-size: 15px;
  }

  .single-product .ps-price-current {
    font-size: 30px;
  }

  .single-product .ps-price-regular {
    font-size: 20px;
  }

  .single-product .ps-prod-description,
  .single-product .author-name {
    font-size: 16px;
    line-height: 1.45;
  }

  .single-product .ps-prod-purchase-section .variations .label label,
  .single-product .ps-prod-purchase-section .quantity::before {
    font-size: 16px;
  }

  .single-product .ps-prod-purchase-section .variations select {
    font-size: 16px;
    height: 48px;
  }

  .single-product .ps-prod-purchase-section .single_add_to_cart_button,
  .single-product .ps-prod-purchase-section .single_add_to_cart_button.button,
  .single-product .ps-prod-purchase-section .single_add_to_cart_button.button.alt,
  .single-product .ps-prod-purchase-section button.single_add_to_cart_button,
  .single-product .ps-buy-now-btn {
    font-size: 16px;
    height: 48px;
  }

  .single-product .ps-prod-purchase-section .quantity .qty {
    width: 72px;
    height: 48px;
    font-size: 16px;
  }

  .single-product .ps-qty-btn {
    width: 40px;
    height: 48px;
    font-size: 18px;
  }

  .single-product .ps-shop-reviews-tabs span {
    font-size: 16px;
  }

  .single-product .ps-shop-rating strong {
    font-size: 24px;
  }

  .single-product .ps-shop-rating-star {
    font-size: 26px;
  }

  .single-product .ps-shop-reviews-filter {
    height: 44px;
    font-size: 16px;
    min-width: 120px;
  }

  .single-product .ps-shop-reviews-empty {
    font-size: 16px;
  }
}

@media (max-width: 767px) {

  .single-product .ps-prod-related .products li.product,
  .single-product .ps-prod-related .products li.ps-product-card {
    width: 100% !important;
  }

  .single-product .ps-prod-bottom-grid {
    margin-top: 14px;
    gap: 16px;
  }

  /* Aside gets border-top separator when stacked on mobile */
  .single-product .ps-prod-bottom-right {
    border-top: 1px solid #d9dde5;
    padding-top: 4px;
  }

  /* Accordion: show trigger button, hide content by default on mobile */
  .single-product .ps-accordion-trigger {
    display: flex;
  }

  .single-product .ps-accordion-chevron {
    display: block;
  }

  .single-product .ps-accordion-body {
    display: none;
    padding-top: 12px;
  }

  .single-product .ps-accordion-body.is-open {
    display: block;
  }

  .single-product .ps-accordion-trigger[aria-expanded="true"] .ps-accordion-chevron {
    transform: rotate(180deg);
  }

  /* Accordion trigger acts as the h3 header — show it */
  .single-product .ps-accordion-card h3 {
    display: none;
    /* hide standalone h3 since trigger wraps it */
  }

  .single-product .ps-shop-reviews-tabs .ps-tab-btn {
    font-size: 14px;
    padding: 10px 6px;
  }



  .single-product .ps-shop-reviews-head h2,
  .single-product .ps-related-head h2,
  .single-product .ps-related-searches h2 {
    font-size: 20px;
    line-height: 1.25;
  }

  .single-product .ps-related-head {
    margin-bottom: 12px;
  }

  .single-product .ps-see-more-btn {
    min-height: 32px;
    font-size: 12px;
    padding: 8px 14px;
  }

  .single-product .ps-prod-related {
    margin-top: 18px;
    padding: 20px 12px;
  }

  .single-product .ps-prod-related .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .single-product .ps-prod-related .products li.product .ps-product-body h3 {
    font-size: 11px;
  }

  .single-product .ps-prod-related .products li.product .ps-product-price .amount {
    font-size: 22px;
  }

  .single-product .ps-related-searches {
    padding: 20px 0 10px;
  }

  .single-product .ps-search-pills {
    gap: 8px;
  }

  .single-product .ps-pill-link {
    font-size: 11px;
    padding: 6px 10px;
  }

  .single-product .ps-right-card h3 {
    font-size: 16px;
    text-transform: uppercase;
  }

  .single-product .ps-right-card-content,
  .single-product .ps-right-card p,
  .single-product .ps-right-card li {
    font-size: 15px;
    line-height: 1.5;
  }

  .single-product .ps-tag-pills span {
    font-size: 14px;
    padding: 4px 10px;
  }

  .single-product .ps-gallery-main img {
    min-height: 260px;
    max-height: 360px;
  }

  .single-product .ps-gallery-nav {
    width: 28px;
    height: 28px;
    font-size: 18px;
  }

  .single-product .ps-prod-title {
    font-size: 16px;
    line-height: 1.4;
  }

  .single-product .price-label {
    font-size: 14px;
  }

  .single-product .ps-price-current {
    font-size: 24px;
  }

  .single-product .ps-price-regular {
    font-size: 16px;
  }

  .single-product .ps-prod-warning,
  .single-product .ps-prod-description,
  .single-product .author-name,
  .single-product .ps-prod-purchase-section .variations .label label,
  .single-product .ps-prod-purchase-section .quantity::before,
  .single-product .promo-item,
  .single-product .ps-prod-shipping {
    font-size: 14px;
  }

  .single-product .ps-shop-reviews-tabs span {
    font-size: 14px;
  }

  .single-product .ps-shop-reviews-summary {
    margin-top: 12px;
  }

  .single-product .ps-shop-rating strong {
    font-size: 18px;
  }

  .single-product .ps-shop-rating-star {
    font-size: 18px;
  }

  .single-product .ps-shop-reviews-filter {
    min-width: 104px;
    height: 36px;
    font-size: 14px;
  }

  .single-product .ps-shop-reviews-empty {
    font-size: 14px;
    min-height: 42px;
    padding-top: 12px;
  }

  .single-product .ps-flame-icon {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
  }
}

.ps-checkout-main-wrap {
  padding: 60px 0 100px;
  background: #fdfdfd;
}

.ps-checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 1024px) {
  .ps-checkout-grid {
    grid-template-columns: 1fr 420px;
  }
}

.ps-checkout-section {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.ps-checkout-title {
  font-size: 20px;
  font-weight: 700;
  color: #272727;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f8f8f8;
}

/* WooCommerce Field Overrides */
.ps-checkout-form .form-row {
  margin-bottom: 20px;
}

.ps-checkout-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 8px;
}

.ps-checkout-form input[type="text"],
.ps-checkout-form input[type="email"],
.ps-checkout-form input[type="tel"],
.ps-checkout-form select,
.ps-checkout-form textarea {
  width: 100%;
  height: 52px;
  background: #fff;
  border: 1px solid #d1d1d1;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 15px;
  color: #272727;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.ps-checkout-form textarea {
  height: 120px;
  padding: 16px;
}

.ps-checkout-form input:focus {
  border-color: var(--ps-brand);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

/* Right Column: Summary */
.ps-checkout-summary-box {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 30px;
  position: sticky;
  top: 100px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.ps-checkout-summary-box .shop_table {
  width: 100%;
  border-collapse: collapse;
}

.ps-checkout-summary-box .cart_item td {
  padding: 12px 0;
  border-bottom: 1px solid #f8f8f8;
}

.ps-checkout-summary-box .product-name {
  font-size: 14px;
  color: #4b5563;
}

.ps-checkout-summary-box .product-total {
  text-align: right;
  font-weight: 700;
  color: #272727;
}

.ps-checkout-summary-box .cart-subtotal th,
.ps-checkout-summary-box .shipping th {
  text-align: left;
  font-weight: 500;
  color: #727272;
  padding: 16px 0 8px;
}

.ps-checkout-summary-box .order-total th {
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  color: #272727;
  padding: 24px 0 0;
}

.ps-checkout-summary-box .cart-subtotal td,
.ps-checkout-summary-box .shipping td {
  text-align: right;
  padding: 16px 0 8px;
  color: #272727;
  font-weight: 600;
}

.ps-checkout-summary-box .order-total td {
  text-align: right;
  font-size: 22px;
  font-weight: 800;
  color: var(--ps-brand);
  padding: 24px 0 0;
}

/* Payment Section */
#payment {
  background: transparent;
  padding: 0;
}

#payment ul.payment_methods {
  padding: 0;
  list-style: none;
  border: none;
  margin-bottom: 24px;
}

#payment ul.payment_methods li {
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fdfdfd;
}

#payment ul.payment_methods li input {
  margin-right: 12px;
}

#payment ul.payment_methods li label {
  display: inline;
  font-weight: 700;
  color: #272727;
}

#payment .payment_box {
  background: #f8f8f8;
  padding: 15px;
  border-radius: 6px;
  margin-top: 12px;
  font-size: 14px;
  color: #666;
}

#payment #place_order {
  width: 100%;
  height: 56px;
  background: var(--ps-brand);
  color: #fff;
  border: none;
  border-radius: 28px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

#payment #place_order:hover {
  background: #ea6c0e;
}

.ps-checkout-trust {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ps-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #727272;
}

.ps-trust-item svg {
  color: #22c55e;
}

/* Cart Page 1-1 */
.ps-cart-page-wrap {
  padding: 60px 0 100px;
  background: #fdfdfd;
}

.ps-cart-page-wrap .ps-wrap {
  width: min(1320px, calc(100% - 40px));
}

.ps-cart-title {
  font-size: 32px;
  font-weight: 800;
  color: #272727;
  margin-bottom: 40px;
}

.ps-cart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 1024px) {
  .ps-cart-grid {
    grid-template-columns: minmax(0, 1fr) 376px;
    gap: 24px;
  }
}

.ps-cart-item-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  display: flex;
  gap: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.ps-cart-item-thumb {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f8f8f8;
}

.ps-cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ps-cart-item-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.ps-cart-item-name {
  font-size: 18px;
  font-weight: 700;
  color: #272727;
  margin: 0 0 8px;
}

.ps-cart-item-name a {
  text-decoration: none;
  color: inherit;
}

.ps-cart-item-meta {
  font-size: 14px;
  color: #727272;
}

.ps-cart-item-meta dt {
  float: left;
  clear: left;
  margin-right: 5px;
  font-weight: 600;
}

.ps-cart-item-meta dd {
  margin-bottom: 4px;
}

.ps-cart-item-price {
  font-size: 18px;
  font-weight: 800;
  color: #272727;
}

.ps-cart-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.ps-cart-item-qty .quantity {
  display: flex;
  align-items: center;
  border: 1px solid #d1d1d1;
  border-radius: 6px;
  overflow: hidden;
  height: 40px;
}

.ps-cart-item-qty input[type="number"] {
  width: 50px;
  height: 100%;
  border: none;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #272727;
}

.ps-remove-link {
  color: #ef4444;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.ps-remove-link:hover {
  text-decoration: underline;
}

/* Table Footer (Coupon & Update) */
.ps-cart-table-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  gap: 20px;
}

.ps-coupon-wrap {
  display: flex;
  gap: 10px;
}

.ps-coupon-wrap input {
  height: 48px;
  border: 1px solid #d1d1d1;
  border-radius: 24px;
  padding: 0 20px;
  width: 200px;
}

.ps-btn-coupon {
  height: 48px;
  padding: 0 24px;
  background: #272727;
  color: #fff;
  border: none;
  border-radius: 24px;
  font-weight: 700;
  cursor: pointer;
}

.ps-btn-update-cart {
  height: 48px;
  padding: 0 30px;
  background: #fff;
  color: #272727;
  border: 1px solid #d1d1d1;
  border-radius: 24px;
  font-weight: 700;
  cursor: pointer;
}

/* Cart Right Column */
.ps-cart-summary-box {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: 24px;
  box-shadow: 0 6px 44px rgba(0, 0, 0, 0.07);
}

.ps-summary-title {
  font-size: 32px;
  font-weight: 600;
  color: #111827;
  line-height: 1.2;
  margin: 0;
}

.ps-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid #e5e7eb;
  margin-top: 20px;
  padding-top: 20px;
}

.ps-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #111827;
}

.ps-summary-row strong,
.ps-summary-row .ps-total-price {
  color: #111827;
  font-weight: 500;
}

.ps-summary-row span:first-child {
  font-weight: 700;
}

.ps-summary-row.cart-discount .ps-discount-val {
  color: #15803d;
  font-weight: 500;
}

.ps-summary-row.order-total {
  margin-top: 0;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
  font-size: 16px;
  color: #111827;
  font-weight: 600;
}

.ps-summary-row.order-total .ps-total-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--ps-brand);
  line-height: 1.1;
}

.ps-summary-row.order-total .ps-total-price,
.ps-summary-row.order-total .ps-total-price * {
  color: var(--ps-brand) !important;
}

.ps-checkout-btn-wrap {
  margin-top: 16px;
}

.ps-checkout-btn-wrap .checkout-button {
  width: 100%;
  height: 48px;
  background: var(--ps-brand);
  color: #fff;
  border: none;
  border-radius: 28px;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.2s;
  line-height: 1;
  /* prevent inherited line-height pushing text */
  padding: 0 20px;
  /* explicit padding instead of relying on height alone */
  box-sizing: border-box;
  vertical-align: middle;
}

.ps-checkout-btn-wrap .checkout-button.wc-forward::after {
  content: none !important;
}

.ps-checkout-btn-wrap .checkout-button::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  align-self: center;
  /* ensure pseudo-element stays vertically centered */
  display: block;
  /* block inside flex = proper flex item */
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Crect x='1.5' y='2.5' width='13' height='11' rx='2' stroke='white' stroke-width='1.5'/%3E%3Cpath d='M3.5 6.5H12.5' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

.ps-checkout-btn-wrap .checkout-button:hover {
  background: #ea6c0e;
}


.ps-cart-summary-policy {
  margin: 16px auto 0;
  text-align: center;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.5;
  font-style: italic;
}

.ps-cart-summary-policy a {
  color: #4b5563;
  text-decoration: underline;
}

.ps-cart-summary-trust {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ps-summary-trust-item {
  text-align: center;
}

.ps-summary-trust-item img {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
  margin: 0 auto 8px;
}

.ps-summary-trust-item h4 {
  font-size: 14px;
  font-weight: 500;
  color: #272727;
  margin: 0 0 6px;
}

.ps-summary-trust-item p {
  font-size: 11px;
  line-height: 1.45;
  color: #8f95a3;
  margin: 0;
}

.ps-cart-recommend {
  padding-top: 34px;
  padding-bottom: 40px;
}

.ps-cart-recommend .ps-wrap {
  width: min(1320px, calc(100% - 40px));
}

.ps-cart-kicker {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fde7d2;
  color: #f47a20;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.ps-cart-recommend .ps-section-head h2 {
  font-size: 46px;
  margin: 0 0 8px;
}

.ps-cart-recommend .ps-rail-track {
  gap: 16px;
  padding: 4px 0 10px;
}

.ps-cart-recommend .ps-product-card {
  margin: 0;
  flex: 0 0 calc((100% - 64px) / 5);
  max-width: calc((100% - 64px) / 5);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 6px 16px rgba(16, 24, 40, 0.06);
  overflow: hidden;
}

.ps-cart-recommend .ps-card-shadow {
  display: none;
}

.ps-cart-recommend .ps-product-media {
  margin: 0;
  border-radius: 0;
  border: 1px solid #e9edf3;
}

.ps-cart-recommend .ps-product-body {
  padding: 10px 12px 12px;
}

.ps-cart-recommend .ps-product-body h3 {
  margin: 0 0 5px;
  font-size: 16px;
  line-height: 1.35;
  color: #111827;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: calc(1.35em * 2);
  text-overflow: ellipsis;
}

.ps-cart-recommend .ps-product-meta {
  margin-bottom: 6px;
}

.ps-cart-recommend .ps-product-meta p {
  font-size: 11px;
  line-height: 1.25;
  color: #7c8594;
}

.ps-cart-recommend .ps-product-rate {
  font-size: 11px;
  gap: 2px;
}

.ps-cart-recommend .ps-product-price .amount,
.ps-cart-recommend .ps-product-price .new {
  color: #f97316;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.1;
}

.ps-cart-recommend .ps-product-price del,
.ps-cart-recommend .ps-product-price del .amount,
.ps-cart-recommend .ps-product-price .old {
  color: #8f95a3;
  font-size: 13px;
  font-weight: 500;
}

.ps-cart-recommend .ps-sale-badge {
  top: 8px;
  right: 8px;
  font-size: 11px;
  line-height: 1;
  padding: 5px 9px;
}

.ps-cart-recommend .ps-like-btn {
  width: 32px;
  height: 32px;
  right: 8px;
  bottom: 8px;
}

.ps-cart-recommend .ps-like-btn svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1279px) {
  .ps-cart-recommend .ps-product-card {
    flex-basis: calc((100% - 48px) / 4);
    max-width: calc((100% - 48px) / 4);
  }
}

@media (max-width: 1023px) {
  .ps-cart-page-wrap .ps-wrap {
    width: min(1320px, calc(100% - 24px));
  }

  .ps-summary-title {
    font-size: 28px;
  }

  .ps-summary-row.order-total .ps-total-price {
    font-size: 30px;
  }

  .ps-checkout-btn-wrap .checkout-button {
    font-size: 18px;
  }

  .ps-cart-recommend .ps-wrap {
    width: min(1320px, calc(100% - 24px));
  }

  .ps-cart-recommend .ps-section-head h2 {
    font-size: 40px;
  }

  .ps-cart-recommend .ps-product-card {
    flex-basis: calc((100% - 32px) / 3);
    max-width: calc((100% - 32px) / 3);
  }
}

@media (max-width: 767px) {
  .ps-cart-summary-box {
    padding: 20px;
  }

  .ps-summary-title {
    font-size: 24px;
  }

  .ps-summary-row.order-total .ps-total-price {
    font-size: 24px;
  }

  .ps-checkout-btn-wrap .checkout-button {
    font-size: 18px;
  }

  .ps-cart-recommend .ps-section-head h2 {
    font-size: 36px;
  }

  .ps-cart-recommend .ps-product-card {
    flex-basis: calc((100% - 16px) / 2);
    max-width: calc((100% - 16px) / 2);
  }
}

/* ============================================================
   CUSTOMERS ALSO BOUGHT — RELATED PRODUCTS SECTION
   ============================================================ */

.ps-prod-related {
  background: var(--ps-section-bg, #fffcf6);
  padding: 32px 0 40px;
  margin-top: 40px;
}

/* Section header: title + "See More" button */
.ps-related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.ps-related-head h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ps-text, #272727);
  margin: 0;
}

/* "See More" pill button */
.ps-see-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 24px;
  border: 1.5px solid var(--ps-brand, #f47a20);
  border-radius: 999px;
  background: transparent;
  color: var(--ps-brand, #f47a20);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.ps-see-more-btn:hover {
  background: var(--ps-brand, #f47a20);
  color: #fff;
}

/* Override WooCommerce default related products layout */
.ps-prod-related .related.products>h2 {
  display: none;
  /* hide WC default "Related products" title — we use our own */
}

/* WooCommerce renders `ul.products` — make it a 5-column grid */
.ps-prod-related ul.products {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 16px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Each product card in the related section */
.ps-prod-related ul.products li.ps-product-card {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ---- Responsive: tablet (3 columns) ---- */
@media (max-width: 1024px) {
  .ps-related-head h2 {
    font-size: 18px;
  }

  .ps-prod-related ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
  }
}

/* ---- Responsive: mobile (2 columns) ---- */
@media (max-width: 640px) {
  .ps-prod-related {
    padding: 24px 0 32px;
  }

  .ps-related-head h2 {
    font-size: 16px;
  }

  .ps-see-more-btn {
    height: 36px;
    padding: 0 16px;
    font-size: 13px;
  }

  .ps-prod-related ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
}

/* Accessibility: ẩn text chỉ dành cho screen reader (WooCommerce dùng class này) */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
/* Page template */
.ps-page-content {
  padding: 48px 0 80px;
}

.ps-page-content .ps-page-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.ps-page-content .entry-content {
  max-width: 800px;
  line-height: 1.7;
}

.ps-page-content .entry-content h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 32px 0 12px;
}

.ps-page-content .entry-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 24px 0 8px;
}

.ps-page-content .entry-content p {
  margin-bottom: 16px;
}

.ps-page-content .entry-content ul,
.ps-page-content .entry-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
