* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #e9eef3;
  color: #172033;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px;
}

a {
  color: #0f766e;
}

.nav-wrap {
  max-width: 1100px;
  margin: 22px auto 0;
  padding: 0 28px;
}

.site-nav {
  background: radial-gradient(circle at 20% 20%, rgba(15,118,110,0.04), transparent 120px),
    radial-gradient(circle at 80% 80%, rgba(122,79,42,0.04), transparent 120px),
    #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  border-top: 4px solid #ea580c;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #172033;
  flex-shrink: 0;
}

.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #e6f4f1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.brand-title {
  display: block;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  color: #0f3f2e;
}

.brand-tagline {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  color: #ea580c;
  font-weight: bold;
  text-align: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  text-decoration: none;
  color: #334155;
  font-weight: 800;
  font-size: 15px;
}

.nav-links a:hover {
  color: #0f766e;
}

.nav-cta {
  background: #0f766e;
  color: white !important;
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.22);
}

.nav-cta:hover {
  background: #115e59;
}

@media (max-width: 820px) {
  .site-nav {
    display: block;
  }

  .brand {
    justify-content: center;
    margin-bottom: 16px;
  }

  .nav-links {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .nav-wrap {
    padding: 0 16px;
  }

  .brand-title {
    font-size: 24px;
  }

  .brand-tagline {
    font-size: 13px;
  }

  .nav-links {
    gap: 12px;
  }
}

.hero {
  margin-top: 32px;
  min-height: 520px;

  background-image: url('../assets/hero.png');
  background-size: cover;
  background-position: center center;

  border-radius: 26px;
  overflow: hidden;
  position: relative;

  display: flex;
  align-items: center;
}

.hero-overlay {
  width: 100%;
  max-width: 650px;

  padding: 72px 72px 72px 40px;

  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.92) 0%,
    rgba(255,255,255,0.82) 75%,
    rgba(255,255,255,0) 100%
  );
}

.eyebrow {
  margin: 0 0 10px;
  color: #ea580c !important;
  font-weight: bold !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 24px !important;
}
.hero h1 {
  margin: 0 0 14px;
  font-size: 46px;
  line-height: 1.1;
  color: #0f3f2e;
}

.hero p {
  max-width: 520px;
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.6;
  font-weight: bold;
  color: #172033;
}

.search-box {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.search-box input {
  width: 190px;
  padding: 14px;
  font-size: 18px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
}

.search-box button,
.form-card button,
.button-link {
  display: inline-block;
  padding: 12px 18px;
  background: #0f766e;
  color: white;
  text-decoration: none;
  border: 0;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
}

.search-box button:hover,
.form-card button:hover,
.button-link:hover {
  background: #115e59;
}

.button-link {
  margin-right: 8px;
}

.button-link.secondary {
  background: #e6f4f1;
  color: #0f766e;
}

.card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.dashboard-card {
  background: #FAFFFA;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.card h1,
.card h2 {
  margin-top: 0;
}

.shop-grid,
.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.shop-card,
.item-card {
  display: block;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.shop-card:hover,
.item-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.shop-image {
  height: 150px;
  background: #e2e8f0;
}

.item-image {
  height: 170px;
  background: #e2e8f0;
}

.shop-image img,
.item-image img,
.shop-header-image img,
.item-detail-image img,
.current-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-weight: bold;
}

.shop-info,
.item-info {
  padding: 16px;
  border-bottom: 4px solid #ea580c;
}

.shop-info h2,
.item-info h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.shop-info p,
.steps p,
.small-note {
  color: #64748b;
}

.price {
  font-weight: bold;
  color: #0f766e;
  margin: 0;
}

.price.big {
  font-size: 28px;
}

.form-card {
  max-width: 560px;
  margin: 30px auto;
}

.form-card form {
  display: grid;
  gap: 12px;
}

.form-card label {
  font-weight: bold;
}

.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  padding: 13px;
  font-size: 16px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
}

.form-card input:focus,
.form-card textarea:focus,
.form-card select:focus,
.search-box input:focus {
  outline: 2px solid #99f6e4;
  border-color: #0f766e;
}

.error {
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.success {
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.shop-header {
    position: relative;
    overflow: hidden;

    min-height: 220px;

    display: flex;
    align-items: center;
    gap: 24px;

    background-image: url('../assets/postcode-banner.png');
    background-size: cover;
    background-position: center;

    padding: 24px;
}


.shop-header::before {
    display: none;
}

.shop-header-image {
  width: 240px;
  height: 180px;
  background: #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}

.shop-header-content h1,
.shop-header-content p,
.shop-header-content strong {
    background: rgba(255,255,255,0.90);
    padding: 6px 12px;
    border-radius: 8px;

    display: table;
}

.item-list {
  display: grid;
  gap: 12px;
}

.manage-item-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.item-detail {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
}

.item-detail-image {
  height: 290px;
  background: #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
}

.current-image {
  width: 100%;
  height: 220px;
  background: #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 18px;
}

hr {
  border: 0;
  border-top: 1px solid #e2e8f0;
  margin: 22px 0;
}

.how-it-works {
  margin-top: 26px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.steps div {
  background: #f8fbfd;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px;
}

.steps strong {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #0f766e;
  color: white;
  margin-bottom: 10px;
}

.steps h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.site-footer {
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 24px;
  text-align: center;
  color: #64748b;
  font-size: 14px;
}

.site-footer a {
  color: #0f766e;
}
.brand-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
}


@media (max-width: 820px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: 40px;
  }
}

@media (max-width: 720px) {
  .item-detail {
    grid-template-columns: 1fr;
  }

  .item-detail-image {
    height: 240px;
  }
}

@media (max-width: 620px) {
  .site-nav {
    display: block;
    text-align: center;
  }

  .nav-links {
    justify-content: center;
    margin-top: 12px;
    flex-wrap: wrap;
  }

  .shop-header {
    display: block;
  }

  .shop-header-image {
    width: 100%;
    height: 180px;
    margin-bottom: 16px;
  }
}

@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .search-box {
    flex-direction: column;
  }

  .search-box input {
    width: 100%;
  }

  .hero {
    padding: 38px 24px;
  }
}

@media (max-width: 768px) {

  .hero {
    min-height: 420px;
  }

  .hero-overlay {
    max-width: 100%;
    padding: 30px;
    background: rgba(255,255,255,0.88);
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 18px;
  }
}

.privacy-card {
    border-left: 5px solid #0f766e;
}

.privacy-card h2 {
    margin-top: 0;
    color: #0f766e;
}

.privacy-card p:last-child {
    margin-bottom: 0;
}

.how-it-works-image {
    margin-top: 26px;
	margin-bottom: 26px;
}

.how-it-works-banner {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.privacy-layout {
  display: flex;
  gap: 24px;
  align-items: center;
}

.privacy-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  flex-shrink: 0;
}

@media (max-width: 620px) {
  .privacy-layout {
    display: block;
    text-align: center;
  }

  .privacy-icon {
    margin-bottom: 16px;
  }
}
.enquiry-message {
    display: block;
    line-height: 0.5;
}

.enquiry-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.enquiry-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.enquiry-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.08em;
}

.buyer-message {
  margin-top: 6px;
  line-height: 1.6;
  color: #334155;
}

@media (max-width: 700px) {
  .enquiry-row {
    grid-template-columns: 1fr;
  }
}

.faq-item h2 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #0f3f2e;
}

.faq-item p {
  margin-bottom: 0;
  line-height: 1.7;
  color: #334155;
}

.enquiry-remove {
    display: inline-block;
    width: auto;
}

.enquiry-remove {
    justify-self: start;
}

.password-wrap {
    position: relative;
}

.password-wrap input {
    padding-right: 50px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    line-height: 1;
}

.password-toggle:hover {
    opacity: 0.7;
}
.password-wrap {
  position: relative;
  width: 100%;
}

.password-wrap input {
  width: 100%;
  padding-right: 48px;
}

.form-card .password-toggle {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);

  width: auto;
  padding: 0;
  margin: 0;

  background: transparent;
  color: #334155;
  border: 0;
  box-shadow: none;
  border-radius: 0;

  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.form-card .password-toggle:hover {
  background: transparent;
  opacity: 0.7;
}

.postcode-badge {
    display: inline-block;
    background: #e6f4f1;
    color: #0f766e;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 700;
    margin-bottom: 12px;
}

.postcode-banner {
  position: relative;
  padding: 0 !important;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: center;
  background: none;
}

.postcode-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../assets/postcode-banner.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.postcode-banner::after {
  display: none;
}

.postcode-banner h1,
.postcode-banner p,
.postcode-banner strong {
    background: rgba(255,255,255,0.90);
    padding: 6px 12px;
    border-radius: 8px;

    display: table;
}

.postcode-banner-overlay {
  position: relative;
  z-index: 2;
  padding: 32px;
}

.why-garage-shop {
    margin: 32px 0;
    text-align: center;
}

.why-garage-shop h2 {
    margin-bottom: 24px;
    color: #0f3f2e;
    font-size: 32px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.why-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    transition: transform 0.15s ease;
}

.why-card:hover {
    transform: translateY(-3px);
}

.why-icon {
    font-size: 42px;
    margin-bottom: 12px;
}

.why-card h3 {
    margin: 0 0 10px;
    color: #0f766e;
}

.why-card p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

@media (max-width: 820px) {
    .why-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}


.enquiry-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.enquiry-item-image {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  background: #e2e8f0;
  flex-shrink: 0;
}

.enquiry-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.enquiry-item-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.enquiry-price {
  color: #0f766e;
  font-weight: bold;
}

.enquiry-date {
  color: #64748b;
}

.enquiry-edit {
    margin-top: 4px;
    width: auto;
}

.manage-item-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.manage-item-image {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  background: #e2e8f0;
  flex-shrink: 0;
}

.manage-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.manage-item-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.danger-card {
    border-left: 5px solid #dc2626;
}

.danger-card h1,
.danger-card h2,
.danger-card h3 {
    color: #dc2626;
}

.danger-button {
    background: #dc2626 !important;
    color: #fff !important;
}

.danger-button:hover {
    background: #b91c1c !important;
}

.required {
    color: #dc2626;
    font-weight: 700;
}

.small-note {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 0.9rem;
}

.item-detail-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.item-detail-image {
  cursor: zoom-in;
}

.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.image-modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
}

#itemImage {
    cursor: zoom-in;
}

.item-detail-image img {
    cursor: zoom-in;
    transition: opacity 0.2s ease;
}

.item-detail-image img:hover {
    opacity: 0.9;
}

.item-date {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 0.85rem;
}

.clock-icon {
  width: 170px;
  height: 170px;
}

.cta-card {
    text-align: center;
}

.cta-card h2 {
    margin-bottom: 12px;
    color: #ea580c;
}

.cta-card p {
    max-width: 700px;
    margin: 0 auto 20px;
}

.listing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 30px;
}

.listing-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
  border-bottom: 2px solid #e2e8f0;
}

.listing-tabs a {
  display: inline-block;
  padding: 10px 18px;
  text-decoration: none;
  font-weight: 700;
  color: #334155;
  background: #f1f5f9;
  border-radius: 8px 8px 0 0;
}

.listing-tabs a:hover {
  background: #e2e8f0;
}

.listing-tabs a.active {
  color: #ffffff;
  background: #1e3a5f;
}

.shop-listing-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 24px;
}

.shop-listing-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 8px;
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #e2e8f0;
}

.shop-listing-tabs a:hover {
  background: #e2e8f0;
}

.shop-listing-tabs a.active {
  background: #16a34a;
  color: #ffffff;
}

.shop-listing-tabs a span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  font-size: 13px;
}

.shop-listing-tabs a:not(.active) span {
  background: #ffffff;
}

.shop-section-heading {
  margin: 0 0 18px;
}

.verified-image-wrap {
  position: relative;
}

.verified-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #16a34a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

@media (max-width: 700px) {

  /* Keep verification badges over profile images */
  .shop-image,
  .shop-header-image,
  .verified-image-wrap {
    position: relative !important;
  }

  .verified-badge {
    position: absolute !important;
    right: 8px !important;
    bottom: 8px !important;
    z-index: 10 !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: auto !important;
    margin: 0 !important;
    padding: 7px 10px !important;

    border-radius: 999px;
    background: #16a34a !important;
    color: #ffffff !important;

    font-size: 11px !important;
    font-weight: 800;
    line-height: 1;
    text-align: center;
  }

  /* Keep For Sale, Free and Wanted as buttons */
  .shop-listing-tabs {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 6px;
    margin: 24px 0 20px;
  }

  .shop-listing-tabs a {
    display: inline-flex !important;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    gap: 5px;

    width: auto !important;
    margin: 0 !important;
    padding: 10px 6px !important;

    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: #475569;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
  }

  .shop-listing-tabs a.active {
    background: #16a34a !important;
    border-color: #16a34a !important;
    color: #ffffff !important;
  }

  .shop-listing-tabs a span {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    min-width: 21px;
    height: 21px;
    padding: 0 5px;

    border-radius: 999px;
    font-size: 11px;
  }

  .shop-listing-tabs a.active span {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
  }

  .shop-listing-tabs a:not(.active) span {
    background: #dcfce7;
    color: #166534;
  }
}

.verification-history-details {
    line-height: 1.6;
    margin-top: 4px;
    font-size: 14px;
}

.verification-history-details strong {
    font-weight: 600;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.stat-card {
  text-align: center;
}

.stat-label {
  display: block;
  margin-bottom: 8px;
  color: #475569;
  font-weight: 700;
}

.stat-number {
  display: block;
  font-size: 34px;
  line-height: 1;
  color: #0f766e;
}

.admin-stat-table {
  display: grid;
  gap: 0;
}

.admin-stat-table > div {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
}

.admin-stat-table > div:last-child {
  border-bottom: 0;
}

@media (max-width: 700px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-stat-table > div {
    grid-template-columns: 1.5fr 1fr 1fr;
    font-size: 13px;
  }
}

.prohibited-listings-note {
  margin: 18px 0;
}

.prohibited-listings-note h2 {
  margin-top: 0;
  font-size: 20px;
}

.prohibited-listings-note ul {
  margin-bottom: 10px;
}
