/* GUGU.SG — pixel layout from 1920px PSD (content width 1728px, padding 96px) */

:root {
  --gugu-green: #3d7121;
  --gugu-green-dark: #2f5a20;
  --gugu-gray-bg: #dddddd;
  --gugu-gray-light: #f4f4f4;
  --gugu-gray-border: #e5e5e5;
  --gugu-gray-text: #888888;
  --gugu-text: #333333;
  --gugu-btn-muted: #d9d9d9;
  --gugu-design-width: 1920px;
  --gugu-content-max: 1728px;
  --gugu-pad-x: 96px;
  --gugu-listing-img: 196px;
  --gugu-dealer-img-h: 232px;
  --gugu-map-w: 248px;
  --gugu-map-h: 210px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: var(--gugu-text);
  background: #fff;
  margin: 0;
}

/* Centered design canvas */
.gugu-container {
  width: 100%;
  max-width: var(--gugu-content-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 5vw, var(--gugu-pad-x));
  padding-right: clamp(16px, 5vw, var(--gugu-pad-x));
}

.gugu-divider {
  margin: 16px 0;
  border: 0;
  border-top: 1px solid var(--gugu-gray-border);
}

/* Site header */
.gugu-site-header {
  background: #fff;
  z-index: 1030;
}

/* Top utility bar — full width, 32px */
.gugu-topbar {
  width: 100%;
  background: var(--gugu-green);
  color: #fff;
  font-size: 12px;
}

.gugu-topbar a {
  color: #fff;
  text-decoration: none;
}

.gugu-topbar a:hover {
  text-decoration: underline;
}

.gugu-topbar .gugu-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 32px;
  padding-top: 6px;
  padding-bottom: 6px;
  line-height: 1.3;
}

.gugu-topbar-text {
  flex: 1;
  min-width: 0;
}

.gugu-topbar-links {
  flex-shrink: 0;
  white-space: nowrap;
}

/* Main header bar — logo | nav | search on one row */
.gugu-header-bar {
  border-bottom: 1px solid var(--gugu-gray-border);
  background: #fff;
}

.gugu-header-inner {
  display: flex;
  align-items: center;
  min-height: 88px;
  gap: 20px;
  position: relative;
}

.gugu-brand {
  flex-shrink: 0;
  line-height: 0;
}

.gugu-logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.gugu-nav-toggle {
  margin-left: auto;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
}

/* Desktop: menu always visible, horizontal */
.gugu-header-menu {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
}

.gugu-nav {
  display: flex;
  align-items: center;
  justify-content: end;
  flex: 1;
  flex-wrap: nowrap;
  gap: 4px;
  min-width: 0;
}

.gugu-nav .nav-link {
  color: #222;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 12px;
  text-decoration: none;
  white-space: nowrap;
}

.gugu-nav .nav-link:hover {
  color: var(--gugu-green);
}

.gugu-search-wrap {
  flex-shrink: 0;
}

.gugu-search {
  width: 350px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #cccccc;
  padding: 0 16px 0 40px;
  font-size: 14px;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242 1.156a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/%3E%3C/svg%3E")
    no-repeat 14px center;
}

/* Large screens: force menu visible (Bootstrap collapse hidden by default) */
@media (min-width: 992px) {
  .gugu-header-menu {
    display: flex !important;
    height: auto !important;
    visibility: visible !important;
  }

  .gugu-nav-toggle {
    display: none !important;
  }
}

/* Mobile: stacked menu */
@media (max-width: 991.98px) {
  .gugu-header-inner {
    flex-wrap: wrap;
    min-height: 64px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .gugu-header-menu {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding-top: 12px;
    gap: 12px;
  }

  .gugu-header-menu:not(.show) {
    display: none;
  }

  .gugu-nav {
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .gugu-search {
    width: 100%;
    max-width: none;
  }

  .gugu-topbar .gugu-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* Hero */
.gugu-hero-title {
  color: var(--gugu-green);
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  max-width: 920px;
  margin: 40px 0 15px;
  line-height: 1.35;
}

/* Feature boxes — 4 × equal */
.gugu-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
  border: none;
}

@media (max-width: 991.98px) {
  .gugu-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .gugu-features {
    grid-template-columns: 1fr;
  }
}

.gugu-feature-box {
  border: 1px solid var(--gugu-gray-border);
  border-radius: 8px;
  padding: 28px 20px 24px;
  text-align: center;
  background: #fff;
  min-height: 220px;
}

.gugu-feature-box:last-child {
  border-right: none;
}

.gugu-feature-box img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin: 0 auto 16px;
  display: block;
}

.gugu-feature-box h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #222;
}

.gugu-feature-box p {
  font-size: 12px;
  color: var(--gugu-gray-text);
  padding: 0 25px;
  margin: 0;
  line-height: 1.5;
}

/* Section header row */
.gugu-section-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.gugu-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.gugu-section-title::before {
  content: "";
  width: 5px;
  height: 22px;
  background: var(--gugu-green);
  flex-shrink: 0;
}

.gugu-section-title h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: #222;
}

.gugu-breadcrumb {
  font-size: 13px;
  color: var(--gugu-gray-text);
}

.gugu-breadcrumb a {
  color: var(--gugu-gray-text);
  text-decoration: none;
}

.gugu-sort select {
  font-size: 13px;
  height: 32px;
  min-width: 220px;
  border: none;
  background: transparent;
  border-radius: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 16px;
}

.gugu-sort {
  position: relative;
}

.gugu-sort::after {
  content: "▼";
  font-size: 10px;
  color: #999;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.gugu-sort select:focus {
  border-color: transparent !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.gugu-sort select:focus-visible {
  outline: 0 !important;
  border-color: transparent !important;
}

/* Filter bar */
.gugu-filter-bar {
  background: var(--gugu-gray-bg);
  border: none;
  border-radius: 6px 6px 0 0;
  padding: 14px 16px;
  margin-bottom: 0;
}

.gugu-filter-bar .form-select {
  font-size: 13px;
  height: 36px;
  border: 1px solid #ccc;
  border-radius: 75px;
  background-color: #fff;
}
.form-select-sm {
  border-radius: 75px;
}

.gugu-btn-green {
  background: var(--gugu-green);
  border: none;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 10px 24px;
  border-radius: 75px;
  white-space: nowrap;
}

.gugu-btn-green:hover {
  background: var(--gugu-green-dark);
  color: #fff;
}

.gugu-social-link {
  color: var(--gugu-gray-text);
  text-decoration: none;
  font-size: 12px;
  margin-left: 4px;
}

.gugu-social-link:hover {
  color: var(--gugu-green);
  text-decoration: underline;
}

.gugu-listing-desc i {
  color: var(--gugu-gray-text);
  font-size: 14px;
  width: 20px;
}

/* Listing cards */
.gugu-listing-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 24px;
  padding: 24px 12px;
  background: #f8f8f8;
  border: 1px solid #cfdcc7;
  border-left: 0;
  border-right: 0;
  align-items: start;
}

.gugu-listing-card:nth-child(odd) {
  background: #fff;
}

.gugu-listing-card:nth-child(even) {
  background: #f8f8f8;
}

.gugu-listing-card--dealer {
  grid-template-columns: var(--gugu-listing-img) 1.7fr 1.5fr;
}

@media (max-width: 991.98px) {
  .gugu-listing-card,
  .gugu-listing-card--dealer {
    grid-template-columns: 120px 1fr;
  }
  .gugu-listing-card--dealer .gugu-listing-map {
    grid-column: 1 / -1;
  }
}

.gugu-listing-media {
  width: 156px;
}

.gugu-listing-media img {
  width: 156px;
  height: 156px;
  object-fit: cover;

  border: 1px solid #b7caa8;
  border-radius: 16px 16px 0 0;
  display: block;
}

.gugu-btn-view {
  width: 156px;
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--gugu-green);
  color: #fff;

  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;

  border-radius: 0 0 16px 16px;
  text-decoration: none;
}

.gugu-btn-view:hover {
  background: var(--gugu-green-dark);
  color: #fff;
}

.gugu-listing-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gugu-listing-body .d-flex {
  align-items: flex-start;
  margin-bottom: 16px;
}

.gugu-listing-body h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.gugu-listing-body h3 a {
  color: #333;
  text-decoration: none;
}

.gugu-listing-date {
  white-space: nowrap;
  font-size: 13px;
  color: #9b9b9b;
}

.gugu-listing-desc {
  margin: 0 0 16px;

  font-size: 11px;
  line-height: 1.35;
  color: #777;

  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gugu-listing-meta-line {
  margin: 0 0 24px;

  font-size: 11px;
  color: #6f6f6f;
  line-height: 1.4;
}

.gugu-listing-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gugu-listing-card .price {
  font-size: 15px;
  font-weight: 700;
  color: var(--gugu-green);
  line-height: 1;
}
.gugu-listing-date {
  font-size: 12px;
  color: var(--gugu-gray-text);
  text-align: right;
}

.gugu-listing-seller {
  font-size: 11px;
  color: #777;
}

.gugu-link-green {
  color: var(--gugu-green);
  font-weight: 700;
  text-decoration: none;
}

.gugu-link-green:hover {
  color: var(--gugu-green-dark);
  text-decoration: underline;
}

.gugu-section-cta {
  text-align: center;
  margin: 20px 0 48px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.gugu-listing-map img {
  width: 525px;
  height: var(--gugu-map-h);
  object-fit: cover;
  border: 1px solid var(--gugu-gray-border);
  display: block;
}

.gugu-dealer-claim {
  font-size: 12px;
  color: var(--gugu-gray-text);
}

.gugu-dealer-info p {
  font-size: 11px;
  margin: 0 0 10px;

  line-height: 1.45;
}

.gugu-social img {
  height: 28px;
  width: auto;
  max-width: 100%;
  margin: 8px 0 12px;
}

.gugu-dealer-location {
  font-size: 12px;
  text-align: right;
  margin-top: 8px;
}

/* Footer */
.gugu-footer {
  background: var(--gugu-gray-light);
  border-top: 1px solid var(--gugu-gray-border);
  padding: 16px 0;
  font-size: 12px;
  color: var(--gugu-gray-text);
  margin-top: 0;
}

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

.gugu-footer-green {
  background: var(--gugu-green);
  color: #fff;
  min-height: 140px;
  padding: 16px 0;
  font-size: 12px;
}

.gugu-footer-green a {
  color: #fff;
  text-decoration: none;
}

/* Login */
.gugu-login-divider {
  border-right: 1px solid var(--gugu-gray-border);
}

@media (max-width: 991.98px) {
  .gugu-login-divider {
    border-right: none;
    border-bottom: 1px solid var(--gugu-gray-border);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
  }
}

.gugu-form-label-col {
  min-width: 120px;
  font-weight: 500;
  font-size: 14px;
}

.gugu-input-rounded {
  border-radius: 8px;
  background: #f5f5f5;
  border: 1px solid #dddddd;
  height: 40px;
  font-size: 14px;
}

.gugu-btn-muted {
  background: var(--gugu-btn-muted);
  border: none;
  color: #333;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 8px;
}

.gugu-register-choice {
  max-width: 480px;
  margin: 80px auto;
  text-align: center;
  padding: 0 16px;
}

.gugu-register-choice h1 {
  font-size: 16px;
  font-weight: 700;
}

.gugu-register-choice p {
  font-size: 13px;
  color: var(--gugu-gray-text);
}

.gugu-register-choice .btn {
  width: 100%;
  max-width: 360px;
  margin-bottom: 12px;
}

/* Dashboard */
.gugu-dashboard-wrap {
  padding: 32px 0 48px;
}

.gugu-dashboard-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 991.98px) {
  .gugu-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

.gugu-dashboard-sidebar {
  border: 1px solid var(--gugu-gray-border);
  border-radius: 8px;
  padding: 24px 20px;
  background: #fff;
}

.gugu-dashboard-sidebar h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.gugu-dashboard-nav .nav-link {
  color: #333;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  text-decoration: none;
}

.gugu-dashboard-nav .nav-link img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.gugu-dashboard-nav .nav-link:hover,
.gugu-dashboard-nav .nav-link.active {
  color: var(--gugu-green);
  font-weight: 700;
}

.gugu-dashboard-main {
  border: 1px solid var(--gugu-gray-border);
  border-radius: 8px;
  padding: 28px 32px;
  background: #fff;
}

.gugu-dashboard-main h1 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
}

.gugu-valid-check {
  color: #28a745;
}

.gugu-valid-x {
  color: #dc3545;
  font-size: 13px;
}

.gugu-upload-zone {
  border: 2px dashed #cccccc;
  border-radius: 8px;
  padding: 32px 20px;
  text-align: center;
  background: #fafafa;
}

.gugu-upload-zone img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

.gugu-thumb-slot {
  aspect-ratio: 1;
  background: #eeeeee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #888;
  border: 1px solid var(--gugu-gray-border);
}

/* Product detail */
.gugu-product-gallery img {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  background: #f8f8f8;
  border: 2px solid #3d7121;
  border-radius: 10px;
}

.gugu-product-gallery .main-img {
  border-radius: 45px;
}

.gugu-product-gallery .thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gugu-product-gallery .thumb {
  width: 110px;
  height: 110px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
}

.gugu-product-gallery .thumb.active,
.gugu-product-gallery .thumb:hover {
  border-color: var(--gugu-green);
}

.gugu-specs dt {
  font-weight: 700;
  font-size: 14px;
}

.gugu-specs dd {
  font-size: 14px;
  color: var(--gugu-gray-text);
  margin-bottom: 8px;
}

/* Pagination */
.gugu-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  font-size: 14px;
}

.pagination .page-item.active .page-link {
  background: var(--gugu-green);
  color: #fff;
  border-color: var(--gugu-green);
}

.pagination .page-link {
  color: var(--gugu-green);
  font-size: 14px;
  min-width: 36px;
  text-align: center;
}

/* Filter bar grid */
.gugu-filter-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.gugu-filter-grid .form-select {
  flex: 1 1 120px;
  max-width: 160px;
}

.gugu-filter-grid .gugu-btn-green {
  margin-left: auto;
}

.gugu-dealer-search {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 50%;
  max-width: 50%;
}

.gugu-dealer-search .form-select {
  width: 180px;
  flex-shrink: 0;
}

.gugu-dealer-search .form-control {
  flex: 1;
  height: 36px;
  border-radius: 75px;
  padding-right: 40px;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242 1.156a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/%3E%3C/svg%3E")
    no-repeat calc(100% - 12px) center;
}
