/* Add custom CSS styles below */ 
/* Serah Store - Custom CSS Style
   File: style.css
   Use: Add this file in your theme/custom CSS area or link it inside HTML:
   <link rel="stylesheet" href="style.css">
*/

:root {
  --serah-primary: #0A1BFF;
  --serah-primary-dark: #0610a8;
  --serah-accent: #FFC857;
  --serah-bg: #F7F8FF;
  --serah-text: #111827;
  --serah-muted: #6B7280;
  --serah-card: #FFFFFF;
  --serah-border: #E5E7EB;
  --serah-radius: 18px;
  --serah-shadow: 0 12px 35px rgba(10, 27, 255, 0.10);
}

/* General */
body {
  background: var(--serah-bg);
  color: var(--serah-text);
  font-family: "Rubik", Arial, sans-serif;
}

a {
  transition: 0.25s ease;
}

.container {
  max-width: 1180px;
}

/* Top advertisement bar */
salla-advertisement .s-advertisement {
  background: linear-gradient(90deg, var(--serah-primary), var(--serah-primary-dark)) !important;
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0;
}

.s-advertisement-content a {
  color: #fff !important;
  text-decoration: none;
}

.s-advertisement-content-icon {
  color: var(--serah-accent) !important;
}

/* Top navbar */
.top-navbar {
  background: #ffffff;
  border-bottom: 1px solid var(--serah-border);
}

.topnav-link-item,
.s-contacts-topnav-link {
  color: var(--serah-muted) !important;
  font-size: 13px;
  font-weight: 500;
}

.topnav-link-item:hover,
.s-contacts-topnav-link:hover {
  color: var(--serah-primary) !important;
}

/* Main header */
.store-header .main-nav-container {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--serah-border);
  box-shadow: 0 8px 25px rgba(17, 24, 39, 0.06) !important;
}

.navbar-brand img {
  max-height: 62px;
  object-fit: contain;
}

.main-menu > li > a {
  color: var(--serah-text) !important;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 999px;
}

.main-menu > li > a:hover {
  background: rgba(10, 27, 255, 0.08);
  color: var(--serah-primary) !important;
}

/* Search */
.s-search-input {
  border: 1px solid var(--serah-border) !important;
  background: #F9FAFB !important;
  color: var(--serah-text) !important;
  padding-inline: 45px 18px !important;
  transition: 0.25s ease;
}

.s-search-input:focus {
  background: #fff !important;
  border-color: var(--serah-primary) !important;
  box-shadow: 0 0 0 4px rgba(10, 27, 255, 0.10) !important;
}

.s-search-icon svg {
  fill: var(--serah-primary);
}

/* Header icons */
.header-btn__icon,
.s-cart-summary-icon,
.s-user-menu-login-btn svg {
  color: var(--serah-primary) !important;
  fill: var(--serah-primary) !important;
}

.s-cart-summary-wrapper,
.s-user-menu-login-btn {
  border-radius: 14px;
  background: #F3F4FF;
  padding: 8px 10px;
  transition: 0.25s ease;
}

.s-cart-summary-wrapper:hover,
.s-user-menu-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--serah-shadow);
}

/* Slider */
.s-block--photos-slider {
  padding-top: 22px;
}

.photos-slider .swiper-slide img {
  border-radius: 24px !important;
  box-shadow: var(--serah-shadow);
  overflow: hidden;
}

.s-slider-nav-arrow {
  background: #fff !important;
  color: var(--serah-primary) !important;
  border: 1px solid var(--serah-border) !important;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08);
}

.s-slider-nav-arrow:hover {
  background: var(--serah-primary) !important;
  color: #fff !important;
}

.swiper-pagination-bullet {
  background: var(--serah-primary) !important;
  opacity: 0.25;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  width: 22px;
  border-radius: 999px;
}

/* Reviews section */
.s-block--testimonials {
  margin-top: 38px;
  margin-bottom: 38px;
}

.s-reviews-header-wrapper {
  margin-bottom: 18px;
}

.s-reviews-header {
  color: var(--serah-text);
  font-weight: 900;
  font-size: 28px;
  position: relative;
}

.s-reviews-header::after {
  content: "";
  display: block;
  width: 58px;
  height: 4px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--serah-primary);
}

.s-reviews-display-all {
  color: var(--serah-primary) !important;
  font-weight: 700;
}

.s-reviews-testimonial {
  background: var(--serah-card);
  border: 1px solid var(--serah-border);
  border-radius: 24px;
  box-shadow: var(--serah-shadow);
  padding: 22px;
  min-height: 190px;
}

.s-reviews-testimonial__avatar img {
  border: 3px solid rgba(10, 27, 255, 0.15);
  border-radius: 50%;
}

.s-reviews-testimonial__text p {
  color: var(--serah-text);
  font-size: 16px;
  line-height: 1.9;
}

.s-reviews-testimonial__info h2 {
  color: var(--serah-primary);
  font-weight: 800;
}

.s-rating-stars-selected svg {
  fill: var(--serah-accent) !important;
}

.s-reviews-testimonial__icon svg {
  fill: rgba(10, 27, 255, 0.10) !important;
}

/* Product / common cards */
.s-product-card-entry,
.product-card,
.s-block__item {
  border-radius: var(--serah-radius) !important;
  border: 1px solid var(--serah-border);
  background: var(--serah-card);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
  transition: 0.25s ease;
}

.s-product-card-entry:hover,
.product-card:hover,
.s-block__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--serah-shadow);
}

/* Buttons */
button,
.s-button-element,
.s-add-to-cart-button,
.s-product-card-wishlist-btn {
  border-radius: 999px !important;
}

.s-button-primary,
.s-add-to-cart-button {
  background: var(--serah-primary) !important;
  border-color: var(--serah-primary) !important;
  color: #fff !important;
  font-weight: 800;
}

.s-button-primary:hover,
.s-add-to-cart-button:hover {
  background: var(--serah-primary-dark) !important;
  border-color: var(--serah-primary-dark) !important;
  transform: translateY(-2px);
}

/* footer */

.store-footer__inner {
  background-image: url('https://cdn.files.salla.network/homepage/1817505418/0d37835a-7d26-4bbb-aa91-e5584f4ea462.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.s-social-link a{
  background-color: white;
}

/* Mobile */
@media (max-width: 768px) {
  .top-navbar {
    display: none;
  }

  .store-header .main-nav-container {
    height: 72px !important;
  }

  .navbar-brand img {
    max-height: 52px;
  }

  .header-search {
    display: none;
  }

  .s-block--photos-slider {
    padding-top: 14px;
  }

  .photos-slider .swiper-slide img {
    border-radius: 16px !important;
  }

  .s-reviews-header {
    font-size: 23px;
  }

  .s-reviews-testimonial {
    padding: 18px;
    border-radius: 18px;
  }

  .s-reviews-testimonial__text p {
    font-size: 14px;
  }
}