/*
Theme Name: Favourite Care
Theme URI: https://favouritecare.in/
Author: Favourite Care
Author URI: https://favouritecare.in/
Description: Custom WordPress theme for Favourite Care hygiene products.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: favouritecare
*/

@import url("design/styles.css");

.main-nav-list,
.site-header .nav .menu {
  display: contents;
}

.site-header .nav li {
  list-style: none;
}

.site-header .nav a[aria-current="page"],
.site-header .nav a.active {
  color: var(--deep-purple);
}

.site-header .nav a[aria-current="page"]::after,
.site-header .nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--soft-pink);
  border-radius: 2px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-hero {
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at 12% 20%, rgba(201, 107, 168, 0.16), transparent 28%),
    linear-gradient(135deg, var(--lavender-mist), #fff);
  border-bottom: 1px solid var(--lilac-border);
}

.page-hero .crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--slate);
  font-size: 13px;
  margin-bottom: 22px;
}

.page-hero h1 {
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.98;
  max-width: 840px;
}

.page-hero p {
  max-width: 680px;
  margin-top: 18px;
  color: var(--slate);
  font-size: 18px;
}

.entry-content {
  padding: 72px 0 8px;
}

.entry-content > * {
  width: min(calc(100% - 48px), 980px);
  margin-left: auto;
  margin-right: auto;
}

.entry-content > .alignwide,
.alignwide {
  width: min(calc(100% - 48px), 1240px);
}

.entry-content h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  margin-bottom: 18px;
}

.entry-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.entry-content p,
.entry-content li {
  color: var(--slate);
  font-size: 16px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
  gap: 56px;
  align-items: start;
  margin-bottom: 56px;
}

.button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  white-space: nowrap;
  background: var(--deep-purple);
  color: #fff;
}

.button:hover,
.wp-block-button__link:hover {
  background: var(--royal-purple);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(57,51,107,0.25);
}

.button-secondary {
  background: #fff;
  color: var(--deep-purple);
  border: 1.5px solid var(--deep-purple);
}

.button-secondary:hover {
  color: var(--deep-purple);
  background: var(--lavender-mist);
}

.product-grid,
.card-grid {
  width: min(calc(100% - 48px), 1240px);
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--lilac-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s, border-color .25s;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 107, 168, 0.4);
}

.product-card > h3,
.product-card > p,
.product-card > ul,
.product-card > a {
  margin-left: 22px;
  margin-right: 22px;
}

.product-card > a {
  margin-bottom: 22px;
}

.product-visual,
.product-image {
  min-height: 220px;
  position: relative;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--lavender-mist), #fff);
}

.product-icon {
  width: 132px;
  min-height: 156px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--deep-purple), var(--care-violet));
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  text-align: center;
}

.info-card,
.notice,
.checkout-box,
.contact-box {
  background: #fff;
  border: 1px solid var(--lilac-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.info-card {
  padding: 28px;
}

.notice {
  padding: 20px 22px;
  color: var(--deep-purple);
  background: var(--lavender-mist);
  border-color: rgba(201, 107, 168, 0.28);
}

.checkout-box,
.contact-box {
  padding: 32px;
}

.checkout-box label,
.contact-box label {
  display: block;
  margin: 16px 0 7px;
  color: var(--deep-purple);
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.checkout-box input,
.checkout-box select,
.checkout-box textarea,
.contact-box input,
.contact-box textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--lilac-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: #fff;
  color: var(--charcoal);
  font: 15px/1.4 "Inter", sans-serif;
}

.checkout-box textarea,
.contact-box textarea {
  min-height: 120px;
  resize: vertical;
}

.checkout-box button,
.contact-box button {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 14px 24px;
  color: #fff;
  background: var(--deep-purple);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  cursor: pointer;
}

.checkout-box button:hover,
.contact-box button:hover {
  background: var(--royal-purple);
}

.product-page-visual {
  min-height: 320px;
}

.product-page-visual .product-image {
  height: 100%;
  min-height: 320px;
}

.privacy-list h2 {
  margin-top: 34px;
}

@media (max-width: 900px) {
  .header-cta .icon-btn {
    display: none;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-grid,
  .card-grid {
    grid-template-columns: 1fr;
    width: min(calc(100% - 32px), 1240px);
  }

  .entry-content > *,
  .entry-content > .alignwide,
  .alignwide {
    width: min(calc(100% - 32px), 1240px);
  }
}
