/*
Theme Name: Krma Fashion
Theme URI: https://www.krmfashion.com
Author: Krma Fashion
Author URI: https://www.krmfashion.com
Description: A professional fashion and apparel manufacturing theme for Krma Fashion. Features include auto-sliding hero carousel, product categories with thumbnails, product grid, about section, and a comprehensive footer.
Version: 1.3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: krma-fashion
Tags: fashion, apparel, manufacturing, custom-menu, featured-images
*/

/* === RESET & BASE === */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Roboto', Arial, sans-serif; color: #333; background: #f5f5f5; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
a:hover { color: #e74c3c; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
.container { max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col-12 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }
.col-3 { flex: 0 0 25%; max-width: 25%; padding: 0 15px; }
.col-4 { flex: 0 0 33.333%; max-width: 33.333%; padding: 0 15px; }
.col-6 { flex: 0 0 50%; max-width: 50%; padding: 0 15px; }
.col-8 { flex: 0 0 66.666%; max-width: 66.666%; padding: 0 15px; }
.center-block { display: block; margin-left: auto; margin-right: auto; }

/* === TOP INFO BAR === */
.top-info-bar {
  background: #1a1a2e;
  color: #ccc;
  padding: 8px 0;
  font-size: 13px;
}
.top-info-bar .row { align-items: center; }
.top-info-bar .tagline { color: #f0c040; font-weight: 500; }
.top-info-bar .contact-info { text-align: center; }
.top-info-bar .contact-info span { margin: 0 8px; }
.top-info-bar .contact-info img { vertical-align: middle; margin-right: 4px; width: 16px; }
.top-info-bar .search-bar { text-align: right; }
.top-info-bar .search-bar .search-toggle {
  cursor: pointer; background: none; border: none; color: #fff; font-size: 18px; padding: 4px 8px;
}
.top-info-bar .search-form {
  display: none; margin-top: 5px;
}
.top-info-bar .search-form.active { display: block; }
.top-info-bar .search-form input {
  padding: 5px 10px; border: 1px solid #555; background: #2a2a3e; color: #fff;
  border-radius: 3px; width: 100%;
}

/* === LOGO SECTION === */
.logo-section {
  background: #fff;
  padding: 15px 0;
  text-align: center;
  border-bottom: 3px solid #e74c3c;
}
.logo-section .logo img { max-width: 350px; max-height: 100px; }
.logo-section .logo-text {
  font-size: 36px; font-weight: 700; color: #1a1a2e;
  letter-spacing: 2px; text-transform: uppercase;
}
.logo-section .logo-text span { color: #e74c3c; }

/* === NAVIGATION === */
.main-nav {
  background: #16213e;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.main-nav .nav-container { display: flex; align-items: center; justify-content: center; }
.main-nav ul {
  display: flex; list-style: none; margin: 0; padding: 0;
}
.main-nav .dropdown {
  flex-direction: column;
}
.main-nav > .nav-container > ul > li {
  position: relative;
}
.main-nav > .nav-container > ul > li > a {
  display: block; padding: 15px 20px; color: #fff; font-size: 14px;
  font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px;
  transition: background 0.3s, color 0.3s;
}
.main-nav > .nav-container > ul > li > a:hover,
.main-nav > .nav-container > ul > li:hover > a {
  background: #e74c3c; color: #fff;
}
.main-nav > .nav-container > ul > li > a .arrow { font-size: 10px; margin-left: 5px; }

/* Simple Vertical Dropdown */
.main-nav .dropdown {
  position: absolute; top: 100%; left: 0; background: #fff;
  min-width: 240px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.3s ease; z-index: 1001;
  border-top: 3px solid #e74c3c;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}
.main-nav > .nav-container > ul > li:hover .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.main-nav .dropdown li {
  border-bottom: 1px solid #f0f0f0;
}
.main-nav .dropdown li:last-child {
  border-bottom: none;
}
.main-nav .dropdown li a {
  display: block; padding: 12px 22px; color: #333; font-size: 13px;
  font-weight: 400; transition: all 0.3s; white-space: nowrap;
  position: relative;
}
.main-nav .dropdown li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: #e74c3c;
  transition: width 0.3s ease;
}
.main-nav .dropdown li a:hover {
  background: #fafafa;
  color: #e74c3c;
  padding-left: 30px;
}
.main-nav .dropdown li a:hover::before {
  width: 3px;
}
.main-nav .dropdown::-webkit-scrollbar { width: 5px; }
.main-nav .dropdown::-webkit-scrollbar-track { background: #f0f0f0; }
.main-nav .dropdown::-webkit-scrollbar-thumb { background: #e74c3c; border-radius: 3px; }

/* Mobile menu toggle */
.mobile-toggle {
  display: none; background: none; border: none; color: #fff;
  font-size: 24px; cursor: pointer; padding: 15px 20px;
}

/* === HERO CAROUSEL === */
.hero-carousel {
  position: relative; overflow: hidden; background: #000;
}
.carousel-track {
  display: flex; transition: transform 0.6s ease;
}
.carousel-slide {
  min-width: 100%; position: relative;
}
.carousel-slide a {
  display: block; width: 100%;
}
.carousel-slide img {
  width: 100%; display: block; height: auto;
  object-fit: contain;
}
.carousel-controls {
  position: absolute; top: 50%; width: 100%;
  display: flex; justify-content: space-between;
  transform: translateY(-50%); pointer-events: none; padding: 0 15px;
}
.carousel-btn {
  pointer-events: all; background: rgba(231,76,60,0.8);
  border: none; color: #fff; width: 50px; height: 50px;
  border-radius: 50%; font-size: 20px; cursor: pointer;
  transition: background 0.3s; display: flex; align-items: center; justify-content: center;
}
.carousel-btn:hover { background: #e74c3c; }
.carousel-indicators {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px;
}
.carousel-indicators button {
  width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff;
  background: transparent; cursor: pointer; transition: background 0.3s; padding: 0;
}
.carousel-indicators button.active { background: #e74c3c; border-color: #e74c3c; }

/* === CATEGORY BOXES === */
.category-section { padding: 60px 0; background: #f5f5f5; }
.category-section .section-header { margin-bottom: 40px; }
.category-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.category-box {
  flex: 0 0 calc(33.333% - 14px); background: #fff;
  border-radius: 8px; overflow: hidden; box-shadow: 0 3px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s; cursor: pointer;
  display: block;
}
.category-box:hover {
  transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.category-box img {
  width: 100%; height: auto; object-fit: contain; display: block;
  transition: transform 0.4s;
}
.category-box:hover img {
  transform: scale(1.05);
}
.category-box .category-info {
  padding: 18px; text-align: center;
  border-top: 3px solid #e74c3c;
}
.category-box h3 {
  font-size: 16px;
  font-weight: 600; color: #1a1a2e; text-transform: uppercase;
  margin-bottom: 12px;
}
.category-box .view-cat-btn {
  display: inline-block; padding: 8px 24px;
  background: #16213e; color: #fff; border-radius: 4px;
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; transition: background 0.3s;
}
.category-box .view-cat-btn:hover {
  background: #e74c3c; color: #fff;
}

/* === WHO WE ARE === */
.about-section {
  background: #16213e; color: #fff; padding: 60px 0;
}
.about-section .row { align-items: center; }
.about-content { padding-right: 30px; }
.about-content .section-label {
  color: #e74c3c; font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px;
}
.about-content h2 {
  font-size: 32px; font-weight: 700; margin-bottom: 10px;
}
.about-content .subtitle {
  color: #aaa; font-size: 15px; margin-bottom: 20px;
}
.about-content p {
  color: #ccc; line-height: 1.8; font-size: 14px; margin-bottom: 20px;
}
.about-content .btn-readmore {
  display: inline-block; padding: 12px 30px; background: #e74c3c;
  color: #fff; border-radius: 4px; font-weight: 600; font-size: 14px;
  text-transform: uppercase; transition: background 0.3s;
}
.about-content .btn-readmore:hover { background: #c0392b; color: #fff; }
.about-image { border-radius: 8px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.3); }
.about-image img { width: 100%; display: block; }

/* === RECENT PRODUCTS === */
.products-section {
  background: #f9f9f9; padding: 60px 0;
}
.section-header {
  text-align: center; margin-bottom: 40px;
}
.section-header h2 {
  font-size: 32px; font-weight: 700; color: #1a1a2e;
  position: relative; display: inline-block; padding-bottom: 15px;
}
.section-header h2::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%); width: 60px; height: 3px; background: #e74c3c;
}
.product-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.product-box {
  flex: 0 0 calc(25% - 15px); background: #fff;
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.product-box:hover {
  transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.product-box .product-img {
  position: relative;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#fff;
  padding:10px;
  height:250px;
}
.product-box .product-img img {
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  display:block;
  transition:transform .4s;
}
.product-box:hover .product-img img { transform: scale(1.05); }
.product-box .product-info { padding: 15px; text-align: center; }
.product-box .product-name {
  font-size: 14px; font-weight: 700; color: #e74c3c; margin-bottom: 5px;
  text-transform: uppercase;
}
.product-box .product-name a {
  color: #e74c3c;
  transition: color 0.3s;
}
.product-box .product-name a:hover {
  color: #c0392b;
}
.product-box .product-code {
  font-size: 12px; color: #333;
}
/* Blog/Category listing - 3 columns with border */
.posts-product-grid .product-box {
  flex: 0 0 calc(33.333% - 14px);
  border: 1px solid #ddd;
}
.posts-product-grid .product-box .product-img img {
  height:100%;
}

/* === DELIVERY/PAYMENT SLIDER === */
.delivery-section {
  background: #fff; padding: 40px 0;
}
.delivery-section .section-header { margin-bottom: 30px; }
.delivery-logos {
  display: flex; overflow: hidden; position: relative;
}
.delivery-track {
  display: flex; gap: 30px; animation: scrollLogos 20s linear infinite;
}
.delivery-track img {
  height: 60px; width: auto; object-fit: contain;
  filter: grayscale(30%); opacity: 0.7; transition: all 0.3s;
}
.delivery-track img:hover { filter: grayscale(0); opacity: 1; }
@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === FOOTER === */
.site-footer {
  background: #1a1a2e; color: #ccc; padding: 50px 0 0;
}
.footer-grid { display: flex; flex-wrap: wrap; gap: 30px; }
.footer-col {
  flex: 1; min-width: 200px;
}
.footer-col h4 {
  color: #fff; font-size: 16px; font-weight: 600;
  margin-bottom: 20px; padding-bottom: 10px;
  border-bottom: 2px solid #e74c3c; display: inline-block;
  text-transform: uppercase;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: #aaa; font-size: 13px; transition: color 0.3s, padding-left 0.3s;
}
.footer-col ul li a:hover { color: #e74c3c; padding-left: 5px; }
.footer-col p { font-size: 13px; line-height: 1.8; color: #aaa; }
.footer-col .cert-images { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-col .cert-images img { width: 60px; height: 60px; object-fit: contain; }
.footer-col .social-icons { display: flex; gap: 10px; margin-top: 10px; }
.footer-col .social-icons a {
  width: 36px; height: 36px; border-radius: 50%; background: #2a2a3e;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; transition: background 0.3s;
}
.footer-col .social-icons a:hover { background: #e74c3c; color: #fff; }
.footer-bottom {
  background: #111; text-align: center; padding: 15px 0;
  margin-top: 40px; color: #777; font-size: 13px;
}
.footer-bottom a { color: #e74c3c; }

/* === SIDEBAR WIDGETS === */
.sidebar-widget {
  background: #fff; border-radius: 8px; padding: 20px;
  margin-bottom: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.sidebar-widget h3 {
  font-size: 16px; font-weight: 600; color: #1a1a2e;
  padding-bottom: 10px; margin-bottom: 15px;
  border-bottom: 2px solid #e74c3c;
  text-transform: uppercase;
}
.sidebar-widget ul li { margin-bottom: 6px; }
.sidebar-widget ul li a {
  display: block; padding: 6px 0; color: #555; font-size: 13px;
  transition: color 0.3s, padding-left 0.3s;
}
.sidebar-widget ul li a:hover { color: #e74c3c; padding-left: 8px; }

/* WordPress pagination styling for posts */
.posts-product-grid + .navigation .nav-links {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 30px;
}
.posts-product-grid + .navigation .nav-links .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  transition: all 0.3s;
}
.posts-product-grid + .navigation .nav-links .page-numbers.current,
.posts-product-grid + .navigation .nav-links .page-numbers:hover {
  background: #e74c3c;
  color: #fff;
  border-color: #e74c3c;
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
  .col-3, .col-4, .col-6, .col-8 { flex: 0 0 50%; max-width: 50%; }
  .category-box { flex: 0 0 calc(50% - 10px); }
  .product-box { flex: 0 0 calc(33.333% - 14px); }
  .posts-product-grid .product-box { flex: 0 0 calc(50% - 10px); }

  /* Mobile navigation */
  .main-nav > .nav-container > ul {
    display: none; flex-direction: column; width: 100%;
  }
  .main-nav > .nav-container > ul.active { display: flex; }
  .main-nav > .nav-container > ul > li > a {
    padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  /* Mobile dropdown - accordion style */
  .main-nav .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: #1e2d4a;
    border-top: none;
    border-radius: 0;
    display: none;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
  }
  .main-nav .dropdown.mobile-open {
    display: block;
    max-height: 500px;
  }
  .main-nav .dropdown li {
    border-bottom-color: rgba(255,255,255,0.05);
  }
  .main-nav .dropdown li a {
    color: #ccc;
    padding: 10px 30px;
  }
  .main-nav .dropdown li a::before {
    display: none;
  }
  .main-nav .dropdown li a:hover {
    color: #e74c3c;
    background: rgba(255,255,255,0.05);
    padding-left: 35px;
  }

  .mobile-toggle { display: block; }
  .main-nav .nav-container { flex-direction: column; }
}
@media (max-width: 767px) {
  .col-3, .col-4, .col-6, .col-8 { flex: 0 0 100%; max-width: 100%; }
  .category-box { flex: 0 0 100%; }
  .product-box { flex: 0 0 calc(50% - 10px); }
  .posts-product-grid .product-box { flex: 0 0 100%; }
  .top-info-bar .row { flex-direction: column; text-align: center; gap: 5px; }
  .top-info-bar .search-bar { text-align: center; }
  .about-content { padding-right: 0; margin-bottom: 30px; }
  .footer-grid { flex-direction: column; }
}
@media (max-width: 480px) {
  .product-box { flex: 0 0 100%; }
}

/* === FLOATING WHATSAPP BUTTON === */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: whatsappPulse 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
  color: #fff;
}
@keyframes whatsappPulse {
  0% { box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
  50% { box-shadow: 0 4px 25px rgba(37,211,102,0.6); }
  100% { box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
}


/* Enhanced category cards */
.posts-product-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px}
.posts-product-grid .product-box{display:flex;flex-direction:column;border-radius:16px;box-shadow:0 8px 24px rgba(0,0,0,.08);overflow:hidden}
.posts-product-grid .product-img{height:300px;padding:15px}
.posts-product-grid .product-img img{width:100%;height:100%;object-fit:contain;transition:.35s}
.posts-product-grid .product-box:hover .product-img img{transform:scale(1.05)}
.posts-product-grid .product-info{padding:18px}
.posts-product-grid .product-name a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:20px;line-height:1.35;text-transform:none;color:#222}

/* ============================================
   WOOCOMMERCE STYLES
   ============================================ */

/* Shop Page Layout */
.woocommerce .product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.woocommerce .product-box {
  flex: 0 0 calc(25% - 15px);
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.woocommerce .product-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.woocommerce .product-box .product-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  padding: 10px;
  height: 250px;
}

.woocommerce .product-box .product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform .4s;
}

.woocommerce .product-box:hover .product-img img {
  transform: scale(1.05);
}

.woocommerce .product-box .product-info {
  padding: 15px;
  text-align: center;
}

.woocommerce .product-box .product-name {
  font-size: 14px;
  font-weight: 700;
  color: #e74c3c;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.woocommerce .product-box .product-name a {
  color: #e74c3c;
  transition: color 0.3s;
}

.woocommerce .product-box .product-name a:hover {
  color: #c0392b;
}

.woocommerce .product-box .product-price {
  font-size: 16px;
  font-weight: 600;
  color: #16213e;
  margin: 8px 0;
}

.woocommerce .product-box .product-price del {
  color: #999;
  font-size: 13px;
  margin-right: 5px;
}

.woocommerce .product-box .product-price ins {
  color: #e74c3c;
  text-decoration: none;
  font-weight: 700;
}

.woocommerce .product-box .product-add-to-cart {
  margin-top: 10px;
}

.woocommerce .product-box .button,
.woocommerce .product-box .add_to_cart_button {
  display: inline-block;
  padding: 8px 20px;
  background: #e74c3c;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.3s;
}

.woocommerce .product-box .button:hover,
.woocommerce .product-box .add_to_cart_button:hover {
  background: #c0392b;
  color: #fff;
}

.woocommerce .product-box .added_to_cart {
  display: inline-block;
  margin-left: 8px;
  padding: 8px 16px;
  background: #16213e;
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Sale Badge */
.woocommerce .product-box .onsale {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e74c3c;
  color: #fff;
  padding: 5px 12px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
}

/* Stock Badge */
.woocommerce .product-box .stock {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #27ae60;
  color: #fff;
  padding: 5px 12px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
}

.woocommerce .product-box .out-of-stock {
  background: #95a5a6;
}

/* Shop Page Header */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
}

.woocommerce .woocommerce-ordering select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination {
  margin-top: 40px;
  text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
  display: inline-flex;
  gap: 5px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
  margin: 0;
}

.woocommerce nav.woocommerce-pagination ul li span,
.woocommerce nav.woocommerce-pagination ul li a {
  display: inline-block;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  transition: all 0.3s;
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: #e74c3c;
  color: #fff;
  border-color: #e74c3c;
}

/* Single Product Page */
.woocommerce div.product {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.woocommerce div.product div.images {
  margin-bottom: 30px;
}

.woocommerce div.product div.images img {
  width: 100%;
  border-radius: 8px;
}

.woocommerce div.product .summary {
  margin-bottom: 30px;
}

.woocommerce div.product .product_title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 15px;
}

.woocommerce div.product p.price {
  font-size: 28px;
  font-weight: 700;
  color: #e74c3c;
  margin: 20px 0;
}

.woocommerce div.product p.price del {
  color: #999;
  font-size: 20px;
  margin-right: 10px;
}

.woocommerce div.product p.price ins {
  text-decoration: none;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin: 20px 0;
}

.woocommerce div.product form.cart {
  margin: 30px 0;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
}

.woocommerce div.product form.cart .variations {
  margin-bottom: 20px;
}

.woocommerce div.product form.cart .variations label {
  font-weight: 600;
  color: #333;
  margin-right: 10px;
}

.woocommerce div.product form.cart .variations select {
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  min-width: 200px;
}

.woocommerce div.product form.cart .quantity {
  display: inline-block;
  margin-right: 15px;
}

.woocommerce div.product form.cart .quantity input {
  width: 80px;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  text-align: center;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
  padding: 15px 40px;
  background: #e74c3c;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.3s;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
  background: #c0392b;
}

.woocommerce div.product .product_meta {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 14px;
  color: #666;
}

.woocommerce div.product .product_meta span {
  display: block;
  margin-bottom: 8px;
}

.woocommerce div.product .product_meta .sku_wrapper,
.woocommerce div.product .product_meta .posted_in,
.woocommerce div.product .product_meta .tagged_as {
  color: #333;
}

.woocommerce div.product .product_meta a {
  color: #e74c3c;
}

/* Product Tabs */
.woocommerce div.product .woocommerce-tabs {
  margin-top: 40px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  border-bottom: 2px solid #eee;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 15px 30px;
  background: transparent;
  color: #666;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  border: none;
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
  color: #e74c3c;
  border-bottom-color: #e74c3c;
}

.woocommerce div.product .woocommerce-tabs .panel {
  padding: 20px 0;
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}

/* Related Products */
.woocommerce div.product .related.products {
  margin-top: 60px;
}

.woocommerce div.product .related.products h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 30px;
  text-align: center;
}

/* Cart Page */
.woocommerce-cart .woocommerce {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.woocommerce table.shop_table th {
  background: #f9f9f9;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  font-size: 13px;
}

.woocommerce table.shop_table td {
  font-size: 14px;
  color: #555;
}

.woocommerce table.shop_table .product-thumbnail img {
  width: 80px;
  border-radius: 4px;
}

.woocommerce table.shop_table .product-name a {
  color: #e74c3c;
  font-weight: 600;
}

.woocommerce table.shop_table .product-name a:hover {
  color: #c0392b;
}

.woocommerce table.shop_table .product-price .amount,
.woocommerce table.shop_table .product-total .amount {
  font-weight: 600;
  color: #16213e;
}

.woocommerce table.shop_table .product-quantity .quantity input {
  width: 70px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
}

.woocommerce table.shop_table .product-remove a {
  color: #e74c3c;
  font-size: 18px;
}

.woocommerce .cart-collaterals {
  margin-top: 40px;
}

.woocommerce .cart-collaterals .cart_totals {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
}

.woocommerce .cart-collaterals .cart_totals h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 20px;
}

.woocommerce .cart-collaterals .cart_totals table {
  width: 100%;
  margin-bottom: 20px;
}

.woocommerce .cart-collaterals .cart_totals th,
.woocommerce .cart-collaterals .cart_totals td {
  padding: 12px 0;
  border-bottom: 1px solid #ddd;
}

.woocommerce .cart-collaterals .cart_totals th {
  font-weight: 600;
  color: #333;
}

.woocommerce .cart-collaterals .cart_totals td {
  text-align: right;
  font-weight: 600;
  color: #16213e;
}

.woocommerce .cart-collaterals .cart_totals .order-total th,
.woocommerce .cart-collaterals .cart_totals .order-total td {
  font-size: 18px;
  border-bottom: none;
  padding-top: 20px;
}

.woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout a {
  display: block;
  padding: 15px 30px;
  background: #e74c3c;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  transition: background 0.3s;
}

.woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout a:hover {
  background: #c0392b;
}

.woocommerce .cart-collaterals .cart_totals .button {
  display: inline-block;
  padding: 12px 25px;
  background: #16213e;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}

.woocommerce .cart-collaterals .cart_totals .button:hover {
  background: #1a1a2e;
}

/* Checkout Page */
.woocommerce-checkout .woocommerce {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
  padding: 25px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin: 20px 0;
}

.woocommerce form .form-row {
  margin-bottom: 20px;
}

.woocommerce form .form-row label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.woocommerce form .form-row input,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.woocommerce form .form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.woocommerce #order_review_heading {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 30px 0 20px 0;
}

.woocommerce #order_review {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
}

.woocommerce #place_order {
  width: 100%;
  padding: 18px 30px;
  background: #e74c3c;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 20px;
}

.woocommerce #place_order:hover {
  background: #c0392b;
}

/* My Account Page */
.woocommerce-account .woocommerce {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  margin-bottom: 10px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 12px 20px;
  background: #fff;
  color: #333;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  background: #e74c3c;
  color: #fff;
}

.woocommerce-account .woocommerce-MyAccount-content {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}

.woocommerce-account .woocommerce-MyAccount-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 20px;
}

/* Messages & Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews {
  padding: 15px 20px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 14px;
}

.woocommerce-message {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.woocommerce-info {
  background: #d1ecf1;
  border: 1px solid #bee5eb;
  color: #0c5460;
}

.woocommerce-error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

/* Responsive WooCommerce */
@media (max-width: 991px) {
  .woocommerce .product-box {
    flex: 0 0 calc(33.333% - 14px);
  }
  
  .woocommerce table.shop_table {
    font-size: 13px;
  }
  
  .woocommerce table.shop_table th,
  .woocommerce table.shop_table td {
    padding: 10px;
  }
}

@media (max-width: 767px) {
  .woocommerce .product-box {
    flex: 0 0 calc(50% - 10px);
  }
  
  .woocommerce div.product .product_title {
    font-size: 24px;
  }
  
  .woocommerce div.product p.price {
    font-size: 22px;
  }
  
  .woocommerce div.product form.cart .single_add_to_cart_button {
    width: 100%;
    padding: 15px;
  }
  
  .woocommerce table.shop_table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 480px) {
  .woocommerce .product-box {
    flex: 0 0 100%;
  }
}
