/*
Theme Name: Guineeshopping
Theme URI: https://guineeshopping.com
Author: Guineeshopping
Author URI: https://guineeshopping.com
Description: Mobile-first multivendor ecommerce theme with vendor upload flow and payment integration.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: guineeshopping
Tags: ecommerce, responsive, mobile-first, marketplace
*/

:root {
  --bg: #f5f1e8;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --surface-accent: #fff0dc;
  --text: #1e1f24;
  --muted: #64616f;
  --line: rgba(30, 31, 36, 0.08);
  --brand: #f07c24;
  --brand-deep: #ca5f12;
  --brand-soft: #ffe1c6;
  --accent: #113c5d;
  --success: #1c8b63;
  --shadow-base: 0 18px 40px rgba(17, 60, 93, 0.08);
  --shadow-soft: 0 10px 24px rgba(17, 60, 93, 0.06);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1200px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(240, 124, 36, 0.16), transparent 30%),
    radial-gradient(circle at top right, rgba(17, 60, 93, 0.12), transparent 30%),
    linear-gradient(180deg, #fff7ee 0%, var(--bg) 55%, #f6f3ed 100%);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-wrap {
  min-height: 100vh;
}

.site-header,
.site-footer,
.section-block,
.hero-grid,
.trust-strip,
.seller-cta {
  width: var(--container);
  margin: 0 auto;
}

.promo-strip {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.promo-strip p,
.promo-links {
  margin: 0;
}

.promo-links {
  display: flex;
  gap: 18px;
  font-weight: 700;
}

.promo-links a:hover,
.nav-menu a:hover,
.categories-menu a:hover,
.section-link:hover,
.text-link:hover,
.product-vendor a:hover,
.vendor-meta a:hover {
  color: var(--brand-deep);
}

.site-header {
  padding-bottom: 20px;
}

.header-top {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 24px;
  background: rgba(255, 253, 248, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-base);
  backdrop-filter: blur(14px);
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), #ffb14f);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow: 0 14px 24px rgba(240, 124, 36, 0.26);
}

.brand-name,
.hero-copy h1,
.hero-panel h2,
.section-heading h2,
.seller-cta h2,
.insight-panel h2,
.vendor-card h3,
.product-card h3,
.mini-product-card h3,
.service-card h3,
.category-card strong,
.vendor-info h1 {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.03em;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 700;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.search-input {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0 14px;
  color: var(--text);
}

.search-input:focus {
  outline: none;
}

.search-btn,
.button,
.product-loop-button,
.mobile-menu-toggle {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.search-btn,
.button-primary,
.product-loop-button {
  background: linear-gradient(135deg, var(--brand), #ffab46);
  color: #fff;
  box-shadow: 0 14px 28px rgba(240, 124, 36, 0.28);
}

.search-btn {
  padding: 12px 18px;
  font-weight: 700;
}

.button,
.product-loop-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  font-weight: 700;
}

.button-secondary,
.mobile-menu-toggle {
  background: rgba(17, 60, 93, 0.08);
  color: var(--accent);
}

.button-small {
  padding: 10px 16px;
  font-size: 0.9rem;
}

.button:hover,
.product-loop-button:hover,
.search-btn:hover,
.mobile-menu-toggle:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.product-loop-button:focus-visible,
.search-btn:focus-visible,
.search-input:focus-visible,
.mobile-menu-toggle:focus-visible,
.header-link:focus-visible,
.nav-menu a:focus-visible,
.categories-btn:focus-visible,
.categories-menu a:focus-visible,
.text-link:focus-visible {
  outline: 3px solid rgba(17, 60, 93, 0.25);
  outline-offset: 3px;
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--accent);
}

.header-count {
  min-width: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  text-align: center;
}

.mobile-menu-toggle {
  display: none;
  padding: 11px 16px;
  font-weight: 700;
}

.site-nav {
  margin-top: 16px;
  padding: 0 20px;
}

.mobile-menu {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
}

.categories-dropdown {
  position: relative;
}

.categories-btn {
  border: 0;
  background: rgba(17, 60, 93, 0.08);
  color: var(--accent);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
}

.categories-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 250px;
  padding: 10px;
  display: grid;
  gap: 6px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-base);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 10;
}

.categories-menu a {
  padding: 10px 12px;
  border-radius: 12px;
}

.categories-dropdown:hover .categories-menu,
.categories-dropdown:focus-within .categories-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
  font-weight: 700;
  color: var(--accent);
}

.marketplace-shell {
  padding-bottom: 72px;
}

.hero-section {
  padding: 16px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
}

.hero-copy,
.hero-panel,
.category-card,
.product-card,
.vendor-card,
.service-card,
.insight-panel,
.mini-product-list,
.seller-cta,
.vendor-store-header {
  background: rgba(255, 253, 248, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-base);
  backdrop-filter: blur(12px);
}

.hero-copy,
.hero-panel {
  padding: 34px;
  border-radius: 32px;
}

.hero-copy h1,
.hero-panel h2,
.section-heading h2,
.seller-cta h2,
.insight-panel h2,
.vendor-store-header h1 {
  margin: 0;
  line-height: 1.05;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  margin-top: 16px;
}

.hero-copy p,
.hero-panel p,
.section-heading p,
.category-card p,
.product-body p,
.vendor-card p,
.service-card p,
.seller-cta p,
.vendor-info p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 30px;
}

.stats-grid,
.hero-checklist,
.panel-metrics,
.trust-strip,
.service-grid,
.vendor-grid,
.category-grid,
.product-grid,
.compact-grid,
.mini-product-list {
  display: grid;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat-card,
.check-card,
.panel-metrics > div,
.mini-product-card {
  padding: 18px;
  border-radius: 18px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.stat-card span,
.check-card strong,
.panel-metrics span,
.category-count,
.eyebrow,
.chip,
.countdown-pill,
.product-vendor,
.vendor-meta,
.footer-note {
  font-size: 0.84rem;
}

.stat-card span,
.panel-metrics span,
.category-count,
.eyebrow,
.product-vendor,
.footer-note,
.vendor-meta span {
  color: var(--muted);
}

.stat-card strong,
.panel-metrics strong,
.price-row strong,
.product-footer strong,
.mini-product-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.1rem;
}

.hero-panel-head,
.vendor-card-top,
.product-footer,
.vendor-meta,
.section-heading,
.seller-cta,
.vendor-store-summary,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.chip,
.countdown-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.chip-contrast,
.countdown-pill {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.panel-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(17, 60, 93, 0.1);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-checklist {
  gap: 14px;
  margin-top: 24px;
}

.check-card p,
.service-card p,
.vendor-card p,
.product-body p,
.mini-product-card p,
.vendor-info p {
  margin: 8px 0 0;
}

.panel-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.section-block {
  margin-top: 28px;
}

.trust-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.trust-strip article,
.service-card,
.category-card,
.vendor-card {
  padding: 22px;
  border-radius: 24px;
}

.trust-strip article {
  background: rgba(17, 60, 93, 0.95);
  color: #fff;
  box-shadow: 0 18px 32px rgba(17, 60, 93, 0.18);
}

.trust-strip p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2,
.seller-cta h2,
.insight-panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.section-link,
.text-link,
.vendor-meta a {
  font-weight: 800;
  color: var(--accent);
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.category-card strong,
.vendor-card h3,
.service-card h3,
.product-card h3,
.mini-product-card h3,
.vendor-info h1 {
  font-size: 1.2rem;
}

.category-card strong,
.service-card h3,
.product-card h3,
.mini-product-card h3,
.vendor-card h3 {
  display: block;
  margin-top: 8px;
}

.accent-block {
  padding: 26px;
  border-radius: 34px;
  background: linear-gradient(135deg, #d8681b, #eb8d2e 55%, #f2a04d 100%);
  color: #fff;
  box-shadow: 0 24px 48px rgba(240, 124, 36, 0.24);
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.compact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  border-radius: 24px;
  overflow: hidden;
}

.spotlight-card {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.spotlight-card .product-body,
.spotlight-card .product-vendor,
.spotlight-card h3 a,
.spotlight-card .price-row strong {
  color: #fff;
}

.spotlight-card .product-body p,
.spotlight-card .product-vendor a {
  color: rgba(255, 255, 255, 0.78);
}

.product-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(17, 60, 93, 0.02), rgba(17, 60, 93, 0.08));
}

.product-media img,
.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.product-card:hover .product-media img,
.products .product:hover .product-image-wrapper img {
  transform: scale(1.04);
}

.sale-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(17, 60, 93, 0.88);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
}

.product-body {
  padding: 18px;
}

.product-body h3,
.mini-product-card h3 {
  margin: 8px 0 0;
}

.product-body h3 a,
.mini-product-card h3 a,
.category-card,
.vendor-card,
.product-card {
  color: var(--text);
}

.product-footer {
  margin-top: 16px;
}

.vendor-grid,
.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.vendor-avatar,
.vendor-avatar img,
.vendor-avatar-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 18px;
}

.vendor-avatar {
  overflow: hidden;
  background: linear-gradient(135deg, rgba(240, 124, 36, 0.16), rgba(17, 60, 93, 0.08));
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vendor-avatar-placeholder {
  font-weight: 800;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vendor-meta {
  margin-top: 18px;
}

.split-block {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.insight-panel,
.mini-product-list,
.seller-cta,
.vendor-store-header {
  padding: 28px;
  border-radius: 28px;
}

.mini-product-list {
  gap: 14px;
}

.mini-product-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.seller-cta {
  margin-top: 28px;
  background: linear-gradient(135deg, #113c5d, #1b628f);
  color: #fff;
}

.seller-cta p {
  color: rgba(255, 255, 255, 0.78);
}

.seller-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer {
  margin-top: 32px;
  padding: 0 0 40px;
  justify-content: center;
}

.footer-content {
  width: 100%;
  padding: 22px 28px;
  border-radius: 24px;
  background: rgba(17, 60, 93, 0.95);
  color: #fff;
  text-align: center;
  box-shadow: 0 18px 36px rgba(17, 60, 93, 0.2);
}

.footer-content p {
  margin: 0;
}

.footer-note {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.68);
}

.content-area,
.woocommerce-container,
.vendor-store-summary {
  width: var(--container);
  margin: 0 auto;
}

.woocommerce-container {
  padding-bottom: 48px;
}

.vendor-store-summary {
  display: flex;
  align-items: center;
  gap: 18px;
}

.vendor-store-header {
  margin: 18px auto 24px;
}

.vendor-rating {
  margin-top: 12px;
  color: var(--accent);
}

.product-image-wrapper {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f3efe8;
}

.products .product,
.woocommerce ul.products li.product {
  background: rgba(255, 253, 248, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  padding-bottom: 18px;
}

.products .product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  padding: 16px 18px 0;
}

.products .product .price,
.woocommerce ul.products li.product .price,
.products .product .button,
.woocommerce ul.products li.product .button,
.product-excerpt,
.product-vendor {
  margin-left: 18px;
  margin-right: 18px;
}

.product-excerpt,
.product-vendor {
  color: var(--muted);
}

.products .product .button,
.woocommerce ul.products li.product .button {
  margin-top: 14px;
}

@media (max-width: 1080px) {
  .header-top {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .split-block,
  .category-grid,
  .product-grid,
  .compact-grid,
  .vendor-grid,
  .service-grid,
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seller-cta,
  .section-heading,
  .promo-strip,
  .header-actions,
  .vendor-store-summary {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 20px, 100vw - 20px);
  }

  .promo-links,
  .nav-menu {
    flex-wrap: wrap;
  }

  .site-nav {
    padding: 0;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .mobile-menu {
    display: none;
    align-items: flex-start;
  }

  .mobile-menu.active {
    display: grid;
  }

  .hero-copy,
  .hero-panel,
  .insight-panel,
  .mini-product-list,
  .seller-cta,
  .vendor-store-header,
  .accent-block {
    padding: 22px;
  }

  .hero-grid,
  .category-grid,
  .product-grid,
  .compact-grid,
  .vendor-grid,
  .service-grid,
  .split-block,
  .trust-strip,
  .stats-grid,
  .panel-metrics {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: flex-start;
  }

  .hero-copy h1 {
    font-size: 2.5rem;
  }

  .header-actions {
    width: 100%;
  }

  .header-link,
  .mobile-menu-toggle,
  .search-btn,
  .button,
  .product-loop-button {
    width: 100%;
  }

  .search-bar,
  .header-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .vendor-card-top,
  .mini-product-card,
  .seller-cta-actions {
    align-items: flex-start;
  }
}