/* =========================================================
   Smart-webtech · WooCommerce Product Detail · Figma v6
   Matches Figma design (Node 0:1 / 2437:1261)
   ========================================================= */

/* ── CSS Variables ── */
:root {
  --pd-blue:        #566EFF;
  --pd-blue-light:  #EEF2FF;
  --pd-card-bg:     #F0F3FF;
  --pd-ink:         #111827;
  --pd-copy:        #4D525B;
  --pd-muted:       #777D88;
  --pd-line:        #DFE3EB;
  --pd-radius:      16px;
}

/* ── Reset & Container ── */
.single-product .smart-wrap,
.single-product .smart-wrap * {
  box-sizing: border-box;
}
.single-product form.cart{
	margin-bottom:0 !important;
}

.smart-wrap.container {
  width: min(100% - 40px, 1320px);
  max-width: 1320px;
  margin: 0 auto;
  padding: 0;
  color: var(--pd-ink);
  
}

/* =======================================================
   BREADCRUMB
   ======================================================= */
.provider-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: #737373;
  margin: 24px 0 28px;
}
.provider-breadcrumb a          { color: #737373 !important; text-decoration: none; }
.provider-breadcrumb a:hover    { color: var(--pd-blue) !important; text-decoration: underline; }
.provider-breadcrumb .separator { color: #737373 !important; }
.provider-breadcrumb span {
	color: #566EFF;
}

/* =======================================================
   PAGE LAYOUT  (Full width content, NO sidebar)
   ======================================================= */
.pd-layout {
  width: 100%;
  margin: 0 0 50px;
}
.pd-content {
  width: 100%;
}

/* =======================================================
   PRODUCT HEADER  (Left: Title+Desc+Chips · Right: Pricing Card)
   ======================================================= */
.pd-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 48px;
  align-items: start;
  margin-bottom: 36px;
}

/* ── Left Part ── */
.pd-header__left {
  min-width: 0;
}
.pd-title {
  margin: 0 0 16px;
  color: #111827;
  font-size: 45px;
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 62.3px;
}
.pd-short-desc {
  margin: 0 0 28px;
  color: #4B5563;
  font-size: 16px;
  font-weight: 400;
  line-height: 26.4px;
}
.pd-short-desc p { margin: 0; }

/* 4 Attribute Chips */
/*.pd-attributes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--pd-line);
  border-bottom: 1px solid var(--pd-line);
  padding: 20px 0;
  margin-top: 24px;
  gap: 0;
}
.pd-attr {
  padding: 0 20px;
  border-right: 1px solid var(--pd-line);

}*/
.pd-attributes {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--pd-line);
    border-bottom: 1px solid var(--pd-line);
    margin-top: 24px;
}

.pd-attr {
    padding: 20px;
    position: relative;
}

.pd-attr:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: var(--pd-line);
}

.pd-attr:first-child {
    padding-left: 0;
}
.pd-attr:first-child { padding-left: 0; }
.pd-attr:last-child  { padding-right: 0; border-right: none; }

.pd-attr__label,
.pd-attr__value { display: block; }

.pd-attr__label {
  margin-bottom: 6px;
  color: #595959;
  font-size: 22px;
  font-weight: 400;
  line-height: 33px;
}
.pd-attr__value {
    color: #000000;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.55px;
    line-height: 16.5px;
    text-transform: uppercase;

    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
}
.pd-attr__value a{
	color:#006DDA;
	text-decoration:underline;
}
.pd-field-notice {
    margin-top: 16px;
    margin-bottom: 0;
    font-size: 17px;
    line-height: 26.4px;
    color: #ff4b3b;
    font-weight: 400;
}


/* =======================================================
   RIGHT PRICING CARD (Ticket Stub Design)
   ======================================================= */
.pd-pricing-card {
  width: 440px;
  padding: 24px;
  border-radius: var(--pd-radius);
  background: var(--pd-card-bg);
  box-shadow: 0 8px 30px rgba(86, 110, 255, 0.08);
  position: relative;
  overflow: visible;
}

/* Card top: badge + subtitle + logo */
.pdc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.pdc-top__left  { min-width: 0; flex: 1; }
.pdc-top__logo  { flex: 0 0 92px; }

.pdc-badge {
  display: inline-block;
  margin: 0 0 6px;
  color: #3D58FD;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  line-height: 12px;
  text-transform: uppercase;
}
.pdc-subtitle {
  margin: 0;
  color: #6B7280;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
}

.pdc-logo-img,
.pdc-top__logo img {
  display: block;
  width: 92px;
  height: 92px;
  padding: 8px;
  border-radius: 12px;
  background: #ffffff;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Price */
.pdc-price {
  margin: 10px 0 16px;
  color: #3D3E40;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
/* Strikethrough price */
.pdc-price del,
.pdc-price del .woocommerce-Price-amount {
  font-size: 18px !important;
  font-weight: 500 !important;
  color: #4D4F51 !important;
  text-decoration: line-through !important;
}
/* Current price */
.pdc-price ins { text-decoration: none; }
.pdc-price ins .woocommerce-Price-amount {
  font-size: 32px;
  font-weight: 600;
  color: #3D3E40;
}
.pdc-price .woocommerce-Price-amount {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

/* Ticket Divider with Semi-circle Cutout Notches */
.pdc-ticket-divider {
  position: relative;
  height: 1px;
  border-top: 1.5px dashed #C0CAE8;
  margin: 20px -24px; /* Bleed flush to card padding edges */
}

/* Full white circles centered on the card edges, as in Figma. */
.pdc-ticket-divider::before,
.pdc-ticket-divider::after {
  content: "";
  position: absolute;
  top: -15px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: #ffffff;
  z-index: 5;
}

.pdc-ticket-divider::before {
  left: 0px;
}

.pdc-ticket-divider::after {
  right: 0px;
}

/* Meta list */
.pdc-meta-list {
  margin-bottom: 20px;
}
.pdc-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.5;
}
.pdc-meta-label { color: #6B7280; font-weight: 400; }
.pdc-meta-value { color: #2A2A2A; font-weight: 500; text-align: right; }
.pdc-meta-link a {
  color: var(--pd-blue) !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.pdc-meta-link a:hover { text-decoration: underline; }

/* ── BUY NOW Button (Add to Cart) ── */
.pdc-buy-btn               { margin: 0 0 12px; }
.pdc-buy-btn form.cart     { display: block; margin: 0; }
.pdc-buy-btn .quantity,
.pdc-buy-btn .stock        { display: none !important; }
.pdc-buy-btn .single_add_to_cart_button {
  display:         flex !important;
  align-items:     center;
  justify-content: center;
  width:           100% !important;
  min-height:      48px !important;
  padding:         14px 24px !important;
  border:          none !important;
  border-radius:   50px !important;
  background:      #000000 !important;
  color:           #ffffff !important;
  font-size:       15px !important;
  font-weight:     600 !important;
  letter-spacing:  0.75px;
  line-height:     1 !important;
  text-transform:  uppercase;
  cursor:          pointer;
  box-shadow:      0 4px 14px rgba(0, 0, 0, 0.15) !important;
  transition:      background 0.2s, transform 0.15s;
}
.pdc-buy-btn .single_add_to_cart_button::before { display: none; }
.pdc-buy-btn .single_add_to_cart_button:hover {
  background: #1f2937 !important;
  transform:  translateY(-1px);
}

/* ── DOWNLOAD SAMPLE DATA Button ── */
.pdc-download-btn {
  display:         flex;
  align-items:     center;
  justify-content: center;
  width:           100%;
  min-height:      44px;
  margin:          0 0 10px;
  padding:         12px 20px;
  border:          2px solid #7084FF;
  border-radius:   50px;
  background:      #ffffff;
  color:          #7084FF !important;
  font-size:       15px;
  font-weight:     600;
  letter-spacing:  0.75px;
  line-height:     1;
  text-decoration: none;
  text-transform:  uppercase;
  cursor:          pointer;
  transition:      background 0.2s, color 0.2s;
  box-sizing:      border-box;
}
.pdc-download-btn:hover {
  background: var(--pd-blue);
  color:      #ffffff !important;
}

/* Sample note */
.pdc-sample-note {
  margin:      0;
  color:       #EF4444;
  font-size:   12px;
  font-style:  normal;
  line-height: 1.5;
  text-align:  center;
}

/* =======================================================
   INFO BOXES
   ======================================================= */
.pd-info-box {
  margin: 0 0 14px;
  padding: 16px 20px;
  border-left: 3px solid;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 400;
  line-height: 26.4px;
}
.pd-info-box--green {
  border-color: #00B852;
  background:   #F3FFF8;
  color:        #46464D;
}
.pd-info-box--green a {
  color:           #166534 !important;
  font-weight:     600;
  text-decoration: underline;
}
.pd-info-box--red {
  border-color: #F32121;
  background:   #FFF4F6;
  color:        #FF4B3B;
}

/* =======================================================
   DESCRIPTION
   ======================================================= */
.pd-description { margin: 36px 0 0; }
.pd-description h2 {
  margin:         0 0 16px;
  color:          #141A31;
  font-size:      30px;
  font-weight:    600;
  letter-spacing: -0.3px;
  line-height:    38.4px;
}
.pd-description__body p      { margin: 0 0 16px; color: #46464D; font-size: 18px; font-weight: 400; line-height: 32px; }
.pd-description__body h3,
.pd-description__body iframe { display: none; }
.pd-description__body strong { color: #111827; }

/* =======================================================
   FIELDS SECTION
   ======================================================= */
.pd-fields { margin: 40px 0 0; }
.pd-fields h2 {
  margin:         0 0 18px;
  color:          #141A31;
  font-size:      30px;
  font-weight:    600;
  letter-spacing: -0.3px;
  line-height:    38.4px;
}
.pd-fields__box {
  padding:       28px;
  border:        1px solid #E5E7EB;
  border-radius: 16px;
  background:    #ffffff;
}
.pd-fields__count-row {
  display:        flex;
  align-items:    baseline;
  gap:            10px;
  margin:         0 0 20px;
  padding-bottom: 18px;
  border-bottom:  1px solid #F3F4F6;
}
.pd-fields__number {
  color:       #111827;
  font-size:   40.22px;
  font-weight: 600;
  line-height: 44.68px;
}
.pd-fields__label {
  color:       #6B7280;
  font-size:   20px;
  font-weight: 400;
  line-height:31.28px;
}
.pd-fields__grid {
  display:               grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap:                   14px 16px;
}
.pd-field-item {
  display:       flex;
  align-items:   center;
  gap:           8px;
  min-height:    36px;
  padding:       8px 14px;
  border-radius: 8px;
  background:    #F9FAFB;
  color:         #1F2937;
  font-size:     17px;
  font-weight:   400;
  line-height:   25px;
}
.pd-field-item i {
  width: 16px;
  color: var(--pd-blue);
  font-size: 14px;
  line-height: 1;
  text-align: center;
  flex: 0 0 16px;
}
.pd-field-item__icon {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex: 0 0 16px;
}

/* =======================================================
   MAP
   ======================================================= */
.pd-map       { margin: 40px 0 0; }
.pd-map h2    { margin: 0 0 18px; color: #141A31; font-size: 32px; font-weight: 600; line-height: 38.4px; }
.pd-map__frame {
  overflow:      hidden;
  padding:       10px;
  border:        1px solid #E5E7EB;
  border-radius: 16px;
  background:    #F8FAFC;
}
.pd-map img   { display: block; width: 100%; height: auto; border-radius: 10px; }

/* =======================================================
   STORE NUMBERS TABLE
   ======================================================= */
.pd-table-wrap    { margin: 40px 0 0; }
.pd-table-wrap h2 { margin: 0 0 18px; color: #141A31; font-size: 32px; font-weight: 600; line-height: 38.4px; }
.pd-store-table {
  width:           100%;
  border-collapse: separate;
  border-spacing:  0;
  border:          1px solid #E5E7EB;
  border-radius:   12px;
  overflow:        hidden;
}
.pd-store-table th {
  padding:        14px 20px;
  background:     #EEF2FF;
  color:          #374151;
  font-size:      14px;
  font-weight:    600;
  letter-spacing: 0.04em;
  line-height:    1.3;
  text-align:     left;
  text-transform: uppercase;
}
.pd-store-table th:last-child,
.pd-store-table td:last-child { text-align: right; }
.pd-store-table td {
  padding:     14px 20px;
  border-top:  1px solid #F3F4F6;
  color:       #374151;
  font-size:   16px;
  font-weight: 500;
  line-height: 20px;;
}
.pd-store-table tbody tr:nth-child(even) { background: #F8FAFC; }
.pd-store-table td:first-child::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 9px;
  border-radius: 50%;
  background: #E9A23B;
  vertical-align: 2px;
  content: "";
}
.pd-store-table tbody tr:nth-child(4n + 2) td:first-child::before { background: #94A3B8; }
.pd-store-table tbody tr:nth-child(4n + 3) td:first-child::before { background: #F4C36A; }
.pd-store-table tbody tr:nth-child(4n + 4) td:first-child::before { background: #173A62; }
.pd-store-table tbody tr:nth-child(even) { background: #F8FAFC; }

/* =======================================================
   RELATED DATASETS
   ======================================================= */
.pd-related                { margin: 44px 0 0; }
.pd-related .products-grid {
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  gap: 20px;
}
.pd-related .product-card {
  display: flex;
  flex-direction: column;
  height: calc(100% - 40px);
}
.pd-related .product-info {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 170px !important;
}
.pd-related .add-to-cart-btn {
  margin-top: auto;
}
.related-heading           { font-size: 30px; font-weight: 600; text-align: left !important; line-height:38.4px; color:#141A31; }

/* =======================================================
   CTA SECTION
   ======================================================= */
.cta-section {
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(105deg, #5868f9 0%, #6679f7 45%, #b8d7f7 100%);
}
.cta-section::before,
.cta-section::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.cta-section::before {
  bottom: -48px;
  left: -52px;
  width: 112px;
  height: 112px;
  background: rgba(255, 255, 255, 0.16);
}
.cta-section::after {
  top: -90px;
  right: 8%;
  width: 190px;
  height: 190px;
  background: rgba(255, 255, 255, 0.08);
}
.cta-section ul li {
  display: flex;
  align-items: center;
}
.cta-section ul li .bi {
  display: inline-flex;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  border: 1px solid #00B852;
  border-radius: 50%;
  background: #C7E8CA;
  color: #00B852 !important;
  font-size: 13px !important;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}
.cta-section ul li .bi::before {
  content: "\2713" !important;
}

/* =======================================================
   CF7 DOWNLOAD POPUP
   ======================================================= */
#cf7Popup { position: fixed; inset: 0; z-index: 99999; display: none; }
.popup-overlay {
  position:   absolute;
  inset:      0;
  background: rgba(0, 0, 0, 0.6);
}
.popup-box {
  position:      absolute;
  top:           50%;
  left:          50%;
  transform:     translate(-50%, -50%);
  width:         min(500px, calc(100% - 32px));
  max-height:    90vh;
  overflow-y:    auto;
  padding:       28px;
  border-radius: 12px;
  background:    #ffffff;
  box-shadow:    0 10px 30px rgba(0, 0, 0, 0.2);
}
.close-popup { position: absolute; top: 12px; right: 16px; font-size: 22px; cursor: pointer; }
.close-request-popup { position: absolute; top: 12px; right: 16px; font-size: 22px; cursor: pointer; }
#requestDataPopup {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    z-index: 99999 !important;
}

#requestDataPopup .popup-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.6) !important;
    z-index: 1 !important;
}

#requestDataPopup .popup-box {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 2 !important;
}
.popup-box input,
.popup-box textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid #d1d5db; border-radius: 8px;
  background: #f9fafb; font: inherit;
}
.popup-box input[type="submit"] {
  border: none; border-radius: 24px;
  background: #15171b; color: #fff !important;
  cursor: pointer; font-weight: 600;
}
.popup-box input[type="submit"]:hover { background: #30333a; }
#cf7Popup .download-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 24px;
  background: #14945d; color: #fff;
  text-decoration: none; font-weight: 600;
}
/*#cf7Popup .wpcf7-response-output { margin: 0 0.5em 1em; }*/
#cf7Popup .wpcf7-response-output {
    text-align: center;
    margin: 20px auto;
}


/* =======================================================
   RESPONSIVE
   ======================================================= */
@media (max-width: 1024px) {
  .pd-header { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; }
  .pd-pricing-card { width: 320px; }
  .pd-fields__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pd-related .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .pd-header { display: flex; flex-direction: column; gap: 24px; }
  .pd-title  { font-size: 32px; }
  .pd-pricing-card { width: 100%; }
  .pd-attributes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 0; }
  .pd-attr:nth-child(2) { border-right: none; }
  .pd-attr:nth-child(3) { padding-left: 0; }
  .pd-fields__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .smart-wrap.container { width: calc(100% - 24px); }
  .pd-title { font-size: 26px; line-height: 1.15; }
  .pd-fields__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-fields__box  { padding: 18px; }
  .pd-related .products-grid { grid-template-columns: 1fr; }
}
