@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap");

/* Shop storefront — category listing (reference layout) */

body .lrm-shop-categories,
body .lrm-shop-products,
body .lrm-shop-cart,
body .lrm-shop-checkout,
.single-lrm_product {
  font-family: "Outfit";
  line-height: 1.2;
}

a,
a:focus,
a:hover,
a:visited {
  text-decoration: none !important;
}
.lrm-shop-categories {
  width: 100% !important;
  max-width: 1140px !important;
  margin: 0 auto;
  padding: 40px 20px 56px;
  border-radius: 0;
  box-sizing: border-box;
}

.lrm-shop-categories-header {
  text-align: center;
  margin-bottom: 66px;
}

.lrm-shop-categories .lrm-shop-categories-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 300;
  line-height: 1.25;
  margin: 0 0 2px 0;
  color: #1f2937;
}

.lrm-shop-title-highlight {
  font-weight: 600;
}

.lrm-shop-categories-accent {
  display: block;
  width: 100px;
  height: 4px;
  margin: 0 auto 14px;
  background: #a3cc39;
  border-radius: 999px;
}

.lrm-shop-categories .lrm-shop-categories-subtitle {
  color: #1f2937;
  margin: 0 0 16px 0;
  font-size: 15px;
  font-style: italic;
  font-weight: 400;
}

.lrm-shop-categories-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.lrm-shop-categories--cols-5 .lrm-shop-categories-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.lrm-shop-categories--cols-4 .lrm-shop-categories-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.lrm-shop-categories--cols-3 .lrm-shop-categories-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.lrm-shop-categories--cols-2 .lrm-shop-categories-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lrm-shop-category-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.lrm-shop-category-card:hover {
  transform: translateY(-2px);
}

.lrm-shop-category-image-wrap {
  border-radius: 10px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 12px;
}

.lrm-shop-category-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  box-sizing: border-box;
  border-radius: 10px;
}

.lrm-shop-category-placeholder {
  font-size: 34px;
  font-weight: 700;
  color: #9ca3af;
}

.lrm-shop-category-meta {
  text-align: left;
  padding: 0 2px;
}

.lrm-shop-category-card .lrm-shop-category-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 4px;
  color: #111827;
  text-align: center;
}

.lrm-shop-category-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #dc2626;
  margin: 0;
}

.lrm-shop-category-badge-bar {
  display: inline-block;
  width: 3px;
  height: 14px;
  background: #dc2626;
  border-radius: 2px;
  flex-shrink: 0;
}

.lrm-shop-category-card .lrm-shop-category-desc {
  font-size: 12px;
  color: #111827;
  margin: 0;
  line-height: 1.2;
}

.lrm-shop-empty-notice {
  text-align: center;
  padding: 24px;
  background: #fff;
  border: 1px dashed #c3c4c7;
  border-radius: 8px;
}

/* Products */
.lrm-shop-products {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px;
}
.lrm-shop-products-header {
  margin-bottom: 24px;
}
.lrm-shop-products-header h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 400;
  color: #1f2937;
}
.lrm-shop-category-intro {
  color: #4b5563;
  font-size: 16px;
}
.lrm-shop-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.lrm-shop-product-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.lrm-shop-product-image {
  aspect-ratio: 4/3;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lrm-shop-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lrm-shop-product-body {
  padding: 16px;
}
.lrm-shop-product-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 500;
}
.lrm-shop-product-excerpt {
  color: #6b7280;
  font-size: 14px;
  margin: 0 0 12px;
}
.lrm-shop-product-body h3 a {
  color: #1f2937;
  text-decoration: none;
}
.lrm-shop-product-body h3 a:hover {
  color: var(--lrm-primary, #2563eb);
}
.lrm-shop-product-image {
  display: block;
  text-decoration: none;
}

.lrm-shop-product-price {
  font-size: 16px;
}

.lrm-shop-product-price del {
  color: #9ca3af;
  margin-right: 8px;
}

.lrm-shop-product-price strong {
  font-weight: 500;
  color: #1f2937;
}

.lrm-shop-product-actions {
  display: flex;
  gap: 8px;
  align-items: stretch;
  margin-top: 24px;
}
.lrm-shop-product-actions .lrm-shop-qty-input {
  padding: 8px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  max-width: 62px;
  text-align: center;
}

.lrm-shop-product-actions .lrm-btn.lrm-add-to-cart {
  flex: auto;
}

.lrm-shop-product-sku,
.lrm-shop-product-weight {
  color: #6b7280;
  font-size: 14px;
  margin: 0 0 6px;
}

.lrm-shop-view-cart,
.lrm-shop-added-notice {
  margin: 0 0 0 0;
}

.lrm-shop-view-cart .lrm-btn {
  display: flex;
  font-size: 16px;
}
.lrm-shop-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin: 42px 0 16px;
  flex-wrap: wrap;
}
.lrm-shop-page-prev,
.lrm-shop-page-next {
  min-width: auto;
  padding: 0 14px;
}
.lrm-shop-pagination-info {
  width: 100%;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
  margin-top: 14px;
  word-spacing: 4px;
}

.lrm-shop-product-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}
.lrm-shop-product-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  text-decoration: none;
  color: #111827;
  background: #fff;
}
.lrm-shop-product-nav-next {
  text-align: right;
  margin-left: auto;
}
.lrm-shop-product-nav-label {
  font-size: 13px;
  color: #6b7280;
  font-family: "Inter var", "Helvetica Neue", Helvetica, sans-serif;
}
.lrm-shop-product-nav-title {
  font-weight: 600;
  font-size: 16px;
}
.lrm-shop-product-nav-empty {
  visibility: hidden;
}
.lrm-shop-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  padding: 10px;
  font-weight: 400;
  text-decoration: none;
  color: #111;
  line-height: 1.2em;
  font-size: 16px;
  border-radius: 6px;
  font-size: 14px;
  font-family: "Inter var", "Helvetica Neue", Helvetica, sans-serif;
  text-decoration: none;
}

.lrm-shop-page-link.is-active {
  background: #2563eb24;
}

.lrm-shop-page-link:hover {
  color: #111;
}

a.lrm-shop-page-link.lrm-shop-page-next,
a.lrm-shop-page-link.lrm-shop-page-prev {
  background: #2563eb;
  color: #fff;
}

a.lrm-shop-page-link.lrm-shop-page-next:hover,
a.lrm-shop-page-link.lrm-shop-page-prev:hover {
  color: #fff;
}

/* Product detail */
.lrm-shop-product-detail {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 16px;
}
.lrm-shop-product-back {
  margin: 0 0 20px;
  font-family: "Inter var", "Helvetica Neue", Helvetica, sans-serif;
}
.lrm-shop-product-back a {
  color: #2563eb;
  text-decoration: none;
}
.lrm-shop-product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.lrm-shop-product-detail-main-image {
  aspect-ratio: 1;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lrm-shop-product-detail-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lrm-shop-product-detail-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.lrm-shop-gallery-thumb {
  padding: 0;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  width: 72px;
  height: 72px;
  cursor: pointer;
  background: #fff;
}
.lrm-shop-gallery-thumb.is-active {
  border-color: #2563eb;
}
.lrm-shop-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lrm-shop-product-detail-info h1 {
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: 400;
}

.lrm-shop-product-additional-info.lrm-shop-product-additional-info--gallery p {
  color: #4b5563;
  margin: 16px 0;
  line-height: 1.6;
  font-size: 16px;
}

.lrm-shop-product-additional-info.lrm-shop-product-additional-info--gallery ul {
  margin: 0;
  color: #4b5563;
}

.lrm-shop-product-additional-info.lrm-shop-product-additional-info--gallery
  ul
  li {
  margin: 0 12px 0 20px;
}

.lrm-shop-product-additional-info h3 {
  margin: 42px 0 16px;
  font-size: 30px;
  font-weight: 400;
}

.lrm-shop-product-description {
  color: #4b5563;
  margin: 16px 0;
  line-height: 1.6;
  font-size: 16px;
}
.lrm-shop-product-sku {
  color: #6b7280;
  font-size: 14px;
}

/* Cart + Checkout */
.lrm-shop-cart,
.lrm-shop-checkout {
  max-width: 1000px !important;
  margin: 0 auto;
  padding: 24px 16px;
}
.lrm-shop-cart-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #fff;
  font-family: "Outfit" !important;
}
.lrm-shop-cart-table th,
.lrm-shop-cart-table td {
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: middle;
}

.lrm-shop-cart-actions .lrm-btn {
  font-size: 16px;
}

.lrm-shop-cart-table th {
  font-weight: 500;
}

.lrm-shop-cart-product {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lrm-shop-cart-table td {
  font-size: 16px;
  font-weight: 400;
}

.lrm-shop-cart-product img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}

.lrm-shop-cart-product strong {
  font-weight: 500;
}

.lrm-shop-cart-table .lrm-cart-qty {
  width: 60px;
  padding: 8px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  text-align: center;
}
.lrm-shop-cart-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.lrm-btn-link {
  background: none;
  border: none;
  color: #dc2626;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.lrm-cart-remove-cell {
  width: 48px;
  text-align: center;
}

.lrm-cart-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: #dc2626;
  cursor: pointer;
  position: relative;
  z-index: 1;
  text-decoration: none;
  line-height: 1;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.lrm-cart-remove-btn svg {
  pointer-events: none;
}

.lrm-cart-remove-btn:hover,
.lrm-cart-remove-btn:focus {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.lrm-shop-checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
}
.lrm-shop-checkout-form-wrap input,
.lrm-shop-checkout-form-wrap textarea,
.lrm-shop-checkout-form-wrap select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-sizing: border-box;
  background: #fff;
  font-size: 16px;
}

.lrm-shop-checkout-form-wrap input[type="checkbox"] {
  padding: 0;
}

.lrm-shop-checkout-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.lrm-shop-checkout-row > span {
  display: block;
}
.lrm-shop-checkout-summary {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  height: fit-content;
  margin-top: 32px;
}

body .lrm-shop-checkout-summary h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 18px;
}

.lrm-shop-checkout-summary .lrm-shop-checkout-items {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  font-size: 16px;
}
.lrm-shop-checkout-items li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  margin: 0;
  font-size: 16px;
  border-bottom: 1px solid #e5e7eb;
}
.lrm-shop-checkout-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.lrm-shop-checkout-item-name {
  font-weight: 500;
}
.lrm-shop-checkout-item-regular del {
  color: #9ca3af;
  font-size: 13px;
}
.lrm-shop-checkout-item-discount {
  color: #dc2626;
  font-size: 13px;
  font-weight: 600;
}
.lrm-shop-checkout-item-total {
  white-space: nowrap;
}
.lrm-shop-checkout-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 700;
}
body .lrm-checkout-section-title {
  margin: 32px 0 12px !important;
  font-size: 18px;
  font-weight: 600;
}
.lrm-ship-to-billing-wrap {
  margin: 0 0 16px;
}
.lrm-shipping-fields {
  margin-bottom: 8px;
}
.lrm-shop-view-cart,
.lrm-shop-added-notice {
  margin-top: 12px;
}
.lrm-shop-saved-payments {
  margin-bottom: 16px;
}
body .lrm-shop-saved-payments h4 {
  margin: 0 0 8px;
  font-size: 16px;
}
.lrm-shop-billing-note {
  display: block;
  font-size: 12px;
  color: #6b7280;
  font-weight: 400;
  font-style: normal;
}
.cart-table-wrapper {
  margin-bottom: 10px;
}

@media (max-width: 1100px) {
  .lrm-shop-categories-grid,
  .lrm-shop-categories--cols-6 .lrm-shop-categories-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .cart-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .lrm-shop-cart-table {
    min-width: 1000px;
    white-space: nowrap;
  }
  .lrm-shop-category-intro {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .lrm-shop-categories-grid,
  .lrm-shop-categories--cols-6 .lrm-shop-categories-grid,
  .lrm-shop-categories--cols-5 .lrm-shop-categories-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .lrm-shop-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lrm-shop-product-detail-grid {
    grid-template-columns: 1fr;
  }
  .lrm-shop-cart-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .lrm-shop-categories-grid,
  .lrm-shop-categories--cols-6 .lrm-shop-categories-grid,
  .lrm-shop-categories--cols-5 .lrm-shop-categories-grid,
  .lrm-shop-categories--cols-4 .lrm-shop-categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lrm-shop-products-grid {
    grid-template-columns: 1fr;
  }
  .lrm-shop-checkout-grid {
    grid-template-columns: 1fr;
  }
}
