/* =========================================================
   GOOGLE FONT & GLOBAL RESET
========================================================= */

:root {
  /* Primary */
  --store-primary: #0284c7;
  --store-primary-dark: #006d77;
  --store-primary-soft: #7dd3fc;

  /* Blue Gradient */
  --store-light-blue: #f0f9ff;
  --store-powder-blue: #bae6fd;

  /* Neutral */
  --store-white: #ffffff;
  --store-background: #f4f8fb;
  --store-border: #e2e8f0;

  /* Text */
  --store-text: #0f2942;
  --store-text-secondary: #526b82;
  --store-text-muted: #8fa3b8;

  /* Accent */
  --store-cyan: #14b8a6;
  --store-cyan-soft: #f0fdfa;

  /* Shadow */
  --store-shadow: rgba(2, 132, 199, 0.07);
  --store-shadow-hover: rgba(2, 132, 199, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--store-text);
  background: var(--store-background);
}

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

button,
input {
  font-family: inherit;
}

/* =========================================================
   GLOBAL
========================================================= */

.retail-page {
  min-height: 100vh;
  animation: retailFade 0.8s ease;
}

@keyframes retailFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

/* =========================================================
   TOP PROMO BAR
========================================================= */

.shop-topbar {
  background: var(--store-primary-dark);
  color: var(--store-white);
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.2px;
}

.shop-topbar strong {
  font-weight: 600;
}

/* =========================================================
   HEADER — LOGO, SEARCH & CART
========================================================= */

.shop-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  margin-top: 0;
  background: rgba(255, 255, 255, 0.97);
  border-top: 0;
  border-bottom: 1px solid var(--store-border);
  backdrop-filter: blur(12px);
}

.shop-nav {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Logo */

.shop-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.shop-logo-icon img {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--store-light-blue);
  object-fit: contain;
}

.shop-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.shop-logo-text strong {
  font-family: Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--store-primary-dark);
}

.shop-logo-text small {
  margin-top: 5px;
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--store-text-muted);
}

/* Search */

.prd-search-wrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% + 1px));
  width: min(780px, 60%);
  min-width: 100px;
}

.prd-search-wrapper input {
  width: 100%;
  height: 44px;
  padding: 0 18px 0 44px;
  border: 1px solid var(--store-border);
  border-radius: 20px;
  outline: none;
  background: var(--store-background);
  color: var(--store-text);
  font-family: inherit;
  font-size: 13px;
  transition: 0.2s ease;
}

.prd-search-wrapper input:focus {
  border-color: var(--store-primary);
  background: var(--store-white);
  box-shadow: 0 0 0 3px rgba(40, 120, 199, 0.08);
}

.prd-search-wrapper::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background: var(--store-text-muted);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

/* Cart */

.shop-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}

.shop-action {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--store-border);
  border-radius: 20px;
  background: var(--store-white);
  color: var(--store-primary-dark);
  cursor: pointer;
  transition: 0.2s ease;
}

.shop-action:hover {
  border-color: var(--store-primary);
  background: var(--store-light-blue);
  color: var(--store-primary);
}

.shop-action .lucide {
  width: 17px;
  height: 17px;
}

.shop-action #prd-cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--store-white);
  border-radius: 20px;
  background: var(--store-primary);
  color: var(--store-white);
  font-size: 10px;
  font-weight: 700;
}

/* =========================================================
   HERO
========================================================= */

.shop-hero {
  background:
    radial-gradient(
      circle at 75% 30%,
      rgba(255, 255, 255, 0.65),
      transparent 30%
    ),
    linear-gradient(
      110deg,
      var(--store-light-blue),
      var(--store-powder-blue) 55%,
      #eaf5ff
    );

  min-height: 450px;
  overflow: hidden;
}

.shop-hero-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 450px;
  margin: auto;

  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
}

.shop-hero-content {
  padding: 60px 0;
  position: relative;
  z-index: 2;
}

.shop-hero-label {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 4px;
  font-weight: 600;
  color: var(--store-primary);
}

.shop-hero-title {
  margin: 0;
  max-width: 540px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.02;
  font-weight: 400;
  color: var(--store-primary-dark);
}

.shop-hero-desc {
  max-width: 480px;
  margin: 22px 0 27px;

  font-size: 14px;
  line-height: 1.8;
  color: #496783;
}

.shop-hero-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.shop-primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--store-primary);
  color: var(--store-white);
  padding: 13px 22px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  transition: 0.25s ease;
}

.shop-primary-btn:hover {
  background: var(--store-primary-dark);
  transform: translateY(-2px);
}

.shop-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--store-primary-dark);
  font-size: 12px;
  font-weight: 500;
}

.shop-video-icon {
  width: 34px;
  height: 34px;
  border: 1px solid var(--store-primary-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-hero-visual {
  height: 100%;
  min-height: 450px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

.shop-hero-visual::before {
  content: "";
  width: 470px;
  height: 470px;
  position: absolute;
  right: 10px;
  bottom: -180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.shop-hero-image {
  position: relative;
  z-index: 2;
  width: min(570px, 100%);
  max-height: 450px;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px 200px 0 0;
  display: block;
  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.6s ease,
    filter 0.6s ease;

  box-shadow: 0 18px 40px rgba(31, 75, 120, 0.12);
}

.shop-hero-image:hover {
  transform: translateY(-10px) scale(1.03);
  filter: brightness(1.04) contrast(1.02) saturate(1.08);
  box-shadow: 0 35px 70px rgba(31, 75, 120, 0.18);
}

/* =========================================================
   BENEFITS / TRUST BAR
========================================================= */

.shop-benefits {
  position: relative;
  z-index: 10;
  width: min(1100px, calc(100% - 40px));
  margin: -28px auto 0;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  box-shadow: 0 10px 35px rgba(31, 79, 120, 0.1);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.shop-benefit {
  padding: 21px 20px;
  display: flex;
  align-items: center;
  gap: 13px;

  border-right: 1px solid var(--store-border);
}

.shop-benefit:last-child {
  border-right: 0;
}

.shop-benefit-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--store-primary);
}

.shop-benefit-icon .lucide {
  width: 25px;
  height: 25px;
}

.shop-benefit strong {
  display: block;
  font-size: 11px;
  color: var(--store-primary-dark);
}

.shop-benefit span {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  color: var(--store-text-muted);
}

/* =========================================================
   HERO TITLE EXISTING
========================================================= */

.prd-hero {
  text-align: center;
  margin: 70px auto 8px;
}

.prd-hero-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 400;
  color: var(--store-primary-dark);
  letter-spacing: 0;
  margin: 0;
}

.prd-hero-sub {
  max-width: 650px;
  margin: 0 auto 25px;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
  color: var(--store-text-secondary);
}

/* =========================================================
   PRODUCT CONTAINER
========================================================= */

.prd-container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 5px 0 50px;
  justify-content: center;
}

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

.prd-card {
  background: var(--store-white);
  border: 1px solid var(--store-border);
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(31, 75, 120, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;

  display: flex;
  flex-direction: column;
}

.prd-card:hover {
  box-shadow: 0 14px 30px rgba(31, 75, 120, 0.12);
}

/* =========================================================
   PRODUCT IMAGE
========================================================= */

.prd-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: #eaf5ff;
  transition: transform 0.4s ease;
}

.prd-card:hover .prd-img {
  transform: scale(1.025);
}

/* =========================================================
   PRODUCT CONTENT
========================================================= */

.prd-content {
  padding: 17px 17px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.prd-title {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--store-primary-dark);
  margin: 0 0 7px;
}

.prd-desc {
  font-size: 11px;
  line-height: 1.55;
  color: var(--store-text-muted);
  margin: 0 0 12px;
}

.prd-price {
  display: flex;
  align-items: baseline;
  margin-top: auto;
  font-size: 16px;
  font-weight: 700;
  color: var(--store-primary);
  margin-bottom: 13px;
}

/* =========================================================
   QUANTITY CONTROL
========================================================= */

.qty-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.qty-number {
  min-width: 35px;
  padding: 0 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--store-primary-dark);
}

.prd-btn-cart {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: var(--store-light-blue);
  color: var(--store-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
}

.prd-btn-cart:hover {
  background: var(--store-primary);
  color: var(--store-white);
  transform: scale(1.06);
}

.prd-btn-cart .lucide {
  width: 17px;
  height: 17px;
}

/* =========================================================
   PROMO BANNER
========================================================= */

.bottom-banner {
  width: 100%;
  margin: 24px auto;
  padding: 48px 16px;
  box-sizing: border-box;

  clip-path: ellipse(100% 100% at 50% 50%);

  border-radius: 0;

  background:
    radial-gradient(
      circle at 75% 30%,
      rgba(255, 255, 255, 0.65),
      transparent 30%
    ),
    linear-gradient(
      110deg,
      var(--store-light-blue),
      var(--store-powder-blue) 55%,
      #eaf5ff
    );
}

.banner-item {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 900px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--store-border);
  background-color: var(--store-white);
  box-shadow: 0 4px 12px var(--store-shadow);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.banner-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Efek Hover Elegan */
.banner-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--store-shadow-hover);
}

/* ==========
   Responsive Display Switcher
   ============ */

.banner-desktop {
  display: none;
}

.banner-mobile {
  display: block;
}

/* Layar Tablet & Desktop (768px ke atas) */
@media (min-width: 768px) {
  .banner-desktop {
    display: block;
  }

  .banner-mobile {
    display: none;
  }
}

/* =========================================================
   PAGINATION
========================================================= */

.prd-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 30px 0;
}

.prd-page-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--store-border);
  background: var(--store-white);
  color: var(--store-text);
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
}

.prd-page-btn.active {
  font-weight: 700;
  background: var(--store-primary);
  border-color: var(--store-primary);
  color: var(--store-white);
}

.prd-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* =========================================================
   FOOTER
   PREFIX: sft-
========================================================= */

.sft-footer {
  width: 100%;
  margin-top: 30px;
  background: var(--store-primary-dark);
  color: var(--store-white);
}

/* =========================================================
   SERVICE BAR
========================================================= */

.sft-service-bar {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  transform: translateY(-1px);
  background: #eaf5ff;
  border-radius: 16px 16px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.sft-service-item {
  min-height: 82px;
  padding: 17px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid #dce8f5;
}

.sft-service-item:last-child {
  border-right: none;
}

/* ICON */

.sft-service-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--store-primary);
}

.sft-service-icon .lucide {
  width: 27px;
  height: 27px;
  stroke-width: 1.5;
}

/* TEXT */

.sft-service-content {
  display: flex;
  flex-direction: column;
}

.sft-service-content strong {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--store-primary-dark);
}

.sft-service-content span {
  margin-top: 3px;
  font-size: 9px;
  color: var(--store-text-secondary);
}

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

.sft-main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 55px 0 45px;
  display: grid;
  grid-template-columns:
    1.7fr
    1fr
    1fr
    1.3fr;
  gap: 60px;
}

/* =========================================================
   BRAND
========================================================= */

.sft-brand-logo {
  display: flex;
  align-items: center;
  gap: 11px;
}

.sft-brand-icon img {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--store-light-blue);
}

.sft-brand-logo strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--store-white);
}

.sft-brand-logo small {
  display: block;
  margin-top: 4px;
  font-size: 7px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.65);
}

.sft-brand > p {
  max-width: 310px;
  margin: 20px 0 20px;
  font-size: 11px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.68);
}

/* =========================================================
   SOCIAL
========================================================= */

.sft-social {
  display: flex;
  align-items: center;
  gap: 9px;
}

.sft-social a {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  transition: 0.25s ease;
}

.sft-social a:hover {
  background: var(--store-white);
  color: var(--store-primary-dark);
  transform: translateY(-3px);
}

.sft-social .lucide {
  width: 15px;
  height: 15px;
}

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

.sft-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sft-column h3 {
  margin: 3px 0 20px;
  font-size: 13px;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: var(--store-white);
}

.sft-column > a {
  margin-bottom: 11px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.67);
  transition: 0.2s ease;
}

.sft-column > a:hover {
  color: var(--store-white);
  transform: translateX(3px);
}

/* CONTACT */

.sft-column > p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.67);
}

.sft-column > p .lucide {
  width: 15px;
  height: 15px;
  color: var(--store-cyan);
}

/* =========================================================
   COPYRIGHT
========================================================= */

.sft-bottom {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.52);
}

.sft-bottom-links {
  display: flex;
  gap: 20px;
}

.sft-bottom-links a {
  color: rgba(255, 255, 255, 0.52);
  transition: 0.2s ease;
}

.sft-bottom-links a:hover {
  color: var(--store-white);
}
