/* =========================================================
   SINGLE PRODUCT PAGE – Luen Theme (Kitsch Style)
   ========================================================= */

/* === WRAPPER === */
.single-product-page.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* === TOP GRID: GALLERY + SUMMARY === */
.product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}

.product-gallery {
  flex: 1 1 55%;
  min-width: 480px;
}

.product-summary {
  flex: 1 1 40%;
  min-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* === TITLE + RATING === */
.product-title {
  font-size: 28px;
  font-weight: 600;
  color: #000;
  margin-bottom: 10px;
  text-align: left;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-rating .star-rating {
  color: #E4A853;
  font-size: 16px;
}

.review-count {
  color: #555;
  font-size: 14px;
}

/* === PRICE === */
.product-price {
  font-size: 24px;
  font-weight: 700;
  color: #222;
  margin-top: 8px;
}

/* === SHORT DESCRIPTION === */
.product-short-description {
  color: #555;
  line-height: 1.6;
  font-size: 15px;
}

/* =========================================================
   QUANTITY + ADD TO CART (Kitsch style)
   ========================================================= */
.product-cart-area {
  margin-top: 25px;
}

.product-cart-area form.cart {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Quantity wrapper */
.product-cart-area .quantity {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 48px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
}

/* Input */
.product-cart-area .quantity input.qty {
  width: 60px;
  height: 100%;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #222;
  border: none;
  outline: none;
  background: transparent;
  -moz-appearance: textfield;
}

.product-cart-area .quantity input.qty::-webkit-outer-spin-button,
.product-cart-area .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Dugmići + i - */
.product-cart-area .quantity button {
  width: 44px;
  height: 100%;
  font-size: 18px;
  font-weight: 400;
  border: none;
  background: transparent;
  color: #222;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.product-cart-area .quantity button:hover {
  background-color: #f5f5f5;
}

/* Unutrašnje linije */
.product-cart-area .quantity button.minus {
  border-right: 1px solid #e1e1e1;
}
.product-cart-area .quantity button.plus {
  border-left: 1px solid #e1e1e1;
}

/* === ADD TO CART BUTTON === */
.single_add_to_cart_button {
  flex: 1;
  height: 48px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  background-color: #111;
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: background-color 0.3s ease, transform 0.15s ease;
}

.single_add_to_cart_button:hover {
  background-color: #333;
  transform: scale(1.02);
}

.single_add_to_cart_button:active {
  transform: scale(0.98);
}

/* Disabled */
.single_add_to_cart_button.disabled,
.single_add_to_cart_button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* =========================================================
   KEY INFO (Free Shipping, Easy Returns, Secure Payment)
   ========================================================= */
.product-key-info {
  margin-top: 25px;
}

.product-key-info ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.product-key-info li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #333;
}

.product-key-info li::before {
  content: '✔';
  color: #111;
  font-size: 13px;
}

/* =========================================================
   OTHER SECTIONS (Description, Reviews, Related)
   ========================================================= */
.product-description,
.product-ugc,
.product-reasons,
.product-related-slider,
.product-reviews {
  margin-top: 80px;
}

/* === WISHLIST ICON === */
.tinvwl_add_to_wishlist_button {
  width: 46px;
  height: 46px;
  border: 1px solid #d5b280;
  border-radius: 6px;
  background-color: #fff;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.tinvwl_add_to_wishlist_button::before {
  font-family: 'Font Awesome 6 Free';
  content: "\f004";
  font-weight: 400;
  font-size: 18px;
  color: #d5b280;
  transition: all 0.3s ease;
}

.tinvwl_add_to_wishlist_button:hover {
  background-color: #d5b280;
  border-color: #d5b280;
}

.tinvwl_add_to_wishlist_button:hover::before {
  color: #fff;
}

.tinvwl_add_to_wishlist_button.tinvwl-product-in-list,
.tinvwl-product-in-list .tinvwl_add_to_wishlist_button {
  background-color: #d5b280 ;
  border-color: #d5b280 ;
}

.tinvwl_add_to_wishlist_button.tinvwl-product-in-list::before,
.tinvwl-product-in-list .tinvwl_add_to_wishlist_button::before {
  color: #fff;
  font-weight: 900;
}

.tinvwl-tooltip {
  display: none !important;
}

.product-summary .tinvwl_add_to_wishlist_button.tinvwl-icon-heart.no-txt {
  position: relative;
  width: 45px !important;
  height: 45px !important;
}

.product-summary .tinv-wishlist.tinvwl-after-add-to-cart .tinvwl_add_to_wishlist_button {
  margin-top: 0 !important;
}

/* Responsivno */
@media (max-width: 768px) {
  .tinvwl_add_to_wishlist_button {
    width: 44px;
    height: 44px;
    border-radius: 6px;
  }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 992px) {
  .product-top {
    flex-direction: column;
  }

  .product-gallery,
  .product-summary {
    flex: 1 1 100%;
    min-width: unset;
  }
}

@media (max-width: 768px) {
  .product-cart-area form.cart {
    flex-direction: column;
    align-items: stretch;
  }

  .product-cart-area .quantity,
  .single_add_to_cart_button {
    width: 100%;
  }
}

/* ============================
   PRODUCT PRICE + PAYMENT ICONS
   ============================ */
.product-price-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.product-price {
  margin: 0;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.payment-icons {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.payment-icon img {
  height: 20px;
  width: auto;
  display: block;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.payment-icon img:hover {
  opacity: 1;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stars-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.star-rating {
  position: relative;
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  color: #ccc;
  letter-spacing: 1px;
}

.star-rating::before {
  content: "★★★★★";
  color: #ccc;
}

.star-rating span {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  color: #f5a623;
  white-space: nowrap;
}

.star-rating span::before {
  content: "★★★★★";
}

.review-count {
  font-size: 15px;
  color: #333;
  font-weight: 500;
}

.product-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
  font-size: 14px;
  color: #555;
}

.product-meta p,
.product-meta span {
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.product-meta a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.product-meta a:hover {
  color: #000;
  text-decoration: underline;
}

/* =========================================================
   STORE BENEFITS (samo za single product)
   ========================================================= */
.single-product .store-benefits-box {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 20px;
  margin: 20px 0;
  background-color: #fff;
}

.single-product .store-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
}

.single-product .benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #333;
}

.single-product .benefit-item i {
  font-size: 22px;
  color: #111;
  line-height: 1;
  margin-top: 2px;
}

.single-product .benefit-text {
  line-height: 1.4;
  font-weight: 400;
}

@media (max-width: 768px) {
  .single-product .store-benefits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.woocommerce-page div.product div.summary {
    width: 100%;
}

/* WooCommerce star rating – custom gold color */
.star-rating:before {
    color: #d5b280 !important;
}

.star-rating span:before {
    color: #d5b280 !important;
}

/* PLAY ICON – luks stil */
.video-thumb {
    position: relative;
    cursor: pointer;
}

.play-icon {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 52px;
    height: 52px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d5b280; /* ⭐ Zlatna boja */
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
}

.play-icon svg {
    width: 24px;
    height: 24px;
}

/* Hover efekat */
.video-thumb:hover .play-icon {
    transform: scale(1.08);
    opacity: 0.9;
}





/* Wrapper mora biti relative */
.product-gallery-thumbs {
  position: relative;
}

/* ==== PREV ARROW (GORE) ==== */
.product-gallery-thumbs .thumbs-prev {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) rotate(90deg); /* Prevedi u gore */
  width: 30px;
  height: 30px;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ==== NEXT ARROW (DOLE) ==== */
.product-gallery-thumbs .thumbs-next {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotate(-90deg); /* Prevedi u dole */
  width: 30px;
  height: 30px;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Skini default Swiper content */
.product-gallery-thumbs .swiper-button-prev:after,
.product-gallery-thumbs .swiper-button-next:after {
  display: none;
}

/* SVG arrow stil — da budu elegantne */
.product-gallery-thumbs .thumbs-prev svg,
.product-gallery-thumbs .thumbs-next svg {
  width: 20px;
  height: 20px;
  fill: #333; /* Možemo staviti #d5b280 ako želiš */
  opacity: 0.9;
  transition: 0.2s ease;
}

.product-gallery-thumbs .thumbs-prev:hover svg,
.product-gallery-thumbs .thumbs-next:hover svg {
  opacity: 1;
  transform: scale(1.15);
}

/* ==== FORSIRANO pozicioniranje donje strelice ==== */
.product-gallery-thumbs .thumbs-next {
  position: absolute !important;
  bottom: 0 !important;
  top: auto !important;
  left: 50% !important;
  transform: translateX(-50%) rotate(-90deg);
  margin: 0 !important;
}
