/*

/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Child theme for Astra
Author: Your Name
Template: astra
Version: 1.0
*/

/* ✅ Your custom CSS goes below this line */

/* =======================================================
   GLOBAL TYPOGRAPHY
   ======================================================= */
body {
  font-family: "Lucida Bright", "Times New Roman", serif !important;
}

/* UAGB Blocks (Contact, Info, Icons) */
.wp-block-uagb-container.uagb-block-uayvmdtk,
.wp-block-uagb-container.uagb-block-uayvmdtk *,
.wp-block-uagb-info-box .uagb-ifb-title,
.wp-block-uagb-info-box .uagb-ifb-desc,
.wp-block-uagb-icon-list .uagb-icon-list__label {
  font-family: "Lucida Bright", Georgia, serif !important;
}

/* =======================================================
   HEADER & LOGO
   ======================================================= */
/* Force original logo colors (disable theme/dark mode filters) */
.ast-site-identity .custom-logo,
.site-logo img {
  filter: none !important;
  -webkit-filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  transition: none !important;
}

/* SVG logos */
.site-logo svg {
  fill: initial !important;
  stroke: initial !important;
}

/* =======================================================
   PAGE TITLES & HEADERS
   ======================================================= */
.woocommerce-products-header,
.woocommerce-products-header__title,
.woocommerce-products-header .page-title,
.woocommerce-products-header .woocommerce-breadcrumb,
.page-title {
  display: none !important;
}

/* =======================================================
   SHOP / ARCHIVE PRODUCTS
   ======================================================= */
/* --- Uniform product image container --- */
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product .secondary-image {
  width: 100% !important;
  height: 200px; /* fixed height */
  object-fit: contain;
  background: #fff;
  padding: 5px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto 10px auto;
  transition: opacity 0.3s ease-in-out;
}

/* --- Secondary image hover (swap only) --- */
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap,
.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
  position: relative;
  display: block;
  overflow: hidden;
}

.woocommerce ul.products li.product .secondary-image {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
}

.woocommerce
  ul.products
  li.product:hover
  .woocommerce-LoopProduct-link
  img:first-of-type {
  opacity: 0;
}
.woocommerce ul.products li.product:hover .secondary-image {
  opacity: 1;
}

/* --- Product title styling --- */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  margin-top: 12px;
  font-size: 22px; /* bigger */
  font-weight: 600; /* semi-bold */
  text-align: center;
  line-height: 1.3;
}

/* =======================================================
   SINGLE PRODUCT PAGE
   ======================================================= */
/* Category text */
.single-product-category a {
  font-size: 1.9em;
  font-weight: 600;
}

/* Add to cart form layout */
.single-product form.cart {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start;
  gap: 10px;
}
.single-product form.cart .single_add_to_cart_button {
  width: auto;
}

.woocommerce-product-details__short-description {
  font-size: 15.5px;
  line-height: 1.6;
  margin-top: 12px;
}

.woocommerce-product-details__short-description strong {
  font-weight: 800 !important;
  color: #000 !important;
  margin-right: 5px;
  display: inline-block;
}

.woocommerce-product-details__short-description {
  color: #555; /* lighter values */
}

/* =======================================================
   WPC FILTERS
   ======================================================= */
.wpc-filters-widget-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wpc-filters-section {
  flex: 1 1 30%;
  min-width: 200px;
}

.wpc-filters-section .select2-container {
  width: 100% !important;
}

@media (max-width: 768px) {
  .wpc-filters-section {
    flex: 1 1 100%;
  }
}

/* =======================================================
   PAGINATION
   ======================================================= */
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a.page-numbers:hover {
  background-color: #009bd4 !important;
  color: #fff !important;
  border-color: #009bd4 !important;
}

/* Fix Contact Page (Kubio) mobile scaling */
.page-id-XX .kubio-contact-form * {
  max-width: 100% !important;
  height: auto !important;
  box-sizing: border-box;
}

/* Make icons resize properly */
.page-id-XX .kubio-contact-form i,
.page-id-XX .kubio-contact-form svg {
  font-size: 18px !important;
  width: auto !important;
  height: auto !important;
  line-height: 1.2 !important;
}

/* Prevent inputs from overflowing */
.page-id-XX .kubio-contact-form input,
.page-id-XX .kubio-contact-form textarea {
  width: 100% !important;
  font-size: 16px !important;
}
/* 🔹 Change Contact Form Submit Button color */
.uagb-forms-main-submit-button.wp-block-button__link {
  background-color: #017cba !important; /* your blue */
  color: #fff !important; /* white text */
  border: none !important;
  border-radius: 6px; /* smooth corners */
  padding: 12px 28px;
  font-weight: 600;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

/* 🔹 Hover effect */
.uagb-forms-main-submit-button.wp-block-button__link:hover {
  background-color: #0269a0 !important; /* darker blue on hover */
  transform: scale(1.03);
}
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
#productTable {
  width: 100%;
  border-collapse: collapse;
  background: white;
  margin-top: 1rem;
}
#productTable th,
#productTable td {
  border: 1px solid #ddd;
  padding: 8px;
}
#productTable th {
  background: #222;
  color: white;
}
.filters select {
  margin-right: 10px;
  padding: 5px;
}
button {
  cursor: pointer;
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  background: #0073aa;
  color: #fff;
}
button:hover {
  background: #005f8d;
}

/* =======================================================
   PHASE 2: CUSTOM SHOP LAYOUT & CARDS
   ======================================================= */

.custom-shop-container {
  display: flex;
  gap: 30px;
  margin: 40px 0;
}

/* Sidebar Styling */
.shop-sidebar {
  width: 280px;
  flex-shrink: 0;
  background: #f9f9f9;
  padding: 25px;
  border-radius: 12px;
  height: fit-content;
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.filters-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.clear-filters-btn {
  background: transparent;
  color: #666;
  font-size: 12px;
  padding: 2px 8px;
  border: 1px solid #ccc;
  cursor: pointer;
}

/* Main Content Area */
.shop-main-content {
  flex-grow: 1;
}

/* Product Card Styling */
.custom-product-card {
  list-style: none !important;
  margin-bottom: 30px;
}

.product-card-wrap {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid #eee;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card-wrap:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Image Container */
.product-image-container {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 Aspect Ratio */
  overflow: hidden;
  background: #fff;
}

.product-image-container img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90% !important;
  height: 90% !important;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

/* Details Area */
.product-details-container {
  padding: 20px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-details-container .woocommerce-loop-product__title {
  font-size: 18px !important;
  font-weight: 700 !important;
  margin: 0 0 10px 0 !important;
  color: #222;
}

.product-details-container .price {
  font-size: 16px;
  color: #017cba;
  font-weight: 600;
}

/* Add to Cart Button */
.product-card-wrap .add_to_cart_button {
  margin: 0 20px 20px 20px;
  background: #222;
  color: #fff;
  border-radius: 6px;
  padding: 10px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  display: block;
}

.product-card-wrap .add_to_cart_button:hover {
  background: #017cba;
}

/* Responsive */
@media (max-width: 991px) {
  .custom-shop-container {
    flex-direction: column;
  }
  .shop-sidebar {
    width: 100%;
  }
}

/* Single Product Layout */
.single-product-layout {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
}

.single-product-media {
  flex: 1 1 50%;
  max-width: 600px;
}

.single-product-details {
  flex: 1 1 50%;
}

.single-product-details .product_title {
  font-size: 32px !important;
  margin-bottom: 10px !important;
}

.single-product-details .price {
  font-size: 24px !important;
  color: #017cba !important;
  margin-bottom: 20px !important;
  display: block;
}

@media (max-width: 768px) {
  .single-product-layout {
    flex-direction: column;
  }
  .single-product-media,
  .single-product-details {
    max-width: 100%;
  }
/* Filter Dropdown Styling */
.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.shop-filter-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    color: #555;
    transition: border-color 0.2s;
}

.shop-filter-select:focus {
    border-color: #017cba;
}

/* =======================================================
   HOME PAGE STYLING
   ======================================================= */

.custom-home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 0;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #222, #017cba);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    max-width: 450px;
}

.cta-button {
    display: inline-block;
    background: #017cba;
    color: #fff;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(1, 124, 186, 0.3);
    color: #fff;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Categories */
.featured-categories {
    margin: 60px 0;
    text-align: center;
}

.featured-categories h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.category-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.category-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px;
    width: 250px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s, border-color 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: #017cba;
}

.cat-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.category-card h3 {
    margin: 10px 0 5px;
    font-size: 20px;
    color: #222;
}

.category-card p {
    color: #888;
    font-size: 14px;
    margin: 0;
}

/* Latest Arrivals */
.latest-arrivals {
    margin: 80px 0;
}

.latest-arrivals h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Trust Badges */
.trust-section {
    display: flex;
    justify-content: space-around;
    background: #f9f9f9;
    padding: 50px;
    border-radius: 12px;
    margin-bottom: 60px;
}

.trust-item {
    text-align: center;
}

.trust-item .icon {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

.trust-item h4 {
    font-size: 16px;
    margin: 0;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content p {
        margin: 0 auto 30px;
    }
    
    .category-grid {
        flex-direction: column;
    }
    
    .category-card {
        width: 100%;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-section {
        flex-direction: column;
        gap: 30px;
    }
}

/* =======================================================
   CONTACT PAGE STYLING
   ======================================================= */

.contact-page-wrapper {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 60px 20px;
    min-height: 80vh;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

/* Left Side - Contact Information */
.contact-info-section {
    background: linear-gradient(135deg, #005b96 0%, #017cba 100%);
    color: #ffffff;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.contact-info-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.contact-info-content {
    position: relative;
    z-index: 2;
}

.contact-title {
    font-family: "Lucida Bright", serif;
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 20px 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.contact-subtitle {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 50px;
    opacity: 0.95;
    font-weight: 300;
}

/* Contact Methods */
.contact-methods {
    margin-bottom: 50px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 35px;
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-method:hover .contact-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.whatsapp-icon {
    background: rgba(37, 211, 102, 0.2);
}

.telegram-icon {
    background: rgba(42, 171, 238, 0.2);
}

.contact-details h3 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 8px 0;
    opacity: 0.9;
}

.contact-details a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: opacity 0.3s ease;
    display: inline-block;
}

.contact-details a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Business Hours */
.business-hours {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.business-hours h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px 0;
    font-family: "Lora", Georgia, serif;
}

.business-hours p {
    font-size: 14px;
    margin: 8px 0;
    opacity: 0.9;
    font-weight: 300;
}

/* Right Side - Contact Form */
.contact-form-section {
    padding: 60px 50px;
}

.contact-form-wrapper h2 {
    font-family: "Lora", "Playfair Display", Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    color: #0b132b;
    margin: 0 0 15px 0;
    letter-spacing: -0.02em;
}

.form-description {
    color: #5d6d7e;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Status Messages */
.contact-message {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-message.success {
    background: rgba(39, 174, 96, 0.1);
    border: 2px solid #27ae60;
    color: #27ae60;
}

.contact-message.error {
    background: rgba(231, 76, 60, 0.1);
    border: 2px solid #e74c3c;
    color: #e74c3c;
}

/* Form Styling */
.custom-contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #0b132b;
    letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 15px;
    font-family: "Lato", "Inter", sans-serif;
    color: #0b132b;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #005b96;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 91, 150, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

/* Submit Button */
.submit-button {
    background: linear-gradient(135deg, #005b96 0%, #017cba 100%);
    color: #ffffff;
    border: none;
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(1, 124, 186, 0.3);
    align-self: flex-start;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(1, 124, 186, 0.4);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button svg {
    transition: transform 0.3s ease;
}

.submit-button:hover svg {
    transform: translateX(3px);
}

/* Contact Form 7 Overrides */
.contact-form-section .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-form-section .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.contact-form-section .wpcf7-form input[type="text"],
.contact-form-section .wpcf7-form input[type="email"],
.contact-form-section .wpcf7-form input[type="tel"],
.contact-form-section .wpcf7-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 15px;
    font-family: "Lato", "Inter", sans-serif;
    color: #0b132b;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.contact-form-section .wpcf7-form input:focus,
.contact-form-section .wpcf7-form textarea:focus {
    outline: none;
    border-color: #005b96;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 91, 150, 0.08);
}

.contact-form-section .wpcf7-submit {
    background: linear-gradient(135deg, #005b96 0%, #017cba 100%);
    color: #ffffff;
    border: none;
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(1, 124, 186, 0.3);
}

.contact-form-section .wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(1, 124, 186, 0.4);
}

/* Validation Messages */
.contact-form-section .wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
}

.contact-form-section .wpcf7-response-output {
    border-radius: 12px;
    padding: 15px 20px;
    margin-top: 20px;
    font-size: 14px;
}

.contact-form-section .wpcf7-mail-sent-ok {
    border-color: #27ae60;
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
}

.contact-form-section .wpcf7-validation-errors {
    border-color: #f39c12;
    background: rgba(243, 156, 18, 0.1);
    color: #f39c12;
}

/* Responsive Design */
@media (max-width: 991px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-info-section {
        padding: 50px 30px;
    }

    .contact-form-section {
        padding: 50px 30px;
    }

    .contact-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .contact-page-wrapper {
        padding: 30px 15px;
    }

    .contact-container {
        border-radius: 16px;
    }

    .contact-info-section {
        padding: 40px 25px;
    }

    .contact-form-section {
        padding: 40px 25px;
    }

    .contact-title {
        font-size: 32px;
    }

    .contact-form-wrapper h2 {
        font-size: 28px;
    }

    .contact-method {
        margin-bottom: 30px;
    }

    .submit-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 28px;
    }

    .contact-form-wrapper h2 {
        font-size: 24px;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
    }

    .contact-details a {
        font-size: 14px;
    }
}




