
/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: #111111;
}

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

button,
a {
  font-family: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =========================
   SALE BAR
========================= */

.sale-banner {
  width: 100%;
  background: #111111;
  color: #ffffff;
  padding: 20px 22px;
}

.sale-banner-inner {
  max-width: 1350px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.sale-title {
  color: #ffd400;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 0.6px;
}

.timer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.time-box {
  min-width: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-box span {
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.time-box small {
  margin-top: 5px;
  font-size: 9px;
  font-weight: 700;
  opacity: 0.8;
}

.timer-colon {
  font-size: 25px;
  font-weight: 900;
  margin-top: -10px;
}

.sale-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #111111;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  transition: 0.2s ease;
}

.sale-button:hover {
  transform: scale(1.04);
}

/* =========================
   HEADER
========================= */

.header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #eeeeee;
}

.header-inner {
  max-width: 1350px;
  height: 95px;
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.brand {
  grid-column: 2;
  justify-self: center;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.7px;
}

.cart-button {
  grid-column: 3;
  justify-self: end;
  border: 0;
  background: transparent;
  color: #111111;
  font-size: 16px;
  font-weight: 500;
}

/* =========================
   PRODUCTS
========================= */

.products-section {
  max-width: 1280px;
  margin: auto;
  padding: 55px 24px 80px;
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 38px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 18px;
}

/* =========================
   PRODUCT CARD
========================= */

.product-card {
  min-width: 0;
}

.product-image-wrapper {
  position: relative;
  display: block;
  width: 100%;
  height: 230px;
  background: #f5f5f5;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 7px;
  transition: 0.25s;
}

.product-card:hover .product-image {
  transform: scale(1.02);
}

.sale-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: #111111;
  color: white;
  padding: 5px 9px;
  font-size: 9px;
  font-weight: 700;
}

.product-info {
  padding-top: 11px;
  text-align: center;
}

.product-name {
  display: block;
  font-size: 13px;
  margin-bottom: 7px;
}

.product-price-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.current-price {
  font-size: 13px;
  font-weight: 800;
}

.old-price {
  color: #888;
  font-size: 11px;
  text-decoration: line-through;
}

/* =========================
   PRODUCT BUTTONS
========================= */

.product-buttons {
  display: flex;
  gap: 8px;
}

.add-cart-button,
.buy-now-button {
  flex: 1;
  height: 42px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}

.add-cart-button {
  background: white;
  color: #111;
  border: 1.5px solid #111;
}

.add-cart-button:hover {
  background: #eeeeee;
}

.buy-now-button {
  background: #111;
  color: white;
  border: 1.5px solid #111;
}

.buy-now-button:hover {
  background: #292929;
}

/* =========================
   REVIEWS
========================= */

.reviews-section {
  background: #fafafa;
  border-top: 1px solid #eee;
  padding: 75px 20px 90px;
}

.reviews-container {
  max-width: 1150px;
  margin: auto;
}

.reviews-heading {
  text-align: center;
  margin-bottom: 38px;
}

.reviews-heading h2 {
  font-size: 31px;
  margin-bottom: 12px;
}

.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #666;
  font-size: 13px;
}

.review-stars,
.card-stars {
  color: #ffb000;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.review-card {
  background: white;
  border: 1px solid #e3e3e3;
  border-radius: 14px;
  padding: 20px;
  min-height: 145px;
}

.review-card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
}

.review-card-top strong {
  font-size: 13px;
}

.card-stars {
  font-size: 11px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.review-card p {
  color: #444;
  font-size: 13px;
  line-height: 1.6;
}

.extra-review {
  display: none;
}

.reviews-grid.expanded .extra-review {
  display: block;
}

.read-more-reviews {
  display: block;
  min-width: 210px;
  height: 49px;
  margin: 30px auto 0;
  padding: 0 28px;
  border: 2px solid #111;
  border-radius: 999px;
  background: white;
  color: #111;
  font-size: 12px;
  font-weight: 900;
}

.read-more-reviews:hover {
  background: #111;
  color: white;
}

/* =========================
   FOOTER
========================= */

.footer {
  padding: 28px 16px;
  border-top: 1px solid #eee;
  text-align: center;
  color: #666;
  font-size: 11px;
}

/* =========================
   CART OVERLAY
========================= */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* =========================
   CART DRAWER
========================= */

.cart-drawer {
  position: fixed;
  top: 0;
  right: -430px;
  width: 400px;
  max-width: 100%;
  height: 100vh;
  background: white;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: 0.28s;
}

.cart-drawer.active {
  right: 0;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 21px;
  border-bottom: 1px solid #eee;
}

.close-cart {
  border: 0;
  background: transparent;
  font-size: 30px;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 18px 21px;
}

.empty-cart {
  text-align: center;
  margin-top: 40px;
  color: #777;
}

.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}

.cart-item img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  background: #f5f5f5;
}

.cart-item-name {
  font-size: 12px;
  font-weight: 700;
}

.cart-item-bundle {
  color: #777;
  font-size: 10px;
  margin-top: 4px;
}

.cart-item-price {
  margin-top: 5px;
  font-size: 12px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 9px;
}

.quantity-controls button {
  width: 26px;
  height: 26px;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: white;
}

.remove-item {
  margin-top: 9px;
  border: 0;
  background: transparent;
  color: #777;
  text-decoration: underline;
  font-size: 10px;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid #eee;
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.checkout-button {
  width: 100%;
  height: 49px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: white;
  font-weight: 900;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 650px) {

  /* BIGGER SALE BAR */

  .sale-banner {
    padding: 14px 8px;
  }

  .sale-banner-inner {
    justify-content: space-between;
    gap: 10px;
  }

  .sale-title {
    font-size: 14px;
  }

  .timer {
    gap: 3px;
  }

  .time-box {
    min-width: 27px;
  }

  .time-box span {
    font-size: 17px;
  }

  .time-box small {
    font-size: 6px;
  }

  .timer-colon {
    font-size: 15px;
    margin-top: -7px;
  }

  .sale-button {
    padding: 9px 13px;
    font-size: 8px;
  }

  /* BIGGER HEADER */

  .header-inner {
    height: 72px;
    padding: 0 14px;
  }

  .brand {
    font-size: 21px;
  }

  .cart-button {
    font-size: 12px;
  }

  /* PRODUCTS */

  .products-section {
    padding: 40px 9px 55px;
  }

  .section-title {
    font-size: 26px;
    margin-bottom: 27px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 8px;
  }

  .product-image-wrapper {
    height: 155px;
  }

  .product-name {
    font-size: 11px;
  }

  .current-price {
    font-size: 11px;
  }

  .old-price {
    font-size: 9px;
  }

  .product-buttons {
    gap: 5px;
  }

  .add-cart-button,
  .buy-now-button {
    height: 35px;
    font-size: 8px;
  }

  /* REVIEWS */

  .reviews-section {
    padding: 55px 12px 70px;
  }

  .reviews-heading h2 {
    font-size: 24px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .review-card {
    min-height: 0;
    padding: 16px;
  }

  /* CART */

  .cart-drawer {
    width: 100%;
  }
}

/* =========================================================
   CLEAN PRODUCT GRID
========================================================= */

.product-card {
  min-width: 0;
  background: transparent;
}

.product-image-wrapper {
  position: relative;
  display: block;
  width: 100%;
  height: 250px;
  background: #fff;
  overflow: visible;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: transform 0.25s ease;
}

.product-card:hover .product-image {
  transform: scale(1.015);
}

.sale-tag {
  top: auto;
  bottom: -36px;
  left: 0;
  z-index: 2;
  background: #111;
  color: #fff;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.product-info {
  padding-top: 48px;
  text-align: left;
}

.product-name {
  display: block;
  min-height: 34px;
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 600;
}

.product-price-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}

.current-price {
  font-size: 14px;
  font-weight: 800;
}

.old-price {
  color: #888;
  font-size: 12px;
  text-decoration: line-through;
}

.product-buttons {
  display: flex;
  gap: 8px;
  width: 100%;
}

.add-cart-button,
.buy-now-button {
  flex: 1;
  min-width: 0;
  height: 43px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.add-cart-button {
  background: #fff;
  color: #111;
  border: 1.5px solid #111;
}

.buy-now-button {
  background: #111;
  color: #fff;
  border: 1.5px solid #111;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

  .products-section {
    padding: 48px 14px 65px;
  }

  .section-title {
    text-align: left;
    font-size: 34px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -1.1px;
    margin-bottom: 56px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 72px;
  }

  .product-image-wrapper {
    height: 175px;
    background: #fff;
    overflow: visible;
  }

  .product-image {
    padding: 7px;
  }

  .sale-tag {
    bottom: -35px;
    left: 0;
    padding: 7px 12px;
    font-size: 10px;
  }

  .product-info {
    padding-top: 47px;
  }

  .product-name {
    min-height: 37px;
    margin-bottom: 4px;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
  }

  .product-price-row {
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 14px;
  }

  .current-price {
    font-size: 13px;
  }

  .old-price {
    font-size: 11px;
  }

  .product-buttons {
    gap: 7px;
  }

  .add-cart-button,
  .buy-now-button {
    height: 39px;
    padding: 0 7px;
    font-size: 8.5px;
    border-width: 1.4px;
  }
}

@media (max-width: 390px) {

  .products-section {
    padding-left: 11px;
    padding-right: 11px;
  }

  .product-grid {
    column-gap: 12px;
  }

  .product-image-wrapper {
    height: 158px;
  }

  .add-cart-button,
  .buy-now-button {
    font-size: 8px;
  }
}

/* =========================================
   CLEAN REVIEW CARDS
========================================= */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.review-card {
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 14px;
  padding: 20px;
  min-height: 145px;
  text-align: left;
}

.demo-label {
  color: #777777;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.6px;
  margin-bottom: 14px;
}

.review-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 14px;
}

.review-card-top strong {
  color: #111111;
  font-size: 13px;
  font-weight: 700;
}

.card-stars {
  color: #f5a000;
  font-size: 11px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.review-card p {
  color: #222222;
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

/* MOBILE */

@media (max-width: 650px) {

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .review-card {
    min-height: 0;
    padding: 16px;
  }
}

/* =========================================
   REVIEWS — FULL WIDTH CLEAN STYLE
========================================= */

.reviews-section {
  background: #fff;
  padding: 60px 20px 80px;
}

.reviews-container {
  max-width: 1200px;
  margin: 0 auto;
}

.reviews-heading {
  text-align: left;
  margin-bottom: 30px;
}

.reviews-heading h2 {
  display: none;
}

.reviews-summary {
  justify-content: flex-start;
  align-items: flex-start;
  gap: 14px;
}

.reviews-summary strong {
  font-size: 48px;
  line-height: 1;
  color: #111;
}

.review-stars {
  font-size: 20px;
  color: #f5a000;
  letter-spacing: 2px;
}

.reviews-summary span:last-child {
  display: block;
  font-size: 13px;
  color: #777;
  margin-top: 6px;
}

.reviews-grid {
  display: flex !important;
  flex-direction: column;
  gap: 16px;
}

.review-card {
  width: 100%;
  min-height: 135px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 14px;
  padding: 20px;
  text-align: left;
  position: relative;
}

.review-card-top {
  display: block;
  margin-bottom: 8px;
}

.review-card-top strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-top: 8px;
}

.card-stars {
  display: block;
  color: #f5a000;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.review-card p {
  font-size: 14px;
  line-height: 1.55;
  color: #111;
  margin: 0;
  max-width: calc(100% - 130px);
}

.demo-label {
  font-size: 9px;
  font-weight: 800;
  color: #777;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

/* OPTIONAL REVIEW IMAGE */

.review-image {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 95px;
  height: 95px;
  object-fit: cover;
  border-radius: 10px;
}

/* READ MORE */

.read-more-reviews {
  margin-top: 25px;
}

/* MOBILE */

@media (max-width: 650px) {

  .reviews-section {
    padding: 45px 12px 60px;
  }

  .reviews-summary strong {
    font-size: 38px;
  }

  .review-card {
    padding: 16px;
  }

  .review-card p {
    max-width: 100%;
    font-size: 13px;
  }

  .review-image {
    position: static;
    width: 100%;
    height: auto;
    margin-top: 14px;
  }
}

/* =========================================
   REVIEWS — FINAL LAYOUT
========================================= */

.reviews-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  width: 100%;
}

.review-card {
  width: 100% !important;
  min-height: 135px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 14px;
  padding: 22px 20px;
  text-align: left !important;
}

.review-label {
  font-size: 11px;
  font-weight: 700;
  color: #555;
  margin-bottom: 10px;
}

.review-card-top {
  display: block !important;
  margin-bottom: 8px;
}

.card-stars {
  display: block !important;
  color: #f5a000;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.review-card-top strong {
  display: block !important;
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
}

.review-card p {
  margin: 0 !important;
  color: #111;
  font-size: 14px;
  line-height: 1.55;
  max-width: 100% !important;
}

/* MOBILE */

@media (max-width: 650px) {

  .reviews-grid {
    display: flex !important;
    flex-direction: column !important;
  }

  .review-card {
    width: 100% !important;
    min-height: 0;
    padding: 18px 16px;
  }
}

.card-stars {
  font-size: 22px !important;
  letter-spacing: 3px !important;
  line-height: 1;
  margin-bottom: 12px !important;
}
