/* Al-Hamid Perfumes: white / black / gold skin for Astra + WooCommerce pages (everything except the homepage) */
:root { --alh-ink: #111; --alh-muted: #555; --alh-line: #e6e6e6; --alh-gold: #d4af37; --alh-gold-d: #9a6f12; --alh-soft: #f6f4ef; }

body.alh-inner, body.alh-inner #page, body.alh-inner .site-content, body.alh-inner .ast-container, body.alh-inner .ast-separate-container,
body.alh-inner .ast-separate-container .ast-article-single, body.alh-inner .ast-separate-container .ast-article-post,
body.alh-inner .ast-plain-container .site-content, body.alh-inner #primary, body.alh-inner .entry-content, body.alh-inner article {
  background: #fff !important; color: var(--alh-ink);
}
body.alh-inner { font-family: 'Inter', sans-serif; line-height: 1.65; }
body.alh-inner #masthead, body.alh-inner #colophon, body.alh-inner .site-footer, body.alh-inner .ast-above-header, body.alh-inner .ast-below-header,
body.alh-inner .ast-breadcrumbs-wrapper { display: none !important; }
body.alh-inner .ast-container { max-width: 1280px; padding: 0 24px; }
body.alh-inner .site-content > .ast-container { display: block; padding-top: 36px; padding-bottom: 20px; }
body.alh-inner #primary { margin: 0 !important; padding: 0 !important; width: 100% !important; }
body.alh-inner #secondary { display: none; }

body.alh-inner h1, body.alh-inner h2, body.alh-inner h3, body.alh-inner h4, body.alh-inner .entry-title,
body.alh-inner .woocommerce-loop-product__title, body.alh-inner .product_title { font-family: 'Inter', sans-serif; color: var(--alh-ink); letter-spacing: .02em; }
body.alh-inner h1.entry-title, body.alh-inner .product_title, body.alh-inner .page-title, body.alh-inner .woocommerce-products-header__title { font-size: clamp(28px, 4.4vw, 42px); margin-bottom: 14px; }
body.alh-inner p, body.alh-inner li, body.alh-inner td, body.alh-inner th, body.alh-inner label { color: inherit; }
body.alh-inner .entry-content p, body.alh-inner .entry-content li { color: #444; }
body.alh-inner .entry-content h2 { font-family: 'Inter', sans-serif; font-size: clamp(21px, 3.2vw, 28px); margin: 40px 0 12px; }
body.alh-inner .entry-content ul { margin: 0 0 18px 1.2em; }
body.alh-inner .entry-content strong { color: #111; }
body.alh-inner .entry-content a { color: var(--alh-gold-d); }
body.alh-inner a { color: var(--alh-gold-d); text-decoration: none; }
body.alh-inner a:hover { color: #000; }

/* buttons */
body.alh-inner .button, body.alh-inner button.button, body.alh-inner a.button, body.alh-inner input[type=submit], body.alh-inner .wp-element-button,
body.alh-inner .wc-block-components-button:not(.is-link), body.alh-inner .single_add_to_cart_button, body.alh-inner #place_order {
  background: linear-gradient(135deg, #f0df88 0%, #d4af37 50%, #b8891c 100%) !important; color: #111 !important; border: 0 !important;
  border-radius: 999px !important; font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 14px 28px; box-shadow: 0 4px 16px rgba(212, 175, 55, .3); transition: transform .25s, box-shadow .25s;
}
body.alh-inner .button:hover, body.alh-inner .wc-block-components-button:not(.is-link):hover, body.alh-inner #place_order:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(212, 175, 55, .45); color: #000 !important; }

/* product grid */
body.alh-inner .woocommerce-result-count { color: var(--alh-muted); }
body.alh-inner .woocommerce-ordering select { background: #fff; border: 1px solid #d9d9d9; border-radius: 10px; padding: 8px 12px; color: var(--alh-ink); }
body.alh-inner ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 24px 0 0 !important; padding: 0; }
body.alh-inner .alh-cat-grid ul.products, body.alh-inner .entry-content ul.products { grid-template-columns: repeat(3, 1fr); }
body.alh-inner ul.products::before, body.alh-inner ul.products::after { display: none !important; }
body.alh-inner ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--alh-line); border-radius: 14px; padding: 14px; text-align: center; transition: transform .3s, box-shadow .3s, border-color .3s; overflow: hidden; }
body.alh-inner ul.products li.product:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(0, 0, 0, .1); border-color: var(--alh-gold); }
body.alh-inner ul.products li.product img { border-radius: 10px; background: var(--alh-soft); aspect-ratio: 1; object-fit: cover; margin: 0 0 12px; width: 100%; height: auto; }
body.alh-inner ul.products li.product .woocommerce-loop-product__title { font-size: 15px; line-height: 1.4; padding: 4px 0; color: var(--alh-ink); }
body.alh-inner .ast-woo-product-category, body.alh-inner .ast-woo-product-category a { color: #8a8a8a !important; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
body.alh-inner .price, body.alh-inner .woocommerce-Price-amount { color: var(--alh-gold-d) !important; font-weight: 700; }
body.alh-inner ul.products li.product .price { font-size: 17px; margin-bottom: 12px; display: block; }
body.alh-inner ul.products li.product .button { margin-top: auto; align-self: center; }
body.alh-inner span.onsale { background: #111; color: #fff; border-radius: 999px; min-height: 0; line-height: 1; padding: 8px 12px; }
@media (max-width: 1100px) { body.alh-inner ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { body.alh-inner ul.products, body.alh-inner .entry-content ul.products { grid-template-columns: repeat(2, 1fr); gap: 12px; } body.alh-inner ul.products li.product { padding: 10px; } }
@media (max-width: 560px) { body.alh-inner ul.products li.product .button { padding: 11px 14px; font-size: 11px; white-space: nowrap; } }

/* single product */
body.alh-inner div.product div.images img { border-radius: 14px; background: var(--alh-soft); }
body.alh-inner div.product .summary .price { font-size: 26px; }
body.alh-inner .product_meta, body.alh-inner .product_meta a { color: var(--alh-muted); font-size: 13px; }
body.alh-inner .woocommerce-tabs ul.tabs { border-color: var(--alh-line); }
body.alh-inner .woocommerce-tabs ul.tabs::before { border-color: var(--alh-line) !important; }
body.alh-inner .woocommerce-tabs ul.tabs li { background: #fff !important; border-color: var(--alh-line) !important; }
body.alh-inner .woocommerce-tabs ul.tabs li a { color: var(--alh-muted) !important; }
body.alh-inner .woocommerce-tabs ul.tabs li.active a { color: var(--alh-ink) !important; }
body.alh-inner .woocommerce-tabs .panel { background: transparent; color: #333; }
body.alh-inner .woocommerce-breadcrumb { color: var(--alh-muted); font-size: 12px; }

/* forms */
body.alh-inner input[type=text], body.alh-inner input[type=email], body.alh-inner input[type=tel], body.alh-inner input[type=number], body.alh-inner input[type=password],
body.alh-inner textarea, body.alh-inner select, body.alh-inner .select2-container--default .select2-selection--single {
  background: #fff !important; color: var(--alh-ink) !important; border: 1px solid #d4d4d4 !important; border-radius: 10px !important; padding: 11px 14px;
}
body.alh-inner .select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--alh-ink); }
body.alh-inner ::placeholder { color: #999; }
body.alh-inner input:focus, body.alh-inner textarea:focus, body.alh-inner select:focus { outline: none; border-color: var(--alh-gold) !important; }
body.alh-inner .quantity .qty { width: 70px; text-align: center; }

/* notices, tables */
body.alh-inner .woocommerce-message, body.alh-inner .woocommerce-info, body.alh-inner .woocommerce-error { background: var(--alh-soft) !important; color: var(--alh-ink) !important; border-top: 3px solid var(--alh-gold) !important; border-radius: 10px; }
body.alh-inner .woocommerce-message::before, body.alh-inner .woocommerce-info::before { color: var(--alh-gold-d) !important; }
body.alh-inner table.shop_table, body.alh-inner table.shop_table td, body.alh-inner table.shop_table th { background: transparent !important; color: var(--alh-ink) !important; border-color: var(--alh-line) !important; }
body.alh-inner table.shop_table { border: 1px solid var(--alh-line); border-radius: 12px; border-collapse: separate; overflow: hidden; }
body.alh-inner .cart_totals, body.alh-inner #payment, body.alh-inner #payment div.payment_box { background: var(--alh-soft) !important; color: var(--alh-ink) !important; border-radius: 12px; }
body.alh-inner #payment div.payment_box::before { border-bottom-color: var(--alh-soft) !important; }
body.alh-inner #payment ul.payment_methods { border-color: var(--alh-line); }

/* Cart + Checkout blocks (WooCommerce 11) */
body.alh-inner .wp-block-woocommerce-cart, body.alh-inner .wp-block-woocommerce-checkout, body.alh-inner .alignwide { margin-left: 0 !important; margin-right: 0 !important; max-width: 100% !important; color: var(--alh-ink); }
body.alh-inner .wc-block-components-text-input input, body.alh-inner .wc-block-components-text-input textarea, body.alh-inner .wc-block-components-combobox .components-combobox-control__suggestions-container input,
body.alh-inner .wc-blocks-components-select .wc-blocks-components-select__select, body.alh-inner .wc-block-components-country-input select, body.alh-inner .wc-block-components-state-input select {
  background: #fff !important; color: var(--alh-ink) !important; border: 1px solid #d4d4d4 !important; border-radius: 10px;
}
body.alh-inner .wc-block-components-text-input label, body.alh-inner .wc-blocks-components-select__label, body.alh-inner .wc-block-components-checkbox__label,
body.alh-inner .wc-block-components-radio-control__label, body.alh-inner .wc-block-components-radio-control__description, body.alh-inner .wc-block-components-title,
body.alh-inner .wc-block-components-product-name, body.alh-inner .wc-block-components-totals-item__label, body.alh-inner .wc-block-components-totals-item__value,
body.alh-inner .wc-block-components-order-summary-item__description, body.alh-inner .wc-block-cart-item__prices, body.alh-inner .wc-block-components-product-metadata { color: var(--alh-ink) !important; }
body.alh-inner .wc-block-components-totals-wrapper, body.alh-inner .wc-block-components-order-summary, body.alh-inner .wc-block-components-panel, body.alh-inner .wc-block-cart__sidebar,
body.alh-inner .wc-block-components-radio-control-accordion-option, body.alh-inner .wc-block-components-radio-control__option { border-color: var(--alh-line) !important; }
body.alh-inner .wc-block-cart__sidebar, body.alh-inner .wc-block-checkout__sidebar { background: var(--alh-soft); border: 1px solid var(--alh-line); border-radius: 14px; padding: 20px; }
body.alh-inner table.wc-block-cart-items, body.alh-inner table.wc-block-cart-items th, body.alh-inner table.wc-block-cart-items td { background: transparent !important; color: var(--alh-ink) !important; border-color: var(--alh-line) !important; }
body.alh-inner .wc-block-components-quantity-selector { border-color: #d4d4d4; }
body.alh-inner .wc-block-components-quantity-selector input { color: var(--alh-ink); background: transparent; }
body.alh-inner .wc-block-components-product-price, body.alh-inner .wc-block-formatted-money-amount { color: var(--alh-gold-d) !important; }
body.alh-inner .wc-block-components-radio-control__input:checked, body.alh-inner .wc-block-components-checkbox__input:checked { background-color: var(--alh-gold); border-color: var(--alh-gold); }
body.alh-inner .wc-block-components-notice-banner { background: var(--alh-soft); color: var(--alh-ink); border-color: var(--alh-gold); }

/* ---- product cards: light grey card, left-aligned text, rounded full-width image, full-width Add to Cart ---- */
body.alh-inner ul.products li.product { background: #f6f6f6; border: 0; text-align: left; padding: 10px; border-radius: 16px; box-shadow: none; }
body.alh-inner ul.products li.product:hover { box-shadow: 0 14px 34px rgba(0, 0, 0, .1); transform: translateY(-4px); }
body.alh-inner ul.products li.product img { border-radius: 12px; background: #e9e9e9; aspect-ratio: 1; object-fit: cover; margin: 0 0 12px; }
body.alh-inner ul.products li.product .ast-woo-product-category { display: block; margin: 0 4px 4px; }
body.alh-inner ul.products li.product .woocommerce-loop-product__title { font-size: 15px; font-weight: 700; line-height: 1.35; min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding: 0 4px; margin: 0; }
body.alh-inner ul.products li.product .price { padding: 0 4px; margin: 6px 0 12px; font-size: 17px; }
body.alh-inner ul.products li.product .button { width: 100%; text-align: center; align-self: stretch; margin-top: auto; padding: 12px 10px; font-size: 12px; }
@media (max-width: 800px) { body.alh-inner ul.products li.product { padding: 8px; } body.alh-inner ul.products li.product .woocommerce-loop-product__title { font-size: 14px; } }
