/* --- 1. Variables & Colors --- */
:root {
	--bg-color: #D3D5E3;        
	--primary-text: #686AAC;    
	--btn-color: #4E5081;       
	--btn-hover: #3b3d63;       
	--card-bg: #ffffff;
	--text-dark: #333333;
	--price-old: #999;
	--price-new: #e74c3c;
	--badge-lic: #686AAC;
	--badge-sub: #27ae60;
	--badge-srv: #3498db;
	--star-color: #f1c40f; 
	--footer-bg: #2C3E50; 
	--footer-text: #ecf0f1;
	--newsletter-bg: #f5f5f5; 
	--featured-bg: #fdfdff;
	--featured-card-bg: #ffffff;
	--whatsapp-color: #25D366;
}

/* --- 2. General Reset --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
	background-color: var(--bg-color);
	font-family: 'Poppins', sans-serif;
	color: var(--text-dark);
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
	font-family: 'Anton', sans-serif;
	color: var(--primary-text);
	text-transform: uppercase;
	letter-spacing: 1px;
}


/*===== HEADER STYLES =====*/
.site-header {
  background: white;
  padding: 15px 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  flex-wrap: nowrap;
  gap: 20px;

  &.menu-open {
    .mobile-menu-btn {
      transform: rotate(90deg);
    }

    .header-actions-wrapper {
      display: block;
    }
  }

  /* Logo */
  .brand-logo {
    font-size: 1.8rem;
    margin: 0;
    flex-shrink: 0;
  }

  /* Mobile menu button */
  .mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--primary-text);
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Search */
  .search-container {
    flex: 1;
    max-width: 500px;
    margin: 0 30px;
    display: flex;
    position: relative;

    .search-input {
      width: 100%;
      padding: 12px 20px;
      border: 2px solid #eee;
      border-radius: 30px;
      outline: none;
      font-family: 'Poppins', sans-serif;
      transition: border-color 0.3s;

      &:focus {
        border-color: var(--primary-text);
      }
    }

    .search-btn {
      position: absolute;
      right: 5px;
      top: 4px;
      background: var(--btn-color);
      color: white;
      border: none;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      cursor: pointer;
      transition: background 0.3s;

      &:hover {
        background: var(--btn-hover);
      }
    }
  }

  /* Header Actions */
  .header-actions-wrapper {
    display: block;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
  }

  /* Currency Selector */
  .currency-selector {
    padding: 8px 25px 8px 10px;
    border: 1px solid var(--primary-text);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-text);
    background-color: #f7f7fc;
    cursor: pointer;
    appearance: none;
    background-repeat: no-repeat;
    background-position: right 8px top 50%;
    background-size: 10px auto;
    transition: all 0.2s;

    &:hover {
      box-shadow: 0 0 5px rgba(104, 106, 172, 0.5);
    }
  }

  /* Navigation */
  .header-nav {
    display: flex;
    align-items: center;
    gap: 8px;

    .action-link {
      text-decoration: none;
      color: var(--btn-color);
      font-weight: 600;
      font-size: 0.95rem;
      white-space: nowrap;
      border-radius: 4px;
      padding: 8px 10px;
      transition: color 0.2s, background-color 0.2s;

      &:hover {
        color: white;
        background-color: var(--primary-text);
      }
    }
  }

  /* Auth */
  .header-auth {
    display: flex;
    align-items: center;
    gap: 12px;

    .login-btn {
      text-decoration: none;
      color: var(--btn-color);
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 15px;
      border: 1px solid var(--btn-color);
      border-radius: 20px;
      transition: all 0.3s;
      white-space: nowrap;

      &:hover {
        background: var(--btn-color);
        color: white;
      }
    }
  }

  /* Cart */
  .cart-icon {
    font-size: 1.2rem;
    color: var(--text-dark);
    cursor: pointer;
    position: relative;

    .cart-badge {
      position: absolute;
      top: -8px;
      right: -8px;
      background: var(--price-new);
      color: white;
      font-size: 0.7rem;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }

  /* ===== TABLET ===== */
  @media (max-width: 1024px) {
    padding: 15px 20px;

    .search-container {
      margin: 0 15px;
      max-width: 380px;
    }

    .header-nav {
      .action-link {
        font-size: 0.9rem;
      }
    }
  }

  /* ===== MOBILE ===== */
  @media (max-width: 900px) {
    flex-wrap: wrap;
    flex-direction: row;

    .brand-logo {
      order: 1;
    }

    .mobile-menu-btn {
      display: block;
      order: 3;
    }

    .search-container {
      order: 2;
      width: 100%;
      max-width: 100%;
      margin: 10px 0;
    }

    .header-actions-wrapper {
      order: 4;
      width: 100%;
      display: none;
    }

    .header-nav {
      justify-content: space-around;
      width: 100%;
      flex-wrap: wrap;

      .action-link {
        flex: 1 1 0;
        text-align: center;
      }
    }

    .header-actions {
      flex-direction: column;
      gap: 14px;
      align-items: stretch;
    }

    .currency-selector {
      width: 100%;
    }

    .header-auth {
      justify-content: space-around;
      gap: 16px;
    }
  }

  /* ===== SMALL MOBILE ===== */
  @media (max-width: 480px) {
    .brand-logo {
      font-size: 1.5rem;
    }

    .search-container {
      .search-input {
        padding: 10px 18px;
      }

      .search-btn {
        width: 36px;
        height: 36px;
      }
    }
  }
}

/*===== COVER / HERO SECTION =====*/
.cover-section {
  background: var(--primary-text) url('https://picsum.photos/1400/500') center/cover no-repeat;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);

  &::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
  }

  .cover-content {
    position: relative;
    z-index: 5;
    color: white;

    h1 {
      font-size: 3.5rem;
      margin-bottom: 10px;
      color: white;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }

    p {
      font-size: 1.2rem;
      margin-bottom: 30px;
      font-weight: 300;
    }

    .cover-btn {
      background: var(--price-new);
      color: white;
      padding: 12px 30px;
      border: none;
      border-radius: 30px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: background 0.3s, transform 0.2s;

      &:hover {
        background: #c0392b;
        transform: translateY(-2px);
      }
    }
  }

  /* ================================
     TABLET
  ================================ */
  @media (max-width: 1024px) {
    height: 320px;

    .cover-content {
      h1 {
        font-size: 3rem;
      }

      p {
        font-size: 1.1rem;
      }
    }
  }

  /* ================================
     MOBILE
  ================================ */
  @media (max-width: 768px) {
    height: 300px;
    padding: 0 20px;

    .cover-content {
      h1 {
        font-size: 2.4rem;
      }

      p {
        font-size: 1rem;
      }
    }
  }

  /* ================================
     SMALL MOBILE
  ================================ */
  @media (max-width: 480px) {
    height: 260px;

    .cover-content {
      h1 {
        font-size: 2rem;
        line-height: 1.25;
      }

      p {
        font-size: 0.95rem;
        margin-bottom: 24px;
      }

      .cover-btn {
        padding: 10px 24px;
        font-size: 0.95rem;
      }
    }
  }
}

/* ===== FEATURED SCROLL SECTION (SCSS) ===== */
.featured-scroll-container {
  background-color: var(--featured-bg);
  padding: 20px 0;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);

  &:hover {
    .featured-track {
      animation-play-state: paused;
    }
  }

  .featured-track {
    display: inline-flex;
    gap: 20px;
    animation: featured-scroll 45s linear infinite;
    animation-delay: -45s;
  }

  .featured-item-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 130px;
    background-color: var(--featured-card-bg);
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    flex-shrink: 0;

    &:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
      color: var(--primary-text);
    }

    .featured-img-placeholder {
      font-size: 2rem;
      color: var(--btn-color);
      margin-bottom: 5px;
      position: relative;

      .color-demo {
        position: absolute;
        bottom: -15px;
        right: 0;
        display: flex;
        gap: 2px;

        .color-dot {
          width: 8px;
          height: 8px;
          border-radius: 50%;
          border: 1px solid white;
          box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        }
      }
    }

    .featured-text {
      font-size: 0.8rem;
      font-weight: 500;
      white-space: normal;
      padding: 0 5px;
    }
  }

  /* ===== TABLET ===== */
  @media (max-width: 768px) {
    padding: 16px 0;

    .featured-item-card {
      width: 110px;
      height: 110px;

      .featured-img-placeholder {
        font-size: 1.8rem;
      }

      .featured-text {
        font-size: 0.75rem;
      }
    }
  }

  /* ===== MOBILE ===== */
  @media (max-width: 600px) {
    .featured-item-card {
      width: 100px;
      height: 100px;

      .featured-img-placeholder {
        font-size: 1.5rem;
      }

      .featured-text {
        font-size: 0.7rem;
      }
    }
  }
}

/* ===== KEYFRAMES ===== */
@keyframes featured-scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/*===== LAYOUT CONTAINER =====*/
.layout-container {
  display: flex;
  width: 100%;
  max-width: 1350px;
  margin: 40px auto 40px;
  padding: 0 20px;
  gap: 30px;
  flex: 1;

	/* ========= SIDEBAR =========*/
  .sidebar {
    flex: 0 0 260px;
    width: 260px;
    background: white;
    border-radius: 12px;
    padding: 25px;
    height: fit-content;

    h3 {
      font-size: 1.2rem;
      margin-bottom: 20px;
      border-bottom: 2px solid var(--bg-color);
      padding-bottom: 10px;
    }

    .category-list {
      list-style: none;

      li {
        margin-bottom: 8px;

        a {
          text-decoration: none;
          color: #555;
          font-weight: 500;
          display: flex;
          align-items: center;
          padding: 10px;
          border-radius: 8px;
          transition: all 0.2s;

          i {
            margin-right: 12px;
            width: 20px;
            text-align: center;
          }

          &:hover {
            background-color: var(--bg-color);
            color: var(--btn-color);
            padding-left: 15px;
          }

          &.active {
            background-color: var(--primary-text);
            color: white;
          }

          &.offer-link {
            color: var(--price-new);
            font-weight: 700;

            i {
              color: var(--price-new);
            }

            &:hover {
              background-color: #ffe6e6;
            }
          }
        }
      }
    }

    .ad-label {
      text-align: center;
      font-size: 0.65rem;
      color: #999;
      text-transform: uppercase;
      margin-top: 15px;
      margin-bottom: 5px;
      font-weight: 600;
      letter-spacing: 0.5px;
    }

    .google-ad-box {
      width: 100%;
      height: 250px;
      background-color: var(--bg-color);
      border: 1px solid #ddd;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #666;
      font-weight: 500;
      font-size: 0.9rem;
      margin-bottom: 15px;
    }
  }
/* ========= MAIN CONTENT =========*/
  .main-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;

    .section-title-bar {
      margin-bottom: 10px;
      font-size: 1.2rem;
      font-weight: 600;
      color: var(--primary-text);
      border-bottom: 2px solid rgba(0, 0, 0, 0.05);
      padding-bottom: 10px;
      display: flex;
      justify-content: space-between;
    }

    /* Product Filter */
    .product-filter-bar {
      background: var(--card-bg);
      padding: 15px 20px;
      border-radius: 10px;
      margin-bottom: 25px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);

      .filter-group {
        display: flex;
        align-items: center;
        gap: 15px;
        font-size: 0.9rem;
        color: #555;

        label {
          font-weight: 500;
        }

        select {
          padding: 8px 12px;
          border: 1px solid #ddd;
          border-radius: 6px;
          background-color: white;
          color: var(--text-dark);
          cursor: pointer;
          font-size: 0.9rem;
        }
      }

      .filter-view {
        display: flex;
        gap: 6px;

        button {
          border: none;
          background: none;
          color: #888;
          font-size: 1.1rem;
          cursor: pointer;
          padding: 8px;
          border-radius: 6px;
          transition: color 0.2s, background 0.2s, box-shadow 0.2s;

          &.active,
          &:hover {
            color: var(--primary-text);
            background: #f0f3ff;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
          }
        }
      }
    }

    /* Product Grid */
    .shop-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 25px;

      .product-card {
        background: var(--card-bg);
        border-radius: 10px;
        overflow: hidden;
        position: relative;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s;
        display: flex;
        flex-direction: column;
        border: 1px solid #eee;
        width: 100%;
        max-width: 400px;
        justify-self: center;

        &:hover {
          transform: translateY(-5px);
          box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        .badge {
          position: absolute;
          top: 15px;
          right: 15px;
          padding: 5px 12px;
          border-radius: 20px;
          font-size: 0.7rem;
          font-weight: 600;
          color: white;
          text-transform: uppercase;
          z-index: 2;

          &.badge-license { background-color: var(--badge-lic); }
          &.badge-sub { background-color: var(--badge-sub); }
          &.badge-srv { background-color: var(--badge-srv); }
        }

        .card-image {
          height: 200px;
          background-color: #f4f7f6;
          display: flex;
          align-items: center;
          justify-content: center;
          color: var(--primary-text);
          font-size: 3rem;
          border-bottom: 1px solid #f0f0f0;
        }

        .card-content {
          padding: 18px;
          display: flex;
          flex-direction: column;
          flex: 1;

          .sub-category {
            font-size: 0.75rem;
            color: #999;
            text-transform: uppercase;
            font-weight: 600;
            margin-bottom: 5px;
          }

          .card-title {
            font-size: 1.1rem;
            margin-bottom: 10px;
            line-height: 1.4;
            color: #2c3e50;
            font-weight: 600;
            flex-grow: 1;
          }

          .price-rating-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-top: 10px;
            border-top: 1px solid #f9f9f9;

            .price-group {
              display: flex;
              align-items: baseline;
              gap: 8px;

              .price-old {
                text-decoration: line-through;
                color: var(--price-old);
                font-size: 0.85rem;
              }

              .price-new {
                color: var(--primary-text);
                font-weight: 700;
                font-size: 1.15rem;
              }
            }

            .rating-group {
              color: var(--star-color);
              font-size: 0.85rem;
            }
          }

          .btn-buy {
						display: inline-flex;
						align-items: center;
						justify-content: center;
            width: 100%;
            padding: 10px;
            border: none;
            background: var(--btn-color);
            color: white;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s;
            font-family: 'Poppins', sans-serif;
            font-size: 0.9rem;

            &:hover {
              background: var(--btn-hover);
            }
          }
        }
      }

			&.list-view {
				grid-template-columns: 1fr;
				gap: 18px;

				.product-card {
					display: flex;
					flex-direction: row;
					align-items: center;
					max-width: none;
					height: auto;
					padding: 0;
					gap: 0;

					.badge {
						position: absolute;
						top: 12px;
						right: 16px;
					}

					.card-image {
						flex: 0 0 160px;
						height: 120px;
						border-bottom: none;
						border-right: 1px solid #f0f0f0;
						background-color: #f6f8f7;
						padding: 12px;

						display: flex;
						align-items: center;
						justify-content: center;
						font-size: 2.2rem;
					}

					.card-content {
						padding: 18px 20px;
						display: flex;
						flex-direction: column;
						flex: 1 1 auto;
					}

					.card-title {
						margin-bottom: 8px;
						font-size: 1.05rem;
					}

					.btn-buy {
						width: 160px;
						align-self: flex-start;
						margin-top: 10px;
					}
				}
			}
    }

    .product-count-bottom {
      text-align: center;
      margin: 20px 0;
      font-size: 0.9rem;
      color: #777;
      font-weight: 500;
    }

    .pagination {
      display: flex;
      justify-content: center;
      margin-top: 40px;
      margin-bottom: 30px;
      gap: 8px;

      .page-link {
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: white;
        border-radius: 8px;
        text-decoration: none;
        color: var(--text-dark);
        font-weight: 600;
        transition: all 0.3s;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);

        &.active,
        &:hover {
          background: var(--btn-color);
          color: white;
          transform: translateY(-2px);
        }

        &.next {
          width: auto;
          padding: 0 15px;
        }
      }
    }

    /* Ticker */
    .ticker-wrap {
      width: 100%;
      height: 75px;
      background-color: var(--footer-bg);
      overflow: hidden;
      border-radius: 12px;
      display: flex;
      align-items: center;
      position: relative;
      margin-bottom: 20px;

      &:hover {
        .ticker-move {
          animation-play-state: paused;
        }
      }

      .ticker-move {
        display: flex;
        gap: 40px;
        animation: ticker-scroll 35s linear infinite;
        padding-left: 100%;
        white-space: nowrap;
      }

      .ticker-item {
        display: inline-flex;
        align-items: center;
        background: rgba(255, 255, 255, 0.1);
        padding: 8px 18px;
        border-radius: 50px;
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.2);
        text-decoration: none;
        transition: background 0.3s;

        &:hover {
          background: rgba(255, 255, 255, 0.2);
        }

        .ticker-icon {
          font-size: 1.3rem;
          margin-right: 12px;
          color: #f1c40f;
        }

        .ticker-text {
          h5 {
            font-family: 'Poppins', sans-serif;
            font-size: 0.9rem;
            margin: 0;
            color: #fff;
            text-transform: none;
          }

          span {
            font-size: 0.75rem;
            color: #ccc;
          }
        }

        .ticker-badge {
          background: #e74c3c;
          color: white;
          font-weight: bold;
          padding: 3px 10px;
          border-radius: 4px;
          font-size: 0.75rem;
          margin-left: 12px;
        }
      }
    }
  }

	/* ========= RESPONSIVE =========*/
	@media (max-width: 1024px) {
		max-width: 95%;

		.main-content {
			.shop-grid {
				grid-template-columns: repeat(2, 1fr);
			}
		}

		.product-filter-bar {
			flex-wrap: wrap;
			justify-content: center;
			gap: 10px;
		}
	}

	@media (max-width: 900px) {
		flex-direction: column;

		.sidebar {
			width: 100%;
		}
	}

	@media (max-width: 600px) {
		.main-content {
			.shop-grid {
				grid-template-columns: 1fr;
			}

			.product-card {
				max-width: 100%;
			}
		}
	}
}

/*===== KEYFRAMES =====*/
@keyframes ticker-scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/*===== NEWSLETTER SECTION =====*/
.newsletter-section {
  background-color: var(--newsletter-bg);
  padding: 50px 20px;
  margin-top: 40px;
  text-align: center;

  .newsletter-content {
    max-width: 600px;
    margin: 0 auto;

    i {
      font-size: 2rem;
      color: var(--btn-color);
      margin-bottom: 15px;
      display: inline-block;
    }

    h2 {
      font-size: 2rem;
      margin-bottom: 10px;
    }

    p {
      font-size: 1rem;
      color: #666;
      margin-bottom: 30px;
    }
  }

  .newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;

    .newsletter-input {
      padding: 12px 20px;
      border: 1px solid #ccc;
      border-radius: 8px;
      font-size: 1rem;
      width: 100%;
      max-width: 350px;
      outline: none;
      transition: border-color 0.3s;

      &:focus {
        border-color: var(--primary-text);
      }
    }

    .newsletter-btn {
      background-color: var(--btn-color);
      color: white;
      padding: 12px 25px;
      border: none;
      border-radius: 8px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.3s;
      white-space: nowrap;

      &:hover {
        background-color: var(--btn-hover);
      }
    }
  }

  /*===== TABLET =====*/
  @media (max-width: 768px) {
    padding: 45px 20px;

    .newsletter-content {
      h2 {
        font-size: 1.8rem;
      }

      p {
        font-size: 0.95rem;
      }
    }
  }

  /* ===== MOBILE ===== */
  @media (max-width: 600px) {
    .newsletter-form {
      flex-direction: column;
      align-items: stretch;

      .newsletter-input {
        max-width: 100%;
      }

      .newsletter-btn {
        width: 100%;
      }
    }
  }

  /*===== SMALL MOBILE ===== */
  @media (max-width: 480px) {
    padding: 40px 16px;

    .newsletter-content {
      h2 {
        font-size: 1.6rem;
      }

      p {
        font-size: 0.9rem;
        margin-bottom: 25px;
      }
    }

    .newsletter-form {
      gap: 12px;
    }
  }
}

/* ===== FOOTER (SCSS) ===== */
footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 50px 0 20px;
  margin-top: auto;

  .footer-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;

    .footer-col {
      h2 {
        color: white;
        margin-bottom: 15px;
        font-size: 1.4rem;
      }

      h4 {
        color: white;
        margin-bottom: 20px;
        font-size: 1.1rem;
      }

      p {
        font-size: 0.85rem;
        color: #bdc3c7;
        margin-bottom: 20px;
        line-height: 1.8;
      }

      .footer-links {
        list-style: none;

        li {
          margin-bottom: 10px;

          a {
            color: #bdc3c7;
            text-decoration: none;
            transition: color 0.3s, padding-left 0.3s;
            font-size: 0.9rem;

            &:hover {
              color: var(--primary-text);
              padding-left: 5px;
            }
          }
        }
      }

      .contact-list {
        list-style: none;
        padding: 0;

        li {
          display: flex;
          align-items: center;
          margin-bottom: 12px;
          color: #bdc3c7;
          font-size: 0.9rem;

          i {
            margin-right: 10px;
            color: var(--primary-text);
          }

          a {
            color: inherit;
            text-decoration: none;
          }
        }
      }

      .social-icons {
        display: flex;
        gap: 10px;
        margin-top: 20px;

        a {
          width: 35px;
          height: 35px;
          background: rgba(255, 255, 255, 0.1);
          display: flex;
          align-items: center;
          justify-content: center;
          border-radius: 50%;
          color: white;
          text-decoration: none;
          transition: background 0.3s;

          &:hover {
            background: var(--btn-color);
          }
        }
      }
    }
  }

  .footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: #7f8c8d;
  }

  /* ===== TABLET ===== */
  @media (max-width: 1024px) {
    .footer-container {
      grid-template-columns: repeat(2, 1fr);
      gap: 32px;
    }
  }

  /* ===== MOBILE ===== */
  @media (max-width: 600px) {
    padding: 50px 0 18px;

    .footer-container {
      grid-template-columns: 1fr;
      gap: 28px;
      text-align: center;
      padding: 0 20px;
    }

    .footer-col {
      .footer-links {
        a {
          justify-content: center;
        }
      }

      .contact-list {
        li {
          justify-content: center;
          text-align: left;
        }
      }

      .social-icons {
        justify-content: center;
      }
    }
  }
}



/* ======================= Details Page Style =========================*/

/* --- LAYOUT --- */
.layout-container {

  /* --- SUBSCRIPTION PAGE STYLES --- */
  .main-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;

    .breadcrumb {
      margin-bottom: 20px;
      font-size: 0.9rem;
      color: #666;

      a { text-decoration: none; color: var(--btn-color); }
      span { margin: 0 5px; color: #999; }
    }

    /* Top Section */
    .product-top-wrap {
      display: grid;
      grid-template-columns: 1.2fr 1fr;
      gap: 30px;
      background: white;
      padding: 30px;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
      margin-bottom: 30px;

      /* Gallery (Green Theme) */
      .product-gallery {
        position: relative;

        .gallery-main {
          width: 100%;
          height: 450px;
          background-color: #f0f2f5;
          display: flex;
          align-items: center;
          justify-content: center;
          border-radius: 8px;
          margin-bottom: 15px;
          color: var(--badge-sub);
          font-size: 4rem;
          position: relative;
          overflow: hidden;
        }

        .slide-arrow {
          position: absolute;
          top: 50%;
          transform: translateY(-50%);
          width: 40px;
          height: 40px;
          background: rgba(0, 0, 0, 0.3);
          color: white;
          display: flex;
          align-items: center;
          justify-content: center;
          border-radius: 50%;
          cursor: pointer;
          transition: 0.3s;
          font-size: 1.2rem;

          &:hover { background: var(--badge-sub); }
        }

        .slide-prev { left: 10px; }
        .slide-next { right: 10px; }

        .gallery-thumbs {
          display: flex;
          gap: 10px;
          justify-content: center;

          .thumb {
            width: 70px;
            height: 70px;
            background: #eee;
            border-radius: 6px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid transparent;
            transition: all 0.3s;

            &:hover, &.active { border-color: var(--badge-sub); }
          }
        }
      }

      /* Info Side */
      .product-info {
        display: flex;
        flex-direction: column;

        .sub-tag {
          display: inline-block;
          background: #e8f5e9;
          color: var(--badge-sub);
          font-size: 0.8rem;
          padding: 5px 10px;
          border-radius: 4px;
          font-weight: 600;
          margin-bottom: 10px;
          width: fit-content;

          i { margin-right: 5px; }
        }

				.service-tag {
					display: inline-block;
					background: #e3f2fd;
					color: var(--badge-srv);
					font-size: 0.8rem;
					padding: 5px 10px;
					border-radius: 4px;
					font-weight: 600;
					margin-bottom: 10px;
					width: fit-content;
				}

				.featured-tag {
					display: inline-block;
					background: #fff3cd;
					color: #856404;
					font-size: 0.8rem;
					padding: 5px 10px;
					border-radius: 4px;
					font-weight: 600;
					margin-bottom: 10px;
					width: fit-content;
				}

        h1 {
          font-size: 1.8rem;
          margin-bottom: 10px;
          line-height: 1.2;
        }

        .product-meta {
          display: flex;
          align-items: center;
          gap: 15px;
          margin-bottom: 20px;
          color: #666;
          font-size: 0.9rem;

          .rating-stars { color: var(--star-color); }
        }

        /* UPDATE 01: OFFER HIGHLIGHTED PRICE AREA */
        .price-area {
          background: #fff;
          border: 2px solid #e8f5e9;
          padding: 25px;
          border-radius: 8px;
          margin-bottom: 15px;
          position: relative;
          overflow: hidden;
          box-shadow: 0 5px 15px rgba(39, 174, 96, 0.1);

          .offer-badge {
            background: #e74c3c;
            color: white;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 700;
            display: inline-block;
            margin-bottom: 10px;
            text-transform: uppercase;
          }

          .price-label {
            font-size: 0.9rem;
            color: #555;
            margin-bottom: 8px;
            display: block;
            font-weight: 600;
          }

          .pricing-row { display: flex; align-items: baseline; gap: 15px; }
          .old-price-sub { text-decoration: line-through; color: #999; font-size: 1.2rem; }
          .current-price { font-size: 2.5rem; font-weight: 700; color: var(--badge-sub); line-height: 1; }
          .sub-period { font-size: 1rem; color: #666; font-weight: 400; }

          .value-text {
            margin-top: 10px;
            font-size: 0.9rem;
            color: #2e7d32;
            font-weight: 600;
            background: #e8f5e9;
            padding: 8px;
            border-radius: 4px;
            display: inline-block;
          }
        }

        /* Plan Selector */
        .license-group { margin-bottom: 15px; }
        .license-select {
          width: 100%;
          padding: 12px;
          border-radius: 6px;
          border: 1px solid #ddd;
          font-family: 'Poppins', sans-serif;
          font-size: 0.95rem;
          cursor: pointer;
          background: #fff;
        }

        /* Features */
        .sub-features {
          background: #f1f8e9;
          padding: 15px;
          border-radius: 8px;
          margin-bottom: 20px;
          border: 1px solid #c5e1a5;

          h4 {
            font-size: 0.9rem;
            margin-bottom: 10px;
            color: #33691e;
            font-family: 'Poppins', sans-serif;
            text-transform: none;
          }

          ul {
            list-style: none;
            padding: 0;
            margin: 0;
            font-size: 0.85rem;
            color: #555;

            li {
              margin-bottom: 6px;
              display: flex;
              align-items: center;

              i { color: var(--badge-sub); margin-right: 10px; }
            }
          }
        }

				/* Subscription Box */
				.sub-promo {
					background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
					border: 1px solid #a5d6a7;
					border-radius: 8px;
					padding: 15px;
					margin-bottom: 20px;

					display: flex;
					justify-content: space-between;
					align-items: center;

					.sub-text {
						color: #2e7d32;
						font-size: 0.9rem;
						font-weight: 600;

						span {
							display: block;
							font-size: 0.8rem;
							font-weight: 400;
							margin-top: 3px;
						}
					}

					.btn-sub-small {
						background: #2e7d32;
						color: white;
						border: none;
						padding: 8px 15px;
						border-radius: 20px;
						font-size: 0.85rem;
						font-weight: 600;
						cursor: pointer;
						text-decoration: none;

						&:hover {
							background: #1b5e20;
						}
					}
				}

				.custom-offer {
					border: 1px dashed var(--btn-color);
					background: rgba(78, 80, 129, 0.05);
					padding: 12px;
					border-radius: 8px;
					margin-bottom: 20px;
					text-align: center;
					font-size: 0.9rem;

					a {
						color: var(--btn-color);
						font-weight: 700;
						text-decoration: none;
					}
				}

        /* Custom Offer Text (Update 02) */
        .custom-offer-text {
          background: rgba(78, 80, 129, 0.05);
          padding: 15px;
          border-radius: 8px;
          margin-bottom: 20px;
          border: 1px solid #eee;

          p {
            font-size: 0.9rem;
            color: #555;
            margin-bottom: 8px;
            line-height: 1.5;
          }

          a {
            font-weight: 600;
            color: var(--badge-srv);
            text-decoration: none;
            font-size: 0.9rem;

            &:hover { text-decoration: underline; }
          }
        }

        /* UPDATE 02: Button Update (No WhatsApp) */
        .action-buttons {
          display: flex;
          flex-direction: column;
          gap: 10px;
          margin-bottom: 20px;
        }

        .btn-row { display: flex; gap: 10px; }

        .btn-main {
          flex: 1;
          padding: 14px;
          background: var(--badge-srv);
          color: white;
          border: none;
          border-radius: 6px;
          font-size: 1rem;
          font-weight: 600;
          cursor: pointer;
          transition: 0.3s;
          text-align: center;

          &:hover { background: #2980b9; }
        }

        /* WhatsApp Button (Update 03) */
        .btn-whatsapp {
          flex: 1;
          padding: 14px;
          background: var(--whatsapp-color);
          color: white;
          border: none;
          border-radius: 6px;
          font-size: 1rem;
          font-weight: 600;
          cursor: pointer;
          transition: 0.3s;
          text-align: center;
          display: flex;
          align-items: center;
          justify-content: center;
          gap: 8px;
          text-decoration: none;

          &:hover { background: #1da851; }
        }

				.btn-video {
					flex: 1;
					padding: 14px;
					background: #c4302b;
					color: white;
					border: none;
					border-radius: 6px;
					font-size: 1rem;
					font-weight: 600;
					cursor: pointer;
					transition: 0.3s;
					text-align: center;
					display: flex;
					align-items: center;
					justify-content: center;
					gap: 8px;

					&:hover { background: #9e201c; }
				}

        .btn-sub-main {
          width: 100%;
          padding: 15px;
          background: var(--badge-sub);
          color: white;
          border: none;
          border-radius: 6px;
          font-size: 1.1rem;
          font-weight: 600;
          cursor: pointer;
          transition: 0.3s;
          text-align: center;
          box-shadow: 0 4px 10px rgba(39, 174, 96, 0.3);

          &:hover { background: #1e8449; transform: translateY(-2px); }
        }

				/* External Markets */
				.external-markets {
					margin-bottom: 20px;
					padding-top: 15px;
					border-top: 1px solid #eee;

					.market-label {
						display: block;
						font-size: 0.9rem;
						font-weight: 600;
						color: #555;
						margin-bottom: 10px;
					}

					.market-buttons {
						display: grid;
						grid-template-columns: 1fr 1fr;
						gap: 8px;
					}

					.market-btn {
						background: #f4f6f8;
						color: #555;
						text-decoration: none;
						font-size: 0.8rem;
						padding: 8px;
						border-radius: 4px;
						text-align: center;
						border: 1px solid #ddd;
						transition: all 0.2s;

						&:hover {
							background: var(--btn-color);
							color: #fff;
							border-color: var(--btn-color);
						}
					}
				}

        /* Why Choose Us */
        .why-choose-us {
          background: #f9f9fa;
          padding: 15px;
          border-radius: 8px;
          margin-bottom: 20px;
        }

        .why-title {
          font-size: 0.95rem;
          font-weight: 700;
          color: var(--text-dark);
          margin-bottom: 10px;
          display: block;
        }

        .why-list {
          list-style: none;
          padding: 0;

          li {
            font-size: 0.85rem;
            color: #666;
            margin-bottom: 6px;
            display: flex;
            align-items: center;

            i { color: var(--badge-sub); margin-right: 8px; width: 16px; }
          }
        }

        /* Social & Tags */
        .social-share {
          display: flex;
          align-items: center;
          gap: 10px;
          margin-top: 10px;
          border-top: 1px solid #eee;
          padding-top: 15px;
        }

        .share-label {
          font-size: 0.9rem;
          font-weight: 600;
          color: #555;
        }

        .share-icon {
          width: 32px;
          height: 32px;
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          background: var(--btn-color);
          color: white;
          font-size: 0.9rem;
          text-decoration: none;
          transition: 0.2s;

          &:hover { background: var(--btn-hover); transform: translateY(-2px); }
        }

        .product-tags {
          margin-top: 15px;
          display: flex;
          flex-wrap: wrap;
          gap: 8px;
        }

        .tag-pill {
          font-size: 0.75rem;
          background: #f0f2f5;
          color: #666;
          padding: 4px 10px;
          border-radius: 15px;
          text-decoration: none;
          transition: 0.2s;

          &:hover { background: var(--badge-sub); color: white; }
        }
      }
    }

    .product-tabs-container {
      background: white;
      padding: 30px;
      border-radius: 12px;
      margin-bottom: 40px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);

      .tab-nav {
        display: flex;
        border-bottom: 2px solid #eee;
        margin-bottom: 25px;
        overflow-x: auto;
      }

      .tab-btn {
        padding: 10px 20px;
        background: none;
        border: none;
        font-size: 0.9rem;
        font-weight: 600;
        color: #777;
        cursor: pointer;
        border-bottom: 3px solid transparent;
        transition: all 0.3s;
        white-space: nowrap;
        font-family: 'Poppins', sans-serif;

        &:hover { color: var(--badge-sub); }
        &.active { color: var(--badge-sub); border-bottom-color: var(--badge-sub); }
      }

      .tab-content {
        display: none;
        color: #555;
        line-height: 1.7;
        animation: fadeIn 0.3s;

        &.active { display: block; }
      }

      /* Keyframes nested for organization (compiled globally) */
      @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
      }
    }

    /* Comparison Table */
    .compare-table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 15px;
      font-size: 0.9rem;

      th, td {
        border: 1px solid #eee;
        padding: 12px;
        text-align: left;
      }

      th { background: #f9f9f9; font-weight: 600; color: var(--text-dark); }
    }

    .check-icon { color: var(--badge-sub); }
    .cross-icon { color: #e74c3c; }

    /* Comments/Reviews */
    .comment-item {
      border-bottom: 1px solid #eee;
      padding-bottom: 15px;
      margin-bottom: 15px;
    }

    .comment-head {
      display: flex;
      justify-content: space-between;
      margin-bottom: 5px;
    }

    .comment-user { font-weight: 700; color: var(--text-dark); }
    .comment-date { font-size: 0.8rem; color: #999; }
    .btn-post-comment {
      background: var(--btn-color);
      color: white;
      padding: 10px 20px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }

    /* Related */
    .related-section { margin-top: 20px; }
    .related-title {
      margin-bottom: 20px;
      font-size: 1.5rem;
      border-bottom: 2px solid #ddd;
      padding-bottom: 10px;
    }

    .shop-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 25px;

      .product-card {
        background: var(--card-bg);
        border-radius: 10px;
        overflow: hidden;
        position: relative;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s;
        display: flex;
        flex-direction: column;
        border: 1px solid #eee;
        width: 100%;
        max-width: 400px;
        justify-self: center;

        &:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

        .badge { position: absolute; top: 15px; right: 15px; padding: 5px 12px; border-radius: 20px; font-size: 0.7rem; font-weight: 600; color: white; text-transform: uppercase; z-index: 2; }
        .badge-sub { background-color: var(--badge-sub); }

        .card-image { height: 180px; background-color: #f4f7f6; display: flex; align-items: center; justify-content: center; color: var(--primary-text); font-size: 3rem; }
        .card-content { padding: 18px; display: flex; flex-direction: column; flex: 1; }
        .sub-category { font-size: 0.75rem; color: #999; text-transform: uppercase; font-weight: 600; margin-bottom: 5px; }
        .card-title { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.4; color: #2c3e50; font-weight: 600; flex-grow: 1; }
        .price-rating-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; padding-top: 10px; border-top: 1px solid #f9f9f9; }
        .price-new { color: var(--badge-sub); font-weight: 700; font-size: 1.15rem; }
        .rating-group { color: var(--star-color); font-size: 0.85rem; }
        .btn-buy-card { width: 100%; padding: 10px; border: none; background: var(--badge-sub); color: white; border-radius: 6px; font-weight: 600; cursor: pointer; transition: background 0.3s; }
        .btn-buy-card:hover { background: #1e8449; }
      }
    }
  }

  /* ================================
     RESPONSIVE
  ================================ */
  @media (max-width: 1024px) {
    .main-content {
			.shop-grid {
				grid-template-columns: repeat(2, 1fr);
			}
		}
  }

	@media (max-width: 900px) {
		.main-content {
			.product-top-wrap {
				grid-template-columns: 1fr;
			}
		}

		.sidebar {
			display: none;
		}

		flex-direction: column;
	}

	@media (max-width: 600px) {
		.main-content {
			.shop-grid {
				grid-template-columns: 1fr;
			}

			.product-card {
				max-width: 100%;
			}
		}
	}
}
