:root {
  --site-button-color: #FFBF00;
  --site-button-text-color: #111111;
  --site-accent-color: #111111;
  --site-accent-text-color: #FFFFFF;
  --site-header-bg-color: #000000;
  --site-header-text-color: #FFFFFF;
  --site-header-text-hover-color: #D9D9D9;
  --site-footer-bg-color: #000000;
  --site-footer-text-color: #FFFFFF;
  --site-footer-text-hover-color: #D9D9D9;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.5;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: 1200px;
  max-width: 95%;
  margin: 0 auto;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  background: var(--site-header-bg-color);
  padding: 15px 0;
}

.nav-container {
  width: 1200px;
  max-width: 95%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 100px;
  width: auto;
  max-width: min(100%, 360px);
  display: block;
  object-fit: contain;
}

.logo-text {
  display: inline-block;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--site-header-text-color);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu a {
  color: var(--site-header-text-color);
  font-size: 15px;
  font-weight: 600;
  transition: opacity 0.25s ease;
}

.nav-menu a:hover {
  color: var(--site-header-text-hover-color);
  opacity: 1;
}

.nav-menu a.active {
  opacity: 1;
  text-decoration: underline;
  text-decoration-color: var(--site-accent-color);
  text-underline-offset: 6px;
}

.cart-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--site-header-text-color);
  color: var(--site-header-bg-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}


.site-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 20px;
}

.site-search-input,
.catalog-search-input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 999px;
  padding: 12px 16px;
  background: #ffffff;
  color: #111111;
}

.site-search-input {
  width: 260px;
}

.site-search-input:focus,
.catalog-search-input:focus {
  outline: none;
  border-color: var(--site-accent-color);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.site-search-button,
.catalog-search-button,
.catalog-search-clear {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
}

.site-search-button,
.catalog-search-button {
  background: var(--site-button-color);
  color: var(--site-button-text-color);
}

.catalog-search-clear {
  background: #f1f1f1;
  color: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-search-button:hover,
.catalog-search-button:hover,
.catalog-search-clear:hover {
  filter: brightness(0.96);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 24px;
  flex-wrap: wrap;
}

.catalog-search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 680px;
}

.products-toolbar-meta {
  flex: 0 0 auto;
}

.products-results-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f5f5f5;
  color: #222222;
  font-size: 14px;
  font-weight: 700;
}

/* =========================
   FEATURED CAROUSEL
========================= */
.featured-carousel,
.featured-strip {
  width: 100%;
  margin: 0 0 28px;
  position: relative;
}

.home-carousel,
.featured-products-carousel {
  width: 100%;
}

.home-carousel .owl-stage-outer,
.home-carousel .owl-stage,
.home-carousel .owl-item,
.featured-products-carousel .owl-stage-outer,
.featured-products-carousel .owl-stage,
.featured-products-carousel .owl-item {
  margin: 0;
  padding: 0;
}

.home-carousel:not(.owl-loaded),
.featured-products-carousel:not(.owl-loaded) {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.home-carousel:not(.owl-loaded) .item,
.featured-products-carousel:not(.owl-loaded) .item {
  display: block;
  width: 100%;
}

.js .home-carousel:not(.owl-loaded),
.js .featured-products-carousel:not(.owl-loaded) {
  opacity: 0;
  visibility: hidden;
}

.js .home-carousel.owl-loaded,
.js .featured-products-carousel.owl-loaded {
  opacity: 1;
  visibility: visible;
}


.carousel-item {
  position: relative;
  overflow: hidden;
}

.carousel-item a {
  display: block;
  position: relative;
  color: #fff;
}

.carousel-item a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.38) 42%,
    rgba(0, 0, 0, 0.06) 74%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.carousel-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.carousel-item:hover img {
  transform: scale(1.05);
}

.carousel-title {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  padding: 0;
  background: none;
  pointer-events: none;
}

.carousel-category {
  display: inline-block;
  margin: 0 0 8px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.48);
  border-radius: 999px;
}

.carousel-name {
  display: block;
  margin: 0;
  color: #fff;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.carousel-price {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.home-carousel.owl-theme .owl-nav,
.home-carousel.owl-theme .owl-dots,
.featured-products-carousel.owl-theme .owl-nav,
.featured-products-carousel.owl-theme .owl-dots {
  display: none;
}

/* =========================
   CTA
========================= */
.cta {
  background: #f7f7f7;
  padding: 38px 0;
  text-align: center;
  border-top: 1px solid #efefef;
  border-bottom: 1px solid #efefef;
}

.cta h2 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.2;
  color: #111;
}

.cta p {
  margin: 0;
  font-size: 15px;
  color: #555;
}

.cta-button {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 28px;
  background: var(--site-accent-color);
  color: var(--site-accent-text-color);
  font-size: 15px;
  font-weight: 700;
  border: 1px solid var(--site-accent-color);
  transition: all 0.25s ease;
}

.cta-button:hover {
  filter: brightness(0.92);
}

/* =========================
   HOMEPAGE CONTENT BLOCKS
========================= */
.home-hero {
  padding: 0 0 10px;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}

.home-copy-card,
.home-spotlight-card {
  overflow: hidden;
  height: 100%;
}

.home-copy-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 28px;
}

.home-copy-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}

.home-copy-card h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin: 0 0 16px;
}

.home-copy-card p {
  margin: 0 0 14px;
  line-height: 1.7;
}

.home-copy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.home-spotlight-card {
  background: linear-gradient(135deg, #111111 0%, #222222 100%);
  color: #ffffff;
  position: relative;
  min-height: 100%;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-spotlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.25);
}

.home-spotlight-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.home-spotlight-image-wrap {
  position: relative;
  padding: 22px 22px 0;
}

.home-spotlight-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  transform: rotate(var(--spotlight-tilt, 0deg));
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.28);
  display: block;
}

.home-spotlight-meta {
  padding: 20px 22px 24px;
}

.home-spotlight-label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.76);
}

.home-spotlight-heading {
  font-size: 28px;
  line-height: 1.15;
  margin: 0 0 10px;
}

.home-spotlight-text {
  margin: 0 0 14px;
  color: rgba(255,255,255,0.84);
  line-height: 1.65;
}

.home-spotlight-price {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 16px;
}

.home-spotlight-link,
.home-copy-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.2s ease;
}

.home-spotlight-link {
  background: #ffffff;
  color: #111111;
}

.home-spotlight-link:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.btn.btn-primary,
.home-copy-actions .btn-primary {
  background: var(--site-button-color);
  color: var(--site-button-text-color);
}

.btn.btn-secondary,
.home-copy-actions .btn-secondary {
  background: #f3f3f3;
  color: #111111;
}

.home-copy-actions a:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.home-section {
  padding: 26px 0;
}

.home-section .section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.home-section .section-head h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  background: #f5f5f5;
  color: #111111;
  transition: 0.2s ease;
}

.category-pill:hover {
  background: var(--site-accent-color);
  color: #ffffff;
}




.home-section .product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
}

.home-section .product-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  height: 100%;
}

.home-section .product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.08);
}

.home-section .product-card a {
  color: inherit;
  text-decoration: none;
  display: block;
  height: 100%;
}

.home-section .product-card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: #f2f2f2;
}

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

.home-section .product-card-title {
  font-size: 17px;
  line-height: 1.35;
  margin: 0 0 8px;
}

.home-section .product-card-price {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.home-section .empty-state {
  background: #fafafa;
  border: 1px dashed rgba(0,0,0,0.15);
  border-radius: 16px;
  padding: 22px;
}

@media (max-width: 1100px) {
  .home-section .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .home-copy-card,
  .home-spotlight-meta {
    padding: 20px;
  }

  .home-spotlight-image-wrap {
    padding: 20px 20px 0;
  }

  .home-section .product-grid {
    grid-template-columns: 1fr;
  }

  .home-section .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================
   BREADCRUMB
========================= */
.breadcrumb-bar {
  background: #000000;
  border-bottom: 1px solid #ececec;
  padding: 14px 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: #666;
}

.breadcrumb a {
  color: #ffffff;
  transition: opacity 0.25s ease;
}

.breadcrumb a:hover {
  opacity: 0.7;
}

.breadcrumb .current {
  color: #00aa00;
}


/* =========================
   SECTION HEADING
========================= */
.section-heading {
  margin-bottom: 24px;
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.2;
  color: #111;
}

.section-heading p {
  margin: 0;
  font-size: 15px;
  color: #555;
}

/* =========================
   CATEGORIES PAGE
========================= */
.categories-page {
  padding: 55px 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card {
  display: block;
  background: #fff;
  border: 1px solid #e9e9e9;
  color: #111;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.category-image {
  overflow: hidden;
  background: #fff;
}

.category-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.category-card:hover .category-image img {
  transform: scale(1.03);
}

.category-title-wrap {
  padding: 18px 16px 20px;
  text-align: center;
}

.category-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: #111;
}

.category-count {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #666;
}

/* =========================
   PRODUCT GRID
========================= */
.product-grid {
  padding: 55px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: #fff;
  border: 1px solid #e9e9e9;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.product-image-link {
  display: block;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover img {
  transform: scale(1.03);
}

.product-info {
  padding: 18px 16px 20px;
  text-align: center;
}

.product-info h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

.product-info h3 a {
  color: #111;
}

.price {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 700;
  color: #000;
}

.product-button {
  display: inline-block;
  padding: 10px 18px;
  background: var(--site-button-color);
  color: var(--site-button-text-color);
  font-size: 14px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: filter 0.25s ease;
}

.product-button:hover {
  filter: brightness(0.92);
}

/* =========================
   PAGINATION
========================= */
.pagination-wrap {
  padding: 0 0 55px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #dcdcdc;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.page-link:hover {
  background: var(--site-accent-color);
  border-color: var(--site-accent-color);
  color: #fff;
}

.page-link.active {
  background: var(--site-accent-color);
  border-color: var(--site-accent-color);
  color: #fff;
}

/* =========================
   PRODUCT PAGE
========================= */
.product-page {
  padding: 55px 0;
}

.product-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.product-gallery {
  width: 100%;
}

.product-main-image {
  border: 1px solid #e9e9e9;
  background: #fff;
  overflow: hidden;
}

.product-main-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.product-thumb {
  padding: 0;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.product-thumb:hover {
  border-color: #000;
  transform: translateY(-2px);
}

.product-thumb.active {
  border-color: #000;
}

.product-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.product-details {
  background: #fff;
}

.product-page-type {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #666;
}

.product-details h1 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.2;
  color: #111;
}

.product-page-price {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 700;
  color: #000;
}

.product-description,
.product-page-description {
  margin: 0 0 24px;
  font-size: 15px;
  color: #555;
}

.product-page-description p {
  margin: 0 0 12px;
}

.product-page-meta {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #ececec;
}

.product-page-meta p {
  margin: 0 0 10px;
  font-size: 14px;
  color: #444;
}

.related-products {
  padding-top: 20px;
  padding-bottom: 55px;
}

.related-products h2 {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.2;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.related-card {
  border: 1px solid #e9e9e9;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.related-card a {
  display: block;
  color: #111;
}

.related-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.related-card-info {
  padding: 14px;
  text-align: center;
}

.related-card-info h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.3;
}

.related-card-info .price {
  margin: 0;
}

/* =========================
   CART PAGE
========================= */
.cart-page {
  padding: 55px 0;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 30px;
  align-items: start;
}

.cart-table-wrap {
  overflow-x: auto;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #ececec;
}

.cart-table th,
.cart-table td {
  padding: 16px;
  border-bottom: 1px solid #ececec;
  vertical-align: middle;
  text-align: left;
}

.cart-table th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #666;
  background: #fafafa;
}

.cart-product {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 260px;
}

.cart-product-image {
  width: 86px;
  height: 86px;
  object-fit: cover;
  flex: 0 0 86px;
  border: 1px solid #ececec;
  background: #fff;
}

.cart-product-title {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.3;
}

.cart-product-title a {
  color: #111;
}

.cart-product-meta {
  margin: 0;
  font-size: 13px;
  color: #666;
}

.cart-qty-form {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cart-qty-input {
  width: 72px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid #dcdcdc;
  text-align: center;
}

.cart-link-button {
  padding: 0;
  border: 0;
  background: none;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.cart-link-button:hover {
  opacity: 0.7;
}

.cart-summary {
  border: 1px solid #ececec;
  background: #fff;
  padding: 24px;
}

.cart-summary h2 {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.2;
}

.cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #ececec;
  font-size: 15px;
}

.cart-summary-row:last-of-type {
  border-bottom: 0;
}

.cart-summary-total {
  font-size: 18px;
  font-weight: 700;
}

.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.cart-secondary-button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.25s ease;
}

.cart-secondary-button:hover {
  background: var(--site-accent-color);
  border-color: var(--site-accent-color);
  color: #fff;
}

.cart-empty {
  border: 1px solid #ececec;
  background: #fff;
  padding: 40px 28px;
  text-align: center;
}

.cart-empty h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.cart-empty p {
  margin: 0 0 20px;
  color: #666;
}

.notice {
  margin-bottom: 22px;
  padding: 14px 16px;
  border: 1px solid #d8ead5;
  background: #f4fbf2;
  color: #215c22;
}

.notice.error {
  border-color: #efc9c9;
  background: #fff5f5;
  color: #8a2323;
}

.checkout-button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border: none;
  border-radius: 8px;
  background: var(--site-button-color);
  color: var(--site-button-text-color);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.checkout-button:hover {
  filter: brightness(0.95);
  color: #111;
}

.checkout-button:active {
  transform: translateY(1px);
}

.checkout-page {
  padding: 40px 0 60px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.checkout-form-wrap,
.checkout-summary,
.checkout-success {
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.checkout-form {
  display: grid;
  gap: 18px;
}

.checkout-grid {
  display: grid;
  gap: 16px;
}

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

.checkout-grid.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.checkout-field {
  display: grid;
  gap: 8px;
}

.checkout-field label {
  font-weight: 600;
  font-size: 14px;
  color: #222;
}

.checkout-field input,
.checkout-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  font: inherit;
  background: #fff;
}

.checkout-field input:focus,
.checkout-field textarea:focus {
  outline: none;
  border-color: var(--site-button-color);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.checkout-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 6px;
}

.cart-actions form,
.checkout-actions .checkout-button {
  width: 100%;
}

.cart-actions .product-button,
.checkout-actions .cart-secondary-button,
.checkout-actions .checkout-button {
  min-height: 46px;
}

.checkout-summary h2,
.checkout-success h1 {
  margin-top: 0;
}

.checkout-summary-list {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.checkout-summary-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
  font-size: 15px;
}

.checkout-summary-thumb {
  width: 92px;
  height: 92px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
  flex: 0 0 92px;
}

.checkout-summary-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-summary-details {
  min-width: 0;
}

.checkout-summary-details h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.35;
}

.checkout-summary-meta,
.checkout-summary-qty,
.checkout-summary-price,
.checkout-summary-type {
  margin: 0;
}

.checkout-summary-meta {
  margin-top: 4px;
  font-size: 13px;
  color: #666;
}

.checkout-summary-qty,
.checkout-summary-type {
  margin-top: 8px;
  font-size: 13px;
  color: #666;
}

.checkout-summary-price {
  margin-top: 10px;
  font-weight: 700;
  color: #111;
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}

.checkout-summary-total {
  border-top: 1px solid #e5e5e5;
  margin-top: 8px;
  padding-top: 14px;
  font-weight: 700;
  font-size: 18px;
}

.checkout-summary-note {
  margin: 18px 0 0;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.checkout-success {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.checkout-success-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .checkout-summary-item {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
  }

  .checkout-summary-thumb {
    width: 78px;
    height: 78px;
    flex-basis: 78px;
  }

  .checkout-layout,
  .checkout-grid.two-col,
  .checkout-grid.three-col,
  .checkout-actions {
    grid-template-columns: 1fr;
  }
}

/* =========================
   CONTACT PAGE
========================= */
.contact-page {
  padding: 55px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.contact-info h1 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.2;
  color: #111;
}

.contact-info p {
  margin: 0 0 16px;
  font-size: 15px;
  color: #555;
}

.contact-card {
  border: 1px solid #ececec;
  background: #fff;
  padding: 24px;
}

.contact-card h2 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.2;
  color: #111;
}

.contact-card p {
  margin: 0 0 12px;
  font-size: 15px;
  color: #555;
}

.contact-card a {
  color: var(--site-accent-color);
  font-weight: 700;
}

.contact-form-wrap {
  border: 1px solid #ececec;
  background: #fff;
  padding: 24px;
  min-height: 320px;
}

.contact-placeholder {
  min-height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #666;
  background: #fafafa;
  border: 1px dashed #ddd;
}


.contact-heading {
  margin-top: 28px;
  margin-bottom: 32px;
}

.contact-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: 6px;
  padding: 40px 35px;
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.04);
}

.machform-placeholder {
  border: 2px dashed #dcdcdc;
  padding: 50px 30px;
  background: #fafafa;
}

.machform-placeholder h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 22px;
}

.machform-placeholder p {
  margin: 0;
  color: #666;
}

.product-purchase-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid #dcdcdc;
  background: #fff;
  height: 46px;
}

.quantity-btn {
  width: 46px;
  height: 46px;
  border: 0;
  background: #fff;
  color: #111;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.quantity-btn:hover {
  background: #f5f5f5;
}

.quantity-input {
  width: 60px;
  height: 46px;
  border: 0;
  border-left: 1px solid #dcdcdc;
  border-right: 1px solid #dcdcdc;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  outline: none;
  -moz-appearance: textfield;
}

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

.product-page-actions .product-button {
  min-width: 160px;
  text-align: center;
}

.add-to-cart-form {
  margin: 0;
}

.product-cart-notice {
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px solid #d8ead5;
  background: #f4fbf2;
  color: #215c22;
}

.product-cart-notice strong {
  color: #184619;
}

.product-cart-notice-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.product-cart-notice-actions .product-button {
  min-width: auto;
}


/* =========================
   FOOTER
========================= */
.footer,
.site-footer {
  display: block;
  width: 100%;
  clear: both;
  background: var(--site-footer-bg-color);
  color: var(--site-footer-text-color);
  padding: 24px 0;
  margin-top: 40px;
}

.footer-inner {
  width: 1200px;
  max-width: 95%;
  margin: 0 auto;
  text-align: left;
  font-size: 14px;
  color: var(--site-footer-text-color);
}

.footer-inner p {
  margin: 0;
  font-size: 16px;
}

.footer-inner a,
.site-footer a {
  color: var(--site-footer-text-color);
  font-size: 16px;
  transition: color 0.25s ease;
}

.footer-inner a:hover,
.site-footer a:hover {
  color: var(--site-footer-text-hover-color);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1200px) {
  .grid,
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .home-carousel:not(.owl-loaded),
  .featured-products-carousel:not(.owl-loaded) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .carousel-item img {
    height: 280px;
  }
}

@media (max-width: 900px) {
  .nav-container {
    flex-direction: column;
    gap: 15px;
  }

  .site-search-form {
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }

  .site-search-input {
    width: 100%;
    max-width: 420px;
  }

  .logo img {
    height: 90px;
  }

  .logo-text {
    font-size: 32px;
  }

  .home-hero-grid,
  .product-layout,
  .contact-layout,
  .cart-layout {
    grid-template-columns: 1fr;
  }

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

  .home-carousel:not(.owl-loaded),
  .featured-products-carousel:not(.owl-loaded) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .carousel-item img {
    height: 240px;
  }
}

@media (max-width: 575px) {
  .product-purchase-row {
    align-items: stretch;
  }

  .quantity-selector {
    height: 44px;
  }

  .quantity-btn {
    width: 44px;
    height: 44px;
  }

  .quantity-input {
    height: 44px;
  }

  .product-page-actions .product-button,
  .product-cart-notice-actions .product-button {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .logo img {
    height: 84px;
    max-width: min(100%, 280px);
  }

  .site-search-form,
  .catalog-search-form {
    flex-direction: column;
    align-items: stretch;
  }

  .site-search-button,
  .catalog-search-button,
  .catalog-search-clear {
    width: 100%;
    text-align: center;
  }

  .products-toolbar {
    align-items: stretch;
  }

  .products-toolbar-meta {
    width: 100%;
  }

  .products-results-count {
    width: 100%;
  }

  .logo-text {
    font-size: 28px;
    text-align: center;
  }

  .nav-menu {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .grid,
  .categories-grid,
  .related-grid,
  .product-thumbs,
  .home-carousel:not(.owl-loaded),
  .featured-products-carousel:not(.owl-loaded) {
    grid-template-columns: 1fr;
  }

  .home-copy-card,
  .home-spotlight-card,
  .contact-card,
  .contact-form-wrap,
  .cart-summary {
    padding: 20px;
  }

  .contact-wrapper {
    padding: 28px 20px;
  }

  .machform-placeholder {
    padding: 40px 20px;
  }

  .carousel-item img {
    height: 220px;
  }

  .carousel-name {
    font-size: 18px;
  }

  .cart-table th,
  .cart-table td {
    padding: 12px;
  }

  .cart-product {
    align-items: flex-start;
  }

  .cart-product-image {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
  }

  .category-title {
    font-size: 17px;
  }

  .page-link {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
  }
}
/* Footer */
.footer {
  background: var(--site-footer-bg-color);
  color: var(--site-footer-text-color);
  margin-top: 60px;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 40px 20px;
}

.footer-col h4 {
  margin-bottom: 10px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 6px;
}

.footer a {
  color: var(--site-footer-text-color);
  text-decoration: none;
}

.footer a:hover {
  color: var(--site-footer-text-hover-color);
}

.footer-logo img {
  max-width: 140px;
}

.footer-bottom {
  text-align: center;
  padding: 15px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Admin Product Type Badge */
.product-type-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  border-radius: 4px;
  margin-top: 4px;
  background: #222;
  color: #fff;
}

.flag-type.digital {
  background: #dbeafe;
  color: #1d4ed8;
}

.flag-type.physical {
  background: #ffedd5;
  color: #c2410c;
}

/* Policy Pages */
.policy-page {
  padding: 32px 0 56px;
}

.policy-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.policy-card-content {
  padding: 28px;
}

.policy-card h1,
.policy-card h2 {
  margin-top: 0;
}

.policy-card h2 {
  margin-top: 26px;
  margin-bottom: 10px;
  font-size: 24px;
}

.policy-card p,
.policy-card li {
  line-height: 1.7;
  color: #222;
  font-size: 18px;
}

.policy-card ul {
  margin: 0 0 16px 20px;
  padding: 0;
}

.policy-meta {
  color: #666;
  font-size: 14px;
  margin-bottom: 18px;
}


.page-banner-wrap {
  width: 100%;
  overflow: hidden;
}

.page-banner {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .page-banner {
    height: 170px;
  }

  .policy-card-content {
    padding: 22px;
  }
}


.cart-suggestions {
  margin-top: 34px;
  padding-top: 10px;
}

.cart-suggestions-heading {
  text-align: left;
  margin-bottom: 20px;
}

.cart-suggestions-heading h2 {
  margin-bottom: 6px;
}

.cart-suggestions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.cart-suggestion-card {
  background: #fff;
  border: 1px solid #e9e9e9;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cart-suggestion-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.cart-suggestion-image-link {
  display: block;
  overflow: hidden;
}

.cart-suggestion-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.cart-suggestion-card:hover img {
  transform: scale(1.03);
}

.cart-suggestion-body {
  padding: 18px 16px 20px;
  text-align: center;
}

.cart-suggestion-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

.cart-suggestion-body h3 a {
  color: #111;
}

.cart-suggestion-price {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 700;
  color: #000;
}

@media (max-width: 1100px) {
  .cart-suggestions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .cart-suggestions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .cart-suggestions-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================
   ADMIN SIDEBAR LAYOUT
========================= */
.admin-body {
  background: #f4f5f7;
  min-height: 100vh;
}

.admin-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 240px;
  background: linear-gradient(180deg, #111111 0%, #1b1b1b 100%);
  color: #ffffff;
  z-index: 1000;
  box-shadow: 14px 0 34px rgba(0, 0, 0, 0.18);
}

.admin-sidebar-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px 16px 18px;
}

.admin-sidebar-brand {
  display: block;
  padding: 10px 12px 18px;
  margin-bottom: 12px;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-sidebar-brand-kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 6px;
}

.admin-sidebar-brand strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 4px;
  overflow-y: auto;
}

.admin-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 11px 14px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.admin-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transform: translateX(2px);
}

.admin-nav a.active {
  background: #046ecd;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(4, 110, 205, 0.26);
}

.admin-sidebar-footer {
  margin-top: auto;
  padding-top: 16px;
}

.admin-sidebar-meta {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.70);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.admin-sidebar-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: #ffffff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
}

.admin-sidebar-logout:hover {
  background: rgba(255, 255, 255, 0.12);
}

.admin-body .admin-shell {
  width: auto;
  max-width: none;
  margin: 0 0 0 240px;
  padding: 32px 28px 60px;
}

.admin-body .admin-topbar {
  justify-content: flex-start;
}

.admin-body .admin-title-wrap {
  max-width: 900px;
}

.admin-body .admin-card,
.admin-body .settings-section,
.admin-body .orders-panel,
.admin-body .password-card,
.admin-body .backup-card,
.admin-body .report-card,
.admin-body .coupon-card {
  box-shadow: 0 14px 36px rgba(17, 17, 17, 0.05);
}

@media (max-width: 960px) {
  .admin-sidebar {
    position: static;
    width: auto;
    box-shadow: none;
  }

  .admin-sidebar-inner {
    height: auto;
    padding-bottom: 14px;
  }

  .admin-nav {
    overflow: visible;
  }

  .admin-body .admin-shell {
    margin-left: 0;
    padding: 24px 16px 40px;
  }
}


.product-tag-row {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.product-tag-heading {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #666;
}

.product-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-tag-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--product-tag-bg-color, #E9EDF1);
  color: var(--product-tag-text-color, #111111);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.product-tag-pill:hover,
.product-tag-pill:focus {
  background: var(--product-tag-hover-bg-color, #111111);
  color: var(--product-tag-hover-text-color, #FFFFFF);
  border-color: var(--product-tag-hover-bg-color, #111111);
  transform: translateY(-1px);
}

.contact-form-intro {
  margin-bottom: 24px;
}

.contact-form-intro h3 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.2;
}

.contact-form-intro p {
  margin: 0;
  color: #666;
}

.contact-form-notice {
  margin-bottom: 22px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #e2e2e2;
  line-height: 1.6;
}

.contact-form-notice.success {
  background: #eef8f0;
  border-color: #cfe7d4;
  color: #215c22;
}

.contact-form-notice.error {
  background: #fff1f1;
  border-color: #f0c7c7;
  color: #9b1c1c;
}

.contact-site-form {
  display: grid;
  gap: 20px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-field {
  display: grid;
  gap: 8px;
}

.contact-field.full {
  grid-column: 1 / -1;
}

.contact-field label {
  font-family: 'Albert Sans', Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #111;
}

.contact-optional {
  color: #666;
  font-weight: 500;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid #d9d9d9;
  background: #fff;
  border-radius: 10px;
  padding: 13px 14px;
  font: inherit;
  box-sizing: border-box;
}

.contact-field textarea {
  min-height: 220px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(17,17,17,0.08);
}

.contact-form-actions {
  display: flex;
  align-items: center;
}

.contact-captcha-question {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  margin-bottom: 10px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: #f7f7f7;
  font-weight: 600;
}

.contact-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 768px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    padding: 28px 20px;
  }

  .contact-form-intro h3 {
    font-size: 22px;
  }
}
