/*
 * Vinodonia — Custom Theme Styles
 * Replicates the in-conference visual design for the Bootscore Child theme.
 * This file is enqueued directly (no build step required).
 * When SCSS is compiled, these styles will also be merged into main.css.
 */

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600;1,700&display=swap');

/* ============================================================
   Base
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #7f7f7f;
  background: #ffffff;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

a { color: #3a6ee8; text-decoration: none; }
a:hover { color: #1e4db7; }

h1, h2, h3, h4, h5, h6 {
  color: #2d2d2d;
  font-weight: 600;
  line-height: 1.3;
}

img { max-width: 100%; height: auto; }

/* ============================================================
   Page layout
   Bootscore's templates own #content — we just ensure #page
   stretches full height and the footer sticks to the bottom.
   ============================================================ */

#page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* #content is opened by bootscore page templates (container Bootstrap class) */
#content { flex: 1; }

/* ============================================================
   Header
   ============================================================ */


.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  min-height: 90px;
}

/* Logo */
.site-header__logo a { display: block; text-decoration: none; }
.site-header__logo img { height: 65px; width: auto; display: block; }
.site-header__logo .site-title {
  font-size: 24px; font-weight: 700; color: #2d2d2d;
}

/* Cart */
.site-header__cart { display: flex; align-items: center; }

.header-cart-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2d2d2d;
  text-decoration: none;
  padding: 6px 0;
}
.header-cart-link:hover { color: #3a6ee8; text-decoration: none; }
.header-cart-link:hover .header-cart-icon svg { stroke: #3a6ee8; }
.header-cart-link:hover .header-cart-count { background: #3a6ee8; }

.header-cart-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #2d2d2d;
}

.header-cart-icon {
  display: flex;
  align-items: center;
}
.header-cart-icon svg {
  stroke: #2d2d2d;
  transition: stroke 0.2s;
  flex-shrink: 0;
}

.header-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border-radius: 10px;
  background: #2d2d2d;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  transition: background 0.2s;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: #ffffff;
  border-top: 1px solid #e8e8e8;
  padding: 22px 0;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer__left {
  font-size: 12px;
  color: #999999;
  line-height: 1.6;
}
.site-footer__left a { color: #999999; }
.site-footer__left a:hover { color: #3a6ee8; }

.site-footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.site-footer__payment img { display: block; height: auto; max-width: 260px; }

.site-footer__links { font-size: 12px; color: #999999; }
.site-footer__links a { color: #999999; }
.site-footer__links a:hover { color: #3a6ee8; }
.site-footer__links .sep { color: #cccccc; }

/* ============================================================
   WooCommerce — Product grid
   ============================================================ */

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce ul.products li.product {
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  background: #fff;
  transition: box-shadow 0.2s;
  padding: 0;
}
.woocommerce ul.products li.product:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }

.woocommerce ul.products li.product a img {
  display: block; width: 100%; height: auto;
  border-radius: 4px 4px 0 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 16px; font-weight: 600; color: #2d2d2d;
  padding: 12px 16px 4px; margin: 0;
}

.woocommerce ul.products li.product .price {
  display: block; padding: 0 16px 8px;
  font-size: 15px; color: #3a6ee8; font-weight: 600;
}
.woocommerce ul.products li.product .price del { color: #aaaaaa; font-weight: 400; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }

.woocommerce ul.products li.product .button {
  display: block;
  width: calc(100% - 32px);
  margin: 8px 16px 16px;
  text-align: center;
  padding: 10px 16px;
  background: #3a6ee8;
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.woocommerce ul.products li.product .button:hover { background: #1e4db7; color: #fff; }

/* ============================================================
   WooCommerce — Single product
   ============================================================ */

.woocommerce div.product .product_title { font-size: 28px; color: #2d2d2d; margin-bottom: 12px; }
.woocommerce div.product p.price,
.woocommerce div.product span.price { font-size: 24px; color: #3a6ee8; font-weight: 700; }

.woocommerce div.product .woocommerce-product-details__short-description {
  color: #7f7f7f; line-height: 1.7; margin-bottom: 20px;
}

.woocommerce div.product .single_add_to_cart_button {
  background: #3a6ee8;
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.woocommerce div.product .single_add_to_cart_button:hover { background: #1e4db7; }

/* ============================================================
   WooCommerce — Cart & Checkout tables
   ============================================================ */

.woocommerce table.shop_table { width: 100%; border-collapse: collapse; }

.woocommerce table.shop_table th {
  background: #f7f7f7;
  color: #2d2d2d;
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 2px solid #e8e8e8;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
}

.woocommerce table.shop_table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e8e8e8;
  vertical-align: middle;
  color: #7f7f7f;
}

.woocommerce .order-total .amount { color: #3a6ee8; font-weight: 700; }

/* Proceed / Place order buttons */
.woocommerce .wc-proceed-to-checkout .checkout-button,
.woocommerce #place_order {
  display: block;
  width: 100%;
  background: #3a6ee8;
  color: #fff;
  padding: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
  font-family: inherit;
}
.woocommerce .wc-proceed-to-checkout .checkout-button:hover,
.woocommerce #place_order:hover { background: #1e4db7; color: #fff; }

/* Return to shop */
.woocommerce .return-to-shop .button {
  background: transparent;
  border: 2px solid #2d2d2d;
  color: #2d2d2d;
  padding: 10px 24px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 12px;
  border-radius: 3px;
  display: inline-block;
  transition: all 0.2s;
}
.woocommerce .return-to-shop .button:hover { background: #2d2d2d; color: #fff; }

/* ============================================================
   WooCommerce — Checkout form fields
   ============================================================ */

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout .cart_totals h2 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #2d2d2d;
  border-bottom: 2px solid #e8e8e8;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.woocommerce-checkout .form-row { margin-bottom: 16px; }

.woocommerce-checkout .form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #2d2d2d;
  margin-bottom: 4px;
}

.woocommerce-checkout .form-row input[type="text"],
.woocommerce-checkout .form-row input[type="email"],
.woocommerce-checkout .form-row input[type="tel"],
.woocommerce-checkout .form-row input[type="password"],
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  font-size: 14px;
  color: #2d2d2d;
  background: #fff;
  transition: border-color 0.2s;
  font-family: 'Source Sans Pro', Arial, sans-serif;
}
.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
  outline: none;
  border-color: #3a6ee8;
  box-shadow: 0 0 0 2px rgba(58,110,232,0.15);
}

/* ============================================================
   WooCommerce — Notices
   ============================================================ */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: 14px 18px;
  border-radius: 3px;
  margin-bottom: 20px;
  font-size: 14px;
  list-style: none;
}

.woocommerce-message { background: #e8f5e9; border-left: 4px solid #2e7d32; color: #1b5e20; }
.woocommerce-info    { background: #e3f2fd; border-left: 4px solid #1565c0; color: #0d47a1; }
.woocommerce-error   { background: #ffebee; border-left: 4px solid #c62828; color: #b71c1c; }

.woocommerce-notices-wrapper .woocommerce-info {
  background: #f9f9f9;
  border-left: 4px solid #e0e0e0;
  color: #7f7f7f;
}

/* ============================================================
   WooCommerce — Order received / Thank you page
   ============================================================ */

.woocommerce-order-received h2,
.woocommerce-thankyou-order-received {
  color: #2d2d2d;
}

/* ============================================================
   Page heading
   ============================================================ */

.woocommerce .woocommerce-products-header__title,
.page-title,
h1.entry-title {
  font-size: 22px;
  color: #2d2d2d;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8e8e8;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 768px) {
  .site-header__inner { min-height: 70px; padding: 10px 16px; }
  .site-header__logo img { height: 48px; }
  .header-cart-label { display: none; }

  .site-footer__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .site-footer__right { align-items: flex-start; }

  .content-container { padding: 20px 16px 40px; }

  .woocommerce ul.products { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

@media (max-width: 480px) {
  .woocommerce ul.products { grid-template-columns: 1fr; }
}
