/*
Theme Name: CGC Luxury - Chidambaram Gold Covering
Theme URI: https://chidambaramgoldcovering.com
Author: CGC Design Team
Author URI: https://chidambaramgoldcovering.com
Description: Luxury redesign child theme for Chidambaram Gold Covering — South Indian heritage imitation jewelry e-commerce. Built on Gemstone Jewelry parent theme with premium design tokens.
Template: gemstone-jewelry
Requires at least: 5.9
Tested up to: 6.9
Requires PHP: 5.6
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: cgc-luxury
*/

:root {
  --cgc-obsidian: #1C1C1C;
  --cgc-gold: #D4B26F;
  --cgc-gold-hover: #BCA063;
  --cgc-emerald: #0D3E31;
  --cgc-alabaster: #FAF9F6;
  --cgc-white: #FFFFFF;
  --cgc-border: #E8E6E0;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;

  --transition-luxury: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

body {
  font-family: var(--font-sans);
  background-color: var(--cgc-alabaster);
  color: var(--cgc-obsidian);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cgc-obsidian);
}

/* Show product thumbnail on mobile cart page */
@media screen and (max-width: 768px) {
  .woocommerce table.shop_table_responsive tr td.product-thumbnail {
    display: block !important;
    text-align: center;
  }
  .woocommerce table.shop_table_responsive tr td.product-thumbnail::before {
    display: none !important;
  }
  .woocommerce table.shop_table_responsive tr td.product-thumbnail img {
    margin: 0 auto;
    max-width: 80px;
    height: auto;
  }
}

/* Hide duplicated item price in checkout order summary */
.wc-block-components-order-summary-item__description .wc-block-components-product-price {
    display: none !important;
}

/* Styles for JS-fixed checkout layout */
.wc-block-components-order-summary-item.cgc-fixed {
    display: grid !important;
    grid-template-columns: 64px 1fr !important;
    grid-template-areas: 
        "image desc"
        "image price" !important;
    column-gap: 16px;
    align-items: start;
}
.wc-block-components-order-summary-item.cgc-fixed .wc-block-components-order-summary-item__image {
    grid-area: image;
}
.wc-block-components-order-summary-item.cgc-fixed .wc-block-components-order-summary-item__description {
    grid-area: desc;
}
.wc-block-components-order-summary-item.cgc-fixed .wc-block-components-order-summary-item__total-price {
    grid-area: price;
    margin-left: 0 !important;
    display: block !important;
    margin-top: 4px !important;
    text-align: left !important;
}
.cgc-custom-qty {
    margin-left: 5px;
    font-weight: normal;
    color: #666; /* Or appropriate color */
}
