/* =========================================================
   VYEDI PRODUCTS PAGE
   DESKTOP / BASE STYLES — PRESERVED
========================================================= */

:root {
  --products-primary: #9b4d20;
  --products-gold: #c89532;
  --products-dark: #2b211b;
  --products-light: #fffaf2;
  --products-border: #eadfce;
  --products-muted: #756b62;
}

.products-container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--products-gold),
    var(--products-primary)
  );
  z-index: 9999;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--products-dark);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease;
  z-index: 5000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--products-primary);
}

.products-breadcrumb {
  background: #fffaf3;
  border-bottom: 1px solid var(--products-border);
}

.products-breadcrumb .products-container {
  min-height: 55px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.products-breadcrumb a {
  color: var(--products-primary);
  text-decoration: none;
}

.products-breadcrumb strong {
  color: var(--products-dark);
}

.products-hero {
  padding: 75px 0 65px;
  text-align: center;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(200, 149, 50, 0.12),
      transparent 45%
    ),
    #fffaf3;
}

.products-hero .eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--products-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}

.products-hero h1 {
  max-width: 800px;
  margin: 0 auto 20px;
  color: var(--products-dark);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.05;
}

.products-hero h1 span {
  color: var(--products-primary);
}

.products-hero p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--products-muted);
  font-size: 16px;
  line-height: 1.8;
}

.shop-section {
  padding: 65px 0 90px;
  background: #fff;
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--products-border);
}

.shop-result-text {
  color: var(--products-muted);
  font-size: 14px;
}

.shop-result-text strong {
  color: var(--products-dark);
}

.shop-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--products-muted);
  font-size: 14px;
}

.shop-sort select {
  min-width: 190px;
  padding: 11px 14px;
  border: 1px solid var(--products-border);
  border-radius: 8px;
  background: #fff;
  color: var(--products-dark);
  cursor: pointer;
}

.shop-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 35px;
}

.product-sidebar {
  align-self: start;
  position: sticky;
  top: 100px;
  padding: 22px;
  border: 1px solid var(--products-border);
  border-radius: 14px;
  background: #fffaf3;
}

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.filter-header h2 {
  margin: 0;
  font-size: 18px;
  color: var(--products-dark);
}

.filter-header button {
  border: 0;
  background: transparent;
  color: var(--products-primary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.category-filters {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.category-filter {
  width: 100%;
  display: grid;
  grid-template-columns: 25px 1fr auto;
  align-items: center;
  gap: 7px;
  padding: 11px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--products-dark);
  text-align: left;
  font-size: 13px;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.category-filter span {
  font-size: 16px;
}

.category-filter b {
  font-size: 11px;
  color: var(--products-muted);
}

.category-filter:hover {
  background: rgba(155, 77, 32, 0.08);
}

.category-filter.active {
  background: var(--products-primary);
  color: #fff;
}

.category-filter.active b {
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.product-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--products-border);
  border-radius: 14px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  animation: productAppear 0.5s ease both;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(43, 33, 27, 0.12);
}

@keyframes productAppear {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-image-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f8f2e8;
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrapper img {
  transform: scale(1.05);
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--products-gold);
  background: radial-gradient(circle, #fff 0%, #f7efe2 65%, #eadcc7 100%);
}

.product-image-placeholder span {
  margin-top: 5px;
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 700;
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 9px;
  border-radius: 5px;
  background: hsla(22, 69%, 40%, 0.582);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.product-card-body {
  padding: 20px;
}

.product-category {
  margin-bottom: 7px;
  color: var(--products-primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.product-card h3 {
  min-height: 46px;
  margin: 0 0 9px;
  color: var(--products-dark);
  font-size: 17px;
  line-height: 1.35;
}

.product-short-description {
  min-height: 42px;
  margin: 0 0 14px;
  color: var(--products-muted);
  font-size: 12px;
  line-height: 1.6;
}

.product-card-rating {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 13px;
  font-size: 12px;
}

.product-card-rating .stars {
  color: #d39a2f;
  letter-spacing: 1px;
}

.product-card-rating .reviews {
  color: var(--products-muted);
}

.product-card-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 17px;
}

.current-price {
  color: var(--products-dark);
  font-size: 21px;
  font-weight: 800;
}

.old-price {
  color: #999;
  text-decoration: line-through;
  font-size: 13px;
}

.discount {
  color: #3d7b42;
  font-size: 11px;
  font-weight: 700;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.view-product-button,
.add-product-button {
  min-height: 42px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease;
}

.view-product-button {
  border: 1px solid var(--products-primary);
  background: #fff;
  color: var(--products-primary);
}

.view-product-button:hover {
  background: #fff3e5;
}

.add-product-button {
  border: 1px solid var(--products-primary);
  background: var(--products-primary);
  color: #fff;
}

.add-product-button:hover {
  background: #7d3c18;
}

.view-product-button:active,
.add-product-button:active {
  transform: scale(0.97);
}

.no-products {
  padding: 70px 20px;
  text-align: center;
  border: 1px dashed var(--products-border);
  border-radius: 14px;
  background: #fffaf3;
}

.no-products-icon {
  margin-bottom: 15px;
  font-size: 42px;
}

.no-products h2 {
  margin: 0 0 8px;
  color: var(--products-dark);
}

.no-products p {
  margin: 0 0 20px;
  color: var(--products-muted);
}

.no-products button {
  padding: 12px 20px;
  border: 0;
  border-radius: 7px;
  background: var(--products-primary);
  color: #fff;
  cursor: pointer;
}

/* =========================================================
   EXISTING RESPONSIVE BEHAVIOR
========================================================= */

@media (max-width: 1000px) {
  .shop-layout {
    grid-template-columns: 200px 1fr;
    gap: 20px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 750px) {
  .products-container {
    width: min(100% - 28px, 600px);
  }

  .products-hero {
    padding: 55px 0 45px;
  }

  .products-hero h1 {
    font-size: 38px;
  }

  .shop-layout {
    display: block;
  }

  .product-sidebar {
    position: static;
    margin-bottom: 25px;
  }

  .category-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
}

@media (max-width: 600px) {
  .products-container {
    width: calc(100% - 24px);
  }

  .products-hero h1 {
    font-size: 34px;
  }

  .products-hero p {
    font-size: 14px;
  }

  .shop-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .shop-sort {
    justify-content: space-between;
  }

  .shop-sort select {
    flex: 1;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-card-body {
    padding: 17px;
  }

  .product-card h3,
  .product-short-description {
    min-height: auto;
  }

  .category-filters {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    right: 15px;
    bottom: 15px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 400px) {
  .products-hero h1 {
    font-size: 30px;
  }

  .product-card-actions {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   MOBILE APP-STYLE ENHANCEMENTS
   MOBILE ONLY — NO DESKTOP RULES ARE MODIFIED
========================================================= */

@media (max-width: 750px) {
  body {
    overflow-x: hidden;
  }

  .products-breadcrumb .products-container {
    min-height: 44px;
    font-size: 12px;
  }

  .products-hero {
    position: relative;
    overflow: hidden;
    padding: 48px 0 42px;
  }

  .products-hero::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -90px;
    top: -80px;
    border-radius: 50%;
    background: rgba(200, 149, 50, 0.1);
    pointer-events: none;
  }

  .products-hero .eyebrow {
    margin-bottom: 12px;
    font-size: 10px;
    letter-spacing: 2.4px;
  }

  .products-hero h1 {
    max-width: 500px;
    font-size: clamp(31px, 9vw, 40px);
    line-height: 1.08;
    padding: 0 8px;
  }

  .products-hero p {
    max-width: 520px;
    padding: 0 8px;
    font-size: 13.5px;
    line-height: 1.7;
  }

  .shop-section {
    padding: 38px 0 65px;
  }

  .shop-toolbar {
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  .shop-result-text {
    display: block;
    font-size: 13px;
  }

  .shop-sort {
    width: 100%;
    gap: 8px;
  }

  .shop-sort label {
    font-size: 13px;
    white-space: nowrap;
  }

  .shop-sort select {
    min-width: 0;
    min-height: 46px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 14px;
  }

  .product-sidebar {
    margin-bottom: 20px;
    padding: 15px 14px 10px;
    border-radius: 17px;
    box-shadow: 0 8px 25px rgba(43, 33, 27, 0.05);
  }

  .filter-header {
    margin-bottom: 10px;
  }

  .filter-header h2 {
    font-size: 16px;
  }

  .filter-header button {
    min-height: 34px;
    padding: 0 8px;
    border-radius: 8px;
  }

  .category-filters {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    overflow-x: auto;
    gap: 8px;
    padding: 2px 2px 9px;
    margin: 0 -2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .category-filters::-webkit-scrollbar {
    display: none;
  }

  .category-filter {
    flex: 0 0 auto;
    width: auto;
    min-height: 42px;
    grid-template-columns: auto auto auto;
    padding: 9px 13px;
    gap: 6px;
    border: 1px solid var(--products-border);
    border-radius: 999px;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
  }

  .category-filter span {
    font-size: 14px;
  }

  .category-filter b {
    padding: 1px 6px;
    border-radius: 20px;
    background: rgba(43, 33, 27, 0.06);
  }

  .category-filter.active {
    border-color: var(--products-primary);
    box-shadow: 0 5px 14px rgba(155, 77, 32, 0.18);
  }

  .category-filter.active b {
    background: rgba(255, 255, 255, 0.22);
  }

  .product-grid {
    gap: 15px;
  }

  .product-card {
    border-radius: 17px;
    box-shadow: 0 5px 18px rgba(43, 33, 27, 0.055);
  }

  .product-card:hover {
    transform: none;
    box-shadow: 0 5px 18px rgba(43, 33, 27, 0.055);
  }

  .product-image-wrapper {
    aspect-ratio: 1 / 0.92;
  }

  .product-badge {
    top: 11px;
    left: 11px;
    padding: 7px 10px;
    border-radius: 7px;
    font-size: 9px;
  }

  .product-card-body {
    padding: 16px;
  }

  .product-category {
    margin-bottom: 5px;
    font-size: 9px;
  }

  .product-card h3 {
    margin-bottom: 7px;
    font-size: 16px;
    line-height: 1.3;
  }

  .product-short-description {
    margin-bottom: 11px;
    font-size: 12px;
    line-height: 1.55;
  }

  .product-card-rating {
    gap: 6px;
    margin-bottom: 11px;
    font-size: 11px;
  }

  .product-card-price {
    gap: 7px;
    margin-bottom: 13px;
  }

  .current-price {
    font-size: 20px;
  }

  .product-card-actions {
    gap: 9px;
  }

  .view-product-button,
  .add-product-button {
    min-height: 46px;
    border-radius: 10px;
    font-size: 12.5px;
    -webkit-tap-highlight-color: transparent;
  }

  .no-products {
    padding: 50px 18px;
    border-radius: 17px;
  }
}

@media (max-width: 600px) {
  .products-container {
    width: calc(100% - 22px);
  }

  .products-hero {
    padding: 43px 0 36px;
  }

  .products-hero h1 {
    font-size: 33px;
  }

  .products-hero p {
    font-size: 13.5px;
  }

  .shop-section {
    padding-top: 30px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .product-card-actions {
    grid-template-columns: 1fr 1fr;
  }

  .back-to-top {
    right: 13px;
    bottom: 13px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 400px) {
  .products-container {
    width: calc(100% - 18px);
  }

  .products-hero h1 {
    font-size: 30px;
  }

  .products-hero p {
    font-size: 13px;
  }

  .product-card-body {
    padding: 14px;
  }

  .product-card-actions {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   MOBILE TOUCH / ACCESSIBILITY
   MOBILE ONLY
========================================================= */

@media (max-width: 750px) {
  .category-filter,
  .view-product-button,
  .add-product-button,
  .filter-header button,
  .shop-sort select {
    touch-action: manipulation;
  }

  .category-filter:focus-visible,
  .view-product-button:focus-visible,
  .add-product-button:focus-visible,
  .filter-header button:focus-visible,
  .shop-sort select:focus-visible {
    outline: 2px solid var(--products-gold);
    outline-offset: 2px;
  }

  .product-card img {
    -webkit-user-drag: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .product-card:hover,
  .product-image-wrapper img {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================
   MOBILE SHORTCUTS
   MOBILE ONLY
========================================================= */
.products-mobile-shortcuts {
  display: none;
}

@media (max-width: 767px) {
  /* Round category strip directly below the search bar */
  .products-mobile-shortcuts {
    display: flex;
    width: 100%;
    gap: 10px;
    padding: 10px 12px 12px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .products-mobile-shortcuts::-webkit-scrollbar {
    display: none;
  }

  .products-mobile-shortcuts a {
    flex: 0 0 66px;
    width: 66px;
    min-width: 66px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    text-decoration: none;
    color: inherit;
    text-align: center;
  }

  .products-mobile-shortcuts a > span {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #faf7f0;
    border: 1px solid rgba(140, 100, 45, 0.2);
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.07);
    font-size: 21px;
    line-height: 1;
  }

  .products-mobile-shortcuts small {
    display: block;
    width: 66px;
    font-size: 9px;
    line-height: 1.15;
    font-weight: 600;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  /* Small, parallel product cards on phones */
  .shop-layout {
    display: block;
  }

  .product-sidebar {
    display: none !important;
  }

  .products-content {
    width: 100%;
    min-width: 0;
  }

  .product-grid {
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    align-items: start;
  }

  .product-grid > * {
    min-width: 0;
    width: 100%;
  }

  .product-card {
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .product-card img,
  .product-card-image img,
  .product-image img {
    width: 100%;
    height: auto;
    max-height: 155px;
    object-fit: contain;
  }

  .shop-section .products-container {
    width: 100%;
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

  .shop-toolbar {
    gap: 8px;
    margin-bottom: 12px;
  }

  .shop-result-text {
    font-size: 11px;
  }

  .shop-sort label {
    font-size: 11px;
  }

  .shop-sort select {
    max-width: 125px;
    font-size: 11px;
  }
}

@media (max-width: 380px) {
  .product-grid {
    gap: 8px !important;
  }

  .products-mobile-shortcuts {
    gap: 8px;
    padding-left: 9px;
    padding-right: 9px;
  }

  .products-mobile-shortcuts a {
    flex-basis: 62px;
    width: 62px;
    min-width: 62px;
  }

  .products-mobile-shortcuts a > span {
    width: 44px;
    height: 44px;
    font-size: 19px;
  }

  .products-mobile-shortcuts small {
    width: 62px;
    font-size: 8.5px;
  }
}
/* =========================================================
  SVG ICONS abd Text Space
========================================================= */

a svg {
  margin-right: 8px;
}


/* VYEDI MOBILE SHOP CARD FIT FIX */
@media (max-width: 767px) {
  .shop-section .products-container {
    width: 100%;
    max-width: 100%;
    padding-left: 8px;
    padding-right: 8px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    align-items: stretch;
  }

  .product-grid > *,
  .product-card {
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .product-card {
    border-radius: 10px;
    height: 100%;
  }

  .product-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  .product-image-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
  }

  .product-card-body {
    min-width: 0;
    padding: 9px;
  }

  .product-category {
    font-size: 8px;
    overflow-wrap: anywhere;
  }

  .product-card h3 {
    min-height: 0;
    margin-bottom: 5px;
    font-size: 13px;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .product-short-description {
    min-height: 0;
    margin-bottom: 7px;
    font-size: 10px;
    line-height: 1.35;
  }

  .product-card-rating {
    flex-wrap: wrap;
    gap: 3px;
    margin-bottom: 7px;
    font-size: 9px;
  }

  .product-card-rating .stars {
    letter-spacing: 0;
  }

  .product-card-price {
    gap: 4px;
    margin-bottom: 9px;
  }

  .current-price {
    font-size: 15px;
  }

  .old-price,
  .discount {
    font-size: 9px;
  }

  .product-card-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 5px;
  }

  .view-product-button,
  .add-product-button {
    min-width: 0;
    min-height: 35px;
    padding: 5px 3px;
    border-radius: 7px;
    font-size: 10px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .product-badge {
    top: 6px;
    left: 6px;
    max-width: calc(100% - 12px);
    padding: 4px 5px;
    font-size: 8px;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 360px) {
  .product-card-body {
    padding: 7px;
  }

  .product-card-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* VYEDI MOBILE CATEGORY VISIBILITY FIX */
@media (max-width: 767px) {
  .shop-layout {
    display: block;
  }

  .shop-layout .product-sidebar {
    display: block !important;
    width: 100%;
    min-width: 0;
    margin: 0 0 14px;
    padding: 10px;
    box-sizing: border-box;
  }

  .shop-layout .category-filters {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .shop-layout .category-filters::-webkit-scrollbar {
    display: none;
  }

  .shop-layout .category-filter {
    flex: 0 0 auto;
    width: auto;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 10px;
    font-size: 11px;
    white-space: nowrap;
  }

  .shop-layout .category-filter span {
    font-size: 11px;
  }

  .shop-layout .category-filter b {
    font-size: 10px;
  }

  .shop-layout .products-content {
    width: 100%;
    min-width: 0;
  }

  .shop-layout .product-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100%;
  }

  .shop-layout .product-card {
    min-width: 0;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
  }

  .shop-layout .product-image-wrapper {
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  .shop-layout .product-image-wrapper img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
  }

  .shop-layout .product-card-body {
    min-width: 0;
    padding: 9px;
  }

  .shop-layout .product-card h3 {
    min-height: 0;
    font-size: 13px;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .shop-layout .product-card-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .shop-layout .view-product-button,
  .shop-layout .add-product-button {
    min-width: 0;
    min-height: 34px;
    padding: 5px 3px;
    font-size: 10px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
