/*
Theme Name: Inverted Chastity Child
Theme URI: https://inverted-chastity.com/
Description: Review-site child theme for inverted-chastity.com. Parent: Blocksy 2.1.56.
Author: Inverted Chastity
Template: blocksy
Version: 1.0.0
Text Domain: inverted-chastity-child
*/

:root {
  --ic-navy: #243c5a;
  --ic-navy-dark: #172b43;
  --ic-ink: #20242b;
  --ic-muted: #657080;
  --ic-line: #dfe4ea;
  --ic-soft: #f5f6f8;
  --ic-white: #ffffff;
  --ic-radius: 14px;
  --theme-palette-color-1: #243c5a;
  --theme-palette-color-2: #172b43;
  --theme-text-color: #20242b;
  --theme-link-initial-color: #243c5a;
  --theme-link-hover-color: #172b43;
}

body {
  color: var(--ic-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

.home .hero-section,
body.page:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .hero-section {
  display: none;
}

.ct-container,
.ic-shell {
  width: min(100% - 40px, 1240px);
  margin-inline: auto;
}

.ic-announcement {
  background: var(--ic-navy-dark);
  color: var(--ic-white);
  padding: 9px 20px;
  text-align: center;
  font-size: 14px;
  letter-spacing: .01em;
}

.ic-hero {
  background: linear-gradient(135deg, #eef2f6, #ffffff 62%);
  border: 1px solid var(--ic-line);
  border-radius: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 44px;
  align-items: center;
  margin: 36px auto 70px;
  overflow: hidden;
  padding: clamp(34px, 6vw, 76px);
}

.ic-hero > * {
  min-width: 0;
  max-width: 100%;
}

.ic-eyebrow {
  color: var(--ic-navy);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ic-hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: -.045em;
  line-height: .98;
  margin: 14px 0 24px;
  max-width: 820px;
}

.ic-hero p {
  color: var(--ic-muted);
  font-size: clamp(18px, 2vw, 21px);
  max-width: 710px;
}

.ic-hero-art {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 50% 34%, #ffffff 0 16%, transparent 16.5%),
    radial-gradient(circle at 50% 50%, transparent 0 24%, #b9c6d4 24.5% 27%, transparent 27.5%),
    linear-gradient(160deg, #d9e2eb, #aebdcb);
  border-radius: 38% 38% 18px 18px;
  box-shadow: inset 0 0 0 1px rgba(36, 60, 90, .14), 0 20px 55px rgba(36, 60, 90, .14);
  min-height: 340px;
  position: relative;
}

.ic-hero-art::after {
  background: var(--ic-white);
  border-radius: 999px;
  bottom: 12%;
  box-shadow: 0 8px 30px rgba(36, 60, 90, .15);
  color: var(--ic-navy);
  content: "Compare details, not promises";
  font-size: 13px;
  font-weight: 700;
  left: 10%;
  padding: 12px 18px;
  position: absolute;
}

.woocommerce-product-gallery .ct-media-container img { object-fit: contain; aspect-ratio: 1 / 1 !important; background: #fff; }
.ic-hero-product { margin: 0; width: 100%; }
.ic-hero-product img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 16px; }

.ic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ic-button,
.wp-element-button,
button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button {
  align-items: center;
  background: var(--ic-navy);
  border: 1px solid var(--ic-navy);
  border-radius: 8px;
  color: var(--ic-white);
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  text-decoration: none;
}

.ic-button--secondary {
  background: transparent;
  color: var(--ic-navy);
}

.ic-section {
  margin: 76px auto;
}

.ic-section--soft {
  background: var(--ic-soft);
  border-radius: 18px;
  padding: clamp(28px, 5vw, 58px);
}

.ic-section-heading {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 28px;
}

.ic-section h2 {
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: 0;
}

.ic-grid {
  display: grid;
  gap: 20px;
}

.ic-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ic-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.ic-card,
.ic-guide-card,
.ic-product-card {
  background: var(--ic-white);
  border: 1px solid var(--ic-line);
  border-radius: var(--ic-radius);
  color: var(--ic-ink);
  overflow: hidden;
  padding: 24px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.ic-card:hover,
.ic-guide-card:hover,
.ic-product-card:hover {
  box-shadow: 0 14px 35px rgba(25, 43, 63, .1);
  transform: translateY(-2px);
}

.ic-card h3,
.ic-guide-card h3,
.ic-product-card h3 { margin: 0 0 10px; }

.ic-product-placeholder {
  align-items: center;
  aspect-ratio: 1 / 1;
  background: linear-gradient(145deg, #eef2f6, #dbe3eb);
  border-radius: 10px;
  color: var(--ic-navy);
  display: flex;
  font-size: 12px;
  font-weight: 800;
  justify-content: center;
  letter-spacing: .08em;
  margin-bottom: 18px;
  text-align: center;
}

.ic-featured-product-image {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  width: 100%;
  border-radius: 10px;
  background: #ffffff;
  margin-bottom: 18px;
}

.ic-review-note {
  background: #fff8dc;
  border: 1px solid #ead48b;
  border-radius: 8px;
  color: #624f12;
  margin: 20px 0;
  padding: 12px 16px;
}

.ic-faq details {
  border-top: 1px solid var(--ic-line);
  padding: 16px 0;
}

.ic-faq summary {
  cursor: pointer;
  font-weight: 750;
}

.ic-site-footer {
  background: var(--ic-navy-dark);
  color: #dce5ee;
  margin-top: 80px;
  padding: 58px 0 30px;
}

.ic-footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
}

.ic-site-footer h2,
.ic-site-footer h3 { color: var(--ic-white); }
.ic-site-footer h2 { font-size: 22px; }
.ic-site-footer h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.ic-site-footer ul { list-style: none; margin: 0; padding: 0; }
.ic-site-footer li { margin: 7px 0; }
.ic-site-footer a { color: #dce5ee; text-decoration: none; }
.ic-footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 36px; padding-top: 20px; font-size: 14px; }

.single-product .product .summary,
.single-product .woocommerce-product-gallery { margin-bottom: 44px; }
.woocommerce div.product .product_title { letter-spacing: -.025em; }
.woocommerce-product-details__short-description { color: var(--ic-muted); }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { margin-top: 0; }
.woocommerce table.shop_attributes,
.woocommerce table.shop_table { border-color: var(--ic-line); }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { margin: 0 !important; width: auto !important; }
.woocommerce ul.products .ct-media-container img {
  aspect-ratio: 1 / 1 !important;
  object-fit: contain;
  background: var(--ic-white);
}

@media (max-width: 999px) {
  .ic-hero { grid-template-columns: 1fr; }
  .ic-hero-art { aspect-ratio: 16 / 8; min-height: 250px; }
  .ic-grid--4,
  .ic-footer-grid,
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 689px) {
  .ct-container,
  .ic-shell { width: min(100% - 32px, 1240px); }
  .ic-hero { border-radius: 14px; gap: 28px; margin-top: 20px; padding: 30px 22px; }
  .ic-hero h1 { font-size: 42px; }
  .ic-grid--3 { grid-template-columns: 1fr; }
  .ic-card,
  .ic-guide-card,
  .ic-product-card { padding: 16px; }
  .ic-footer-grid { grid-template-columns: 1fr; }
  .ic-site-footer details { border-top: 1px solid rgba(255,255,255,.14); padding-top: 10px; }
  .ic-site-footer summary { color: var(--ic-white); cursor: pointer; font-weight: 700; }
  .woocommerce table.shop_attributes { display: block; overflow-x: auto; }
}
