/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Aug 08 2026 | 12:56:57 */
/* ==========================================================
   CUSTOM GUITAR ATELIER — COMPACT PREMIUM PRODUCT OPTIONS
   WooCommerce / Flatsome / ThemeComplete Extra Product Options
   Paste directly into a CSS field without wrapper tags.

   This stylesheet is limited to product-option forms on
   WooCommerce single-product pages.

   CSS-only version: no custom JavaScript is required.
   ========================================================== */

/* Product-option design tokens */
body.single-product #tm-extra-product-options {
  --cga-option-walnut: #302119;
  --cga-option-walnut-light: #493329;
  --cga-option-gold: #b8892d;
  --cga-option-gold-light: #d5b466;
  --cga-option-ivory: #fffdf8;
  --cga-option-border: #e4d8c5;
  --cga-option-text: #2c2926;
  --cga-option-muted: #6e675f;
  color: var(--cga-option-text);
  font-family: inherit;
}

/* Space between option sections */
body.single-product #tm-extra-product-options .cpf-section {
  margin-bottom: 8px;
}

body.single-product #tm-extra-product-options
.cpf-section:last-child {
  margin-bottom: 0;
}

/* ==========================================================
   ACCORDION HEADINGS
   ========================================================== */

body.single-product #tm-extra-product-options
.tm-section-label.tm-toggle {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 15px;
  color: var(--cga-option-walnut) !important;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #faf6ef 100%
  ) !important;
  border: 1px solid var(--cga-option-border) !important;
  border-left: 3px solid var(--cga-option-gold) !important;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(48, 33, 25, 0.055);
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.25;
  text-transform: uppercase;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

/* Keep long labels compact while the arrow stays aligned. */
body.single-product #tm-extra-product-options
.tm-section-label.tm-toggle .tc-section-label-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Open accordion heading */
body.single-product #tm-extra-product-options
.tm-section-label.tm-toggle.toggle-header-open {
  color: #ffffff !important;
  background: linear-gradient(
    135deg,
    var(--cga-option-walnut) 0%,
    var(--cga-option-walnut-light) 100%
  ) !important;
  border-color: var(--cga-option-gold) !important;
  box-shadow: 0 5px 14px rgba(48, 33, 25, 0.18);
}

body.single-product #tm-extra-product-options
.toggle-header-open .tc-section-label-text {
  color: #ffffff !important;
}

/* Balanced CGA medallion: plus closed, minus open. */
body.single-product #tm-extra-product-options
.tm-section-label.tm-toggle .tm-arrow {
  position: relative !important;
  display: inline-flex !important;
  width: 27px !important;
  min-width: 27px !important;
  height: 27px !important;
  min-height: 27px !important;
  flex: 0 0 27px !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0 0 0 10px !important;
  padding: 0 !important;
  color: var(--cga-option-walnut) !important;
  background: linear-gradient(
    135deg,
    #f5dfaa 0%,
    var(--cga-option-gold-light) 100%
  ) !important;
  border: 1px solid rgba(124, 84, 24, 0.30) !important;
  border-radius: 50% !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    0 2px 6px rgba(48, 33, 25, 0.12) !important;
  font: 0/0 sans-serif !important;
  overflow: hidden;
  transform: none !important;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease !important;
}

/* Suppress any icon-font element inserted by ThemeComplete. */
body.single-product #tm-extra-product-options
.tm-section-label.tm-toggle .tm-arrow > * {
  display: none !important;
}

/* Horizontal stroke shared by both the plus and minus states. */
body.single-product #tm-extra-product-options
.tm-section-label.tm-toggle .tm-arrow::before {
  content: "" !important;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 2px;
  margin: 0 !important;
  background: currentColor !important;
  border: 0 !important;
  border-radius: 999px;
  box-shadow: none !important;
  transform: translate(-50%, -50%) !important;
}

/* Vertical stroke completes the plus and retracts when opened. */
body.single-product #tm-extra-product-options
.tm-section-label.tm-toggle .tm-arrow::after {
  content: "" !important;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 9px;
  margin: 0 !important;
  background: currentColor !important;
  border: 0 !important;
  border-radius: 999px;
  box-shadow: none !important;
  opacity: 1;
  transform: translate(-50%, -50%) scaleY(1) !important;
  transform-origin: center;
  transition:
    opacity 0.16s ease,
    transform 0.16s ease !important;
}

body.single-product #tm-extra-product-options
.tm-section-label.tm-toggle:is(
  .toggle-header-open,
  [aria-expanded="true"]
) .tm-arrow::after,
body.single-product #tm-extra-product-options
.cpf-section:has(.tm-collapse-wrap.open)
.tm-section-label.tm-toggle .tm-arrow::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0) !important;
}

@media (hover: hover) and (pointer: fine) {
  body.single-product #tm-extra-product-options
  .tm-section-label.tm-toggle:hover .tm-arrow {
    background: linear-gradient(
      135deg,
      #fae8b9 0%,
      #d8b567 100%
    ) !important;
    border-color: rgba(124, 84, 24, 0.48) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.62),
      0 3px 8px rgba(48, 33, 25, 0.16) !important;
  }
}

@media screen and (max-width: 849px) {
  body.single-product #tm-extra-product-options
  .tm-section-label.tm-toggle .tm-arrow {
    width: 25px !important;
    min-width: 25px !important;
    height: 25px !important;
    min-height: 25px !important;
    flex-basis: 25px !important;
    margin-left: 8px !important;
  }
}

@media screen and (max-width: 359px) {
  body.single-product #tm-extra-product-options
  .tm-section-label.tm-toggle .tm-arrow {
    width: 23px !important;
    min-width: 23px !important;
    height: 23px !important;
    min-height: 23px !important;
    flex-basis: 23px !important;
    margin-left: 7px !important;
  }

  body.single-product #tm-extra-product-options
  .tm-section-label.tm-toggle .tm-arrow::before {
    width: 8px;
  }

  body.single-product #tm-extra-product-options
  .tm-section-label.tm-toggle .tm-arrow::after {
    height: 8px;
  }
}

/* Keyboard focus for accordion headings */
body.single-product #tm-extra-product-options
.tm-section-label.tm-toggle:focus-visible {
  outline: 2px solid rgba(184, 137, 45, 0.42);
  outline-offset: 2px;
}

/* ==========================================================
   OPEN OPTION PANELS
   ========================================================== */

body.single-product #tm-extra-product-options
.tm-collapse-wrap.open {
  box-sizing: border-box;
  margin-top: 6px;
  padding: 14px;
  background: var(--cga-option-ivory);
  border: 1px solid var(--cga-option-border);
  border-radius: 8px;
  box-shadow: 0 5px 16px rgba(48, 33, 25, 0.07);
}

/* Inner option titles */
body.single-product #tm-extra-product-options
.tm-epo-element-label {
  color: var(--cga-option-walnut);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Descriptions */
body.single-product #tm-extra-product-options
.tm-description {
  margin-bottom: 8px;
  color: var(--cga-option-muted);
  font-size: 13px;
  line-height: 1.5;
}

body.single-product #tm-extra-product-options
.tm-description p {
  margin-top: 3px;
  margin-bottom: 7px;
}

/* ==========================================================
   INDIVIDUAL OPTION CARDS
   ========================================================== */

body.single-product #tm-extra-product-options
label.tm-epo-field-label {
  box-sizing: border-box;
  min-height: 44px;
  padding: 8px !important;
  background: #ffffff;
  border: 1px solid #e7dfd3;
  border-radius: 7px;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

/* ==========================================================
   ACTIVE CUSTOMER SELECTION
   Uses the real checked state; no custom JavaScript required.
   ========================================================== */

body.single-product #tm-extra-product-options
label.tm-epo-field-label:has(input:checked) {
  background: linear-gradient(
    135deg,
    #fff9eb 0%,
    #f3e1bf 100%
  ) !important;
  border-color: var(--cga-option-gold) !important;
  box-shadow:
    0 0 0 2px rgba(184, 137, 45, 0.28),
    0 7px 18px rgba(48, 33, 25, 0.13) !important;
}

body.single-product #tm-extra-product-options
label.tm-epo-field-label:has(input:checked)
.tc-label-text {
  color: var(--cga-option-walnut) !important;
  font-weight: 800;
}

/*
 * Inline placement avoids covering option prices or images.
 * The badge is visual reinforcement; the native control remains visible.
 */
body.single-product #tm-extra-product-options
label.tm-epo-field-label:has(input:checked)
.tc-label-text::after {
  content: "\2713  Selected";
  display: inline-flex;
  align-items: center;
  margin-left: 7px;
  padding: 3px 7px 2px;
  color: #f7dfa1;
  background: var(--cga-option-walnut);
  border: 1px solid rgba(224, 189, 120, 0.52);
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(48, 33, 25, 0.16);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.065em;
  line-height: 1.2;
  text-transform: uppercase;
  vertical-align: 0.12em;
  white-space: nowrap;
}

/* Stronger boundary for selected image-based options. */
body.single-product #tm-extra-product-options
label.tm-epo-field-label:has(input:checked)
img.tc-image.radio-image {
  border-color: var(--cga-option-gold) !important;
  box-shadow:
    0 0 0 2px rgba(184, 137, 45, 0.25),
    0 4px 11px rgba(48, 33, 25, 0.12) !important;
}

/* Keep the selected option's price visually connected to it. */
body.single-product #tm-extra-product-options
label.tm-epo-field-label:has(input:checked)
:is(.tc-price, .tc-price-wrap, .woocommerce-Price-amount) {
  color: #714a12 !important;
  font-weight: 800 !important;
}

/*
 * ThemeComplete renders image-option inputs at zero visual size.
 * :focus-within moves the keyboard focus indicator to the card.
 */
body.single-product #tm-extra-product-options
label.tm-epo-field-label:focus-within {
  outline: 2px solid rgba(184, 137, 45, 0.42);
  outline-offset: 2px;
}

/* Option images */
body.single-product #tm-extra-product-options
img.tc-image.radio-image {
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #e5d9c7;
  border-radius: 6px;
  box-shadow: 0 2px 7px rgba(48, 33, 25, 0.07);
}

/* Native radio and checkbox color, when visible */
body.single-product #tm-extra-product-options
input[type="radio"],
body.single-product #tm-extra-product-options
input[type="checkbox"] {
  accent-color: var(--cga-option-gold);
}

/* Hover effects only on devices with a precise pointer */
@media (hover: hover) and (pointer: fine) {
  body.single-product #tm-extra-product-options
  .tm-section-label.tm-toggle:hover {
    border-color: var(--cga-option-gold) !important;
    box-shadow: 0 4px 12px rgba(48, 33, 25, 0.11);
    transform: translateY(-1px);
  }

  body.single-product #tm-extra-product-options
  label.tm-epo-field-label:hover {
    background: #fffcf5;
    border-color: var(--cga-option-gold);
    box-shadow: 0 4px 11px rgba(48, 33, 25, 0.09);
    transform: translateY(-1px);
  }

  /*
   * Keep the selected appearance when a selected card is hovered.
   * This rule follows the general card-hover rule intentionally.
   */
  body.single-product #tm-extra-product-options
  label.tm-epo-field-label:has(input:checked):hover {
    background: linear-gradient(
      135deg,
      #fff8e6 0%,
      #efd9ae 100%
    ) !important;
    border-color: var(--cga-option-gold) !important;
    box-shadow:
      0 0 0 2px rgba(184, 137, 45, 0.34),
      0 9px 21px rgba(48, 33, 25, 0.15) !important;
  }
}

/* ==========================================================
   TEXT FIELDS, DROPDOWNS, NUMBERS, AND TEXT AREAS
   ========================================================== */

body.single-product #tm-extra-product-options
input[type="text"],
body.single-product #tm-extra-product-options
input[type="email"],
body.single-product #tm-extra-product-options
input[type="number"],
body.single-product #tm-extra-product-options
select,
body.single-product #tm-extra-product-options
textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  color: var(--cga-option-text);
  background: #ffffff;
  border: 1px solid #d9cdbb;
  border-radius: 7px;
  box-shadow: inset 0 1px 2px rgba(48, 33, 25, 0.04);
  font-family: inherit;
  font-size: 14px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

body.single-product #tm-extra-product-options
textarea {
  min-height: 96px;
  resize: vertical;
}

/* Text-control focus */
body.single-product #tm-extra-product-options
input[type="text"]:focus,
body.single-product #tm-extra-product-options
input[type="email"]:focus,
body.single-product #tm-extra-product-options
input[type="number"]:focus,
body.single-product #tm-extra-product-options
select:focus,
body.single-product #tm-extra-product-options
textarea:focus {
  border-color: var(--cga-option-gold) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(184, 137, 45, 0.16);
}

body.single-product #tm-extra-product-options
input[type="text"]:focus-visible,
body.single-product #tm-extra-product-options
input[type="email"]:focus-visible,
body.single-product #tm-extra-product-options
input[type="number"]:focus-visible,
body.single-product #tm-extra-product-options
select:focus-visible,
body.single-product #tm-extra-product-options
textarea:focus-visible {
  outline: 2px solid var(--cga-option-gold-light);
  outline-offset: 2px;
}

/* ==========================================================
   PRICES, REQUIRED MARKERS, AND SEPARATORS
   ========================================================== */

body.single-product #tm-extra-product-options
.tc-price,
body.single-product #tm-extra-product-options
.tc-price-wrap,
body.single-product #tm-extra-product-options
.woocommerce-Price-amount {
  color: #8a641e;
  font-weight: 700;
}

body.single-product #tm-extra-product-options
.tm-epo-required {
  color: #a54732;
  font-weight: 700;
}

body.single-product #tm-extra-product-options
.tc-separator-label {
  color: var(--cga-option-walnut);
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* ==========================================================
   TABLET AND MOBILE
   Flatsome switches to its compact layout below 850px.
   ========================================================== */

@media screen and (max-width: 849px) {
  body.single-product #tm-extra-product-options
  .tm-section-label.tm-toggle {
    min-height: 48px;
    padding: 10px 13px;
    font-size: 14px;
    letter-spacing: 0.03em;
  }

  body.single-product #tm-extra-product-options
  .tm-collapse-wrap.open {
    padding: 12px;
  }

  body.single-product #tm-extra-product-options
  label.tm-epo-field-label {
    padding: 8px !important;
  }

  /* 16px prevents iPhone Safari from zooming focused fields. */
  body.single-product #tm-extra-product-options
  input[type="text"],
  body.single-product #tm-extra-product-options
  input[type="email"],
  body.single-product #tm-extra-product-options
  input[type="number"],
  body.single-product #tm-extra-product-options
  select,
  body.single-product #tm-extra-product-options
  textarea {
    min-height: 46px;
    font-size: 16px;
  }
}

@media screen and (max-width: 549px) {
  body.single-product #tm-extra-product-options
  .tm-section-label.tm-toggle {
    min-height: 48px;
    padding: 9px 12px;
    font-size: 13.5px;
    letter-spacing: 0.02em;
  }

  body.single-product #tm-extra-product-options
  .tm-collapse-wrap.open {
    margin-top: 5px;
    padding: 10px;
  }

  body.single-product #tm-extra-product-options
  label.tm-epo-field-label {
    padding: 7px !important;
  }

  body.single-product #tm-extra-product-options
  label.tm-epo-field-label:has(input:checked)
  .tc-label-text::after {
    margin-left: 5px;
    padding: 2px 6px;
    font-size: 8.5px;
    letter-spacing: 0.05em;
  }

  body.single-product #tm-extra-product-options
  .tm-epo-element-label {
    font-size: 14px;
  }

}

/* Preserve a non-color selected indicator in high-contrast mode. */
@media (forced-colors: active) {
  body.single-product #tm-extra-product-options
  label.tm-epo-field-label:has(input:checked) {
    color: CanvasText;
    outline: 3px solid Highlight;
    outline-offset: 1px;
    background: Canvas !important;
    border-color: Highlight !important;
    box-shadow: none !important;
  }

  body.single-product #tm-extra-product-options
  label.tm-epo-field-label:has(input:checked)
  .tc-label-text::after {
    color: HighlightText;
    background: Highlight;
    border-color: Highlight;
    box-shadow: none;
  }
}

/* ==========================================================
   OPTION STEPS — CSS-ONLY NUMBERS AND REQUIRED ASTERISKS
   ========================================================== */

body.single-product #tm-extra-product-options {
  counter-reset: cga-option-step;
}

body.single-product #tm-extra-product-options
.cpf-section .tm-section-label.tm-toggle {
  counter-increment: cga-option-step;
}

body.single-product #tm-extra-product-options
.cpf-section .tm-section-label.tm-toggle::before {
  content: counter(cga-option-step);
  display: inline-flex;
  width: 27px;
  min-width: 27px;
  height: 27px;
  min-height: 27px;
  flex: 0 0 27px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin-right: 10px;
  color: var(--cga-option-walnut);
  background: linear-gradient(
    135deg,
    #f5dfaa 0%,
    var(--cga-option-gold-light) 100%
  );
  border: 1px solid rgba(124, 84, 24, 0.30);
  border-radius: 50%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    0 2px 6px rgba(48, 33, 25, 0.12);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

/*
 * Display a compact "* Required" label in the accordion heading.
 * It follows active HTML required fields supplied by the plugin.
 */
@supports selector(.cpf-section:has(input[required])) {
  body.single-product #tm-extra-product-options
  .cpf-section:has(
    input[required]:not(:disabled),
    select[required]:not(:disabled),
    textarea[required]:not(:disabled)
  )
  .tm-section-label.tm-toggle
  .tc-section-label-text::after {
    content: "* Required";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 7px;
    padding: 3px 6px;
    color: #a2472f;
    background: rgba(162, 71, 47, 0.065);
    border: 1px solid rgba(162, 71, 47, 0.22);
    border-radius: 999px;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.015em;
    line-height: 1;
    text-transform: none;
    vertical-align: middle;
    white-space: nowrap;
  }

  body.single-product #tm-extra-product-options
  .cpf-section:has(
    input[required]:not(:disabled),
    select[required]:not(:disabled),
    textarea[required]:not(:disabled)
  )
  .tm-section-label.tm-toggle.toggle-header-open
  .tc-section-label-text::after {
    color: #f1d58f;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(241, 213, 143, 0.42);
  }
}

@media screen and (max-width: 849px) {
  body.single-product #tm-extra-product-options
  .cpf-section .tm-section-label.tm-toggle::before {
    width: 25px;
    min-width: 25px;
    height: 25px;
    min-height: 25px;
    flex-basis: 25px;
    margin-right: 8px;
    font-size: 10.5px;
  }
}

@media screen and (max-width: 359px) {
  body.single-product #tm-extra-product-options
  .cpf-section .tm-section-label.tm-toggle::before {
    width: 23px;
    min-width: 23px;
    height: 23px;
    min-height: 23px;
    flex-basis: 23px;
    margin-right: 7px;
    font-size: 10px;
  }

  body.single-product #tm-extra-product-options
  .cpf-section:has(
    input[required]:not(:disabled),
    select[required]:not(:disabled),
    textarea[required]:not(:disabled)
  )
  .tm-section-label.tm-toggle
  .tc-section-label-text::after {
    margin-left: 5px;
    padding: 2px 5px;
    font-size: 8px;
  }
}

/* ==========================================================
   REDUCED-MOTION ACCESSIBILITY
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
  body.single-product #tm-extra-product-options *,
  body.single-product #tm-extra-product-options *::before,
  body.single-product #tm-extra-product-options *::after {
    transition: none !important;
  }

  body.single-product #tm-extra-product-options
  .tm-section-label.tm-toggle,
  body.single-product #tm-extra-product-options
  label.tm-epo-field-label {
    transform: none !important;
  }
}
