/**
 * Single product page
 */

.ar-pdp-page {
  padding-top: 88px;
  background: #fff;
}

.ar-pdp__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 64px;
}

@media (min-width: 768px) {
  .ar-pdp__inner {
    padding: 32px 40px 80px;
  }
}

.ar-pdp__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  min-width: 0;
}

@media (min-width: 992px) {
  .ar-pdp__grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
  }
}

.ar-pdp__gallery {
  position: relative;
  min-width: 0;
  opacity: 1 !important;
  visibility: visible !important;
}

/* WooCommerce core hides .woocommerce-product-gallery until JS runs — we use a custom gallery */
body.single-product .ar-pdp__gallery,
body.single-product .ar-pdp__gallery img {
  opacity: 1 !important;
  visibility: visible !important;
}

.ar-pdp__sale-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: #000;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
}

.ar-pdp__main-image {
  position: relative;
  background: #f5f5f5;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  line-height: 0;
}


.ar-pdp__main-image img,
.ar-pdp__main-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.ar-pdp__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.ar-pdp__thumb {
  width: 72px;
  height: 108px;
  padding: 0;
  border: 2px solid #eee;
  background: #f5f5f5;
  cursor: pointer;
  overflow: hidden;
}

.ar-pdp__thumb.is-active {
  border-color: #000;
}

.ar-pdp__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ar-pdp__sale-label {
  display: inline-block;
  background: #000;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  margin-bottom: 12px;
}

.ar-pdp__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 12px;
}

.ar-pdp__price {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.ar-pdp__price-inner,
.ar-pdp__price-inner .price {
  display: block;
  margin: 0;
}

.ar-pdp__price del {
  color: #999;
  font-size: 16px;
  margin-right: 8px;
}

.ar-pdp__price ins {
  text-decoration: none;
  color: #000 !important;
}

.ar-pdp__price .woocommerce-Price-amount,
.ar-pdp__price .woocommerce-Price-amount bdi {
  color: #000 !important;
}

.ar-pdp__excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: #444;
  margin-bottom: 20px;
}

.ar-pdp__whatsapp {
  display: inline-block;
  margin-bottom: 24px;
  padding: 12px 20px;
  border: 1px solid #25d366;
  color: #1a9e4a;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.ar-pdp__whatsapp:hover {
  background: #25d366;
  color: #fff;
}

.ar-pdp__cart {
  margin-bottom: 12px;
}

.ar-pdp__cart table.variations {
  width: 100%;
  margin-bottom: 16px;
}

.ar-pdp__cart table.variations td,
.ar-pdp__cart table.variations th {
  display: block;
  padding: 0 0 12px;
  border: none;
}

.ar-pdp__cart table.variations .label label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.ar-pdp__cart table.variations select {
  width: 100%;
  height: 44px;
  border: 1px solid #ddd;
  padding: 0 12px;
}

.ar-pdp__var-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ar-pdp__var-btns label {
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #ddd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
}

.ar-pdp__var-btns input:checked + label,
.ar-pdp__var-btns label.is-selected {
  background: #000;
  color: #fff;
  border-color: #000;
}

.ar-pdp__cart .quantity {
  margin-bottom: 16px !important;
}

.ar-pdp__cart .single_add_to_cart_button {
  width: 100%;
  height: 50px;
  background: #000 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.ar-pdp__buy-now {
  display: block;
  width: 100%;
  text-align: center;
  height: 50px;
  line-height: 46px;
  margin-bottom: 20px;
  background: #fff !important;
  color: #000 !important;
  border: 2px solid #000 !important;
  border-radius: 0 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

.ar-pdp__buy-now:hover {
  background: #000 !important;
  color: #fff !important;
}

.ar-pdp__delivery,
.ar-pdp__secure {
  font-size: 13px;
  color: #666;
  margin: 0 0 8px;
}

/* Pre-order campaign UI — see commerce-catchy.css */

.ar-pdp__tabs-wrap {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.ar-pdp .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  border-bottom: 1px solid #eee;
  gap: 0;
}

.ar-pdp .woocommerce-tabs ul.tabs::before,
.ar-pdp .woocommerce-tabs ul.tabs::after {
  display: none;
}

.ar-pdp .woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
}

.ar-pdp .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: #888;
  text-decoration: none;
}

.ar-pdp .woocommerce-tabs ul.tabs li.active a {
  color: #000;
  border-bottom: 2px solid #000;
}

.ar-pdp__related-wrap {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #eee;
}

.ar-pdp__related-wrap > h2,
.ar-pdp__related-wrap .ar-pdp__section-title {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 28px;
}

.ar-pdp__related-wrap .related.products {
  margin: 0;
}
