/*
Theme Name: Analog Gadget Factory
Theme URI: https://analoggadgetfactory.com
Author: Nick Taylor
Description: Spacers — hand-made precision tools. A minimal single-page theme.
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: analog


    150px   Vertical SPACERS  (Big Shoulders Thin)   14.8x
    36px   Section heading   (Inter italic, orange)   2.9x
    26px   Subtitle          (Inter 300)              2.2x
    16px   Header name       (Inter 400)              1.8x
    14px   Header sub/link   (Inter 400, orange)      1.5x
    15px   Body text         (Inter 300)              1.0x
    
    
    
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background: #ffffff;
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }



h2{
    font-size:30px;
    letter-spacing: 0.2em;
    font-weight:200;
    line-height:1;
    margin-bottom:20px;
}


/* =========================================================
   HEADER
========================================================= */
.header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 36px 36px 0;
}

.header-logo-link {
    display: block;
    flex-shrink: 0;
}

.header-logo-link svg {
    display: block;
    width: 200px;
    height: 200px;
}

.logo-bg {
    fill: #ff6600;
    transition: fill 4s ease;
}

.header-logo-link:hover .logo-bg {
    fill: #cc00cc;
}

.header-name {
    margin-top: 40px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: #1a1a1a;
    line-height: 1.3;
}

.header-sub {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
}

.header-sub a {
    color: #ff6600;
    text-decoration: none;
}

.header-sub a:hover {
    text-decoration: underline;
}

/* =========================================================
   PAGE LAYOUT
========================================================= */
.page-wrap {
    display: flex;
    align-items: flex-start;
    margin-left: 16.18%;
    margin-right: 36px;
    margin-top: 80px;
}

.col-menu {
    width: 120px;
    flex-shrink: 0;
}

.col-title {
    width: 150px;
    flex-shrink: 0;
}

.col-content {
    flex: 1;
    min-width: 0;
    max-width: 800px;
    padding-left: 20px;
    margin-top: 6px;
}

/* =========================================================
   MENU
========================================================= */
.col-menu nav ul {
    list-style: none;
    text-align: right;
    margin-top:6px;
}

.col-menu nav li {
    padding: 4px 10px;
    margin-bottom: 2px;
    transition: background-color 0.15s, color 0.15s;
    cursor: pointer;
}

.col-menu nav li:hover {
    background-color: #ff6600;
}

.col-menu nav li:hover a {
    color: #fff;
}

.col-menu nav a {
    letter-spacing: 0.09em;
    line-height: 1;
    text-transform: uppercase;
    color: #1a1a1a;
    text-decoration: none;
    display: block;
    font-size:18px;
}

.current_page_item{
 background-color: #ff6600;

}

.current_page_item a{
 color:#fff !important;
}

/* =========================================================
   TITLE
========================================================= */
.col-title .title {
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 100;
    font-size: 150px;
    color: #ff6600;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: uppercase;
}

/* =========================================================
   CONTENT
========================================================= */
.section-heading {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-weight: 400;
    font-size: 36px;
    color: #ff6600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 26px;
    font-weight: 300;
    color: #1a1a1a;
    line-height: 1.5;
    margin-bottom: 40px;
}

.qa {
    margin-bottom: 36px;
}

.qa-q {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.qa-a {
    font-size: 15px;
    font-weight: 300;
    color: #444;
    line-height: 1.75;
    max-width: 600px;
}

/* =========================================================
   THREE-COLUMN GRID
========================================================= */
.three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0;
}

.three-col-item {
    display: flex;
    flex-direction: column;
}

.three-col-head {
    aspect-ratio: 1 / 1;

    display: flex;
    align-items: flex-start;
}

.three-col-head h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: clamp(22px, 2.4vw, 32px);
    line-height: 1.15;
    letter-spacing: 0.01em;
    color: #fff;
    margin: 0;
}

.three-col-head--orange { background: #ff6600;     padding: 20px 22px;}
.three-col-head--green  { background: #00cc44;     padding: 20px 22px;}
.three-col-head--pink   { background: #ff0099;     padding: 20px 22px;}

.dot {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    vertical-align: middle;
}

.orange_bg{ background: #ff6600;}
.green_bg{ background: #00cc44;}
.pink_bg   { background: #ff0099;}

.three-col-body {
    padding: 18px 0 0;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
    color: #1a1a1a;
}

.three-col-item img{
    width:100%;
    height:auto;
}


.three-col-body p { margin-bottom: 8px; }

@media (max-width: 900px) {
    .three-col {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .three-col {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .three-col-head { aspect-ratio: auto; padding: 24px; }
    .three-col-head h3 { font-size: 28px; }
}

/* =========================================================
   SIGNUP
========================================================= */
.signup {
    padding-top: 48px;
    padding-bottom: 72px;
}

.signup-heading {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.signup-desc {
    font-size: 15px;
    font-weight: 300;
    color: #444;
    margin-bottom: 20px;
    max-width: 480px;
}

.email-row {
    display: flex;
    gap: 12px;
    max-width: 420px;
}

.email-row input[type="email"] {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #ccc;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    outline: none;
    background: #fff;
    color: #1a1a1a;
}

.email-row input[type="email"]:focus {
    border-color: #ff6600;
}

.email-row button {
    padding: 10px 20px;
    background: #ff6600;
    color: #fff;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
}

.email-row button:hover {
    opacity: 0.85;
}

.signup-note {
    font-size: 13px;
    font-weight: 300;
    color: #888;
    margin-top: 12px;
}

/* =========================================================
   FOOTER
========================================================= */
.footer {
    padding: 48px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    opacity: 0.4;
}

.footer-text {
    font-size: 12px;
    font-weight: 300;
    color: #999;
    letter-spacing: 0.04em;
}

/* =========================================================
   DEBUG
========================================================= */
#debug-width {
    position: fixed;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: #0f0;
    font-family: monospace;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 3px;
    z-index: 99999;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1300px) {
    .page-wrap {
        margin-left: 10%;
        margin-right: 24px;
    }
}

@media (max-width: 1000px) {
    .page-wrap {
        margin-left: 5%;
        margin-right: 16px;
    }
    .col-title .title {
        font-size: 110px;
    }
}

@media (max-width: 720px) {
    .page-wrap {
        display: block;
        margin-left: 16px;
        margin-right: 16px;
    }
    .col-menu,
    .col-title,
    .col-content {
        width: auto;
    }
    .col-menu nav ul {
        text-align: left;
    }
    .col-menu nav ul li{
        display:inline-block;
    }    
    .col-title .title {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 80px;
        margin: 24px 0;
    }
    .col-content {
        max-width: none;
        padding-left: 0;
    }
}

/* =========================================================
   WOOCOMMERCE OVERRIDES
   Strip Woo's default chrome to match the minimal aesthetic.
========================================================= */

/* Buttons — orange, square, uppercase, no rounding/shadow */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .button.alt,
.woocommerce-page button.button.alt,
.woocommerce a.button.alt {
    background: #ff6600;
    color: #fff;
    border: none;
    border-radius: 0;
    box-shadow: none;
    text-shadow: none;
    padding: 10px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.2;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce .button.alt:hover {
    background: #ff6600;
    opacity: 0.85;
    color: #fff;
}

/* Inputs / selects — match the email-row style */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text,
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce input[type="number"],
.woocommerce input[type="password"],
.woocommerce select,
.woocommerce textarea {
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 0;
    background: #fff;
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    outline: none;
    box-shadow: none;
}

.woocommerce input:focus,
.woocommerce select:focus,
.woocommerce textarea:focus {
    border-color: #ff6600;
}

/* Product loop (shop archive) */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.woocommerce ul.products li.product {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none;
    border: none;
}
.woocommerce ul.products li.product a img {
    margin: 0 0 12px;
    box-shadow: none;
    border-radius: 0;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #1a1a1a;
    padding: 0;
    margin: 0 0 4px;
    line-height: 1.3;
}
.woocommerce ul.products li.product .price {
    font-size: 14px;
    font-weight: 300;
    color: #1a1a1a;
}
.woocommerce ul.products li.product .price ins {
    text-decoration: none;
    font-weight: 400;
}
.woocommerce ul.products li.product .button {
    margin-top: 10px;
}

/* Strip the "sale" badge — re-enable if you decide you want it */
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale {
    display: none;
}

@media (max-width: 900px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 560px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
}

/* Single product page */
.woocommerce div.product {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
}
.woocommerce div.product .woocommerce-product-gallery {
    flex: 1 1 50%;
    min-width: 280px;
    max-width: 480px;
    margin: 0;
}
.woocommerce div.product .summary {
    flex: 1 1 40%;
    min-width: 260px;
    margin: 0;
    padding: 0;
}
.woocommerce div.product .product_title {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-weight: 400;
    font-size: 36px;
    color: #ff6600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
    line-height: 1.1;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-size: 26px;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 20px;
}
.woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Variation form (the 4-variant dropdowns) */
.woocommerce div.product form.cart .variations {
    margin-bottom: 16px;
}
.woocommerce div.product form.cart .variations th {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1a1a1a;
    padding: 8px 12px 8px 0;
    width: auto;
}
.woocommerce div.product form.cart .reset_variations {
    font-size: 12px;
    color: #888;
}

/* Quantity input */
.woocommerce .quantity .qty {
    width: 64px;
    text-align: center;
}

/* Tabs below product (description/reviews) — strip borders */
.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0;
    margin: 36px 0 0;
    border: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before {
    border: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0 24px 0 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
    padding: 8px 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #ff6600;
    border-bottom: 2px solid #ff6600;
}
.woocommerce div.product .woocommerce-tabs .panel {
    padding: 24px 0;
}

/* Cart page */
.woocommerce table.shop_table {
    border: none;
    border-radius: 0;
    border-collapse: collapse;
}
.woocommerce table.shop_table th {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
    padding: 12px 8px;
    border-bottom: 1px solid #eee;
    background: none;
}
.woocommerce table.shop_table td {
    padding: 16px 8px;
    border-bottom: 1px solid #eee;
}

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: #fafafa;
    border-top: 2px solid #ff6600;
    border-radius: 0;
    padding: 14px 18px;
    font-size: 14px;
    color: #1a1a1a;
}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    color: #ff6600;
}

/* Checkout — two columns on desktop, stacked on mobile */
.woocommerce form.checkout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}
.woocommerce form.checkout #order_review_heading,
.woocommerce form.checkout #order_review {
    grid-column: 2;
}
.woocommerce form.checkout .col2-set {
    grid-column: 1;
    width: 100%;
}
.woocommerce form.checkout .col2-set .col-1,
.woocommerce form.checkout .col2-set .col-2 {
    width: 100%;
    float: none;
}
@media (max-width: 720px) {
    .woocommerce form.checkout {
        grid-template-columns: 1fr;
    }
    .woocommerce form.checkout #order_review_heading,
    .woocommerce form.checkout #order_review {
        grid-column: 1;
    }
}
