/*
Theme Name: Book Management System
Theme URI: https://generatepress.com
Template: generatepress
Author: Student Library Hub
Description: Student Library Hub is a modern and lightweight child theme powered by GeneratePress. Designed for digital libraries, e-learning platforms, online reading systems, and educational institutions, this theme focuses on speed, usability, responsive design, and seamless integration with WordPress plugins and page builders.
Tags: education, digital-library, ebook-platform, elearning, responsive, lightweight, elementor, woocommerce, online-reading, custom-theme, translation-ready
Version: 1.0.1
Updated: 2026-05-27
*/

body {
  background: white !important;
  overflow-x: hidden;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Libre+Baskerville:wght@400;700&display=swap');

/* ══════════════════════════════════════════════════════
   WOOCOMMERCE LOST PASSWORD PAGE
══════════════════════════════════════════════════════ */

.woocommerce-lost-password .entry-content,
.woocommerce-lost-password .woocommerce {
  display: block !important;
  background: #f4f6fb !important;
  min-height: 80vh !important;
  padding: 60px 20px !important;
}

.woocommerce-ResetPassword {
  max-width: 500px !important;
  margin: 0 auto !important;
  padding: 40px !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 32px rgba(41, 87, 164, 0.10) !important;
  border: 1px solid #e8e8ee !important;
  box-sizing: border-box !important;
  font-family: 'Inter', sans-serif !important;
}

.woocommerce-ResetPassword p:first-child {
  margin-bottom: 28px !important;
  color: #444 !important;
  line-height: 1.6 !important;
  font-size: 15px !important;
  text-align: center !important;
  font-family: 'Inter', sans-serif !important;
}

.woocommerce-ResetPassword .woocommerce-form-row {
  margin-bottom: 20px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.woocommerce-ResetPassword .woocommerce-form-row label {
  display: block !important;
  margin-bottom: 8px !important;
  font-weight: 600 !important;
  color: #111 !important;
  font-size: 13px !important;
  font-family: 'Inter', sans-serif !important;
  letter-spacing: 0.03em !important;
}

.woocommerce-ResetPassword .woocommerce-form-row label .required {
  color: #C5247A !important;
  text-decoration: none !important;
}

.woocommerce-ResetPassword .woocommerce-Input,
.woocommerce-ResetPassword input[type="text"],
.woocommerce-ResetPassword input[type="email"] {
  width: 100% !important;
  max-width: 100% !important;
  height: 46px !important;
  padding: 0 16px !important;
  border: 1.5px solid #e8e8ee !important;
  border-radius: 10px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  color: #1a1a2e !important;
  background: #fafafa !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  box-sizing: border-box !important;
  display: block !important;
}

.woocommerce-ResetPassword .woocommerce-Input:focus,
.woocommerce-ResetPassword input[type="text"]:focus,
.woocommerce-ResetPassword input[type="email"]:focus {
  outline: none !important;
  border-color: #2957A4 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(41, 87, 164, 0.08) !important;
}

.woocommerce-ResetPassword .woocommerce-Button {
  display: block !important;
  width: 100% !important;
  height: 50px !important;
  padding: 0 !important;
  background: linear-gradient(135deg, #2957A4 0%, #C5247A 100%) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  cursor: pointer !important;
  transition: opacity 0.2s, transform 0.15s !important;
  margin-top: 15px !important;
  box-sizing: border-box !important;
}

.woocommerce-ResetPassword .woocommerce-Button:hover {
  opacity: 0.88 !important;
  transform: translateY(-1px) !important;
}

.woocommerce-ResetPassword .clear {
  clear: both !important;
}

@media (max-width: 600px) {
  .woocommerce-ResetPassword {
    margin: 0 auto !important;
    padding: 30px 20px !important;
  }
}

/* ══════════════════════════════════════════════════════
   WOOCOMMERCE LOGIN PAGE
   FIX: GeneratePress wrappers + centering
══════════════════════════════════════════════════════ */

/* GeneratePress uses .site-content and .content-area — target these too */
.woocommerce-account:not(.logged-in) .site-content,
.woocommerce-account:not(.logged-in) .content-area,
.woocommerce-account:not(.logged-in) .entry-content {
  background: #f4f6fb !important;
  padding: 60px 20px !important;
  min-height: 80vh !important;
  display: block !important;
}

/* WooCommerce wrapper — flex column so heading + form stack centered */
.woocommerce-account:not(.logged-in) .woocommerce {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Login heading — same max-width as the card */
.woocommerce-account .woocommerce > h2:first-child,
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper + h2 {
	display:none;
  font-family: 'Libre Baskerville', serif !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #1a1a2e !important;
  width: 100% !important;
  max-width: 600px !important;
  text-align: left !important;
  margin-bottom: 12px !important;
  padding: 0 !important;
  align-self: center !important;
}

/* Login form card */
.woocommerce-form-login {
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 48px 44px !important;
  max-width: 600px !important;
  width: 100% !important;
  margin: 40px auto !important;
  box-shadow: 0 4px 32px rgba(41, 87, 164, 0.10) !important;
  border: 1px solid #e8e8ee !important;
  box-sizing: border-box !important;
}

/* WooCommerce default border override */
.woocommerce form.login {
  padding: 48px 44px !important;
  margin: 40px auto !important;
  border-radius: 16px !important;
  text-align: left !important;
  background: #ffffff !important;
  box-shadow: 0 4px 32px rgba(41, 87, 164, 0.10) !important;
  border: 1px solid #e8e8ee !important;
  max-width: 600px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  display: block !important;
}

/* Labels */
.woocommerce-form-login label {
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #555555 !important;
  letter-spacing: 0.03em !important;
  display: block !important;
  margin-bottom: 7px !important;
}

/* Required star */
.woocommerce-form-login .required {
  color: #C5247A !important;
}

/* Inputs */
.woocommerce-form-login input[type="text"],
.woocommerce-form-login input[type="password"],
.woocommerce-form-login input[type="email"],
.woocommerce-form-login .woocommerce-Input {
  width: 100% !important;
  height: 46px !important;
  border: 1.5px solid #e8e8ee !important;
  border-radius: 10px !important;
  padding: 0 16px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  color: #1a1a2e !important;
  background: #fafafa !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  box-sizing: border-box !important;
}

.woocommerce-form-login input[type="text"]:focus,
.woocommerce-form-login input[type="password"]:focus {
  border-color: #2957A4 !important;
  box-shadow: 0 0 0 3px rgba(41, 87, 164, 0.08) !important;
  background: #ffffff !important;
}

/* Remember me */
.woocommerce-form-login input[type="checkbox"] {
  accent-color: #2957A4 !important;
  width: 15px !important;
  height: 15px !important;
  cursor: pointer !important;
}

.woocommerce-form-login .woocommerce-form__label-for-checkbox span {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  color: #666666 !important;
}

/* Lost password link */
.woocommerce-form-login .lost_password a,
.woocommerce-LostPassword a {
  color: #C5247A !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

.woocommerce-form-login .lost_password a:hover,
.woocommerce-LostPassword a:hover {
  color: #9e1d62 !important;
  text-decoration: underline !important;
}

/* Login button */
.woocommerce-form-login button[type="submit"],
.woocommerce-form-login .woocommerce-form-login__submit,
.woocommerce-form-login input[type="submit"] {
  display: block !important;
  width: 100% !important;
  height: 50px !important;
  border: none !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #2957A4 0%, #C5247A 100%) !important;
  color: #ffffff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  cursor: pointer !important;
  transition: opacity 0.2s, transform 0.15s !important;
  margin-top: 8px !important;
  padding: 0 !important;
}

.woocommerce-form-login button[type="submit"]:hover,
.woocommerce-form-login .woocommerce-form-login__submit:hover {
  opacity: 0.88 !important;
  transform: translateY(-1px) !important;
}

/* Show/hide password */
.woocommerce-form-login .show-password-input {
  color: #aaaaaa !important;
}
.woocommerce-form-login .show-password-input:hover {
  color: #C5247A !important;
}

@media (max-width: 480px) {
  .woocommerce-form-login {
    padding: 32px 24px !important;
    border-radius: 12px !important;
  }
}

/* ══════════════════════════════════════════════════════
   WOOCOMMERCE MY ACCOUNT PAGE (logged-in)
   FIX: Grid layout, float kill, clearfix hide
══════════════════════════════════════════════════════ */

/* Page background */
.woocommerce-account.logged-in .site-content,
.woocommerce-account.logged-in .content-area,
.woocommerce-account.logged-in .entry-content {
  background: #ffffff !important;
  padding: 40px 20px !important;
  font-family: 'Inter', sans-serif !important;
}

/* Grid container */
.woocommerce-account.logged-in .woocommerce {
  max-width: 1175px !important;
  margin: 60px auto !important;
  display: grid !important;
  grid-template-columns: 210px 1fr !important;
  grid-template-rows: auto !important;
  gap: 20px !important;
  align-items: start !important;
  background: #ffffff !important;
}

/* Kill WooCommerce's default floats — these break grid */
.woocommerce-account.logged-in .woocommerce-MyAccount-navigation,
.woocommerce-account.logged-in .woocommerce-MyAccount-content {
  float: none !important;
  width: auto !important;
}

/* Hide WooCommerce injected clearfix div — breaks grid rows */
.woocommerce-account.logged-in .woocommerce > .clear,
.woocommerce-account.logged-in .woocommerce > div.clear {
  display: none !important;
}

/* Sidebar — column 1 */
.woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
  grid-column: 1 !important;
  grid-row: 1 !important;
  background: #ffffff !important;
  border-radius: 14px !important;
  border: 1px solid #e8e3dc !important;
  padding: 12px !important;
}

/* Content — column 2 */
.woocommerce-account.logged-in .woocommerce-MyAccount-content {
  grid-column: 2 !important;
  grid-row: 1 !important;
  background: #ffffff !important;
  border-radius: 14px !important;
  border: 1px solid #e8e3dc !important;
  padding: 32px 36px !important;
}

/* Sidebar nav list */
.woocommerce-MyAccount-navigation ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce-MyAccount-navigation li {
  margin: 0 !important;
}

.woocommerce-MyAccount-navigation li a {
  display: flex !important;
  align-items: center !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #555555 !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
  margin-bottom: 2px !important;
}

.woocommerce-MyAccount-navigation li a:hover {
  background: #f5f5f5 !important;
  color: #2957A4 !important;
}

.woocommerce-MyAccount-navigation li.is-active a {
  background: linear-gradient(135deg, rgba(41,87,164,0.10), rgba(197,36,122,0.08)) !important;
  color: #2957A4 !important;
  font-weight: 600 !important;
}

.woocommerce-MyAccount-navigation-link--customer-logout a {
  color: #C5247A !important;
}

.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
  background: rgba(197,36,122,0.07) !important;
  color: #9e1d62 !important;
}

/* Content typography */
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
  font-family: 'Libre Baskerville', serif !important;
  font-size: 20px !important;
  color: #1a1a2e !important;
  margin-bottom: 16px !important;
  font-weight: 700 !important;
}

.woocommerce-MyAccount-content p {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  color: #666666 !important;
  line-height: 1.7 !important;
  margin-bottom: 12px !important;
}

.woocommerce-MyAccount-content p a {
  color: #2957A4 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
}

.woocommerce-MyAccount-content p a:hover {
  color: #C5247A !important;
  text-decoration: underline !important;
}

/* Hello greeting block */
.woocommerce-MyAccount-content > p:first-child {
  background: linear-gradient(135deg, rgba(41,87,164,0.05), rgba(197,36,122,0.04)) !important;
  padding: 14px 18px !important;
  border-left: 3px solid #2957A4 !important;
  font-size: 15px !important;
  color: #1a1a2e !important;
  margin-bottom: 20px !important;
  border-radius: 0 10px 10px 0 !important;
}

.woocommerce-MyAccount-content > p:first-child strong {
  color: #2957A4 !important;
}

.woocommerce-MyAccount-content > p:first-child a {
  color: #C5247A !important;
  font-weight: 600 !important;
}

/* Orders table */
.woocommerce-MyAccount-content .woocommerce-orders-table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
}

.woocommerce-MyAccount-content .woocommerce-orders-table th {
  background: #f5f5f5 !important;
  color: #888 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  padding: 10px 14px !important;
  text-align: left !important;
  border-bottom: 1px solid #e8e3dc !important;
}

.woocommerce-MyAccount-content .woocommerce-orders-table td {
  padding: 12px 14px !important;
  border-bottom: 1px solid #f0ece6 !important;
  color: #444 !important;
  vertical-align: middle !important;
}

.woocommerce-MyAccount-content .woocommerce-orders-table tr:last-child td {
  border-bottom: none !important;
}

.woocommerce-MyAccount-content mark.order-status {
  border-radius: 20px !important;
  padding: 4px 12px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  background: #e8f4e8 !important;
  color: #2d7a2d !important;
}

/* Buttons */
.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content .woocommerce-button {
  display: inline-flex !important;
  align-items: center !important;
  padding: 7px 16px !important;
  background: transparent !important;
  border: 1.5px solid #2957A4 !important;
  border-radius: 8px !important;
  color: #2957A4 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.15s !important;
}

.woocommerce-MyAccount-content .button:hover,
.woocommerce-MyAccount-content .woocommerce-button:hover {
  background: #2957A4 !important;
  color: #ffffff !important;
}

/* Edit account form */
.woocommerce-MyAccount-content .woocommerce-EditAccountForm input[type="text"],
.woocommerce-MyAccount-content .woocommerce-EditAccountForm input[type="email"],
.woocommerce-MyAccount-content .woocommerce-EditAccountForm input[type="password"] {
  width: 100% !important;
  height: 46px !important;
  border: 1.5px solid #e8e3dc !important;
  border-radius: 10px !important;
  padding: 0 16px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  color: #1a1a2e !important;
  background: #fafafa !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

.woocommerce-MyAccount-content .woocommerce-EditAccountForm input:focus {
  outline: none !important;
  border-color: #2957A4 !important;
  box-shadow: 0 0 0 3px rgba(41,87,164,0.08) !important;
  background: #ffffff !important;
}

.woocommerce-MyAccount-content .woocommerce-EditAccountForm label {
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #555 !important;
  letter-spacing: 0.03em !important;
  display: block !important;
  margin-bottom: 7px !important;
}

.woocommerce-MyAccount-content .woocommerce-EditAccountForm button[type="submit"] {
  height: 48px !important;
  padding: 0 32px !important;
  border: none !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #2957A4 0%, #C5247A 100%) !important;
  color: #ffffff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: opacity 0.2s, transform 0.15s !important;
}

.woocommerce-MyAccount-content .woocommerce-EditAccountForm button[type="submit"]:hover {
  opacity: 0.88 !important;
  transform: translateY(-1px) !important;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */

@media (max-width: 680px) {
  .woocommerce-account.logged-in .woocommerce {
    grid-template-columns: 1fr !important;
  }

  .woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .woocommerce-account.logged-in .woocommerce-MyAccount-content {
    grid-column: 1 !important;
    grid-row: 2 !important;
    padding: 24px 20px !important;
  }
}

/************************************************************************************************/

/* ============================================
   WOOCOMMERCE CART — BLOCK DESIGN
   Colors: #C5247A | #2957A4
   Fonts: Inter + Libre Baskerville
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Libre+Baskerville:wght@400;700&display=swap');

/* Cart wrapper */
.wc-block-cart {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: 'Inter', sans-serif;
}

/* Cart items table */
.wc-block-cart-items {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e8e3dc!important;
}

/* Header row — gradient */
.wc-block-cart-items__header {
    background: linear-gradient(135deg, #2957A4, #C5247A) !important;
}

.wc-block-cart-items__header th {
    color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
}

.wc-block-cart-items__header-product {
    visibility: visible !important;
}

/* Product name */
.wc-block-components-product-name {
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1a1a2e !important;
    text-decoration: none !important;
}

.wc-block-components-product-name:hover {
    color: #C5247A !important;
}
.wc-block-components-product-details.wc-block-components-product-details {
    font-weight: 700;
    color: #c5247a;
    font-size: 15px;
    line-height: 1.4;
}
/* Price */
.wc-block-components-product-price__value,
.wc-block-components-totals-item__value {
    color: #2957A4 !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
	font-size:18px;
}

/* Quantity box */
.wc-block-components-quantity-selector {
    border: 1.5px solid #e8e8ee !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}

.wc-block-components-quantity-selector__input {
    border: none !important;
    width: 60px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-align: center !important;
    color: #1a1a2e !important;
}

.wc-block-components-quantity-selector__button {
    background: #f5f5f5 !important;
    color: #2957A4 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    transition: background 0.15s !important;
}

.wc-block-components-quantity-selector__button:hover {
    background: rgba(41,87,164,0.10) !important;
    color: #C5247A !important;
}

/* Remove link */
.wc-block-cart-item__remove-link {
    color: #C5247A !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    margin-top: 8px !important;
    text-decoration: none !important;
}

.wc-block-cart-item__remove-link:hover {
    color: #9e1d62 !important;
    text-decoration: underline !important;
}

/* Sidebar (totals) */
.wc-block-cart__sidebar {
    background: #ffffff !important;
    border-radius: 18px !important;
    border: 1px solid #e8e3dc !important;
    padding: 24px !important;
}

/* Totals title */
.wc-block-cart__totals-title {
    font-family: 'Libre Baskerville', serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1a1a2e !important;
    margin-bottom: 16px !important;
}

/* Totals rows */
.wc-block-components-totals-wrapper {
    border-top: 1px solid rgba(0,0,0,0.08) !important;
    padding: 15px !important;
}

.wc-block-components-totals-item__label {
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    color: #000 !important;
	font-weight:600;
}

/* Proceed to checkout button */
.wc-block-cart__submit-button {
    background: linear-gradient(135deg, #2957A4 0%, #C5247A 100%) !important;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 14px !important;
    border: none !important;
    border-radius: 12px !important;
    letter-spacing: 0.02em !important;
    transition: opacity 0.2s, transform 0.15s !important;
    box-shadow: 0 4px 16px rgba(41,87,164,0.20) !important;
}

.wc-block-cart__submit-button:hover {
    opacity: 0.9 !important;
    transform: translateY(-1px) !important;
}

/* Submit container */
.wc-block-cart .wc-block-cart__submit-container {
    padding: 15px !important;
}

/* Sticky bar */
.wc-block-cart__submit-container--sticky {
    background: #f4f6fb !important;
}

/* Coupon */
.wc-block-components-panel__button {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    color: #C5247A !important;
}

.wc-block-components-panel__button:hover {
    color: #9e1d62 !important;
}

/* Hide product meta description */
.wc-block-components-product-metadata__description {
    display: none !important;
}

/* Mobile */
@media (max-width: 768px) {
    .wc-block-cart {
        padding: 20px 12px;
    }

    .wc-block-cart-items,
    .wc-block-cart__sidebar {
        border-radius: 14px;
        padding: 16px;
    }

    .wc-block-cart__submit-button {
        width: 100% !important;
        font-size: 15px !important;
    }

    .wc-block-cart-item__image img {
        width: 80px !important;
    }

    .wc-block-components-product-name {
        font-size: 14px !important;
    }
}

table.wc-block-cart-items .wc-block-cart-items__header .wc-block-cart-items__header-image {
    width: 150px;
}


/* Step titles — bold + blue */
.wc-block-components-title.wc-block-components-checkout-step__title {
  font-family: 'Libre Baskerville', serif !important;
  font-weight: 700 !important;
  color: #2957A4 !important;
}

/* Order summary title */
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title-text {
  font-family: 'Libre Baskerville', serif !important;
  font-weight: 700 !important;
  color: #2957A4 !important;
}

/* Product name */
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-product-name {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  margin: 0px !important;
  color: #1c1c1c !important;
}

/* Place Order button */
.wc-block-checkout__actions .wc-block-components-checkout-place-order-button {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 17px !important;
  color: white !important;
  border: none !important;
  background: linear-gradient(135deg, #2957A4 0%, #C5247A 100%) !important;
  width: 60% !important;
  border-radius: 10px !important;
}

.wc-block-checkout__actions .wc-block-components-checkout-place-order-button:hover {
  opacity: 0.88 !important;
  transform: translateY(-1px) !important;
}

/* Return to Cart button */
.wc-block-components-checkout-return-to-cart-button {
  font-family: 'Inter', sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  padding: 14px 40px !important;
  background: #142146 !important;
  box-shadow: none !important;
  color: white !important;
  text-decoration: none !important;
}

.wc-block-components-checkout-return-to-cart-button:hover {
  opacity: 0.88 !important;
  transform: translateY(-1px) !important;
  color: white !important;
}

.wc-block-components-checkout-return-to-cart-button svg {
    margin: 0 10px;
    fill: white !important;
    flex-shrink: 0 !important;
}

/* .wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-wrapper{
	display:none;
} */


.wp-block-woocommerce-checkout-order-summary-fee-block.wc-block-components-totals-wrapper {
    display: none;
}
.wp-block-woocommerce-checkout-order-summary-discount-block.wc-block-components-totals-wrapper {
    display: none;
}

/* ============================================
   WOOCOMMERCE THANK YOU PAGE
   Colors: #C5247A | #2957A4
   Fonts: Inter + Libre Baskerville
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Libre+Baskerville:wght@400;700&display=swap');

/* ══ PAGE WRAPPER ══ */
.woocommerce-order {
  max-width: 760px !important;
  margin: 60px auto !important;
  padding: 0 20px !important;
  font-family: 'Inter', sans-serif !important;
}

/* ══ THANK YOU NOTICE ══ */
.woocommerce-notice--success.woocommerce-thankyou-order-received {
  background: linear-gradient(135deg, #2957A4, #C5247A) !important;
  color: #ffffff !important;
  font-family: 'Libre Baskerville', serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  text-align: center !important;
  padding: 28px 32px !important;
  border-radius: 14px !important;
  margin-bottom: 24px !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(41,87,164,0.18) !important;
  letter-spacing: -0.01em !important;
}

/* ══ ORDER OVERVIEW STRIP ══ */
.woocommerce-order-overview.order_details {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
  list-style: none !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  background: #ffffff !important;
  border-radius: 14px !important;
  border: 1px solid #ede9e3 !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
  overflow: hidden !important;
}

.woocommerce-order-overview.order_details li {
  flex: 1 1 auto !important;
  padding: 18px 24px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #888 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  border-right: 1px solid #f0ece6 !important;
  border-bottom: none !important;
  margin: 0 !important;
}

.woocommerce-order-overview.order_details li:last-child {
  border-right: none !important;
}

.woocommerce-order-overview.order_details li strong {
  display: block !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #1a1a2e !important;
  margin-top: 4px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.woocommerce-order-overview__total strong .woocommerce-Price-amount {
  color: #C5247A !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

/* ══ ORDER DETAILS SECTION ══ */
.woocommerce-order-details {
  background: #ffffff !important;
  border-radius: 14px !important;
  border: 1px solid #ede9e3 !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
  padding: 28px 32px !important;
  margin-bottom: 20px !important;
}

.woocommerce-order-details__title {
  font-family: 'Libre Baskerville', serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #2957A4 !important;
  margin-bottom: 20px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid #f0ece6 !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
}

/* ══ ORDER TABLE ══ */
.woocommerce-table--order-details {
  width: 100% !important;
  border-collapse: collapse !important;
  font-family: 'Inter', sans-serif !important;
}

.woocommerce-table--order-details thead tr {
  background: #f7f4f0 !important;
}

.woocommerce-table--order-details thead th {
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #999 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  padding: 10px 14px !important;
  text-align: left !important;
  border: none !important;
  border-bottom: 1px solid #ede9e3 !important;
}

.woocommerce-table--order-details tbody tr {
  border-bottom: 1px solid #f7f4f0 !important;
}

.woocommerce-table--order-details tbody tr:last-child {
  border-bottom: none !important;
}

.woocommerce-table--order-details tbody td {
  padding: 14px !important;
  font-size: 14px !important;
  color: #1a1a2e !important;
  vertical-align: middle !important;
  border: none !important;
}

/* Product link */
.woocommerce-table--order-details .product-name a {
  color: #1a1a2e !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.woocommerce-table--order-details .product-name a:hover {
  color: #2957A4 !important;
}

.woocommerce-table--order-details .product-quantity {
  color: #aaa !important;
  font-weight: 400 !important;
  font-size: 13px !important;
}

.woocommerce-table--order-details .product-total {
  text-align: right !important;
  font-weight: 600 !important;
  color: #1a1a2e !important;
  white-space: nowrap !important;
}

/* ══ TABLE FOOTER (Subtotal, Total, Payment) ══ */
.woocommerce-table--order-details tfoot tr {
  border-top: 1px solid #f0ece6 !important;
}

.woocommerce-table--order-details tfoot th {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #888 !important;
  padding: 10px 14px !important;
  text-align: left !important;
  border: none !important;
}

.woocommerce-table--order-details tfoot td {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #1a1a2e !important;
  padding: 10px 14px !important;
  text-align: right !important;
  border: none !important;
}

/* Total row — highlighted */
.woocommerce-table--order-details tfoot tr:nth-child(2) th {
  font-family: 'Libre Baskerville', serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1a1a2e !important;
}

.woocommerce-table--order-details tfoot tr:nth-child(2) td {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #C5247A !important;
}

/* ══ BILLING ADDRESS SECTION ══ */
.woocommerce-customer-details {
  background: #ffffff !important;
  border-radius: 14px !important;
  border: 1px solid #ede9e3 !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
  padding: 28px 32px !important;
}

.woocommerce-column__title {
  font-family: 'Libre Baskerville', serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #2957A4 !important;
  margin-bottom: 16px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid #f0ece6 !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
}

.woocommerce-customer-details address {
  font-family: 'Inter', sans-serif !important;
  font-style: normal !important;
  font-size: 14px !important;
  color: #444 !important;
  line-height: 1.8 !important;
  border: none !important;
}

.woocommerce-customer-details--email {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  color: #2957A4 !important;
  font-weight: 500 !important;
  margin-top: 8px !important;
  border: none !important;
}

/* ══ RESPONSIVE ══ */
@media (max-width: 600px) {
  .woocommerce-order-overview.order_details {
    flex-direction: column !important;
  }

  .woocommerce-order-overview.order_details li {
    border-right: none !important;
    border-bottom: 1px solid #f0ece6 !important;
  }

  .woocommerce-order-overview.order_details li:last-child {
    border-bottom: none !important;
  }

  .woocommerce-order-details,
  .woocommerce-customer-details {
    padding: 20px 18px !important;
  }

  .woocommerce-notice--success.woocommerce-thankyou-order-received {
    font-size: 16px !important;
    padding: 20px !important;
  }
}


/* ══════════════════════════════════════════════════════
   WOOCOMMERCE REGISTER FORM
   Matches Login form styling
══════════════════════════════════════════════════════ */

/* Register form card */
.woocommerce-form-register {
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 48px 44px !important;
  max-width: 600px !important;
  width: 100% !important;
  margin: 40px auto !important;
  box-shadow: 0 4px 32px rgba(41, 87, 164, 0.10) !important;
  border: 1px solid #e8e8ee !important;
  box-sizing: border-box !important;
}

/* Labels */
.woocommerce-form-register label {
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #555555 !important;
  letter-spacing: 0.03em !important;
  display: block !important;
  margin-bottom: 7px !important;
}

/* Required star */
.woocommerce-form-register .required {
  color: #C5247A !important;
}

/* All inputs */
.woocommerce-form-register input[type="text"],
.woocommerce-form-register input[type="email"],
.woocommerce-form-register input[type="tel"],
.woocommerce-form-register input[type="password"],
.woocommerce-form-register .woocommerce-Input {
  width: 100% !important;
  height: 46px !important;
  border: 1.5px solid #e8e8ee !important;
  border-radius: 10px !important;
  padding: 0 16px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  color: #1a1a2e !important;
  background: #fafafa !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  box-sizing: border-box !important;
}

/* Input focus */
.woocommerce-form-register input[type="text"]:focus,
.woocommerce-form-register input[type="email"]:focus,
.woocommerce-form-register input[type="tel"]:focus,
.woocommerce-form-register input[type="password"]:focus {
  border-color: #2957A4 !important;
  box-shadow: 0 0 0 3px rgba(41, 87, 164, 0.08) !important;
  background: #ffffff !important;
}

/* Form row spacing */
.woocommerce-form-register .woocommerce-form-row {
  margin-bottom: 16px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* "A link to set a new password..." text */
.woocommerce-form-register > p {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  color: #888888 !important;
  margin-bottom: 16px !important;
  line-height: 1.6 !important;
}

/* Privacy policy text */
.woocommerce-form-register .woocommerce-privacy-policy-text p {
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  color: #999999 !important;
  line-height: 1.6 !important;
  margin-bottom: 16px !important;
}

.woocommerce-form-register .woocommerce-privacy-policy-text a {
  color: #2957A4 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
}

.woocommerce-form-register .woocommerce-privacy-policy-text a:hover {
  color: #C5247A !important;
  text-decoration: underline !important;
}

/* Register button */
.woocommerce-form-register button[type="submit"],
.woocommerce-form-register .woocommerce-form-register__submit {
  display: block !important;
  width: 100% !important;
  height: 50px !important;
  border: none !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #2957A4 0%, #C5247A 100%) !important;
  color: #ffffff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  cursor: pointer !important;
  transition: opacity 0.2s, transform 0.15s !important;
  margin-top: 8px !important;
  padding: 0 !important;
}

.woocommerce-form-register button[type="submit"]:hover,
.woocommerce-form-register .woocommerce-form-register__submit:hover {
  opacity: 0.88 !important;
  transform: translateY(-1px) !important;
}

/* Register heading — hide like login */
.woocommerce-account .woocommerce .u-column2 h2, .woocommerce-account .woocommerce .u-column1 h2{
  font-family: 'Libre Baskerville', serif !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #1a1a2e !important;
  margin-bottom: 24px !important;
}

/* Column layout fix — both forms side by side */
.woocommerce-account:not(.logged-in) .woocommerce .u-columns {
	padding:60px 0 0 0;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 30px !important;
  align-items: flex-start !important;
  width: 100% !important;
  max-width: 1200px !important;
}

.woocommerce-account:not(.logged-in) .woocommerce .u-column1,
.woocommerce-account:not(.logged-in) .woocommerce .u-column2 {
  flex: 1 1 400px !important;
  min-width: 0 !important;
}

/* Mobile */
@media (max-width: 480px) {
  .woocommerce-form-register {
    padding: 32px 24px !important;
    border-radius: 12px !important;
  }
}