

:root {
  --ink: #101827;
  --muted: #667085;
  --purple: #0D9488;
  --pink: #14B8A6;
  --surface: #ffffff;
  --background: #f5f7fa;
  --border: #e2e8f0;
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--background);
}

body.cart-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

.announcement {
  padding: 10px;
  text-align: center;
  color: white;
  background: linear-gradient(90deg, #6548ee, #a64ee8, #ef5caa);
  font-size: 13px;
  font-weight: 600;
}

.header {
  min-height: 76px;
  padding: 16px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: white;
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1px;
}

.logo span {
  color: var(--purple);
}

.header nav {
  display: flex;
  gap: 28px;
  color: #555e74;
  font-size: 14px;
}

.header nav a:hover {
  color: var(--purple);
}

.cart-button,
.icon-button {
  border: 0;
  border-radius: 12px;
  padding: 11px 15px;
  background: #f0edff;
  color: var(--purple);
  font-weight: 700;
}

#cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 23px;
  height: 23px;
  margin-left: 5px;
  border-radius: 50%;
  color: white;
  background: var(--purple);
}

.hero {
  min-height: 430px;
  padding: 60px 9%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 30px;
  overflow: hidden;
  background: linear-gradient(120deg, #eeeaff, #fceafa 65%, #fff0e7);
}

.hero-content {
  max-width: 570px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--purple);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.07;
  letter-spacing: -2.5px;
}

.hero h1 span {
  color: var(--purple);
}

.hero-content > p,
.section-heading p,
.about-section p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 14px 21px;
  color: white;
  background: var(--purple);
  font-weight: 700;
  transition: transform 0.2s, background 0.2s;
}

.primary-button:hover {
  background: #5034d4;
  transform: translateY(-2px);
}

.trust-line {
  margin-top: 22px;
  color: #626980;
  font-size: 12px;
}

.hero-art {
  min-height: 280px;
  position: relative;
  display: grid;
  place-items: center;
}

.art-circle {
  position: absolute;
  width: min(290px, 85%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4c7ff, #ffcae7);
}

.laptop-art {
  position: relative;
  font-size: clamp(100px, 15vw, 175px);
  filter: drop-shadow(0 15px 15px #7b60a044);
}

.float-card {
  position: absolute;
  top: 28px;
  right: 0;
  padding: 12px 15px;
  border-radius: 13px;
  background: white;
  box-shadow: 0 8px 30px #34205e12;
  font-size: 12px;
  font-weight: 700;
}

.second-card {
  top: auto;
  right: auto;
  bottom: 25px;
  left: 0;
}

.products-section {
  padding: 65px 7%;
}

.section-heading h2,
.about-section h2 {
  margin: 0;
  font-size: clamp(27px, 3vw, 38px);
  letter-spacing: -1px;
}

.section-heading p {
  margin-bottom: 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.filter {
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 10px 17px;
  background: white;
  color: #626980;
  font-size: 13px;
}

.filter.active,
.filter:hover {
  color: white;
  background: var(--purple);
  border-color: var(--purple);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 19px;
  background: white;
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px #202b4b0c;
}

.product-visual {
  min-height: 155px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, #eeebff, #fce9f4);
  font-size: 68px;
}

.product-card:nth-child(3n + 2) .product-visual {
  background: linear-gradient(135deg, #e2f5ff, #e7eaff);
}

.product-card:nth-child(3n) .product-visual {
  background: linear-gradient(135deg, #fff0df, #ffe5ed);
}

.product-category {
  display: block;
  margin-top: 16px;
  color: var(--purple);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 8px 0;
  font-size: 16px;
}

.product-description {
  min-height: 38px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.product-price {
  margin: 14px 0;
  font-size: 19px;
  font-weight: 800;
}

.add-button {
  width: 100%;
  padding: 11px;
  border: 0;
  border-radius: 10px;
  color: var(--purple);
  background: #f0edff;
  font-weight: 700;
}

.add-button:hover {
  color: white;
  background: var(--purple);
}

.about-section {
  margin: 0 7% 60px;
  padding: 42px;
  border-radius: 22px;
  background: #eeebff;
}

.about-section p {
  max-width: 650px;
}

footer {
  padding: 30px 7%;
  background: white;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}

footer .logo {
  color: var(--ink);
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10;
  background: #12152c80;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s;
}

.cart-panel {
  position: fixed;
  z-index: 11;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100dvh;
  padding: 24px;
  display: flex;
  flex-direction: column;
  background: white;
  box-shadow: -10px 0 40px #16152c12;
  transform: translateX(105%);
  transition: transform 0.25s;
}

body.cart-open .cart-backdrop {
  opacity: 1;
  visibility: visible;
}

body.cart-open .cart-panel {
  transform: translateX(0);
}

.cart-heading,
.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.cart-heading h2 {
  margin: 0;
}

.icon-button {
  background: #f3f3f8;
  color: var(--ink);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  margin: 22px 0;
}

.empty-cart {
  padding: 35px 5px;
  color: var(--muted);
  text-align: center;
}

.cart-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-emoji {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f0edff;
  font-size: 26px;
}

.cart-item h3 {
  margin: 0 0 6px;
  font-size: 13px;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
  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 var(--border);
  border-radius: 7px;
  background: white;
}

.remove-button {
  margin-top: 8px;
  border: 0;
  padding: 0;
  color: #d64268;
  background: transparent;
  font-size: 11px;
}

.cart-bottom {
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.total-row {
  margin-bottom: 18px;
  font-size: 16px;
}

.total-row strong {
  font-size: 22px;
}

.checkout-button {
  width: 100%;
  background: #168b4d;
}

.checkout-button:hover {
  background: #0e713d;
}

.cart-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 950px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    padding: 45px 6%;
  }

  .header {
    padding: 15px 5%;
  }
}

@media (max-width: 600px) {
  .header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .header nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 40px 6%;
  }

  .hero-art {
    min-height: 230px;
  }

  .products-section {
    padding: 45px 5%;
  }

  .product-grid {
    gap: 12px;
  }

  .product-card {
    padding: 10px;
  }

  .product-visual {
    min-height: 115px;
    font-size: 50px;
  }

  .product-card h3 {
    font-size: 14px;
  }

  .product-price {
    font-size: 16px;
  }

  .about-section {
    margin: 0 5% 40px;
    padding: 25px;
  }
}


.product-visual {
  height: 190px;
  min-height: 190px;
  padding: 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-fallback {
  display: none;
  place-items: center;
  font-size: 55px;
}

/* ===== GAMIPHIL IT SHOP HOMEPAGE UPGRADE ===== */

/* Announcement banner */
.announcement {
  background: #101827;
  color: #ffffff;
  padding: 11px 15px;
  font-size: 12px;
  letter-spacing: 0.5px;
}

/* Main header */
.header {
  background: #ffffff;
  min-height: 82px;
  padding: 16px 7%;
  position: sticky;
  top: 0;
  z-index: 9;
  box-shadow: 0 3px 15px rgba(16, 24, 39, 0.05);
}

.logo {
  color: #101827;
  font-size: 25px;
  letter-spacing: -1px;
}

.logo span {
  color: #0D9488;
}

.header nav a {
  transition: color 0.2s ease;
  font-weight: 600;
}

.header nav a:hover {
  color: #0D9488;
}

.cart-button {
  background: #101827;
  color: #ffffff;
  border-radius: 10px;
}

#cart-count {
  background: #0D9488;
}

/* Hero section */
.hero {
  position: relative;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 45px;
  min-height: 500px;
  padding: 70px 8%;
  background:
    radial-gradient(circle at 85% 30%, #d5f5ef 0, transparent 32%),
    linear-gradient(120deg, #f7fafc, #edf8f6);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: #0D9488;
  letter-spacing: 1.8px;
}

.hero h1 {
  color: #101827;
  line-height: 1.08;
  font-weight: 800;
}

.hero h1 span {
  color: #0D9488;
}

.hero-content > p {
  max-width: 550px;
}

.hero-condition {
  font-size: 13px !important;
  font-weight: 600;
  color: #344054 !important;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
}

.primary-button {
  background: #0D9488;
  border-radius: 9px;
  padding: 14px 21px;
}

.primary-button:hover {
  background: #0F766E;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  color: #101827;
  background: #ffffff;
  font-size: 14px;
  font-weight: 700;
  transition: 0.2s ease;
}

.secondary-button:hover {
  border-color: #0D9488;
  color: #0D9488;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  line-height: 1.8;
}

.trust-line span {
  color: #0D9488;
  font-weight: 800;
}

/* Hero illustration */
.hero-art {
  min-height: 340px;
}

.art-circle {
  width: min(330px, 85%);
  background: linear-gradient(135deg, #b7eee3, #dce9ff);
}

.laptop-art {
  filter: drop-shadow(0 20px 20px rgba(16, 24, 39, 0.15));
}

.float-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 12px 30px rgba(16, 24, 39, 0.08);
}

.float-card > span {
  font-size: 23px;
}

.float-card strong,
.float-card small {
  display: block;
}

.float-card strong {
  color: #101827;
  font-size: 12px;
}

.float-card small {
  margin-top: 4px;
  color: #667085;
  font-size: 10px;
  font-weight: 400;
}

/* Shopping benefits */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 28px 7%;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.benefit-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #e6f7f4;
  font-size: 22px;
}

.benefit-item strong {
  display: block;
  color: #101827;
  font-size: 12px;
}

.benefit-item p {
  margin: 5px 0 0;
  color: #667085;
  font-size: 11px;
  line-height: 1.5;
}

/* Category shortcuts */
.categories-section {
  padding: 65px 7% 35px;
}

.categories-section .section-heading {
  margin-bottom: 25px;
}

.section-heading h2,
.about-section h2 {
  color: #101827;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 155px;
  padding: 21px;
  border: 1px solid #e2e8f0;
  border-radius: 15px;
  background: #ffffff;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: #8ddbd0;
  box-shadow: 0 12px 25px rgba(16, 24, 39, 0.06);
}

.category-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: #e6f7f4;
  font-size: 25px;
}

.category-card strong {
  color: #101827;
  font-size: 14px;
}

.category-card > span:last-child {
  margin-top: 8px;
  color: #667085;
  font-size: 11px;
}

/* Products */
.products-section {
  padding-top: 45px;
}

.products-section .section-heading {
  margin-bottom: 8px;
}

.filter {
  transition: background 0.2s ease, color 0.2s ease;
}

.filter.active,
.filter:hover {
  background: #0D9488;
  border-color: #0D9488;
}

.product-card {
  border-radius: 15px;
  box-shadow: 0 3px 12px rgba(16, 24, 39, 0.025);
}

.product-card:hover {
  border-color: #b7e6df;
  box-shadow: 0 12px 28px rgba(16, 24, 39, 0.07);
}

.product-visual {
  background: #f0f7f7;
}

.product-card:nth-child(3n + 2) .product-visual,
.product-card:nth-child(3n) .product-visual {
  background: #f0f7f7;
}

.product-category {
  color: #0D9488;
}

.add-button {
  color: #0D9488;
  background: #e6f7f4;
  transition: background 0.2s ease, color 0.2s ease;
}

.add-button:hover {
  color: #ffffff;
  background: #0D9488;
}

/* About section */
.about-section {
  background: #e8f7f4;
  border: 1px solid #d1eee8;
}

.about-section .primary-button {
  margin-top: 10px;
}

/* Footer */
footer {
  padding: 35px 7%;
  background: #101827;
  border-top: 0;
  color: #cbd5e1;
}

footer .logo {
  color: #ffffff;
}

footer .logo span {
  color: #45d6c5;
}

/* Keyboard accessibility */
a:focus-visible,
button:focus-visible {
  outline: 3px solid #14B8A6;
  outline-offset: 3px;
}

/* Tablet */
@media (max-width: 950px) {
  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero {
    gap: 20px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .header {
    position: relative;
    padding: 15px 5%;
  }

  .logo {
    font-size: 21px;
  }

  .header nav {
    flex-wrap: wrap;
    font-size: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 42px 6% 25px;
  }

  .hero h1 {
    font-size: clamp(37px, 10vw, 49px);
    letter-spacing: -1.7px;
  }

  .hero-art {
    min-height: 245px;
  }

  .float-card {
    right: 0;
    max-width: 190px;
  }

  .second-card {
    right: auto;
    left: 0;
  }

  .trust-line {
    font-size: 11px;
  }

  .benefits {
    grid-template-columns: 1fr 1fr;
    gap: 20px 12px;
    padding: 25px 5%;
  }

  .benefit-item {
    align-items: flex-start;
    gap: 8px;
  }

  .benefit-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .benefit-item strong {
    font-size: 11px;
  }

  .benefit-item p {
    font-size: 10px;
  }

  .categories-section {
    padding: 45px 5% 20px;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .category-card {
    min-height: 140px;
    padding: 15px;
  }

  .category-card strong {
    font-size: 12px;
  }

  .category-card > span:last-child {
    font-size: 10px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .primary-button,
  .hero-actions .secondary-button {
    padding: 13px 14px;
    font-size: 12px;
  }

  .products-section {
    padding: 40px 5%;
  }

  .filters {
    gap: 8px;
  }

  .filter {
    padding: 9px 12px;
    font-size: 11px;
  }

  .about-section {
    padding: 25px 20px;
  }

  footer {
    padding: 30px 5%;
  }
}

.hero-art {
  width: 100%;
  min-width: 0;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 430px;
  object-fit: contain;
  border-radius: 16px;
}

@media (max-width: 600px) {
  .hero-art {
    min-height: 0;
  }

  .hero-image {
    width: 100%;
    max-height: 300px;
  }
}

/* Product search */
.product-search {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 650px;
  margin: 28px 0 20px;
  padding: 8px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.search-icon {
  font-size: 19px;
}

.product-search input {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 10px 0;
  border: none;
  outline: none;
  background: transparent;
  color: #101827;
  font: inherit;
  font-size: 14px;
}

.product-search:focus-within {
  border-color: #0D9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

#clear-search {
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  background: #e6f7f4;
  color: #0D9488;
  font-weight: 700;
}

.no-products {
  grid-column: 1 / -1;
  padding: 40px 20px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}

.no-products p {
  color: #667085;
}

@media (max-width: 600px) {
  .product-search {
    gap: 8px;
  }

  .product-search input {
    font-size: 12px;
  }
}

/* Featured Products */
.featured-section {
  padding: 55px 7% 30px;
  background: #ffffff;
}

.featured-section .section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

.featured-view-all {
  flex-shrink: 0;
  color: #0D9488;
  font-size: 13px;
  font-weight: 700;
}

.featured-view-all:hover {
  color: #0F766E;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.featured-card {
  min-width: 0;
}

.featured-card .product-visual {
  height: 190px;
}

@media (max-width: 950px) {
  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .featured-section {
    padding: 40px 5% 20px;
  }

  .featured-section .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .featured-grid {
    gap: 12px;
  }

  .featured-card .product-visual {
    height: 125px;
    min-height: 125px;
  }
}

/* Product photographs inside the shopping cart */
.cart-item-image {
  width: 58px;
  height: 58px;
  overflow: hidden;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 10px;
  background: #f0f7f7;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item-fallback {
  display: none;
  place-items: center;
  position: absolute;
  inset: 0;
  font-size: 26px;
}

/* Floating WhatsApp contact button */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 19px;
  border-radius: 50px;
  background: #16803D;
  color: #ffffff;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.whatsapp-float:hover {
  background: #116B32;
  color: #ffffff;
  transform: translateY(-3px);
}

.whatsapp-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  font-size: 17px;
  line-height: 1;
}

.whatsapp-label {
  white-space: nowrap;
}

@media (max-width: 600px) {
  .whatsapp-float {
    right: 15px;
    bottom: 15px;
    padding: 12px 15px;
    font-size: 12px;
  }
}

/* ============================================
   PRODUCT DETAILS MODAL
   ============================================ */

.details-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 20, 35, 0.72);
  overflow-y: auto;
}

.details-backdrop.is-open {
  display: flex;
}

.details-modal {
  position: relative;
  width: 100%;
  max-width: 850px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.details-close {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #f0f3f6;
  color: #101827;
  font-size: 28px;
  cursor: pointer;
}

.details-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.details-image {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
  overflow: hidden;
  border-radius: 14px;
  background: #f5f7fa;
}

.details-image img {
  width: 100%;
  height: 300px;
  object-fit: contain;
}

#details-emoji {
  display: none;
  font-size: 70px;
}

.details-condition {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 20px;
  background: #e1f5f1;
  color: #087f72;
  font-size: 12px;
  font-weight: 700;
}

.details-info h2 {
  margin: 0 0 10px;
  color: #101827;
  font-size: 26px;
  line-height: 1.3;
}

.details-category {
  color: #667085;
  text-transform: capitalize;
}

.details-price {
  margin: 18px 0;
  color: #0d9488;
  font-size: 28px;
  font-weight: 800;
}

.details-description {
  margin-bottom: 24px;
  color: #475467;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

#details-add-to-cart {
  width: 100%;
  padding: 14px;
  cursor: pointer;
}

body.details-open {
  overflow: hidden;
}

@media (max-width: 650px) {
  .details-backdrop {
    padding: 12px;
  }

  .details-modal {
    padding: 55px 20px 24px;
    max-height: 95vh;
  }

  .details-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .details-image {
    min-height: 210px;
  }

  .details-image img {
    height: 210px;
  }

  .details-info h2 {
    font-size: 22px;
  }
}

/* Delivery and ordering information */
.delivery-info {
  padding: 48px 20px;
  margin-top: 32px;
  background: #f4f6f8;
  color: #222;
}

.delivery-info-content {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.delivery-info h2 {
  margin-bottom: 12px;
}

.delivery-info-content > p {
  line-height: 1.7;
  margin-bottom: 28px;
}

.delivery-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.delivery-option {
  padding: 22px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e0e4e8;
}

.delivery-option h3 {
  margin-top: 0;
}

.delivery-option p {
  line-height: 1.6;
}

.delivery-whatsapp {
  display: inline-block;
  padding: 13px 22px;
  background: #168447;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}

.delivery-whatsapp:hover {
  background: #116b38;
}

@media (max-width: 700px) {
  .delivery-options {
    grid-template-columns: 1fr;
  }
}

/* Warranty and returns information */
.warranty-info {
  padding: 48px 20px;
  margin-top: 24px;
  background: #ffffff;
  color: #222222;
}

.warranty-info-content {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.warranty-info-content > p {
  line-height: 1.7;
  margin-bottom: 28px;
}

.warranty-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.warranty-option {
  padding: 22px;
  background: #f4f6f8;
  border: 1px solid #e0e4e8;
  border-radius: 10px;
}

.warranty-option h3 {
  margin-top: 0;
}

.warranty-option p {
  line-height: 1.7;
}

.warranty-whatsapp {
  display: inline-block;
  padding: 13px 22px;
  background: #168447;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}

.warranty-whatsapp:hover {
  background: #116b38;
}

@media (max-width: 700px) {
  .warranty-options {
    grid-template-columns: 1fr;
  }
}

/* Fix visibility of Warranty & Returns cards */
.warranty-info {
  background-color: #f1f5f9;
  color: #1f2937;
}

.warranty-info h2,
.warranty-info > div > p,
.warranty-option h3,
.warranty-option p {
  color: #1f2937;
}

.warranty-option {
  background-color: #ffffff;
  color: #1f2937;
  border: 1px solid #cbd5e1;
}

.warranty-option h3,
.warranty-option p {
  color: #1f2937 !important;
}

.warranty-whatsapp {
  background-color: #168447;
  color: #ffffff !important;
}

/* About and Contact section */
.about-contact {
  padding: 48px 20px;
  margin-top: 24px;
  background-color: #f1f5f9;
  color: #1f2937;
}

.about-contact-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-contact h2,
.about-contact h3,
.about-contact p {
  color: #1f2937;
}

.about-contact h2 {
  margin-bottom: 18px;
}

.about-contact p {
  line-height: 1.8;
}

.about-intro {
  font-size: 1.05rem;
}

.about-contact-card {
  margin: 28px auto;
  padding: 26px;
  max-width: 600px;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
}

.about-contact-card h3 {
  margin-top: 0;
}

.about-whatsapp {
  display: inline-block;
  margin-top: 12px;
  padding: 13px 22px;
  background-color: #168447;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
}

.about-whatsapp:hover {
  background-color: #116b38;
}

.about-contact-note {
  margin-top: 24px;
}

@media (max-width: 600px) {
  .about-contact {
    padding: 36px 16px;
  }

  .about-contact-card {
    padding: 20px;
  }
}
/* Cleaner product cards */
.product-name {
  margin: 12px 0 8px;
  font-size: 16px;
  line-height: 1.4;
}

.product-price {
  margin: 8px 0 14px;
  font-size: 20px;
  font-weight: 700;
}

/* FLASH DEALS SECTION */

.flash-deals {
  padding: 40px 20px;
  background: #f4f6f8;
  color: #1f2937;
}

.flash-deals-heading {
  max-width: 1200px;
  margin: 0 auto 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.flash-label {
  color: #d97706;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
}

.flash-deals-heading h2 {
  margin: 8px 0;
  color: #172337;
  font-size: 28px;
}

.flash-deals-heading p {
  color: #64748b;
}

.flash-view-all {
  color: #168447;
  text-decoration: none;
  font-weight: 700;
}

.flash-products-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(210px, 1fr)
  );
  gap: 20px;
}

.flash-product-card {
  background: #ffffff;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.flash-product-card .product-name,
.flash-product-card .product-price {
  color: #172337;
}

@media (max-width: 600px) {
  .flash-deals-heading {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* =================================
   GAMIPHIL FLASH DEALS - REDESIGN
================================= */

.flash-products-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(230px, 270px)
  );
  justify-content: start;
  gap: 22px;
}

.flash-product-card {
  position: relative;
  background: #ffffff;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: 0.25s ease;
}

.flash-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.10);
}

.flash-product-card .product-visual {
  height: 190px;
  width: 100%;
  background: #f5f7fa;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flash-product-card .product-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.flash-product-card .product-category {
  display: inline-block;
  margin-top: 15px;
  color: #079b8c;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.flash-product-card .product-name {
  color: #172337;
  font-size: 15px;
  margin: 9px 0;
  min-height: 38px;
}

.flash-product-card .product-price {
  color: #078447;
  font-size: 19px;
  font-weight: 800;
  margin: 12px 0;
}

.flash-product-card .details-button,
.flash-product-card .add-button {
  width: 100%;
  margin-top: 8px;
  padding: 11px;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 700;
}

.flash-product-card .details-button {
  background: #ffffff;
  color: #172337;
  border: 1px solid #cbd5e1;
}

.flash-product-card .add-button {
  background: #079b8c;
  color: #ffffff;
  border: 1px solid #079b8c;
}

.flash-deal-badge {
  display: inline-block;
  background: #f97316;
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 10px;
}

@media (max-width: 600px) {
  .flash-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .flash-product-card {
    padding: 10px;
  }

  .flash-product-card .product-visual {
    height: 145px;
  }
}


/* =========================================
   GAMIPHIL HERO PROMOTIONAL SLIDER
========================================= */

.hero-slider {
  position: relative;
  width: 100%;
  background: #f1f5f9;
  overflow: hidden;
  padding: 35px 20px 65px;
  box-sizing: border-box;
}

.hero-slides {
  max-width: 1250px;
  margin: auto;
}

.hero-slide {
  display: none;
  min-height: 440px;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.hero-slide.active {
  display: flex;
}

.hero-slider .hero-content {
  flex: 1;
  max-width: 600px;
  padding: 25px 0;
}

.hero-slider .eyebrow {
  display: inline-block;
  color: #079b8c;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

.hero-slider .hero-content h1 {
  color: #142337;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 20px;
}

.hero-slider .hero-content h1 span {
  color: #079b8c;
}

.hero-slider .hero-content p {
  color: #64748b;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 15px;
}

.hero-slider .hero-content .hero-condition {
  color: #334155;
  font-size: 13px;
}

.hero-slider .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.hero-slider .trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
  font-size: 12px;
  color: #64748b;
}

.hero-slider .trust-line span {
  color: #079b8c;
  font-weight: 800;
}

.hero-slider .hero-art {
  flex: 1;
  max-width: 560px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-slider .hero-image {
  width: 100%;
  max-height: 390px;
  object-fit: contain;
  border-radius: 12px;
}

.hero-icon-art {
  min-height: 300px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #d9f4ef, #e7edf8);
  border-radius: 20px;
}

.hero-icon-art span {
  font-size: 75px;
  padding: 15px;
}

/* SLIDER ARROWS */

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  color: #142337;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0,0,0,0.12);
  z-index: 5;
}

.slider-prev {
  left: 15px;
}

.slider-next {
  right: 15px;
}

.slider-arrow:hover {
  background: #079b8c;
  color: #ffffff;
}

/* SLIDER DOTS */

.slider-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
}

.slider-dot.active {
  width: 25px;
  border-radius: 10px;
  background: #079b8c;
}

/* MOBILE RESPONSIVENESS */

@media (max-width: 768px) {
  .hero-slider {
    padding: 30px 20px 65px;
  }

  .hero-slide.active {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .hero-slider .hero-content {
    width: 100%;
    padding: 10px 0;
  }

  .hero-slider .hero-content h1 {
    font-size: 34px;
  }

  .hero-slider .hero-actions {
    justify-content: center;
  }

  .hero-slider .trust-line {
    justify-content: center;
  }

  .hero-slider .hero-art {
    width: 100%;
  }

  .hero-slider .hero-image {
    max-height: 260px;
  }

  .hero-icon-art {
    min-height: 200px;
  }

  .hero-icon-art span {
    font-size: 48px;
  }

  .slider-arrow {
    width: 34px;
    height: 34px;
  }
}
/* FULL WIDTH PROMOTIONAL BANNER */

.hero-slide:has(.full-slider-banner) {
  padding: 0;
  gap: 0;
  min-height: 440px;
}

.full-slider-banner {
  display: block;
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

/* =================================
   SMOOTH HERO SLIDE TRANSITIONS
================================= */

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateX(15px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-slide.active {
  animation: heroFade 0.65s ease-in-out;
}

/* =================================
   MOBILE PROMOTIONAL BANNERS
================================= */

@media (max-width: 600px) {

  .hero-slide:has(.full-slider-banner) {
    min-height: auto;
  }

  .full-slider-banner {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    border-radius: 8px;
  }

  .hero-slider {
    padding: 20px 10px 55px;
  }

  .slider-prev {
    left: 5px;
  }

  .slider-next {
    right: 5px;
  }
}

/* =================================
   SHOP BY CATEGORY
================================= */

.shop-categories {
  padding: 55px 20px;
  background: #ffffff;
}

.shop-categories .section-heading,
.category-grid {
  max-width: 1250px;
  margin-left: auto;
  margin-right: auto;
}

.shop-categories .section-heading {
  margin-bottom: 30px;
}

.shop-categories h2 {
  color: #142337;
  font-size: 30px;
  margin: 8px 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.category-card {
  background: #f7fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 25px;
  text-align: left;
  cursor: pointer;
  transition: 0.25s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: #079b8c;
  box-shadow: 0 8px 22px rgba(0,0,0,0.07);
}

.category-icon {
  display: inline-flex;
  width: 55px;
  height: 55px;
  background: #dff7f2;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  font-size: 29px;
}

.category-card h3 {
  color: #142337;
  margin: 16px 0 8px;
  font-size: 17px;
}

.category-card p {
  color: #64748b;
  font-size: 13px;
  margin-bottom: 15px;
}

.category-link {
  color: #079b8c;
  font-weight: 700;
  font-size: 13px;
}

@media (max-width: 700px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .category-card {
    padding: 17px;
  }
}

@media (max-width: 380px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
}
