/* layouts/rd-customer-layout.css */

body.shop-body {
  background: var(--rd-bg-page);
  font-family: var(--rd-font);
  color: var(--rd-text-primary);
  min-height: 100vh;
}

.products-section {
  max-width: var(--rd-max-width);
  margin: 0 auto;
  padding: var(--rd-section-pad) var(--rd-container-pad);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  color: var(--rd-text-primary);
  letter-spacing: -0.3px;
  font-family: var(--rd-font);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--rd-card-gap);
}

@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 360px) {
  .products-grid { grid-template-columns: 1fr; }
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--rd-radius-sm);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--rd-font);
  text-decoration: none;
  transition: var(--rd-transition);
  border: 1px solid var(--rd-border);
  color: var(--rd-text-secondary);
  background: var(--rd-bg-card);
}

.pagination a:hover {
  border-color: var(--rd-primary-border);
  color: var(--rd-primary);
  background: var(--rd-primary-light);
}

.pagination .active {
  background: var(--rd-primary);
  border-color: var(--rd-primary);
  color: #fff;
  font-weight: 600;
}

.pagination .dots {
  border: none;
  background: transparent;
  color: var(--rd-text-muted);
  cursor: default;
}

.why-section {
  background: var(--rd-bg-surface);
  border-top: 1px solid var(--rd-border);
  border-bottom: 1px solid var(--rd-border);
  padding: clamp(48px, 7vw, 80px) var(--rd-container-pad);
}

.why-inner {
  max-width: var(--rd-max-width);
  margin: 0 auto;
}

.why-head {
  text-align: center;
  margin-bottom: 48px;
}

.why-badge {
  display: inline-block;
  background: var(--rd-primary-light);
  border: 1px solid var(--rd-primary-border);
  color: var(--rd-primary);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 5px 14px;
  border-radius: var(--rd-radius-full);
  margin-bottom: 16px;
}

.why-head h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--rd-text-primary);
  letter-spacing: -0.6px;
  margin: 0 0 10px;
  font-family: var(--rd-font);
}

.why-head p {
  font-size: 15px;
  color: var(--rd-text-muted);
  margin: 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--rd-bg-card);
  border: 1px solid var(--rd-border);
  border-radius: var(--rd-radius-lg);
  padding: 28px 24px;
  transition: var(--rd-transition);
}

.why-card:hover {
  border-color: var(--rd-primary-border);
  transform: translateY(-3px);
}

.why-icon {
  width: 48px;
  height: 48px;
  background: var(--rd-primary-light);
  border: 1px solid var(--rd-primary-border);
  border-radius: var(--rd-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
  color: var(--rd-primary);
}

.why-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--rd-text-primary);
  margin: 0 0 8px;
  font-family: var(--rd-font);
}

.why-card p {
  font-size: 13px;
  color: var(--rd-text-muted);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
}

.stats-section {
  padding: clamp(36px, 5vw, 56px) var(--rd-container-pad);
  background: var(--rd-bg-page);
}

.stats-inner {
  max-width: var(--rd-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 20px 48px;
  flex: 1;
  min-width: 140px;
}

.stat-number {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--rd-primary);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
  font-family: var(--rd-font);
}

.stat-label {
  font-size: 13px;
  color: var(--rd-text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--rd-border);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .stat-divider { display: none; }
  .stat-item { padding: 16px 24px; }
}

.cta-section {
  background: linear-gradient(135deg, #fff8f3 0%, #fff1e6 100%);
  border-top: 1px solid var(--rd-border);
  border-bottom: 1px solid var(--rd-border);
  padding: clamp(48px, 7vw, 80px) var(--rd-container-pad);
}

.cta-inner {
  max-width: var(--rd-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 700;
  color: var(--rd-text-primary);
  letter-spacing: -0.5px;
  margin: 0 0 8px;
  font-family: var(--rd-font);
}

.cta-text p {
  font-size: 14px;
  color: var(--rd-text-muted);
  margin: 0;
  max-width: 480px;
}

.cta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.cta-btn-primary {
  background: var(--rd-primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--rd-radius-md);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--rd-transition);
  font-family: var(--rd-font);
  white-space: nowrap;
}

.cta-btn-primary:hover {
  background: var(--rd-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(249,115,22,0.25);
}

.cta-btn-ghost {
  background: transparent;
  color: var(--rd-text-secondary);
  padding: 12px 24px;
  border-radius: var(--rd-radius-md);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--rd-border);
  transition: var(--rd-transition);
  font-family: var(--rd-font);
  white-space: nowrap;
}

.cta-btn-ghost:hover {
  border-color: var(--rd-primary-border);
  color: var(--rd-primary);
}

@media (max-width: 768px) {
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-btns { width: 100%; }
  .cta-btn-primary, .cta-btn-ghost { flex: 1; text-align: center; }
}

.site-footer {
  background: #f1f3f5;
  border-top: 1px solid var(--rd-border);
  font-family: var(--rd-font);
  margin-top: 0;
}

.footer-inner {
  max-width: var(--rd-max-width);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) var(--rd-container-pad) clamp(32px, 4vw, 48px);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-brand { display: flex; flex-direction: column; gap: 16px; }

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer-logo-wrap img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--rd-text-primary);
  letter-spacing: -0.4px;
}

.footer-brand-name em {
  color: var(--rd-primary);
  font-style: normal;
}

.footer-brand-desc {
  font-size: 13px;
  color: var(--rd-text-muted);
  line-height: 1.7;
  margin: 0;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
  position: static;
  transform: none;
  top: auto;
  right: auto;
  flex-direction: row;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  transition: var(--rd-transition);
  text-decoration: none;
}

.footer-social a:hover { transform: translateY(-3px); }

.footer-social .fs-whatsapp  { background: #25D366; }
.footer-social .fs-facebook  { background: #1877F2; }
.footer-social .fs-instagram { background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af); }
.footer-social .fs-tiktok    { background: #111; border: 1px solid rgba(0,0,0,0.15); }

.footer-col { display: flex; flex-direction: column; gap: 14px; }

.footer-col-title {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--rd-text-secondary);
  margin: 0;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links li a {
  font-size: 13.5px;
  color: var(--rd-text-muted);
  text-decoration: none;
  transition: var(--rd-transition);
}

.footer-links li a:hover { color: var(--rd-primary); }

.footer-bottom-bar {
  border-top: 1px solid var(--rd-border);
  padding: 18px var(--rd-container-pad);
  text-align: center;
}

.footer-bottom-bar p {
  font-size: 13px;
  color: var(--rd-text-muted);
  margin: 0;
}

.footer-bottom-bar strong { color: var(--rd-primary); }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .floating-social { right: 8px; gap: 8px; }
  .floating-social .icon { width: 36px !important; height: 36px !important; font-size: 14px !important; }
}