/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.14
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

	html:not(.safari) .elementor-menu-cart__container { 
		top: 0 !important; 
	}
	.elementor-widget-post-navigation.vamtam-has-theme-widget-styles .elementor-post-navigation__separator-wrapper {
		margin: 0 10px;
	}
	.woocommerce-MyAccount-content div#amelia-container {
		margin: 15px 0 !important;
	}
	html .button {
		color: #fff !important;
	}
	.el-checkbox__label a {
		text-decoration: underline;
	}
	span.am-fcis__header-btn {
		width: 100%;
		display: block;
	}
	button.el-dialog__headerbtn {
		background-color: transparent !important;
	}
    /* Minimal, WooCommerce-friendly polish (no sticky, no layout/grid overrides)
   Paste into: Appearance > Customise > Additional CSS
*/

/* Use your Elementor globals (with safe fallbacks) */
:root{
  --sb-accent: var(--e-global-color-vamtam_accent_1, #CDB083);
  --sb-primary: var(--e-global-color-vamtam_accent_2, #3A2E6F);
  --sb-cream: var(--e-global-color-vamtam_accent_4, #F5EAD5);
  --sb-white: var(--e-global-color-vamtam_accent_5, #FFFFFF);

  --sb-body: var(--e-global-typography-vamtam_primary_font-font-family, "Archivo"), Arial, sans-serif;
  --sb-head: var(--e-global-typography-vamtam_h3-font-family, "Gotu"), serif;

  --sb-radius: 12px;
  --sb-border: rgba(58,46,111,.14);
  --sb-muted: rgba(58,46,111,.72);
}

/* Page title */
body.woocommerce-account .entry-title{
  font-family: var(--sb-head);
  color: var(--sb-primary);
  letter-spacing: .4px;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.15;
}

/* Only visual styling (no display/grid/position changes) */
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content{
  border-radius: var(--sb-radius);
}

/* Left menu container */
body.woocommerce-account .woocommerce-MyAccount-navigation{
  background: rgba(245,234,213,.55); /* cream tint */
  border: 1px solid var(--sb-border);
  padding: 12px;
}

/* Menu items */
body.woocommerce-account .woocommerce-MyAccount-navigation ul{
  margin: 0;
  padding: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li{
  margin: 0 0 8px 0;
  list-style: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li:last-child{
  margin-bottom: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a{
  font-family: var(--sb-body);
  color: var(--sb-primary);
  text-decoration: none;
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a:hover{
  background: rgba(205,176,131,.18);
  border-color: rgba(205,176,131,.55);
}

/* Active state */
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{
  background: var(--sb-white);
  border-color: rgba(205,176,131,.75);
}

/* Right content container */
body.woocommerce-account .woocommerce-MyAccount-content{
  border: 1px solid var(--sb-border);
  background: var(--sb-white);
  padding: 18px;
}

/* Content typography */
body.woocommerce-account .woocommerce-MyAccount-content p{
  color: var(--sb-muted);
  line-height: 1.65;
}

body.woocommerce-account .woocommerce-MyAccount-content a{
  color: var(--sb-primary);
  text-decoration-color: rgba(205,176,131,.9);
  text-underline-offset: 3px;
}
body.woocommerce-account .woocommerce-MyAccount-content a:hover{
  text-decoration-color: var(--sb-accent);
}

/* Buttons (keep WooCommerce defaults, only recolour) */
body.woocommerce-account .woocommerce a.button,
body.woocommerce-account .woocommerce button.button,
body.woocommerce-account .woocommerce input.button,
body.woocommerce-account .woocommerce .button{
  background: var(--sb-primary) !important;
  color: var(--sb-white) !important;
  border-color: rgba(58,46,111,.25) !important;
  border-radius: 999px !important;
  font-weight: 700;
  letter-spacing: .2px;
}
body.woocommerce-account .woocommerce a.button:hover,
body.woocommerce-account .woocommerce button.button:hover,
body.woocommerce-account .woocommerce input.button:hover,
body.woocommerce-account .woocommerce .button:hover{
  filter: brightness(.92);
}

/* Notices - subtle rounding only */
body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-message,
body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-info,
body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-error{
  border-radius: var(--sb-radius);
}

/* ===== Your Class Credits block (visual only) ===== */
body.woocommerce-account .woocommerce-class-credits-dashboard{
  background: rgba(245,234,213,.55);
  border: 1px solid rgba(205,176,131,.55);
  border-radius: var(--sb-radius);
  padding: 16px;
}

body.woocommerce-account .woocommerce-class-credits-dashboard h2{
  font-family: var(--sb-head);
  color: var(--sb-primary);
  font-size: 22px;
  margin: 0 0 12px 0;
}

/* Keep your flex layout, just polish the cards */
body.woocommerce-account .woocommerce-class-credits-dashboard .credits-stat{
  background: var(--sb-white);
  border: 1px solid #ffaaaa;
  border-radius: 12px;
  box-shadow: none; /* safe */
}

body.woocommerce-account .woocommerce-class-credits-dashboard .credits-label{
  color: rgba(58,46,111,.70);
  text-transform: uppercase;
  letter-spacing: .3px;
  font-size: 12px;
}

body.woocommerce-account .woocommerce-class-credits-dashboard .credits-value{
  color: var(--sb-primary);
}

/* Available highlight using your gold (no layout changes) */
body.woocommerce-account .woocommerce-class-credits-dashboard .credits-stat.credits-available{
  border: 2px solid #4CAF50;
}
body.woocommerce-account .woocommerce-class-credits-dashboard .credits-stat.credits-available .credits-value{
  color: var(--sb-primary);
}

/* Book button: gold primary */
body.woocommerce-account .woocommerce-class-credits-dashboard .book-class-button{
  background: var(--sb-accent) !important;
  color: var(--sb-primary) !important;
  border-color: rgba(205,176,131,.85) !important;
  border-radius: 999px !important;
  font-weight: 800;
}
body.woocommerce-account .woocommerce-class-credits-dashboard .book-class-button:hover{
  filter: brightness(.95);
}

/* Tables in account area (visual only) */
body.woocommerce-account .woocommerce table.shop_table{
  border-radius: var(--sb-radius);
  overflow: hidden;
  border-color: rgba(58,46,111,.12);
}
body.woocommerce-account .woocommerce table.shop_table th{
  background: rgba(245,234,213,.55);
  color: var(--sb-primary);
}

.cart_item dl.variation {
    min-width: 320px;
    display: block;
}

.cart_item dl.variation * {
    float: none !important;
}

.cart_item dl.variation hr {
    display: none;
}

dt.variation-EventInfo {
    padding-left: 5px;
    font-weight: bold !important;
}

dd.variation-EventInfo {
    padding-left: 15px;
    font-weight: normal !important;
}

.cart_item .product-name {
    font-weight: bold !important;
    color: #3A2E6F !important;
}

.shop_table td {
    max-width: 100px;
}

p.unlimited-description {
    color: #fff !important;
}

/* =========================
   WooCommerce Thank You Page
   Elementor Global Style Skin
   ========================= */

.woocommerce .woocommerce-order {
  max-width: 980px;
  padding: 0 16px;
  font-family: var(--e-global-typography-vamtam_primary_font-font-family);
  color: var(--e-global-color-vamtam_accent_2);
}

/* Success notice */
.woocommerce-notice--success.woocommerce-thankyou-order-received {
  background: var(--e-global-color-vamtam_accent_4);
  border-left: 6px solid var(--e-global-color-vamtam_accent_1);
  padding: 18px 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 28px;
}

/* Order overview pills */
.woocommerce ul.woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin-bottom: 32px;
}

.woocommerce ul.woocommerce-order-overview li {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  font-size: 14px;
}

.woocommerce ul.woocommerce-order-overview li strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--e-global-color-vamtam_accent_2);
}

/* Card sections */
.woocommerce-order-details,
.woocommerce-customer-details {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
}

/* Section titles */
.woocommerce-order-details__title,
.woocommerce-column__title {
  font-family: var(--e-global-typography-vamtam_h4-font-family);
  font-size: var(--e-global-typography-vamtam_h4-font-size);
  font-weight: 400;
  margin-bottom: 20px;
  color: var(--e-global-color-vamtam_accent_2);
}

/* Order details table */
.woocommerce-table--order-details {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.08);
}

.woocommerce-table--order-details thead th {
  background: var(--e-global-color-vamtam_accent_4);
  padding: 14px 16px;
  font-weight: 600;
  text-align: left;
}

.woocommerce-table--order-details tbody td {
  padding: 18px 16px;
  vertical-align: top;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.woocommerce-table--order-details td.product-total {
  text-align: right;
  font-weight: 600;
}

/* Footer totals */
.woocommerce-table--order-details tfoot th,
.woocommerce-table--order-details tfoot td {
  padding: 14px 16px;
  font-weight: 600;
}

.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-table--order-details tfoot tr:last-child td {
  font-size: 18px;
  color: var(--e-global-color-vamtam_accent_1);
}

/* Address block */
.woocommerce-customer-details address {
  background: var(--e-global-color-vamtam_accent_4);
  padding: 18px;
  border-radius: 14px;
  font-style: normal;
  line-height: 1.6;
}

/* Email + phone */
.woocommerce-customer-details--email,
.woocommerce-customer-details--phone {
  margin-top: 8px;
  font-weight: 500;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .woocommerce-table--order-details td.product-total,
  .woocommerce-table--order-details th.product-total {
    text-align: left;
  }
}
.woocommerce-table__product-name br + br {
  display: none;
}

td.woocommerce-table__product-name.product-name hr {
    display: none;
}
body.woocommerce-account .woocommerce-MyAccount-content a.button {
    padding: 10px 15px;
    font-weight: 500 !important;
}

.woocommerce ul.order_details li{
  margin-right: 0 !important;
}

.woocommerce-Address {
    float: none !important;
    width: 100% !important;
    margin-bottom: 25px;
}