/*
Theme Name: The Gun Dock
Template: affiliate-store
Author: Logic Zone
Description: The Gun Dock theme for ordering on thegundock.com website.
Version: 0.0.1
*/

/* ============================================
   PRODUCT PAGE - STRONG TYPOGRAPHY
   ============================================ */

/* Product Title - Bold, Strong, Industrial */
.woocommerce div.product .product_title,
.woocommerce-page div.product .product_title,
.single-product .product_title,
h1.product_title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-weight: 700 !important;
    font-size: 32px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.5px !important;
    color: #1a1a1a !important;
    text-transform: none !important;
    margin-bottom: 20px !important;
}

/* Product Description - Clean, Professional, Readable */
.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce-product-details__short-description,
.product-description,
.woocommerce div.product .woocommerce-Tabs-panel {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #333 !important;
    letter-spacing: 0 !important;
}

/* Product Description Headings */
.woocommerce div.product .woocommerce-Tabs-panel h2,
.woocommerce div.product .woocommerce-Tabs-panel h3,
.product-description h2,
.product-description h3 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    letter-spacing: -0.3px !important;
}

/* Product Meta (SKU, Category, Tags) */
.woocommerce div.product .product_meta,
.product_meta {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    color: #555 !important;
}

/* Product Attributes */
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-weight: 500 !important;
}

.woocommerce table.shop_attributes th {
    font-weight: 600 !important;
    color: #1a1a1a !important;
}

/* Price - Strong, Bold */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
}

/* Product Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase !important;
}

/* ============================================
   FOOTER - IMPROVED CONTRAST & SPACING
   ============================================ */

/* Footer background and text - improve contrast */
#footer {
    background-color: #1a1a1a !important; /* Darker background for better contrast */
    color: #f5f5f5 !important; /* Slightly off-white for readability */
}

/* Footer links - bright white for contrast */
#footer a {
    color: #ffffff !important;
}

#footer a:hover {
    color: #4a9eff !important; /* Bright blue hover */
}

/* Footer headings - bright white */
#footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6 {
    color: #ffffff !important;
    margin-bottom: 15px !important;
    margin-top: 0 !important;
}

/* Footer paragraph text */
#footer p {
    color: #f5f5f5 !important;
    line-height: 1.6 !important;
}

/* Footer list items - COMPACT SPACING */
#footer ul {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important; /* Remove line-height multiplier */
}

#footer ul li {
    padding: 2px 0 2px 18px !important; /* Very compact - 2px spacing */
    margin: 0 !important; /* No margin at all */
    line-height: 1.3 !important; /* Tight line height */
    font-size: 13px !important; /* Slightly smaller */
}

#footer ul li::before {
    top: 3px !important; /* Adjust icon position for tighter spacing */
}

#footer ul li a {
    display: inline-block !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Footer widget areas - reduce spacing */
.ftr-4-box {
    padding: 10px 15px 10px 0 !important; /* More compact */
    margin-bottom: 10px !important; /* Less space between widgets */
}

/* Footer contact info - tighter spacing */
#footer p {
    margin: 0 0 5px 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
}

/* Footer headings - less space */
#footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6 {
    margin-bottom: 8px !important; /* Reduced from 15px */
    margin-top: 0 !important;
    line-height: 1.2 !important;
}

/* ============================================
   GLOBAL SPACING REDUCTION - SHOW MORE CONTENT
   ============================================ */

/* Reduce header height */
.header {
    padding: 10px 0 !important; /* Reduced padding */
}

/* Reduce navigation menu spacing */
.main-navigation ul li {
    padding: 8px 12px !important; /* Reduced from default */
}

/* Reduce page/container padding */
.container,
.page-content,
.entry-content {
    padding-top: 20px !important; /* Reduced from larger values */
    padding-bottom: 20px !important;
}

/* Reduce section spacing */
section {
    padding-top: 30px !important; /* Reduced from 50px+ */
    padding-bottom: 30px !important;
}

/* Reduce product grid spacing */
.woocommerce ul.products li.product {
    margin-bottom: 20px !important; /* Reduced from 30px */
}

/* Reduce heading margins */
h1, h2, h3, h4, h5, h6 {
    margin-top: 15px !important; /* Reduced from 20-30px */
    margin-bottom: 10px !important;
}

h1 {
    margin-top: 0 !important;
    margin-bottom: 15px !important;
}

/* Reduce paragraph spacing */
p {
    margin-bottom: 12px !important; /* Reduced from 15-20px */
}

/* Reduce widget spacing */
.widget {
    margin-bottom: 25px !important; /* Reduced from 30-40px */
}

.widget-title {
    margin-bottom: 12px !important;
}

/* Reduce post/article spacing */
article {
    margin-bottom: 25px !important; /* Reduced from 30-40px */
    padding: 20px !important; /* Reduced from 30px */
}

/* Reduce footer widget spacing */
#footer .widget {
    margin-bottom: 20px !important;
}

/* Compact breadcrumbs */
.breadcrumbs,
.woocommerce-breadcrumb {
    margin-bottom: 15px !important; /* Reduced spacing */
    padding: 8px 0 !important;
    font-size: 13px !important;
}

/* Reduce WooCommerce notice spacing */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    margin-bottom: 15px !important; /* Reduced from 20px */
}

/* Compact pagination */
.pagination {
    margin-top: 20px !important; /* Reduced from 30px */
    margin-bottom: 20px !important;
}

/* ============================================
   PRODUCT PAGE - COMPACT SPACING
   ============================================ */

/* Reduce container padding */
.single-product .container {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

/* Reduce main content padding */
.single-product #maincontent {
    padding: 0 !important;
}

/* Tighten product summary spacing */
.woocommerce div.product div.summary {
    margin-bottom: 15px !important;
}

/* Reduce space around product image */
.woocommerce div.product div.images {
    margin-bottom: 15px !important;
}

/* Compact product tabs */
.woocommerce div.product .woocommerce-tabs {
    margin-top: 15px !important;
    padding-top: 0 !important;
}

/* Reduce tab panel padding */
.woocommerce div.product .woocommerce-Tabs-panel {
    padding: 10px 0 !important;
}

/* Tighten product meta spacing */
.product_meta {
    margin-top: 10px !important;
    padding: 8px 0 !important;
}

/* Reduce related products spacing */
.related.products {
    margin-top: 20px !important;
    padding-top: 15px !important;
}

/* Compact product attributes table */
.woocommerce table.shop_attributes {
    margin-bottom: 15px !important;
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
    padding: 6px 10px !important;
}

/* Reduce product gallery spacing */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
    margin-bottom: 10px !important;
}

/* ============================================
   HIDE CURRENCY SELECTOR
   ============================================ */

/* Hide currency switcher in header */
.currency-box {
    display: none !important;
}
