/* =========================================================
   STONECASA - NOVA GRADE DE PRODUTOS / CATEGORY
   ========================================================= */

.stone-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 28px;
  margin-top: 28px;
  margin-bottom: 35px;
}

.stone-product-item {
  min-width: 0;
}

.stone-product-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e7e7e7;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.28s ease;
}

.stone-product-card:hover {
  border-color: #cfcfcf;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.09);
  transform: translateY(-4px);
}

.stone-product-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.82;
  background: #f3f3f3;
  overflow: hidden;
}

.stone-product-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.stone-product-card:hover .stone-product-image img {
  transform: scale(1.055);
  filter: brightness(0.82);
}

.stone-product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.58) 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.stone-product-card:hover .stone-product-overlay {
  opacity: 1;
}

.stone-product-overlay span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  background: #ffffff;
  color: #1f1f1f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stone-product-info {
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.stone-product-tag {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 13px;
  padding: 6px 11px;
  background: #f0f0f0;
  color: #555555;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.stone-product-title {
  margin: 0 0 14px;
  padding: 0;
  min-height: 52px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.stone-product-title a {
  color: #252525;
  text-decoration: none;
  transition: color 0.22s ease;
}

.stone-product-title a:hover {
  color: #000000;
  text-decoration: none;
}

.stone-product-description {
  margin: 0 0 22px;
  color: #595959;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 68px;
}

.stone-product-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.stone-btn {
  min-height: 38px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.24s ease;
  white-space: nowrap;
}

.stone-btn:hover,
.stone-btn:focus {
  text-decoration: none;
}

.stone-btn-dark {
  background: #252525;
  color: #ffffff;
}

.stone-btn-dark:hover {
  background: #000000;
  color: #ffffff;
}

.stone-btn-light {
  background: #eeeeee;
  color: #303030;
}

.stone-btn-light:hover {
  background: #dcdcdc;
  color: #000000;
}

/* Desktop menor / notebook */
@media (max-width: 1199px) {
  .stone-products-grid {
    gap: 26px 22px;
  }

  .stone-product-info {
    padding: 21px 20px 20px;
  }

  .stone-product-title {
    font-size: 18px;
  }
}

/* Tablet grande: mantém 3 colunas */
@media (min-width: 769px) and (max-width: 991px) {
  .stone-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 18px;
  }

  .stone-product-info {
    padding: 18px 16px 18px;
  }

  .stone-product-title {
    font-size: 15px;
    min-height: 44px;
  }

  .stone-product-description {
    font-size: 13px;
    line-height: 1.5;
    min-height: 58px;
    -webkit-line-clamp: 3;
  }

  .stone-product-actions {
    flex-wrap: wrap;
  }

  .stone-btn {
    min-height: 34px;
    padding: 0 12px;
    font-size: 10px;
  }
}

/* Tablet menor e mobile: 2 colunas */
@media (max-width: 768px) {
  .stone-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
    margin-top: 22px;
  }

  .stone-product-card {
    border-color: #e5e5e5;
  }

  .stone-product-card:hover {
    transform: none;
    box-shadow: none;
  }

  .stone-product-image {
    aspect-ratio: 1 / 0.9;
  }

  .stone-product-info {
    padding: 14px 12px 14px;
  }

  .stone-product-tag {
    margin-bottom: 9px;
    padding: 5px 8px;
    font-size: 9px;
  }

  .stone-product-title {
    margin-bottom: 9px;
    min-height: 40px;
    font-size: 13px;
    line-height: 1.25;
    letter-spacing: -0.02em;
  }

  .stone-product-description {
    margin-bottom: 14px;
    font-size: 12px;
    line-height: 1.45;
    min-height: 50px;
    -webkit-line-clamp: 3;
  }

  .stone-product-actions {
    gap: 6px;
    flex-wrap: wrap;
  }

  .stone-btn {
    min-height: 32px;
    padding: 0 10px;
    font-size: 9px;
  }

  .stone-product-overlay {
    display: none;
  }
}

/* Mobile muito estreito */
@media (max-width: 420px) {
  .stone-products-grid {
    gap: 14px 10px;
  }

  .stone-product-info {
    padding: 12px 10px 12px;
  }

  .stone-product-title {
    font-size: 12px;
  }

  .stone-product-description {
    font-size: 11px;
  }

  .stone-btn {
    width: 100%;
  }
}

/* =========================================================
   STONECASA - SUBCATEGORIAS / REFINAR BUSCA
   ========================================================= */

.stone-subcategories {
  margin: 10px 0 34px;
  padding: 28px;
  background: #FF9456;
  border: 1px solid #EAEAEA;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.stone-subcategories-head {
  margin-bottom: 20px;
}

.stone-subcategories-label {
  display: inline-flex;
  margin-bottom: 8px;
  color: #8a6a43;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.stone-subcategories-head h3 {
  margin: 0;
  padding: 0;
  color: #27221d;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.stone-subcategories-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stone-subcategory-card {
  min-height: 54px;
  padding: 14px 14px 14px 16px;
  background: #ffffff;
  border: 1px solid #e1d8cc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #302b25;
  text-decoration: none;
  transition: all 0.24s ease;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.stone-subcategory-card:hover,
.stone-subcategory-card:focus {
  background: #29241f;
  border-color: #29241f;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.10);
}

.stone-subcategory-name {
  min-width: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.stone-subcategory-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1ebe2;
  color: #8a6a43;
  font-size: 14px;
  transition: all 0.24s ease;
}

.stone-subcategory-card:hover .stone-subcategory-icon,
.stone-subcategory-card:focus .stone-subcategory-icon {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  transform: translateX(2px);
}

/* Tablet */
@media (max-width: 991px) {
  .stone-subcategories {
    padding: 22px;
    margin-bottom: 28px;
  }

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

  .stone-subcategories-head h3 {
    font-size: 21px;
  }
}

/* Tablet menor e mobile */
@media (max-width: 768px) {
  .stone-subcategories {
    padding: 18px;
    margin: 4px 0 24px;
  }

  .stone-subcategories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .stone-subcategory-card {
    min-height: 48px;
    padding: 12px;
  }

  .stone-subcategory-name {
    font-size: 11px;
  }

  .stone-subcategory-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    font-size: 12px;
  }
}

/* Mobile muito estreito */
@media (max-width: 420px) {
  .stone-subcategories {
    padding: 14px;
  }

  .stone-subcategories-head h3 {
    font-size: 18px;
  }

  .stone-subcategory-card {
    gap: 8px;
  }
}


/* =========================================================
   STONECASA - HOME / NOSSOS NÚMEROS
   ========================================================= */

.stone-numbers-section {
  position: relative;
  margin: 0;
  padding: 92px 48px 96px;
  background:
    radial-gradient(circle at top left, rgba(231, 91, 49, 0.10), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f4f4f4 52%, #ffffff 100%);
  overflow: hidden;
}

.stone-numbers-section::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(231, 91, 49, 0.10);
  filter: blur(8px);
  pointer-events: none;
}

.stone-numbers-section::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.045);
  filter: blur(10px);
  pointer-events: none;
}

.stone-numbers-inner {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
}

.stone-numbers-heading {
  max-width: 980px;
  margin: 0 auto 52px;
  text-align: center;
}

.stone-numbers-kicker {
  display: inline-flex;
  margin-bottom: 15px;
  color: #e75b31;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.20em;
  line-height: 1;
  text-transform: uppercase;
}

.stone-numbers-heading h2 {
  margin: 0;
  padding: 0;
  color: #303039;
  font-size: clamp(34px, 4vw, 64px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.stone-numbers-heading h2 strong {
  font-weight: 900;
  letter-spacing: 0.08em;
}

.stone-numbers-heading p {
  max-width: 900px;
  margin: 20px auto 0;
  color: #696969;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stone-numbers-heading p strong {
  color: #303039;
  font-weight: 900;
}

.stone-numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.stone-number-card {
  position: relative;
  min-height: 250px;
  padding: 32px 26px 30px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 0, 0, 0.065);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.055);
  overflow: hidden;
  text-align: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.stone-number-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(231, 91, 49, 0.10), transparent 45%);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.stone-number-card:hover {
  transform: translateY(-6px);
  border-color: rgba(231, 91, 49, 0.24);
  box-shadow: 0 26px 65px rgba(0, 0, 0, 0.09);
}

.stone-number-card:hover::before {
  opacity: 1;
}

.stone-number-icon {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  margin: 0 auto 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #252525;
  color: #ffffff;
  border-radius: 50%;
  font-size: 23px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.stone-number-card strong {
  position: relative;
  z-index: 2;
  display: block;
  margin: 0;
  color: #303039;
  font-size: clamp(48px, 5.2vw, 86px);
  font-weight: 200;
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.stone-number-card p {
  position: relative;
  z-index: 2;
  margin: 22px 0 0;
  color: #686868;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  text-transform: lowercase;
}

.stone-number-card p::before {
  content: "";
  display: block;
  width: 38px;
  height: 2px;
  margin: 0 auto 17px;
  background: #e75b31;
}

/* Notebook / desktop menor */
@media (max-width: 1199px) {
  .stone-numbers-section {
    padding: 76px 30px 82px;
  }

  .stone-number-card {
    min-height: 230px;
    padding: 28px 20px 26px;
  }

  .stone-number-card strong {
    font-size: 62px;
  }
}

/* Tablet */
@media (max-width: 991px) {
  .stone-numbers-section {
    padding: 66px 22px 72px;
  }

  .stone-numbers-heading {
    margin-bottom: 38px;
  }

  .stone-numbers-heading h2 {
    letter-spacing: 0.14em;
  }

  .stone-numbers-heading p {
    font-size: 13px;
    letter-spacing: 0.05em;
  }

  .stone-numbers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .stone-number-card {
    min-height: 220px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .stone-numbers-section {
    padding: 52px 14px 58px;
  }

  .stone-numbers-kicker {
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .stone-numbers-heading h2 {
    font-size: 31px;
    letter-spacing: 0.10em;
  }

  .stone-numbers-heading p {
    margin-top: 15px;
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: 0.03em;
  }

  .stone-numbers-grid {
    gap: 12px;
  }

  .stone-number-card {
    min-height: 190px;
    padding: 22px 12px 20px;
  }

  .stone-number-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    font-size: 19px;
  }

  .stone-number-card strong {
    font-size: 42px;
  }

  .stone-number-card p {
    margin-top: 17px;
    font-size: 12px;
  }

  .stone-number-card p::before {
    margin-bottom: 12px;
  }
}

/* Mobile muito estreito */
@media (max-width: 420px) {
  .stone-numbers-section {
    padding-left: 10px;
    padding-right: 10px;
  }

  .stone-numbers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .stone-number-card {
    min-height: 176px;
  }

  .stone-number-card strong {
    font-size: 36px;
  }

  .stone-number-card p {
    font-size: 11px;
  }
}

