/*
Theme Name: ColaBox Black Gold
Theme URI: https://www.colaboxus.com/
Author: COLABOX
Author URI: https://www.colaboxus.com/
Description: A black-and-gold WooCommerce theme for COLABOX landing pages and product sales.
Version: 5.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: colabox-black-gold
*/

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

.screen-reader-text,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  color: #050505;
  background: #f5d400;
  font-weight: 800;
}

.page-hero,
.page-content-wrap,
.colabox-shop-main,
.colabox-cart-main,
.colabox-search-main,
.colabox-404-main,
.colabox-single-main {
  background:
    linear-gradient(rgba(245, 212, 0, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 212, 0, 0.055) 1px, transparent 1px),
    #030402;
  background-size: 92px 92px;
  color: #fff;
}

.page-hero {
  padding: clamp(80px, 10vw, 150px) 0 clamp(28px, 5vw, 70px);
}

.page-hero .entry-title,
.colabox-shop-main .entry-title,
.colabox-search-main .entry-title,
.colabox-404-main .entry-title,
.colabox-single-main .entry-title {
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.06;
  text-transform: uppercase;
}

.entry-title::first-letter {
  color: #f5d400;
}

.page-content-wrap {
  padding: 0 0 clamp(70px, 8vw, 120px);
}

.entry-content,
.colabox-shop-shell {
  color: rgba(255, 255, 255, 0.78);
}

.entry-content a,
.colabox-shop-shell a {
  color: #f5d400;
}

.colabox-shop-shell {
  width: min(1280px, calc(100vw - 64px));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 72px) 0;
}

.woocommerce-notices-wrapper,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  width: min(1280px, calc(100vw - 64px));
  margin: 24px auto;
  border: 1px solid rgba(245, 212, 0, 0.35);
  background: rgba(15, 16, 10, 0.92);
  color: #fff;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: 16px 20px;
  list-style: none;
}

.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
  color: #f5d400;
  font-weight: 800;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce input.input-text,
.woocommerce select,
.woocommerce textarea,
.header-search-input,
.search-field {
  width: 100%;
  border: 1px solid rgba(245, 212, 0, 0.28);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  padding: 14px 16px;
}

.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .single_add_to_cart_button,
.woocommerce .checkout-button,
.search-submit,
.comment-form .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px solid #f5d400;
  border-radius: 0;
  background: #f5d400;
  color: #050505;
  padding: 0 28px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce .single_add_to_cart_button.button.alt,
.woocommerce .checkout-button.button.alt {
  background: #f5d400;
  color: #050505;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce .checkout-button:hover,
.search-submit:hover {
  background: #fff;
  border-color: #fff;
  color: #050505;
}

.woocommerce .quantity {
  display: inline-flex;
  margin-right: 12px;
}

.woocommerce .quantity .qty {
  width: 76px;
  min-height: 52px;
  border: 1px solid rgba(245, 212, 0, 0.35);
  background: #050505;
  color: #fff;
  text-align: center;
}

.colabox-wc-actions form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.colabox-wc-actions .added_to_cart {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  border: 1px solid rgba(245, 212, 0, 0.35);
  padding: 0 20px;
  color: #f5d400;
  font-weight: 800;
  text-transform: uppercase;
}

.woocommerce-cart-form,
.cart-collaterals,
.woocommerce-checkout,
.woocommerce-account .woocommerce,
.woocommerce-order {
  color: #fff;
}

.woocommerce table.shop_table {
  border: 1px solid rgba(245, 212, 0, 0.25);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.38);
  color: #fff;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: rgba(245, 212, 0, 0.18);
}

.woocommerce table.shop_table a {
  color: #fff;
}

.woocommerce table.shop_table .product-name a {
  color: #f5d400;
}

.woocommerce .cart_totals,
.woocommerce-checkout-review-order,
.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content {
  border: 1px solid rgba(245, 212, 0, 0.25);
  background: rgba(12, 13, 8, 0.82);
  padding: 24px;
}

.woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce-MyAccount-navigation a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(245, 212, 0, 0.15);
}

.shopify-payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.payment-icon,
.shopify-payment-icons img,
.shopify-payment-icons svg {
  display: inline-flex;
  min-width: 38px;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  background: #fff;
  color: #050505;
  padding: 3px 6px;
  font-size: 10px;
  font-weight: 800;
}

.newsletter-form,
.support-form,
.comment-form,
.search-form {
  display: grid;
  gap: 14px;
}

.newsletter-form button,
.support-form button {
  justify-self: start;
}

@media (max-width: 760px) {
  .colabox-shop-shell,
  .woocommerce-notices-wrapper,
  .woocommerce-message,
  .woocommerce-info,
  .woocommerce-error {
    width: min(100% - 28px, 100%);
  }

  .page-hero {
    padding-top: 72px;
  }

  .colabox-wc-actions form.cart {
    display: grid;
  }

  .woocommerce .quantity,
  .woocommerce .quantity .qty,
  .woocommerce .single_add_to_cart_button {
    width: 100%;
  }
}

/* WooCommerce and WordPress layout guardrails. These rules keep official
   templates usable when product/page content is longer than the visual mockups. */
.page-hero .entry-title,
.woocommerce-products-header__title,
.woocommerce div.product .product_title,
.colabox-wc-title {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.woocommerce div.product div.images img,
.woocommerce-product-gallery img,
.wp-post-image,
.entry-content img {
  max-width: 100%;
  height: auto;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.single_add_to_cart_button,
.checkout-button {
  position: relative;
  z-index: 2;
  white-space: normal;
  line-height: 1.2;
}

.woocommerce div.product form.cart,
.woocommerce-cart-form,
.woocommerce-checkout,
.woocommerce-MyAccount-content {
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .page-hero .entry-title,
  .woocommerce-products-header__title,
  .woocommerce div.product .product_title,
  .colabox-wc-title {
    font-size: clamp(34px, 6vw, 56px);
    line-height: 1.08;
  }
}

@media (max-width: 760px) {
  .page-hero .entry-title,
  .woocommerce-products-header__title,
  .woocommerce div.product .product_title,
  .colabox-wc-title {
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.1;
  }

  .woocommerce .cart-collaterals,
  .woocommerce .cart_totals,
  .woocommerce-checkout-review-order,
  .woocommerce-MyAccount-navigation,
  .woocommerce-MyAccount-content {
    padding: 18px;
  }

  .woocommerce a.button,
  .woocommerce button.button,
  .woocommerce input.button,
  .woocommerce #respond input#submit,
  .single_add_to_cart_button,
  .checkout-button {
    min-height: 46px;
    padding: 0 18px;
    width: 100%;
  }
}
