/*!
Theme Name: dannysdesks
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: dannysdesks
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

dannysdesks is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

body{
	margin:0px;
}

.woocommerce-checkout-review-order-table tbody tr.cart_item {
    border-bottom: 1px solid #333333 !important;
}
.woocommerce-checkout-review-order-table tbody tr.cart_item td {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    vertical-align: top;
}

/* 2. Elevate Main Product Title */
.woocommerce-checkout-review-order-table .product-name {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    color: #ffffff;
}

/* 3. Unbreakable Grid Layout for Variation Attributes */
.woocommerce-checkout-review-order-table .variation {
    display: grid !important;
    /* Column 1 takes exact width of longest label, Column 2 takes the rest */
    grid-template-columns: max-content 1fr !important; 
    grid-gap: 6px 10px !important; /* Row gap, Column gap */
    margin-top: 10px !important;
    margin-bottom: 14px !important;
    padding: 0 !important;
}

/* Force Labels into Column 1 */
.woocommerce-checkout-review-order-table .variation dt {
    grid-column: 1 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #b3b3b3 !important; /* Muted gray for labels */
    margin: 0 !important;
}

/* Force Values into Column 2 */
.woocommerce-checkout-review-order-table .variation dd {
    grid-column: 2 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #ffffff !important; /* High contrast bright text for selected values */
    margin: 0 !important;
}

/* Failsafe fallback if your theme outputs formatting via lists instead of definition lists */
.woocommerce-checkout-review-order-table .wc-item-meta {
    padding-left: 0 !important;
    list-style: none !important;
    margin-top: 10px !important;
}
.woocommerce-checkout-review-order-table .wc-item-meta li {
    display: block !important;
    font-size: 13px !important;
    color: #b3b3b3 !important;
    margin-bottom: 6px !important;
}
.woocommerce-checkout-review-order-table .wc-item-meta li strong {
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* 4. Transform Collection Suburb into a Clean Badge */
.woocommerce-checkout-review-order-table .skp-collectionpoint {
    display: flex !important; /* FIXED: Forces container onto its own distinct row */
    width: max-content !important;
    clear: both !important; /* Prevents inline text elements from bleeding into the container bounds */
    margin-top: 12px !important;
    padding: 6px 12px !important;
    background-color: #794500 !important; /* Deep contrast pod background */
    border-left: 3px solid #8DC63F !important; /* Primary operational accent line */
    border-radius: 4px;
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.woocommerce-checkout-review-order-table .skp-collectionpoint b {
    color: #8DC63F !important; /* Highlighted store location text */
    font-weight: 700;
}

/* 5. Highlight the Quantity */
.woocommerce-checkout-review-order-table .product-quantity {
    display: inline-block !important;
    white-space: nowrap !important; /* Prevents multiplier from breaking away from number value */
    background: #333;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    color: #fff;
    margin-left: 8px;
    vertical-align: middle;
}

/* 6. Dynamic Visibility Flag (Removes Empty Container Artifacts) */
.woocommerce-checkout-review-order-table .hidden-point {
    display: none !important;
}

/* 7. Master Summary Logistics Banner Layout */
.woocommerce-checkout-review-order-table .sk-master-collection-row td {
    background-color: #794500 !important; /* Matches brand block color */
    padding: 15px !important;
    border-left: 4px solid #8DC63F !important; /* Matches brand accent green */
    border-radius: 4px !important;
    text-align: left !important;
}
.woocommerce-checkout-review-order-table .sk-master-collection-row .protocol-label {
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #b3b3b3 !important;
    display: block !important;
    margin-bottom: 4px !important;
}
.woocommerce-checkout-review-order-table .sk-master-collection-row .protocol-message {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}
.woocommerce-checkout-review-order-table .sk-master-collection-row .protocol-message b {
    color: #8DC63F !important;
    text-transform: uppercase !important;
}

/* Specsheet Container */
table.specsheet-table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-family: Arial, sans-serif !important;
}

table.specsheet-table td.specsheet-data {
    width: 60%;
    vertical-align: top;
}

table.specsheet-table td.specsheet-data table {
    width: 100%;
    border-collapse: collapse;
}

table.specsheet-table td.specsheet-data tr {
    border-bottom: 1px solid #dddddd;
}

table.specsheet-table td.specsheet-data td {
    padding: 8px;
}

table.specsheet-table td.specsheet-data td.label {
    font-weight: bold;
}

table.specsheet-table td.specsheet-image {
    width: 40%;
    vertical-align: top;
    text-align: center;
    padding-left: 15px;
}

table.specsheet-table td.specsheet-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}