/*
 * AU Unique Noir — Single Product Page
 * Complete dark theme override for all product types.
 */

/* ============================================================
   PAGE LAYOUT
   ============================================================ */
.single-product .wc-page-wrap {
    padding: 40px 0 80px !important;
    background: #1e1e1b !important;
}
.single-product .woocommerce div.product {
    display: grid !important;
    grid-template-columns: 52% 1fr !important;
    gap: 56px !important;
    align-items: start !important;
    background: #1e1e1b !important;
}
@media (max-width: 768px) {
    .single-product .woocommerce div.product {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}

/* ============================================================
   GALLERY
   ============================================================ */
.single-product .woocommerce-product-gallery {
    position: sticky !important;
    top: 90px !important;
    background: #252520 !important;
    border: none !important;
}
@media (max-width: 768px) {
    .single-product .woocommerce-product-gallery { position: static !important; }
}
.single-product .woocommerce-product-gallery__wrapper { margin: 0 !important; }
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image {
    background: #252520 !important;
    overflow: hidden !important;
}
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image a {
    display: block !important;
    cursor: zoom-in !important;
}
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform .5s ease !important;
}
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image:hover img {
    transform: scale(1.03) !important;
}
.single-product .woocommerce-product-gallery__trigger { display: none !important; }
.single-product .flex-control-thumbs {
    display: flex !important;
    gap: 6px !important;
    margin: 6px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.single-product .flex-control-thumbs li {
    flex: 0 0 calc(25% - 5px) !important;
    overflow: hidden !important;
    background: #252520 !important;
}
.single-product .flex-control-thumbs li img {
    width: 100% !important;
    aspect-ratio: 1 !important;
    object-fit: cover !important;
    display: block !important;
    opacity: .55 !important;
    transition: opacity .2s, border-color .2s !important;
    border: 2px solid transparent !important;
}
.single-product .flex-control-thumbs li img.flex-active,
.single-product .flex-control-thumbs li img:hover {
    opacity: 1 !important;
    border-color: #b5912a !important;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
#noir-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.95);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: zoom-out;
}
#noir-lightbox.is-open { display: flex !important; }
#noir-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    cursor: default;
}
#noir-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: rgba(255,255,255,.5);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: color .2s;
    z-index: 2;
    font-family: sans-serif;
}
#noir-lightbox-close:hover { color: #b5912a; }
#noir-lightbox-prev,
#noir-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.6);
    font-size: 18px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, color .2s;
    font-family: sans-serif;
}
#noir-lightbox-prev { left: 20px; }
#noir-lightbox-next { right: 20px; }
#noir-lightbox-prev:hover,
#noir-lightbox-next:hover { background: #b5912a; color: #fff; border-color: #b5912a; }

/* ============================================================
   SUMMARY
   ============================================================ */
.single-product .woocommerce div.product .summary {
    padding: 0 !important;
    color: rgba(255,255,255,.8) !important;
}
.single-product .woocommerce-breadcrumb {
    font-size: 9px !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,.3) !important;
    margin-bottom: 14px !important;
    display: block !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
}
.single-product .woocommerce-breadcrumb a { color: rgba(255,255,255,.3) !important; }
.single-product .woocommerce-breadcrumb a:hover { color: #b5912a !important; }
.single-product .product_title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem) !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    line-height: 1.15 !important;
    letter-spacing: -.02em !important;
    margin-bottom: 14px !important;
}
.single-product p.price,
.single-product span.price {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 2rem !important;
    font-weight: 400 !important;
    color: #b5912a !important;
    display: block !important;
    margin-bottom: 16px !important;
    line-height: 1 !important;
}
.single-product p.price del,
.single-product span.price del {
    color: rgba(255,255,255,.2) !important;
    font-size: 1.2rem !important;
    margin-right: 8px !important;
}
.single-product .woocommerce-product-details__short-description {
    font-size: 13px !important;
    color: rgba(255,255,255,.45) !important;
    line-height: 1.9 !important;
    font-weight: 300 !important;
    font-family: 'Jost', sans-serif !important;
    margin-bottom: 20px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
}

/* ============================================================
   TRUST BADGES
   ============================================================ */
.au-product-trust {
    display: grid !important;
    grid-template-columns: repeat(3,1fr) !important;
    gap: 10px !important;
    padding: 16px 0 !important;
    border-top: 1px solid rgba(255,255,255,.06) !important;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
    margin: 0 0 16px !important;
    background: transparent !important;
}
.au-product-trust-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 6px !important;
}
.au-product-trust-item svg {
    width: 18px !important;
    height: 18px !important;
    color: #b5912a !important;
}
.au-product-trust-item span {
    font-size: 8px !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,.5) !important;
    line-height: 1.3 !important;
    font-family: 'Jost', sans-serif !important;
}

/* ============================================================
   VARIATIONS
   ============================================================ */
.single-product form.cart table.variations {
    border: none !important;
    width: 100% !important;
    margin-bottom: 16px !important;
    border-collapse: separate !important;
    border-spacing: 0 8px !important;
    background: transparent !important;
}
.single-product form.cart table.variations td,
.single-product form.cart table.variations th {
    border: none !important;
    padding: 0 !important;
    vertical-align: middle !important;
    background: transparent !important;
}
.single-product form.cart table.variations th.label,
.single-product form.cart table.variations td.label {
    width: 80px !important;
    padding-right: 12px !important;
}
.single-product form.cart table.variations label {
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,.45) !important;
    font-family: 'Jost', sans-serif !important;
}
.single-product form.cart table.variations select,
.single-product form.cart table.variations td.value select {
    width: 100% !important;
    background: #252520 !important;
    border: 1px solid rgba(255,255,255,.1) !important;
    color: #ffffff !important;
    padding: 11px 14px !important;
    font-family: 'Jost', sans-serif !important;
    font-size: 13px !important;
    border-radius: 0 !important;
    transition: border-color .2s !important;
    cursor: pointer !important;
    -webkit-appearance: auto !important;
    appearance: auto !important;
}
.single-product form.cart table.variations select:focus {
    border-color: #b5912a !important;
    outline: none !important;
    box-shadow: none !important;
}
.single-product .reset_variations {
    font-size: 9px !important;
    color: rgba(255,255,255,.3) !important;
    text-decoration: underline !important;
    font-family: 'Jost', sans-serif !important;
}
.single-product .woocommerce-variation-price { margin: 8px 0 !important; }
.single-product .woocommerce-variation-price .price {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 1.8rem !important;
    color: #b5912a !important;
    font-weight: 400 !important;
}
.single-product .woocommerce-variation-description p {
    font-size: 12px !important;
    color: rgba(255,255,255,.4) !important;
    background: rgba(181,145,42,.06) !important;
    border-left: 2px solid #b5912a !important;
    padding: 10px 14px !important;
    margin: 8px 0 !important;
    font-family: 'Jost', sans-serif !important;
}

/* ============================================================
   ADD TO CART
   ============================================================ */
.single-product form.cart {
    display: flex !important;
    gap: 10px !important;
    align-items: stretch !important;
    margin: 20px 0 !important;
    flex-wrap: nowrap !important;
    background: transparent !important;
}
.single-product form.cart .quantity {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}
.single-product form.cart .qty {
    width: 64px !important;
    height: 52px !important;
    background: #252520 !important;
    border: 1px solid rgba(255,255,255,.1) !important;
    color: #ffffff !important;
    text-align: center !important;
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 20px !important;
    padding: 0 !important;
    border-radius: 0 !important;
    -moz-appearance: textfield !important;
}
.single-product form.cart .qty::-webkit-outer-spin-button,
.single-product form.cart .qty::-webkit-inner-spin-button { -webkit-appearance: none !important; }
.single-product form.cart .qty:focus {
    border-color: #b5912a !important;
    outline: none !important;
}
.single-product form.cart .single_add_to_cart_button {
    flex: 1 !important;
    height: 52px !important;
    background: #b5912a !important;
    border: none !important;
    color: #ffffff !important;
    font-family: 'Jost', sans-serif !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background .25s !important;
    border-radius: 0 !important;
    padding: 0 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.single-product form.cart .single_add_to_cart_button:hover { background: #d4ad58 !important; }
.single-product form.cart .single_add_to_cart_button.disabled,
.single-product form.cart .single_add_to_cart_button:disabled {
    background: rgba(255,255,255,.08) !important;
    color: rgba(255,255,255,.3) !important;
    cursor: not-allowed !important;
}

/* ============================================================
   REASSURANCE STRIP
   ============================================================ */
.au-reassurance {
    background: transparent !important;
    border: 1px solid rgba(255,255,255,.07) !important;
    border-radius: 0 !important;
    padding: 16px !important;
    margin: 0 0 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}
.au-reassurance-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 11px !important;
    color: rgba(255,255,255,.4) !important;
    line-height: 1.4 !important;
    font-family: 'Jost', sans-serif !important;
}
.au-reassurance-item svg {
    width: 13px !important;
    height: 13px !important;
    color: #b5912a !important;
    flex-shrink: 0 !important;
}
.au-reassurance-item strong {
    color: rgba(255,255,255,.65) !important;
    font-weight: 600 !important;
}

/* Lead time */
.au-lead-time {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 11px !important;
    color: rgba(255,255,255,.35) !important;
    padding: 10px 0 !important;
    border-top: 1px solid rgba(255,255,255,.06) !important;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
    margin: 0 0 12px !important;
    background: transparent !important;
    border-left: none !important;
    border-right: none !important;
    font-family: 'Jost', sans-serif !important;
}
.au-lead-time strong { color: rgba(255,255,255,.55) !important; }

/* Product meta */
.single-product .product_meta {
    font-size: 10px !important;
    color: rgba(255,255,255,.2) !important;
    margin-top: 16px !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(255,255,255,.06) !important;
    font-family: 'Jost', sans-serif !important;
}
.single-product .product_meta a { color: rgba(255,255,255,.35) !important; }
.single-product .product_meta a:hover { color: #b5912a !important; }

/* ============================================================
   CUSTOM DIMENSION INPUTS (CMTS plugin)
   ============================================================ */
.single-product .cmts-dimensions-table,
.single-product .aucp-dimensions-table {
    background: #252520 !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    padding: 16px !important;
    margin: 12px 0 !important;
    width: 100% !important;
}
.single-product .cmts-dimensions-table tr,
.single-product .aucp-dimensions-table tr { display: block !important; margin-bottom: 12px !important; }
.single-product .cmts-dimensions-table td,
.single-product .cmts-dimensions-table th,
.single-product .aucp-dimensions-table td,
.single-product .aucp-dimensions-table th {
    display: block !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    padding: 0 0 4px 0 !important;
}
.single-product .cmts-section-label,
.single-product .aucp-section-label {
    font-size: 8px !important;
    font-weight: 700 !important;
    letter-spacing: .2em !important;
    color: #b5912a !important;
    text-transform: uppercase !important;
    display: block !important;
    margin: 8px 0 4px !important;
    font-family: 'Jost', sans-serif !important;
}
.single-product .cmts-dimensions-table th.label label,
.single-product .aucp-dimensions-table th.label label {
    font-size: 9px !important;
    font-weight: 600 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,.45) !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-bottom: 5px !important;
    font-family: 'Jost', sans-serif !important;
}
.single-product .cmts-dimension-input,
.single-product .aucp-dimension-input {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(255,255,255,.1) !important;
    border-radius: 0 !important;
    background: #1e1e1b !important;
    font-family: 'Jost', sans-serif !important;
    font-size: 13px !important;
    color: #ffffff !important;
    transition: border-color .2s !important;
    box-sizing: border-box !important;
}
.single-product .cmts-dimension-input:focus,
.single-product .aucp-dimension-input:focus {
    border-color: #b5912a !important;
    outline: none !important;
}
.single-product .cmts-dimension-input::placeholder,
.single-product .aucp-dimension-input::placeholder { color: rgba(255,255,255,.2) !important; }
.single-product .cmts-notes-wrap label,
.single-product .aucp-notes-wrap label {
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,.4) !important;
    display: block !important;
    margin-bottom: 6px !important;
    font-family: 'Jost', sans-serif !important;
}
.single-product .cmts-notes-wrap textarea,
.single-product .aucp-notes-wrap textarea {
    width: 100% !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(255,255,255,.1) !important;
    border-radius: 0 !important;
    background: #1e1e1b !important;
    font-family: 'Jost', sans-serif !important;
    font-size: 12px !important;
    color: rgba(255,255,255,.7) !important;
    resize: vertical !important;
    min-height: 80px !important;
}
.single-product .cmts-notes-wrap textarea:focus,
.single-product .aucp-notes-wrap textarea:focus { border-color: #b5912a !important; outline: none !important; }
.single-product .cmts-notice,
.single-product .aucp-notice {
    font-size: 11px !important;
    background: rgba(181,145,42,.06) !important;
    border-left: 2px solid #b5912a !important;
    padding: 8px 12px !important;
    color: rgba(255,255,255,.4) !important;
    margin: 8px 0 !important;
    font-family: 'Jost', sans-serif !important;
}
.single-product .cmts-link,
.single-product .aucp-link { color: #b5912a !important; font-size: 11px !important; }
.single-product .cmts-help-link,
.single-product .aucp-help-link {
    background: #b5912a !important;
    color: #fff !important;
    width: 14px !important;
    height: 14px !important;
    border-radius: 50% !important;
    font-size: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    flex-shrink: 0 !important;
}

/* ============================================================
   TABS
   ============================================================ */
.single-product .woocommerce-tabs {
    grid-column: 1 / -1 !important;
    margin-top: 48px !important;
    border-top: none !important;
    padding-top: 0 !important;
}
.single-product .woocommerce-tabs ul.tabs {
    display: flex !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    background: transparent !important;
}
.single-product .woocommerce-tabs ul.tabs::before { display: none !important; }
.single-product .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    margin-bottom: -1px !important;
    padding: 0 !important;
    border-radius: 0 !important;
}
.single-product .woocommerce-tabs ul.tabs li a {
    font-family: 'Jost', sans-serif !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,.3) !important;
    padding: 14px 24px !important;
    display: block !important;
    background: transparent !important;
}
.single-product .woocommerce-tabs ul.tabs li.active {
    border-bottom-color: #b5912a !important;
    background: transparent !important;
}
.single-product .woocommerce-tabs ul.tabs li.active a {
    color: #ffffff !important;
    background: transparent !important;
}
.single-product .woocommerce-tabs .panel {
    background: #252520 !important;
    border: none !important;
    padding: 32px !important;
    margin: 0 !important;
    color: rgba(255,255,255,.5) !important;
    font-size: 13px !important;
    line-height: 1.9 !important;
    font-family: 'Jost', sans-serif !important;
}
.single-product .woocommerce-tabs .panel h2 { display: none !important; }
.single-product .woocommerce-tabs .panel h3 {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 1.2rem !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    margin: 20px 0 8px !important;
}
.single-product .woocommerce-tabs .panel p { color: rgba(255,255,255,.5) !important; margin-bottom: 12px !important; }
.single-product .woocommerce-tabs .panel strong,
.single-product .woocommerce-tabs .panel b { color: rgba(255,255,255,.75) !important; }
.single-product .woocommerce-tabs .panel a { color: #b5912a !important; }

/* ============================================================
   RELATED PRODUCTS
   ============================================================ */
.single-product .related.products,
.single-product .upsells.products {
    grid-column: 1 / -1 !important;
    margin-top: 48px !important;
    padding-top: 40px !important;
    border-top: 1px solid rgba(255,255,255,.06) !important;
}
.single-product .related.products > h2,
.single-product .upsells.products > h2 {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 1.8rem !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    margin-bottom: 24px !important;
    letter-spacing: -.02em !important;
}
.single-product .related.products ul.products,
.single-product .upsells.products ul.products {
    grid-template-columns: repeat(4,1fr) !important;
}
@media (max-width: 900px) {
    .single-product .related.products ul.products,
    .single-product .upsells.products ul.products {
        grid-template-columns: repeat(2,1fr) !important;
    }
}
