:root {
  --bg-body: #f4f3ef;
  --bg-surface: rgba(255, 255, 255, 0.82);
  --bg-surface-hover: rgba(255, 255, 255, 0.96);
  --bg-glass: rgba(255, 255, 255, 0.76);
  --bg-elevated: #ffffff;
  --text-main: #191714;
  --text-muted: #645f58;
  --text-soft: #817b74;
  --text-accent: #dc573d;
  --color-primary: #dc573d;
  --color-primary-hover: #b83a23;
  --color-secondary: #0e7a82;
  --border-color: rgba(25, 23, 20, 0.12);
  --shadow-sm: 0 18px 40px rgba(20, 26, 36, 0.08);
  --shadow-md: 0 28px 60px rgba(20, 26, 36, 0.1);
  --shadow-lg: 0 42px 80px rgba(20, 26, 36, 0.12);
  --shadow-glow: 0 22px 44px rgba(220, 87, 61, 0.18);
  --panel-padding: 32px;
}

html {
  background: var(--bg-body);
}

body {
  background:
    radial-gradient(circle at top left, rgba(220, 87, 61, 0.09), transparent 30%),
    radial-gradient(circle at top right, rgba(14, 122, 130, 0.08), transparent 24%),
    linear-gradient(180deg, #faf8f5 0%, #f4f3ef 40%, #f0efea 100%);
  color: var(--text-main);
  letter-spacing: 0;
}

a {
  color: inherit;
}

a:hover {
  color: var(--color-primary-hover);
}

img {
  border-radius: 8px;
}

.container {
  max-width: 1240px;
}

.layout-grid {
  gap: 32px;
  margin-top: 32px;
  margin-bottom: 72px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
}

.layout-grid > main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.site-header {
  background: rgba(244, 243, 239, 0.84);
  border-bottom: 1px solid rgba(25, 23, 20, 0.08);
  box-shadow: 0 10px 30px rgba(20, 26, 36, 0.04);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  font-size: 1.2rem;
  letter-spacing: 0;
  color: var(--text-main);
}

.site-nav .menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
  color: var(--text-main);
}

.pn-menu-toggle,
.pn-mobile-menu-panel,
.pn-mobile-menu-backdrop {
  border-radius: 8px;
}

.pn-mobile-menu-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

.product-card,
.pn-widget,
.single-product article,
.search-form-wrap,
.comment-respond,
.comments-area,
.page .entry-content,
.search .page-content,
.search .entry-summary {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.ps-front-slot {
  margin: 0;
}

.ps-section-shell {
  padding: 0;
}

.ps-results-board {
  padding: var(--panel-padding);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.ps-section-head,
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.ps-section-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  background: rgba(14, 122, 130, 0.08);
  color: var(--color-secondary);
  border: 1px solid rgba(14, 122, 130, 0.16);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.3rem;
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--text-main);
}

.ps-section-copy {
  max-width: 42rem;
  color: var(--text-muted);
}

.ps-section-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-main);
  font-size: 0.94rem;
  font-weight: 600;
}

.ps-section-link:hover {
  border-color: rgba(220, 87, 61, 0.3);
}

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

.product-card {
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(220, 87, 61, 0.2);
  box-shadow: var(--shadow-md);
}

.card-thumb {
  position: relative;
  background: linear-gradient(180deg, #faf6f0, #ece7df);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.card-thumb img,
.ps-hero-lane-media img,
.ps-hero-thumb-media img,
.ps-hero-active-media img,
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 18px;
}

.card-title {
  font-size: 1.02rem;
  line-height: 1.45;
  margin-bottom: 10px;
}

.card-meta,
.card-rating,
.card-rating span,
.ps-featured-rating-meta,
.pn-error-copy,
.pn-error-card-copy,
.copyright {
  color: var(--text-muted);
}

.card-price {
  color: var(--color-primary);
  font-weight: 700;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text-main);
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-new {
  background: rgba(220, 87, 61, 0.1);
  color: #b93d27;
  border-color: rgba(220, 87, 61, 0.18);
}

.badge-sale {
  background: rgba(14, 122, 130, 0.1);
  color: #0a5d63;
  border-color: rgba(14, 122, 130, 0.18);
}

.card-affiliate-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  min-height: 26px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(25, 23, 20, 0.8);
  color: #fff;
  font-size: 0.72rem;
}

.pn-button,
.btn,
button,
input[type="submit"] {
  border-radius: 8px;
}

.pn-button,
.btn,
.search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.pn-button,
.btn-primary,
.search-submit {
  background: linear-gradient(135deg, var(--color-primary), #f08d54);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.pn-button:hover,
.btn:hover,
.search-submit:hover {
  transform: translateY(-2px);
}

.pn-button-outline,
.btn-secondary,
.btn-sample {
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-main);
  border-color: var(--border-color);
  box-shadow: none;
}

.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.tab-btn.active,
.tab-btn[aria-current="page"] {
  background: var(--text-main);
  border-color: var(--text-main);
  color: #fff;
}

.single-product article {
  padding: 0;
  overflow: hidden;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 28px;
  padding: var(--panel-padding);
}

.hero-image {
  background: rgba(255, 255, 255, 0.92);
  padding: 14px;
  border: 1px solid rgba(25, 23, 20, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.hero-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-title {
  font-size: 2rem;
  line-height: 1.1;
  color: var(--text-main);
}

.ps-featured-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-meta-table {
  width: 100%;
  border-collapse: collapse;
}

.product-meta-table th,
.product-meta-table td {
  padding: 10px 0;
  border-bottom: 1px solid rgba(25, 23, 20, 0.08);
  text-align: left;
  vertical-align: top;
}

.product-meta-table th {
  width: 120px;
  color: var(--text-muted);
  font-weight: 600;
}

.price-area {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.ps-price-regular {
  color: var(--text-soft);
  text-decoration: line-through;
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.affiliate-disclosure {
  color: var(--text-soft);
  font-size: 0.86rem;
}

.ps-featured-content,
.entry-content {
  padding: 0 var(--panel-padding) var(--panel-padding);
}

.ps-featured-content > * + *,
.entry-content > * + * {
  margin-top: 1.2em;
}

.ps-front-widgets {
  display: grid;
  gap: 16px;
}

.pn-widget {
  padding: 20px;
}

.pn-widget-title,
.footer-title {
  font-size: 1rem;
  letter-spacing: 0;
  color: var(--text-main);
  margin-bottom: 14px;
}

.search-form-wrap {
  padding: 16px;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text-main);
}

.search-input:focus {
  outline: none;
}

.pn-new-arrivals-results > .card-grid,
.pn-new-arrivals-results .card-grid {
  margin-top: 0;
}

.nav-links,
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-main);
}

.page-numbers.current {
  background: var(--text-main);
  color: #fff;
  border-color: var(--text-main);
}

.site-footer {
  margin-top: auto;
  padding: 72px 0 32px;
  background:
    radial-gradient(circle at top left, rgba(220, 87, 61, 0.2), transparent 30%),
    radial-gradient(circle at top right, rgba(14, 122, 130, 0.2), transparent 28%),
    #111315;
  color: #f3efe7;
}

.site-footer .site-logo,
.site-footer .footer-title {
  color: #fff;
}

.footer-nav a,
.site-footer p,
.copyright {
  color: rgba(243, 239, 231, 0.72);
}

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

.before-footer,
.before-footer-full {
  margin-top: 32px;
}

.text-rose {
  color: var(--color-primary);
}

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

.pn-error-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

@media (max-width: 1024px) {
  .layout-grid {
    grid-template-columns: 1fr;
  }

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

  .card-grid,
  .pn-error-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --panel-padding: 22px;
  }

  .header-inner {
    min-height: 68px;
  }

  .site-nav {
    display: none;
  }

  .section-title,
  .hero-title {
    font-size: 1.8rem;
  }

  .ps-section-head,
  .section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .card-grid,
  .pn-error-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .action-buttons,
  .tab-nav,
  .nav-links,
  .pagination {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
