/* Product Details Inline Styles */
.sss-wrapper {
  width: 100%;
  min-height: 100%;
  padding: 80px 20px 60px;
}

.sss-container {
  max-width: 1400px;
  margin: 0 auto;
}

.sss-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 1024px) {
  .sss-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Main Image */
.sss-main-img-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sss-main-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f6f3 0%, #efe9e0 100%);
  cursor: zoom-in;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.sss-main-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sss-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 10;
}

.sss-nav-btn:hover {
  background: #866d37;
  color: white;
}

.sss-nav-btn.prev {
  left: 16px;
}

.sss-nav-btn.next {
  right: 16px;
}

/* Thumbnail Carousel */
.sss-thumb-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sss-thumb-track {
  display: flex;
  gap: 12px;
  overflow: hidden;
  flex: 1;
}

.sss-thumbnail {
  flex-shrink: 0;
  width: 125px;
  height: 125px;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  overflow: hidden;
  transition: all 0.3s ease;
}

.sss-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sss-thumbnail.active {
  border-color: #866d37;
  box-shadow: 0 4px 12px rgba(201, 168, 108, 0.3);
}

.sss-thumb-nav {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.sss-thumb-nav:hover {
  background: #866d37;
  color: white;
}

.sss-thumb-nav svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Details */
.sss-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sss-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 15px;
  letter-spacing: 1px;
  font-weight: 500;
  background: #f3ede4;
  color: #2d2a26;
  width: fit-content;
}

h1 {
  font-size: 32px;
  font-weight: 600;
  color: #2d2a26;
  letter-spacing: 1px;
}

.sss-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.sku-info {
  font-size: 14px;
  color: #2d2a26;
  opacity: 0.6;
  margin-bottom: 0;
  letter-spacing: 1px;
}

.sss-price {
  font-size: 36px;
  font-weight: 700;
  color: #866d37;
  letter-spacing: 1px;
}

.sss-old-price {
  font-size: 20px;
  text-decoration: line-through;
  color: #2d2a26;
  opacity: 0.5;
  letter-spacing: 1px;
}

.sss-discount {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

/* Available Weight Section */
.sss-available-weight {
  margin-top: 0;
  padding: 16px;
  background: #f8f6f3;
  border-radius: 12px;
  border-left: 4px solid #866d37;
}

.sss-weight-label {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #2d2a26;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.sss-weight-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sss-weight-badge {
  display: inline-block;
  padding: 8px 16px;
  background: white;
  color: #866d37;
  border: 2px solid #866d37;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.sss-weight-badge:hover {
  background: #866d37;
  color: white;
}

.sss-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #2d2a26;
  opacity: 0.85;
  margin-bottom: 0;
}

.sss-divider {
  height: 1px;
  background: #f3ede4;
}

.sss-share-label {
  font-size: 14px;
  font-weight: 600;
  color: #2d2a26;
  opacity: 0.7;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.sss-share-buttons {
  display: flex;
  gap: 12px;
}

.sss-share-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.sss-share-btn:hover {
  transform: translateY(-3px) scale(1.1);
}

.sss-share-btn.facebook {
  background: #1877f2;
}

.sss-share-btn.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.sss-share-btn.whatsapp {
  background: #25d366;
}

.sss-share-btn.twitter {
  background: #000000;
}

.sss-share-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.sss-shop-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.sss-shop-logo {
  height: 48px;
  padding: 8px 20px;
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.sss-shop-logo img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.sss-shop-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #866d37;
}

/* Tabs */
.sss-bottom-section {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  background: white;
}

.sss-tab-headers {
  display: flex;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: white;
}

.sss-tab-btn {
  padding: 16px 32px;
  font-weight: 500;
  border: none;
  background: none;
  letter-spacing: 1px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  color: #2d2a26;
}

.sss-tab-btn:hover {
  color: #866d37;
}

.sss-tab-btn.active {
  color: #866d37;
  border-bottom-color: #866d37;
}

.sss-tab-content-area {
  padding: 32px;
}

.sss-tab-content {
  display: none;
  animation: fadeSlide 0.4s ease;
}

.sss-tab-content.active {
  display: block;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sss-tab-heading {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #2d2a26;
}

.sss-tab-text {
  font-size: 16px;
  line-height: 1.6;
  color: #2d2a26;
  opacity: 0.85;
  margin-bottom: 24px;
}

/* Lightbox */
.sss-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.sss-lightbox.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.sss-lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.sss-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  transition: all 0.3s ease;
}

.sss-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.sss-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  transition: all 0.3s ease;
}

.sss-lb-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.sss-lb-nav.prev {
  left: 24px;
}

.sss-lb-nav.next {
  right: 24px;
}

.sss-lb-nav svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet Screens (768px - 1024px) */
@media (max-width: 1024px) {
  .sss-wrapper {
    padding: 60px 16px 50px;
  }

  .sss-container {
    max-width: 100%;
  }

  .sss-grid {
    gap: 32px;
  }

  h1 {
    font-size: 28px;
  }

  .sss-price {
    font-size: 32px;
  }

  .sss-tab-btn {
    padding: 14px 24px;
    font-size: 14px;
  }

  .sss-tab-content-area {
    padding: 24px;
  }

  .sss-tab-heading {
    font-size: 20px;
  }

  .sss-tab-text {
    font-size: 15px;
  }

  .sss-close-btn,
  .sss-lb-nav {
    width: 40px;
    height: 40px;
  }

  .sss-close-btn {
    top: 16px;
    right: 16px;
  }
}

/* Mobile Screens (480px - 768px) */
@media (max-width: 768px) {
  .sss-wrapper {
    padding: 50px 12px 40px;
  }

  .sss-grid {
    gap: 20px;
    margin-bottom: 30px;
  }

  .sss-main-img-box {
    border-radius: 12px;
  }

  .sss-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .sss-nav-btn.prev {
    left: 8px;
  }

  .sss-nav-btn.next {
    right: 8px;
  }

  .sss-thumbnail {
    width: 80px;
    height: 80px;
  }

  .sss-thumb-nav {
    width: 32px;
    height: 32px;
  }

  .sss-thumb-nav svg {
    width: 16px;
    height: 16px;
  }

  .sss-badge {
    font-size: 13px;
    padding: 6px 12px;
  }

  h1 {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .sss-price-row {
    gap: 12px;
  }

  .sss-price {
    font-size: 28px;
  }

  .sss-old-price {
    font-size: 18px;
  }

  .sss-discount {
    font-size: 12px;
    padding: 5px 12px;
  }

  .sss-available-weight {
    margin-top: 16px;
    padding: 12px;
  }

  .sss-weight-label {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .sss-weight-options {
    gap: 8px;
  }

  .sss-weight-badge {
    padding: 6px 12px;
    font-size: 12px;
  }

  .sss-desc {
    font-size: 15px;
  }

  .sss-share-label {
    font-size: 12px;
  }

  .sss-share-btn {
    width: 40px;
    height: 40px;
  }

  .sss-share-btn svg {
    width: 18px;
    height: 18px;
  }

  .sss-shop-logos {
    gap: 10px;
  }

  .sss-shop-logo {
    height: 44px;
    padding: 6px 16px;
    font-size: 12px;
  }

  .sss-shop-logo img {
    height: 24px;
  }

  .sss-bottom-section {
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }

  .sss-tab-headers {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .sss-tab-btn {
    padding: 12px 16px;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .sss-tab-content-area {
    padding: 16px;
  }

  .sss-tab-heading {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .sss-tab-text {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .sss-lightbox-img {
    max-width: 95%;
    max-height: 85%;
  }

  .sss-close-btn {
    width: 36px;
    height: 36px;
    top: 12px;
    right: 12px;
  }

  .sss-close-btn svg {
    width: 20px;
    height: 20px;
  }

  .sss-lb-nav {
    width: 36px;
    height: 36px;
  }

  .sss-lb-nav.prev {
    left: 12px;
  }

  .sss-lb-nav.next {
    right: 12px;
  }

  .sss-lb-nav svg {
    width: 20px;
    height: 20px;
  }
}

/* Small Mobile Screens (< 480px) */
@media (max-width: 480px) {
  .sss-wrapper {
    padding: 40px 10px 30px;
  }

  .sss-grid {
    gap: 16px;
    margin-bottom: 24px;
  }

  .sss-main-img-section {
    gap: 12px;
  }

  .sss-main-img-box {
    aspect-ratio: auto;
    min-height: 280px;
    border-radius: 10px;
  }

  .sss-nav-btn {
    width: 36px;
    height: 36px;
  }

  .sss-nav-btn.prev {
    left: 6px;
  }

  .sss-nav-btn.next {
    right: 6px;
  }

  .sss-thumbnail {
    width: 70px;
    height: 70px;
  }

  .sss-thumb-nav {
    width: 28px;
    height: 28px;
  }

  .sss-badge {
    font-size: 12px;
    padding: 5px 10px;
  }

  h1 {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.3;
  }

  .sss-price {
    font-size: 24px;
  }

  .sss-old-price {
    font-size: 16px;
  }

  .sss-desc {
    font-size: 14px;
    line-height: 1.5;
  }

  .sss-divider {
    margin: 12px 0;
  }

  .sss-share-btn {
    width: 36px;
    height: 36px;
  }

  .sss-share-btn svg {
    width: 16px;
    height: 16px;
  }

  .sss-shop-logo {
    height: 40px;
    padding: 5px 12px;
    font-size: 11px;
  }

  .sss-shop-logo img {
    height: 20px;
  }

  .sss-tab-btn {
    padding: 10px 12px;
    font-size: 12px;
    border-bottom-width: 2px;
  }

  .sss-tab-content-area {
    padding: 12px;
  }

  .sss-tab-heading {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .sss-tab-text {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .sss-lightbox-img {
    max-width: 98%;
    max-height: 80%;
    border-radius: 8px;
  }

  .sss-close-btn,
  .sss-lb-nav {
    width: 32px;
    height: 32px;
  }

  .sss-close-btn {
    top: 8px;
    right: 8px;
  }

  .sss-lb-nav.prev {
    left: 8px;
  }

  .sss-lb-nav.next {
    right: 8px;
  }

  .sss-close-btn svg,
  .sss-lb-nav svg {
    width: 18px;
    height: 18px;
  }
}

/* Landscape Mobile (max-height: 500px) */
@media (max-height: 500px) and (orientation: landscape) {
  .sss-wrapper {
    padding: 30px 10px 20px;
  }

  .sss-main-img-box {
    max-height: 300px;
  }

  .sss-tab-content-area {
    padding: 12px;
    max-height: 70vh;
    overflow-y: auto;
  }
}

/* Large Screens (> 1440px) */
@media (min-width: 1441px) {
  .sss-wrapper {
    padding: 100px 40px 80px;
  }

  .sss-container {
    max-width: 1600px;
  }

  .sss-grid {
    gap: 60px;
  }

  h1 {
    font-size: 36px;
  }

  .sss-price {
    font-size: 42px;
  }

  .sss-tab-heading {
    font-size: 28px;
  }

  .sss-tab-btn {
    padding: 18px 36px;
    font-size: 16px;
  }

  .sss-tab-content-area {
    padding: 40px;
  }
}