/*
Theme Name: Advertise Me Mobile Applications
Theme URI: https://advertiseme.mobi
Author: Digital Solutions Partner
Author URI: https://advertiseme.com.au
Description: CloudBuilder generated WordPress theme from Premium Product Catalogue. Styles pages, posts, forms, CTAs, WooCommerce products and categories, and navigation/footer pages.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: advertise-me-mobile-applications
*/

/* CloudBuilder selected direction: Premium Product Catalogue */
:root {
  --cb-brand: #d64a1d;
  --cb-brand-dark: #991b1f;
  --cb-accent: #0d6772;
  --cb-ink: #151515;
  --cb-muted: #665f58;
  --cb-paper: #fbf8f1;
  --cb-surface: #ffffff;
  --cb-line: #e7dbcf;
  --cb-hero: #171412;
  --cb-radius: 8px;
  --cb-shadow: 0 18px 52px rgba(21, 21, 21, .12);
  --cb-wide: min(1180px, calc(100% - 36px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cb-paper);
  color: var(--cb-ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.58;
  letter-spacing: 0;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.cb-site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.cb-wrap { width: var(--cb-wide); margin: 0 auto; }
.cb-site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 250, 244, .96);
  border-bottom: 1px solid var(--cb-line);
  backdrop-filter: blur(10px);
}
.admin-bar .cb-site-header { top: 32px; }
.cb-header-inner { width: var(--cb-wide); margin: 0 auto; min-height: 76px; display: flex; align-items: center; gap: 28px; }
.cb-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; text-decoration: none; }
.cb-brand img { max-height: 54px; width: auto; }
.cb-brand-mark { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--cb-brand); color: #fff; font-weight: 900; }
.cb-nav { margin-left: auto; }
.cb-menu, .cb-footer-menu { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; list-style: none; }
.cb-menu a, .cb-footer-menu a { text-decoration: none; color: var(--cb-muted); font-weight: 800; font-size: .92rem; }
.cb-menu a:hover, .cb-footer-menu a:hover { color: var(--cb-brand); }
.cb-hero {
  background: linear-gradient(135deg, var(--cb-hero), #2a2321 58%, var(--cb-brand-dark));
  color: #fff;
  padding: clamp(52px, 8vw, 112px) 0;
}
.cb-hero-grid { width: var(--cb-wide); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 34px; align-items: end; }
.cb-kicker { color: #ffd5cf; text-transform: uppercase; font-size: .78rem; font-weight: 900; letter-spacing: .14em; margin: 0 0 12px; }
.cb-hero h1, .cb-entry-header h1, .cb-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 6vw, 5.9rem);
  line-height: .94;
  letter-spacing: 0;
}
.cb-hero p { max-width: 760px; color: #f4e8dc; font-size: clamp(1.05rem, 2vw, 1.34rem); }
.cb-hero-card { background: #fff; color: var(--cb-ink); border-radius: var(--cb-radius); padding: 24px; box-shadow: var(--cb-shadow); }
.cb-hero-card strong { display: block; font-size: 1.2rem; margin-bottom: 8px; }
.cb-hero-actions, .cb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.cb-button, .wp-block-button__link, button, input[type="submit"], .button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: var(--cb-brand);
  color: #fff;
  padding: .82rem 1.05rem;
  font-weight: 900;
  text-decoration: none;
  line-height: 1.1;
}
.cb-button.secondary, .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--cb-ink); border: 1px solid var(--cb-line); }
.cb-main { flex: 1; }
.cb-section, .cb-content-area { padding: clamp(38px, 6vw, 84px) 0; }
.cb-section-head { width: var(--cb-wide); margin: 0 auto 24px; display: flex; justify-content: space-between; align-items: end; gap: 18px; }
.cb-grid { width: var(--cb-wide); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cb-card, .cb-entry, .cb-content-panel, .woocommerce ul.products li.product, .woocommerce div.product, .woocommerce-cart-form, .woocommerce-checkout, .comment-respond {
  background: var(--cb-surface);
  border: 1px solid var(--cb-line);
  border-radius: var(--cb-radius);
  padding: clamp(18px, 3vw, 28px);
  box-shadow: 0 8px 28px rgba(21, 21, 21, .06);
}
.cb-card h3, .cb-entry h2, .cb-entry h3 { margin-top: 0; font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.08; }
.cb-card p, .cb-entry-summary, .cb-muted { color: var(--cb-muted); }
.cb-entry-header { width: var(--cb-wide); margin: 0 auto; padding: clamp(42px, 7vw, 88px) 0 26px; }
.cb-entry-header p { max-width: 760px; color: var(--cb-muted); font-size: 1.12rem; }
.cb-content-panel { width: var(--cb-wide); margin: 0 auto; }
.cb-content-panel > *:first-child { margin-top: 0; }
.cb-content-panel h2, .cb-content-panel h3 { line-height: 1.1; margin-top: 1.8em; }
.cb-content-panel blockquote { border-left: 5px solid var(--cb-brand); margin-left: 0; padding: 1rem 1.25rem; background: var(--cb-paper); }
.cb-post-grid { width: var(--cb-wide); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.cb-entry-meta { color: var(--cb-muted); font-size: .9rem; font-weight: 800; }
.cb-site-footer { margin-top: auto; background: var(--cb-hero); color: #fff; padding: 42px 0; }
.cb-footer-grid { width: var(--cb-wide); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.cb-site-footer p, .cb-site-footer a { color: #e8ddd2; }
.cb-footer-menu { display: grid; gap: 8px; }
.wp-block-columns, .wp-block-group, .wp-block-cover, .wp-block-media-text { margin-bottom: 1.5rem; }
.wp-block-button, .wp-block-buttons { margin-top: 1.1rem; }
.wp-block-query .wp-block-post { border: 1px solid var(--cb-line); border-radius: var(--cb-radius); padding: 18px; background: #fff; }
form, .wpcf7 form, .wpforms-form, .gform_wrapper form, .nf-form-cont, .frm_forms form, .mc4wp-form, .woocommerce form {
  display: grid;
  gap: 14px;
}
label, .wpforms-field-label, .gfield_label, .nf-field-label label { font-weight: 900; color: var(--cb-ink); }
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="search"], input[type="password"], input[type="number"], textarea, select {
  width: 100%;
  border: 1px solid var(--cb-line);
  border-radius: 6px;
  background: #fff;
  color: var(--cb-ink);
  padding: .82rem .9rem;
  font: inherit;
}
textarea { min-height: 150px; }
input:focus, textarea:focus, select:focus { outline: 3px solid color-mix(in srgb, var(--cb-brand) 24%, transparent); border-color: var(--cb-brand); }
.wpcf7-response-output, .wpforms-confirmation-container, .gform_confirmation_message { border-radius: var(--cb-radius); padding: 14px 16px; background: var(--cb-paper); border: 1px solid var(--cb-line); }
.woocommerce .woocommerce-breadcrumb { width: var(--cb-wide); margin: 24px auto; color: var(--cb-muted); }
.woocommerce ul.products { width: var(--cb-wide); margin-left: auto; margin-right: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; text-align: left; }
.woocommerce ul.products li.product img { border-radius: 6px; aspect-ratio: 4 / 3; object-fit: cover; background: var(--cb-paper); }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--cb-brand); font-weight: 900; }
.woocommerce div.product { width: var(--cb-wide); margin: 42px auto; display: grid; grid-template-columns: minmax(280px, .95fr) minmax(0, 1.05fr); gap: 28px; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; }
.woocommerce-tabs, .related.products, .upsells.products { width: var(--cb-wide); margin-left: auto; margin-right: auto; }
.woocommerce table.shop_table { border: 1px solid var(--cb-line); border-radius: var(--cb-radius); overflow: hidden; background: #fff; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--cb-brand); background: #fff; border-radius: var(--cb-radius); }
.cb-checklist { width: var(--cb-wide); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.cb-checklist span { background: #fff; border: 1px solid var(--cb-line); border-radius: var(--cb-radius); padding: 14px; color: var(--cb-muted); }
@media (max-width: 900px) {
  .admin-bar .cb-site-header { top: 0; }
  .cb-header-inner, .cb-hero-grid, .cb-footer-grid, .woocommerce div.product { grid-template-columns: 1fr; display: grid; }
  .cb-header-inner { gap: 14px; padding: 14px 0; }
  .cb-nav { margin-left: 0; }
  .cb-grid { grid-template-columns: 1fr; }
  .cb-section-head { display: block; }
}
@media (max-width: 600px) {
  .cb-menu { gap: 10px; }
  .cb-menu a { font-size: .84rem; }
  .cb-hero h1, .cb-entry-header h1 { font-size: 2.45rem; }
}