/* ================================
   Cigar Galaxy – Thank You Page
   Professional / Elegant Layout
   ================================ */

/* Light, subtle background for the whole order-received page */
body.woocommerce-order-received {
  background: #f3f4f7;
}

/* Center the whole thank-you content in a slightly wider column */
body.woocommerce-order-received .cg-thankyou-wrapper {
  max-width: 720px;
  margin: 64px auto 96px;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Main Woo "order" block – clean white, premium card */
body.woocommerce-order-received .woocommerce-order {
  background: #ffffff;
  padding: 32px 30px 34px;
  border-radius: 16px;
  box-shadow: 0 26px 70px rgba(6, 10, 26, 0.18);
  border: 1px solid rgba(12, 18, 36, 0.05);
  box-sizing: border-box;
  color: #151515;
}

/* ====================
   Hero / header section
   ==================== */

body.woocommerce-order-received .cg-thankyou-hero {
  background: transparent;
  color: #151515;
  padding: 0 0 20px;
  margin: 0 0 22px;
  border-bottom: 1px solid rgba(15, 15, 35, 0.08);
  border-radius: 0;
}

/* Center all hero text */
body.woocommerce-order-received .cg-thankyou-hero-inner {
  text-align: center;
}

/* Premium serif for the main title */
body.woocommerce-order-received .cg-thankyou-title {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-family: "Georgia", "Times New Roman", serif;
  text-align: center;
}

body.woocommerce-order-received .cg-thankyou-subtitle {
  margin: 0;
  font-size: 15px;
  opacity: 0.9;
  text-align: center;
}

body.woocommerce-order-received .cg-thankyou-subtext {
  margin: 8px 0 0;
  font-size: 12px;
  opacity: 0.8;
  text-align: center;
}

body.woocommerce-order-received .cg-thankyou-subtext span {
  font-weight: 600;
}

/* Hide the plain default "Thank you. Your order has been received." line */
body.woocommerce-order-received .woocommerce-thankyou-order-received {
  display: none;
}

/* =========================
   Order overview (top meta)
   ========================= */

/* Hard reset layout to a vertical list */
body.woocommerce-order-received .woocommerce-order-overview {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: block !important; /* kill any flex/grid from plugins */
}

/* Elegant pills with clear separation */
body.woocommerce-order-received .woocommerce-order-overview li {
  display: flex !important;
  align-items: baseline;
  justify-content: space-between;
  padding: 10px 13px;
  border-radius: 12px;
  background: #f6f7fb;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  opacity: 0.9;
  box-sizing: border-box;
  margin: 0 0 12px !important;  /* real breathing room between pills */
}

/* Value on the right, nicer spacing */
body.woocommerce-order-received .woocommerce-order-overview li strong {
  font-size: 14px;
  font-weight: 600;
  opacity: 1;
  margin-left: auto;
}

/* ====================
   Order details table
   ==================== */

body.woocommerce-order-received .woocommerce-order-details__title {
  margin-top: 6px;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
}

body.woocommerce-order-received .woocommerce-table--order-details {
  border-radius: 11px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  margin-bottom: 26px;
}

body.woocommerce-order-received .woocommerce-table--order-details th,
body.woocommerce-order-received .woocommerce-table--order-details td {
  border-color: rgba(0, 0, 0, 0.035);
  padding: 10px 13px;
  font-size: 13px;
}

body.woocommerce-order-received .woocommerce-table--order-details thead th {
  background: #f4f5f9;
  font-weight: 600;
}

/* Totals (Subtotal, Discount, Shipping, Total) */
body.woocommerce-order-received .woocommerce-table--order-details tfoot th {
  font-weight: 500;
}

body.woocommerce-order-received .woocommerce-table--order-details tfoot tr:last-child th,
body.woocommerce-order-received .woocommerce-table--order-details tfoot tr:last-child td {
  font-size: 15px;
  font-weight: 650;
}

/* ===========================
   Customer details / addresses
   =========================== */

body.woocommerce-order-received .woocommerce-customer-details {
  margin-top: 30px;
}

body.woocommerce-order-received .woocommerce-customer-details h2 {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 8px;
}

/* Two clean columns for addresses, flex-based */
body.woocommerce-order-received .woocommerce-columns--addresses {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
}

body.woocommerce-order-received .woocommerce-column--billing-address,
body.woocommerce-order-received .woocommerce-column--shipping-address {
  flex: 1 1 260px;
  background: #f6f7fb;
  padding: 14px 14px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  float: none !important;
  margin: 0;
}

body.woocommerce-order-received .woocommerce-column--billing-address address,
body.woocommerce-order-received .woocommerce-column--shipping-address address {
  margin: 0;
  font-style: normal;
  font-size: 13px;
  line-height: 1.5;
}

/* ==========================
   Buttons / links on this page
   ========================== */

body.woocommerce-order-received .woocommerce-order a.button {
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: none;
}

body.woocommerce-order-received .woocommerce a {
  color: #c58b2f;
}