/**
Theme Name: Astra Child for Andy Allen Custom Guitars
Author: Grey Lily Media
Author URI: https://greylilymedia.com.au
Description: An Astra child theme created for Andy Allen Custom Guitars by Grey Lily Media
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child-for-andy-allen-custom-guitars
Template: astra
*/
/* ------------------------------------------------------------
   ANDY ALLEN CUSTOM GUITARS - CUSTOM STYLING
   ------------------------------------------------------------ */

/* =Do not display header on home page
-------------------------------------------------------------- */
.home header#masthead {
  display: none !important;
}


/* =SOLD Badge
-------------------------------------------------------------- */
.sold-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #a94442;
  color: #fff;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 3px;
  font-size: 0.9rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  z-index: 10;
}

/* =Guitar Specification Table (corrected alignment, width, and color)
--------------------------------------------------------------------- */
.single-guitar table {
  border-collapse: collapse;
  width: auto !important; /* prevent full width */
  max-width: 100%;
  background: #111;
  font-size: 1rem;
  color: #eee;
  table-layout: auto !important;
  margin: 2rem auto; /* vertical margin + horizontal centering */
  margin-left: auto;
  margin-right: auto;
}


.single-guitar table th,
.single-guitar table td {
  padding: 10px 16px;
  border-bottom: 1px solid #333;
  white-space: nowrap;
  vertical-align: top;
}

/* Left-align and recolor label cells */
.single-guitar table th {
  text-align: right !important;
  color: #a67843 !important;
  font-weight: 600;
  background: #222;
}


/* =Guitar Gallery Images
-------------------------------------------------------------- */
.guitar-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.guitar-gallery img {
  border-radius: 4px;
  max-width: 250px;
  height: auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* =Main Content Area Width Override (Optional)
-------------------------------------------------------------- */
.single-guitar .site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
}

