/*
Theme Name: HariHari Store Theme
Theme URI: https://www.misefa.com
Author: Hafidz Misefa for PT HariHari Membangun Bersama
Description: Custom theme for HariHari online store. Developed by Hafidz Misefa.
Version: 1.2
License: Proprietary
*/

/* Defaults */
body {
    background-color: #f8fafc;
}

/* WOOCOMMERCE OVERRIDES 
   Since we can't compile Tailwind here, we use raw CSS matching the design tokens.
*/

/* Primary Color: #002451 */
/* Accent: #64748b */

/* Buttons */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background-color: #002451;
    color: #ffffff;
    border-radius: 0.75rem;
    /* rounded-xl */
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    transition: all 0.2s;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background-color: #1e3a8a;
    /* lighter blue */
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background-color: #002451;
}

.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background-color: #1e3a8a;
}

/* Images */
.woocommerce div.product div.images img {
    border-radius: 1rem;
    /* rounded-2xl */
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

/* Pricing */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: #002451;
    font-size: 1.5rem;
    font-weight: 800;
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: none;
    background-color: transparent;
    border-radius: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    border-bottom: 2px solid #002451;
    background-color: transparent;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-weight: 700;
    color: #64748b;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #002451;
}

/* Inputs */
.woocommerce-input-wrapper input,
.woocommerce-input-wrapper textarea,
.select2-selection {
    border: 1px solid #e2e8f0 !important;
    border-radius: 0.5rem !important;
    padding: 0.75rem !important;
}

/* Notices */
.woocommerce-message,
.woocommerce-info {
    border-top-color: #002451;
}

.woocommerce-error {
    border-top-color: #ef4444;
}

/* Remove Sidebar Jiggle */
.woocommerce-page .site-content {
    width: 100%;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul {
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background: #002451;
    color: white;
    border-radius: 0.5rem;
}