/*
Theme Name: Icehouse Candles LLC Theme
Theme URI: https://icehousecandlesllc.store
Author: ICEHOUSE CANDLES LLC
Author URI: https://icehousecandlesllc.store
Description: Modern home decor and candle retail theme fully compliant with Meta Business Manager verification standards.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: icehouse-candles-llc
Tags: e-commerce, business, one-column, custom-logo, custom-menu, responsive-layout
*/

/* ---------- Base ---------- */
:root {
  --ic-cream: #faf6f0;
  --ic-ink: #23201c;
  --ic-muted: #6d665c;
  --ic-amber: #b5762c;
  --ic-amber-dark: #8c5a1e;
  --ic-line: #e6ded2;
  --ic-white: #ffffff;
  --ic-radius: 10px;
  --ic-shadow: 0 8px 28px rgba(35, 32, 28, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ic-ink);
  background: var(--ic-cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.25;
  color: var(--ic-ink);
  margin: 0 0 0.6em;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.3rem; }

a { color: var(--ic-amber-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.ic-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.ic-btn {
  display: inline-block;
  padding: 13px 28px;
  background: var(--ic-amber);
  color: var(--ic-white);
  border: 0;
  border-radius: var(--ic-radius);
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.ic-btn:hover { background: var(--ic-amber-dark); color: #fff; text-decoration: none; }
.ic-btn--ghost { background: transparent; color: var(--ic-ink); border: 1px solid var(--ic-ink); }
.ic-btn--ghost:hover { background: var(--ic-ink); color: #fff; }

/* ---------- Top bar ---------- */
.ic-topbar {
  background: var(--ic-ink);
  color: #efe7db;
  font-size: 0.85rem;
}
.ic-topbar .ic-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  align-items: center;
  padding-top: 9px;
  padding-bottom: 9px;
}
.ic-topbar a { color: #efe7db; }

/* ---------- Header ---------- */
.ic-header {
  background: var(--ic-white);
  border-bottom: 1px solid var(--ic-line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.ic-header .ic-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.ic-brand {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--ic-ink);
  text-transform: uppercase;
}
.ic-brand small {
  display: block;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 2px;
  font-weight: 400;
  color: var(--ic-muted);
  text-transform: uppercase;
}
.ic-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 0;
  padding: 0;
}
.ic-nav a {
  color: var(--ic-ink);
  font-size: 0.93rem;
  font-weight: 600;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
.ic-nav a:hover,
.ic-nav .current-menu-item > a {
  border-bottom-color: var(--ic-amber);
  text-decoration: none;
}
.ic-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ic-line);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 1rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.ic-hero {
  background: linear-gradient(180deg, #fbf3e7 0%, var(--ic-cream) 100%);
  padding: 80px 0;
  text-align: center;
}
.ic-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 850px; margin-inline: auto; }
.ic-hero p { color: var(--ic-muted); max-width: 680px; margin: 0 auto 28px; font-size: 1.05rem; }
.ic-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.ic-section { padding: 70px 0; }
.ic-section--alt { background: var(--ic-white); }
.ic-section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.ic-section-head p { color: var(--ic-muted); margin: 0; }
.ic-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ic-amber-dark);
  margin-bottom: 10px;
}

/* ---------- About ---------- */
.ic-about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}
.ic-facts {
  background: var(--ic-white);
  border: 1px solid var(--ic-line);
  border-radius: var(--ic-radius);
  padding: 26px;
  box-shadow: var(--ic-shadow);
}
.ic-facts dl { margin: 0; }
.ic-facts dt { font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ic-muted); }
.ic-facts dd { margin: 2px 0 16px; font-weight: 600; }

/* ---------- Product grid ---------- */
.ic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}
.ic-card {
  background: var(--ic-white);
  border: 1px solid var(--ic-line);
  border-radius: var(--ic-radius);
  overflow: hidden;
  box-shadow: var(--ic-shadow);
  transition: transform 0.2s ease;
}
.ic-card:hover { transform: translateY(-4px); }
.ic-card-media {
  height: 180px;
  background: linear-gradient(135deg, #e9d9c1, #f6ece0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: 2rem;
  color: var(--ic-amber-dark);
}
.ic-card-body { padding: 20px; }
.ic-card-body h3 { margin-bottom: 6px; }
.ic-card-body p { color: var(--ic-muted); margin: 0 0 12px; font-size: 0.94rem; }
.ic-price { font-weight: 700; color: var(--ic-amber-dark); }

/* ---------- Contact / forms ---------- */
.ic-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
}
.ic-form {
  background: var(--ic-white);
  border: 1px solid var(--ic-line);
  border-radius: var(--ic-radius);
  padding: 28px;
  box-shadow: var(--ic-shadow);
}
.ic-field { margin-bottom: 18px; }
.ic-field label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ic-muted);
  margin-bottom: 6px;
}
.ic-field input,
.ic-field textarea,
.ic-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ic-line);
  border-radius: 8px;
  font: inherit;
  background: #fffdfa;
  color: var(--ic-ink);
}
.ic-field input:focus,
.ic-field textarea:focus {
  outline: 2px solid var(--ic-amber);
  outline-offset: 1px;
}
.ic-field textarea { min-height: 140px; resize: vertical; }
.ic-contact-list { list-style: none; padding: 0; margin: 0; }
.ic-contact-list li { margin-bottom: 18px; }
.ic-contact-list span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ic-muted);
}

/* ---------- Content / posts ---------- */
.ic-content { max-width: 820px; margin: 0 auto; }
.ic-content ul, .ic-content ol { padding-left: 22px; }
.ic-entry {
  background: var(--ic-white);
  border: 1px solid var(--ic-line);
  border-radius: var(--ic-radius);
  padding: 28px;
  margin-bottom: 26px;
}
.ic-meta { font-size: 0.85rem; color: var(--ic-muted); margin-bottom: 12px; }
.ic-pagination { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 20px; }
.ic-pagination .page-numbers {
  padding: 8px 14px;
  border: 1px solid var(--ic-line);
  border-radius: 8px;
  background: var(--ic-white);
}
.ic-pagination .current { background: var(--ic-amber); color: #fff; border-color: var(--ic-amber); }

/* ---------- Footer ---------- */
.ic-footer {
  background: var(--ic-ink);
  color: #d8d0c4;
  padding: 58px 0 0;
  font-size: 0.93rem;
}
.ic-footer h4 {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.ic-footer a { color: #e8ddcb; }
.ic-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 34px;
  padding-bottom: 36px;
}
.ic-footer ul { list-style: none; padding: 0; margin: 0; }
.ic-footer li { margin-bottom: 9px; }
.ic-legal-list dt { font-size: 0.72rem; letter-spacing: 1.4px; text-transform: uppercase; color: #9d9384; }
.ic-legal-list dd { margin: 2px 0 14px; color: #fff; }
.ic-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 0.85rem;
}
.ic-footer-bottom ul { display: flex; flex-wrap: wrap; gap: 18px; }
.ic-footer-bottom li { margin: 0; }

/* ---------- Accessibility ---------- */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  top: 10px; left: 10px;
  width: auto; height: auto;
  clip: auto;
  background: #fff;
  padding: 10px 16px;
  z-index: 999;
}

/* ---------- WordPress core alignment ---------- */
.alignleft { float: left; margin: 0 20px 20px 0; }
.alignright { float: right; margin: 0 0 20px 20px; }
.aligncenter { margin: 0 auto 20px; }
.wp-caption-text { font-size: 0.85rem; color: var(--ic-muted); }
.sticky, .gallery-caption, .bypostauthor { display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .ic-about-grid,
  .ic-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 782px) {
  .ic-menu-toggle { display: block; }
  .ic-nav {
    flex-basis: 100%;
    display: none;
  }
  .ic-nav.is-open { display: block; }
  .ic-nav ul { flex-direction: column; gap: 12px; padding: 12px 0; }
  .ic-hero { padding: 56px 0; }
  .ic-section { padding: 48px 0; }
  .ic-topbar .ic-container { justify-content: center; text-align: center; }
}

/* ---------- Notices ---------- */
.ic-notice {
  padding: 12px 16px;
  border-radius: 8px;
  margin: 0 0 18px;
  font-size: 0.93rem;
}
.ic-notice--success { background: #e9f5ec; border: 1px solid #b9dfc4; color: #1f5c33; }
.ic-notice--error { background: #fdecec; border: 1px solid #f0bcbc; color: #8c2020; }

/* ---------- Widgets & comments ---------- */
.ic-footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  padding-bottom: 32px;
}
.comment-list { list-style: none; padding: 0; }
.comment-list ol { list-style: none; padding-left: 24px; }
.comment-body { border-bottom: 1px solid var(--ic-line); padding: 16px 0; }
