/* WooCommerce Custom Styles for Cosmo Sports Theme */

/* ============================================
   Basic WooCommerce Reset and Override
   ============================================ */

/* Remove default WooCommerce styles */
.woocommerce-page .woocommerce,
.woocommerce-page .woocommerce-page,
.woocommerce .woocommerce {
    background: transparent !important;
}
.woocommerce-message {
    padding-bottom: 20px;
}
/* Ensure WooCommerce elements are visible */
.woocommerce div.product,
.woocommerce .woocommerce-product-gallery,
.woocommerce .summary {
    background: white !important;
    padding: 20px !important;
    border-radius: 8px !important;
    border: 1px solid #ddd !important;
    margin: 10px 0 !important;
}

/* Basic product layout */
.woocommerce div.product {
    display: flex !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
}

.woocommerce div.product .images {
    flex: 1 !important;
    min-width: 300px !important;
}

.woocommerce div.product .summary {
    flex: 1 !important;
    min-width: 300px !important;
}

/* Product images - Square aspect ratio */
.woocommerce div.product .images {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
}

.woocommerce div.product .images img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Product text */
.woocommerce div.product .summary * {
    color: #333 !important;
}

.woocommerce div.product .summary h1,
.woocommerce div.product .summary h2,
.woocommerce div.product .summary h3 {
    color: #000 !important;
    font-weight: bold !important;
}

/* ============================================
   Product Description Section
   ============================================ */

/* Product description styling */
.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce div.product .product_meta,
.woocommerce div.product .woocommerce-tabs {
    background: white !important;
    padding: 20px !important;
    border-radius: 8px !important;
    border: 1px solid #ddd !important;
    margin: 20px 0 !important;
}

/* Product description text */
.woocommerce div.product .woocommerce-product-details__short-description p,
.woocommerce div.product .woocommerce-product-details__short-description {
    color: #333 !important;
    line-height: 1.6 !important;
    font-size: 16px !important;
    margin-bottom: 15px !important;
}

/* Product tabs styling */
.woocommerce div.product .woocommerce-tabs {
    margin-top: 30px !important;
}

.woocommerce div.product .woocommerce-tabs .tabs {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 2px solid #F2BC0C !important;
    display: flex !important;
}

.woocommerce div.product .woocommerce-tabs .tabs li {
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce div.product .woocommerce-tabs .tabs li a {
    display: block !important;
    padding: 15px 20px !important;
    background: #f8f9fa !important;
    color: #333 !important;
    text-decoration: none !important;
    border: 1px solid #ddd !important;
    border-bottom: none !important;
    margin-right: 5px !important;
    border-radius: 4px 4px 0 0 !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.woocommerce div.product .woocommerce-tabs .tabs li.active a,
.woocommerce div.product .woocommerce-tabs .tabs li a:hover {
    background: #F2BC0C !important;
    color: #000 !important;
    border-color: #F2BC0C !important;
}

/* Tab content */
.woocommerce div.product .woocommerce-Tabs-panel {
    padding: 20px 0 !important;
    color: #333 !important;
    line-height: 1.6 !important;
}

.woocommerce div.product .woocommerce-Tabs-panel h2 {
    color: #000 !important;
    font-size: 24px !important;
    margin-bottom: 15px !important;
    font-weight: bold !important;
}

.woocommerce div.product .woocommerce-Tabs-panel p {
    margin-bottom: 15px !important;
    color: #333 !important;
}

/* Product meta information */
.woocommerce div.product .product_meta {
    border-top: 1px solid #eee !important;
    padding-top: 20px !important;
    margin-top: 20px !important;
}

.woocommerce div.product .product_meta span {
    display: block !important;
    margin-bottom: 10px !important;
    color: #333 !important;
}

.woocommerce div.product .product_meta span strong {
    color: #000 !important;
    font-weight: bold !important;
}

/* Product attributes table */
.woocommerce div.product .woocommerce-product-attributes {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 15px 0 !important;
}

.woocommerce div.product .woocommerce-product-attributes th,
.woocommerce div.product .woocommerce-product-attributes td {
    padding: 10px !important;
    border: 1px solid #ddd !important;
    text-align: left !important;
}

.woocommerce div.product .woocommerce-product-attributes th {
    background: #f8f9fa !important;
    font-weight: bold !important;
    color: #000 !important;
    width: 30% !important;
}

.woocommerce div.product .woocommerce-product-attributes td {
    color: #333 !important;
}

/* ============================================
   Additional Product Display Improvements
   ============================================ */

/* Product title styling */
.woocommerce div.product .product_title {
    color: #000 !important;
    font-size: 28px !important;
    font-weight: bold !important;
    margin-bottom: 20px !important;
    line-height: 1.2 !important;
}

/* Product price styling */
.woocommerce div.product .price {
    color: #000 !important;
    font-size: 24px !important;
    font-weight: bold !important;
    margin-bottom: 20px !important;
}

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

.woocommerce div.product .price ins {
    color: #e74c3c !important;
    text-decoration: none !important;
}

/* Stock status */
.woocommerce div.product .stock {
    color: #28a745 !important;
    font-weight: bold !important;
    margin-bottom: 15px !important;
}

.woocommerce div.product .stock.out-of-stock {
    color: #e74c3c !important;
}

/* Quantity input styling */
.woocommerce div.product .quantity input[type="number"] {
    width: 80px !important;
    padding: 8px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    text-align: center !important;
    font-size: 16px !important;
}

/* Product rating */
.woocommerce div.product .woocommerce-product-rating {
    margin-bottom: 15px !important;
}

.woocommerce div.product .star-rating {
    color: #F2BC0C !important;
}

/* Product sharing */
.woocommerce div.product .product_meta {
    background: #f8f9fa !important;
    padding: 15px !important;
    border-radius: 4px !important;
    margin-top: 20px !important;
}

/* Related products */
.woocommerce .related {
    margin-top: 40px !important;
}

.woocommerce .related h2 {
    color: #000 !important;
    font-size: 24px !important;
    font-weight: bold !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}

/* Upsell products */
.woocommerce .upsells {
    margin-top: 40px !important;
}

.woocommerce .upsells h2 {
    color: #000 !important;
    font-size: 24px !important;
    font-weight: bold !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}

/* ============================================
   Cart Page Specific Styling
   ============================================ */

/* Cart table styling */
.woocommerce table.cart {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 30px !important;
}

.woocommerce table.cart th,
.woocommerce table.cart td {
    padding: 15px !important;
    border: 1px solid #ddd !important;
    text-align: left !important;
}

.woocommerce table.cart th {
    background: #f8f9fa !important;
    font-weight: bold !important;
    color: #000 !important;
}

.woocommerce table.cart td {
    color: #333 !important;
}

/* Cart totals styling */
.woocommerce .cart-collaterals {
    background: white !important;
    padding: 30px !important;
    border-radius: 8px !important;
    border: 1px solid #ddd !important;
    margin-top: 30px !important;
}

.woocommerce .cart_totals h2 {
    color: #000 !important;
    font-size: 24px !important;
    font-weight: bold !important;
    margin-bottom: 20px !important;
}

.woocommerce .cart_totals table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 20px !important;
}

.woocommerce .cart_totals table th,
.woocommerce .cart_totals table td {
    padding: 10px !important;
    border: 1px solid #eee !important;
    text-align: left !important;
}

.woocommerce .cart_totals table th {
    background: #f8f9fa !important;
    font-weight: bold !important;
    color: #000 !important;
    width: 30% !important;
}

.woocommerce .cart_totals table td {
    color: #333 !important;
    font-weight: bold !important;
}

/* Cart actions styling */
.woocommerce .cart-actions {
    text-align: center !important;
    margin-top: 20px !important;
}

.woocommerce .cart-actions .button {
    margin: 0 5px !important;
}

/* Coupon form styling */
.woocommerce .coupon {
    background: #f8f9fa !important;
    padding: 20px !important;
    border-radius: 8px !important;
    border: 1px solid #ddd !important;
    margin-bottom: 20px !important;
}

.woocommerce .coupon label {
    display: block !important;
    margin-bottom: 5px !important;
    font-weight: bold !important;
    color: #000 !important;
}

.woocommerce .coupon input[type="text"] {
    width: 200px !important;
    padding: 8px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    margin-right: 10px !important;
}

/* Product image in cart */
.woocommerce table.cart img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
    border-radius: 4px !important;
}

/* Quantity input in cart */
.woocommerce table.cart .quantity input[type="number"] {
    width: 60px !important;
    padding: 5px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    text-align: center !important;
}

/* ============================================
   Button Styling - Theme Colors
   ============================================ */

/* Add to cart button - Match theme colors */
.woocommerce div.product .single_add_to_cart_button,
.woocommerce .single_add_to_cart_button {
    background: #F2BC0C !important;
    color: #000 !important;
    padding: 12px 24px !important;
    border: 1px solid #F2BC0C !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.woocommerce div.product .single_add_to_cart_button:hover,
.woocommerce .single_add_to_cart_button:hover {
    background: #fff !important;
    color: #F2BC0C !important;
    border-color: #F2BC0C !important;
    text-decoration: none !important;
}

/* Checkout button */
.woocommerce .checkout-button,
.woocommerce .wc-proceed-to-checkout .checkout-button,
.woocommerce .cart-actions .checkout-button,
.woocommerce .cart-actions a.checkout-button {
    background: #F2BC0C !important;
    color: #000 !important;
    padding: 15px 30px !important;
    border: 1px solid #F2BC0C !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.woocommerce .checkout-button:hover,
.woocommerce .wc-proceed-to-checkout .checkout-button:hover,
.woocommerce .cart-actions .checkout-button:hover,
.woocommerce .cart-actions a.checkout-button:hover {
    background: #fff !important;
    color: #F2BC0C !important;
    border-color: #F2BC0C !important;
    text-decoration: none !important;
}

/* Place order button */
.woocommerce-checkout #place_order {
    background: #F2BC0C !important;
    color: #000 !important;
    padding: 15px 30px !important;
    border: 1px solid #F2BC0C !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
}

.woocommerce-checkout #place_order:hover {
    background: #fff !important;
    color: #F2BC0C !important;
    border-color: #F2BC0C !important;
}

/* General WooCommerce buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: #F2BC0C !important;
    color: #000 !important;
    padding: 10px 20px !important;
    border: 1px solid #F2BC0C !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: #fff !important;
    color: #F2BC0C !important;
    border-color: #F2BC0C !important;
    text-decoration: none !important;
}

/* Update cart button */
.woocommerce .button[name="update_cart"] {
    background: #F2BC0C !important;
    color: #000 !important;
    padding: 12px 30px !important;
    border: 1px solid #F2BC0C !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.woocommerce .button[name="update_cart"]:hover {
    background: #fff !important;
    color: #F2BC0C !important;
    border-color: #F2BC0C !important;
}

/* Apply coupon button */
.woocommerce .button[name="apply_coupon"] {
    background: #F2BC0C !important;
    color: #000 !important;
    padding: 8px 15px !important;
    border: 1px solid #F2BC0C !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.woocommerce .button[name="apply_coupon"]:hover {
    background: #fff !important;
    color: #F2BC0C !important;
    border-color: #F2BC0C !important;
}

/* ============================================
   Product Archive/Shop Page Styles
   ============================================ */

/* Hide default WooCommerce shop title */
.woocommerce-products-header {
    display: none;
}

/* Product loop container - match existing threeFlexBox class */
.woocommerce ul.products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Individual product item - match existing shop__item class */
.woocommerce ul.products li.product {
    width: calc(33.333% - 14px);
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    position: relative;
}

/* Simple product display */
.woocommerce ul.products li.product {
    opacity: 1;
}

/* Product card styling to match existing design */
.woocommerce ul.products li.product .shop-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: white;
    border-radius: 0;
    overflow: hidden;
}

.woocommerce ul.products li.product .shop-card:hover {
    text-decoration: none;
    color: inherit;
}

/* Product image container */
.woocommerce ul.products li.product .shop-card__img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.woocommerce ul.products li.product .shop-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.woocommerce ul.products li.product .shop-card:hover .shop-card__img img {
}

/* Product content area with light yellow background - match existing design */
.woocommerce ul.products li.product .shop-card__content {
    background: #fef9e7;
    padding: 20px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 0;
}

/* Product title */
.woocommerce ul.products li.product .shop-card__title {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin: 0 0 10px 0;
    text-align: center;
    line-height: 1.4;
}

/* Product description */
.woocommerce ul.products li.product .shop-card__text {
    font-size: 14px;
    color: #000;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Price styling - match existing design */
.woocommerce ul.products li.product .shop-card__price {
    text-align: center;
}

.woocommerce ul.products li.product .shop-card__price .price {
    font-size: 16px;
    color: #000;
    font-weight: normal;
}

.woocommerce ul.products li.product .shop-card__price .price .woocommerce-Price-amount {
    font-size: 20px;
    font-weight: bold;
}

/* Custom price format to match existing design */
.woocommerce ul.products li.product .shop-card__price-text {
    font-size: 16px;
    color: #000;
    text-align: center;
    margin: 0;
}

.woocommerce ul.products li.product .shop-card__price-text span {
    font-size: 20px;
    font-weight: bold;
}

/* Sale badge */
.woocommerce ul.products li.product .onsale {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}

/* ============================================
   Single Product Page Styles
   ============================================ */

/* Single product container - match existing shop-single layout */
.woocommerce div.product {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

/* Use existing shop-single container styling */
.shop-single__container .woocommerce div.product {
    display: flex;
    gap: 40px;
    margin-top: 0;
}

/* Product images - match existing shop-single__img with square aspect ratio */
.woocommerce div.product div.images {
    flex: 1;
    max-width: 500px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    aspect-ratio: 1;
    overflow: hidden;
}

/* Ensure images are visible and square */
.woocommerce div.product div.images img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image {
    border-radius: 8px;
    overflow: hidden;
}

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

/* Match existing shop-single__img class */
.woocommerce div.product .shop-single__img {
    flex: 1;
    max-width: 500px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.woocommerce div.product .shop-single__img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Product summary - match existing shop-single__contents */
.woocommerce div.product div.summary {
    flex: 1;
    padding-left: 20px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* Ensure text is visible */
.woocommerce div.product div.summary * {
    color: #333 !important;
}

.woocommerce div.product div.summary h1,
.woocommerce div.product div.summary h2,
.woocommerce div.product div.summary h3 {
    color: #000 !important;
}

/* Product title - match existing shop-single__title */
.woocommerce div.product div.summary .product_title {
    font-size: 28px;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.3;
}

/* Match existing shop-single__head and shop-single__title */
.woocommerce div.product .shop-single__head {
    margin-bottom: 20px;
}

.woocommerce div.product .shop-single__title {
    font-size: 28px;
    font-weight: bold;
    color: #000;
    margin: 0;
    line-height: 1.3;
}

/* Price styling - match existing shop-single__price */
.woocommerce div.product div.summary .price {
    font-size: 24px;
    color: #000;
    margin-bottom: 20px;
}

.woocommerce div.product div.summary .price .woocommerce-Price-amount {
    font-size: 28px;
    font-weight: bold;
}

/* Match existing shop-single__price styling */
.woocommerce div.product .shop-single__price {
    margin-bottom: 20px;
}

.woocommerce div.product .shop-single__price-text {
    font-size: 24px;
    color: #000;
    margin: 0;
}

.woocommerce div.product .shop-single__price-text span {
    font-size: 28px;
    font-weight: bold;
}

/* Product description - match existing shop-single__content */
.woocommerce div.product div.summary .woocommerce-product-details__short-description {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 30px;
}

/* Match existing shop-single__content styling */
.woocommerce div.product .shop-single__content {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 30px;
}

/* Add to cart form */
.woocommerce div.product form.cart {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

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

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

/* Add to cart button */
.woocommerce div.product form.cart .single_add_to_cart_button {
    background: #F2BC0C;
    color: #000;
    padding: 12px 30px;
    border: 1px solid #F2BC0C;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
    background: #fff;
    color: #F2BC0C;
    border-color: #F2BC0C;
}

/* ============================================
   Cart Page Styles
   ============================================ */

/* Cart table */
.woocommerce table.shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.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: #f8f9fa;
    font-weight: bold;
    color: #333;
}

.woocommerce table.shop_table .product-thumbnail img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.woocommerce table.shop_table .product-remove a {
    color: #e74c3c;
    font-size: 20px;
    text-decoration: none;
}

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

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

/* Cart totals */
.woocommerce .cart-collaterals {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

.woocommerce .cart_totals {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #ddd;
    min-width: 300px;
}

.woocommerce .cart_totals h2 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.woocommerce .cart_totals table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce .cart_totals table th,
.woocommerce .cart_totals table td {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.woocommerce .cart_totals table .order-total {
    font-weight: bold;
    font-size: 18px;
}

/* Checkout button - Match theme colors */
.woocommerce .wc-proceed-to-checkout a.checkout-button {
    background: #F2BC0C;
    color: #000;
    padding: 15px 30px;
    border: 1px solid #F2BC0C;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
    background: #fff;
    color: #F2BC0C;
    border-color: #F2BC0C;
    text-decoration: none;
}

/* ============================================
   Checkout Page Styles
   ============================================ */

/* Checkout form */
.woocommerce-checkout .col2-set {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.woocommerce-checkout h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
}

/* Form fields */
.woocommerce-checkout .form-row {
    margin-bottom: 20px;
}

.woocommerce-checkout .form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

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

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
    outline: none;
    border-color: #007cba;
    border: 2px solid #007cba;
}

/* Order review */
.woocommerce-checkout #order_review {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.woocommerce-checkout #order_review h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
}

.woocommerce-checkout #order_review .shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

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

.woocommerce-checkout #order_review .shop_table th {
    background: #f8f9fa;
    font-weight: bold;
    color: #333;
}

/* Place order button */
.woocommerce-checkout #place_order {
    background: #F2BC0C;
    color: #000;
    padding: 15px 40px;
    border: 1px solid #F2BC0C;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.woocommerce-checkout #place_order:hover {
    background: #fff;
    color: #F2BC0C;
    border-color: #F2BC0C;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    /* Product grid responsive */
    .woocommerce ul.products li.product {
        width: calc(50% - 10px);
    }
    
    /* Single product responsive */
    .woocommerce div.product {
        flex-direction: column;
        gap: 20px;
    }
    
    .woocommerce div.product div.summary {
        padding-left: 0;
    }
    
    /* Checkout responsive */
    .woocommerce-checkout .col2-set {
        flex-direction: column;
        gap: 20px;
    }
    
    /* Cart responsive */
    .woocommerce .cart-collaterals {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Product grid mobile */
    .woocommerce ul.products li.product {
        width: 100%;
    }
    
    /* Hide some table columns on mobile */
    .woocommerce table.shop_table .product-thumbnail,
    .woocommerce table.shop_table .product-remove {
        display: none;
    }
}

/* ============================================
   Integration with Existing Theme Styles
   ============================================ */

/* Match existing layout classes */
.woocommerce .layout-small-section {
    padding: 60px 0;
}

.woocommerce .inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Match existing section styling */
.woocommerce .shop,
.woocommerce .checkout-section,
.woocommerce .cart-section {
    background: #f8f9fa;
}

/* Match existing measure class for payment methods */
.woocommerce .measure {
    background: #fef9e7;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.woocommerce .measure__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.woocommerce .measure__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.woocommerce .measure__left,
.woocommerce .measure__right {
    margin: 0;
    font-size: 14px;
    color: #333;
}

/* Match existing shop__title styling */
.woocommerce .shop__title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #000;
}

/* Match existing shop__inner styling */
.woocommerce .shop__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Match existing shop__content styling */
.woocommerce .shop__content {
    margin-bottom: 40px;
}

/* ============================================
   Utility Classes
   ============================================ */

/* Hide default WooCommerce elements */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    display: none;
}

/* Custom button styles - Match theme colors */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: #F2BC0C;
    color: #000;
    padding: 12px 24px;
    border: 1px solid #F2BC0C;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: #fff;
    color: #F2BC0C;
    border-color: #F2BC0C;
    text-decoration: none;
}

/* Loading states */
.woocommerce .blockUI.blockOverlay {
    background: rgba(255,255,255,0.8) !important;
}

.woocommerce .blockUI.blockMsg {
    background: #007cba !important;
    color: white !important;
    border-radius: 4px !important;
}

/* ============================================
   Product Tabs Styling
   ============================================ */

.woocommerce-tabs {
    margin-top: 40px;
    background: white;
    border-radius: 8px;
    border: 1px solid #ddd;
    overflow: hidden;
}

.woocommerce-tabs .wc-tabs {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.woocommerce-tabs .wc-tabs li {
    flex: 1;
    margin: 0;
}

.woocommerce-tabs .wc-tabs li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    border-bottom: 3px solid transparent;
}

.woocommerce-tabs .wc-tabs li.active a,
.woocommerce-tabs .wc-tabs li a:hover {
    color: #007cba;
    border-bottom-color: #007cba;
    background: white;
}

.woocommerce-tabs .panel {
    padding: 30px;
    display: none;
    background: white;
}

.woocommerce-tabs .panel.active {
    display: block;
}

.woocommerce-tabs .panel h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
}

.woocommerce-tabs .panel p {
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

/* ============================================
   Product Reviews Styling
   ============================================ */

.woocommerce-Reviews {
    margin-top: 30px;
}

.woocommerce-Reviews-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
}

.woocommerce-Reviews .commentlist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-Reviews .commentlist li {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.woocommerce-Reviews .commentlist li:last-child {
    border-bottom: none;
}

.woocommerce-Reviews .comment-meta {
    margin-bottom: 10px;
}

.woocommerce-Reviews .comment-author {
    font-weight: bold;
    color: #333;
}

.woocommerce-Reviews .comment-date {
    color: #666;
    font-size: 14px;
}

.woocommerce-Reviews .comment-text {
    line-height: 1.6;
    color: #555;
}

/* Review form styling */
.woocommerce-Reviews #review_form {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.woocommerce-Reviews .comment-form-rating {
    margin-bottom: 20px;
}

.woocommerce-Reviews .comment-form-rating label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.woocommerce-Reviews .comment-form-rating select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.woocommerce-Reviews .comment-form-comment label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.woocommerce-Reviews .comment-form-comment textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    min-height: 120px;
}

.woocommerce-Reviews .comment-form-author,
.woocommerce-Reviews .comment-form-email {
    display: inline-block;
    width: 48%;
    margin-right: 4%;
}

.woocommerce-Reviews .comment-form-email {
    margin-right: 0;
}

.woocommerce-Reviews .comment-form-author label,
.woocommerce-Reviews .comment-form-email label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.woocommerce-Reviews .comment-form-author input,
.woocommerce-Reviews .comment-form-email input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.woocommerce-Reviews .form-submit {
    margin-top: 20px;
}

.woocommerce-Reviews .form-submit input {
    background: #007cba;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.woocommerce-Reviews .form-submit input:hover {
    background: #005a87;
}

/* ============================================
   Product Attributes Styling
   ============================================ */

.woocommerce-product-attributes {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

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

.woocommerce-product-attributes th {
    background: #f8f9fa;
    font-weight: bold;
    color: #333;
    width: 30%;
}

.woocommerce-product-attributes td {
    color: #555;
}

.woocommerce-product-attributes tr:last-child th,
.woocommerce-product-attributes tr:last-child td {
    border-bottom: none;
}

/* ============================================
   Product Gallery Styling
   ============================================ */

.woocommerce-product-gallery {
    position: relative;
    margin-bottom: 20px;
}

.woocommerce-product-gallery__wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.woocommerce-product-gallery__image {
    position: relative;
    display: block;
}

.woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.woocommerce-product-gallery__image:hover img {
}

.woocommerce-product-gallery__image--placeholder {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
}

.woocommerce-product-gallery__image--placeholder img {
    max-width: 200px;
    height: auto;
    opacity: 0.5;
}

/* Gallery thumbnails */
.woocommerce-product-gallery__thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.woocommerce-product-gallery__thumbnail {
    flex: 0 0 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
}

.woocommerce-product-gallery__thumbnail:hover,
.woocommerce-product-gallery__thumbnail.active {
    border-color: #007cba;
}

.woocommerce-product-gallery__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   Product Rating Styling
   ============================================ */

.woocommerce-product-rating {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.woocommerce-product-rating .star-rating {
    color: #ffc107;
    font-size: 16px;
}

.woocommerce-product-rating .star-rating span {
    color: #ffc107;
}

.woocommerce-product-rating .woocommerce-review-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.woocommerce-product-rating .woocommerce-review-link:hover {
    color: #007cba;
    text-decoration: underline;
}

/* Star rating styling */
.star-rating {
    overflow: hidden;
    position: relative;
    height: 1em;
    line-height: 1;
    font-size: 1em;
    width: 5.4em;
    font-family: star;
}

.star-rating::before {
    content: "\73\73\73\73\73";
    color: #d3ced2;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
}

.star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
}

.star-rating span::before {
    content: "\53\53\53\53\53";
    top: 0;
    position: absolute;
    left: 0;
    color: #ffc107;
}

/* ============================================
   Product Meta Styling
   ============================================ */

.product_meta {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.product_meta span {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.product_meta span:last-child {
    margin-bottom: 0;
}

.product_meta .sku_wrapper,
.product_meta .posted_in,
.product_meta .tagged_as {
    font-weight: 500;
    color: #333;
}

.product_meta .sku,
.product_meta a {
    color: #007cba;
    text-decoration: none;
}

.product_meta a:hover {
    text-decoration: underline;
}

/* ============================================
   Product Sharing Styling
   ============================================ */

.woocommerce-product-share {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.woocommerce-product-share h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.woocommerce-product-share .share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.woocommerce-product-share .share-buttons a {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.woocommerce-product-share .share-buttons a:hover {
    border: 1px solid #ccc;
}

.woocommerce-product-share .share-facebook {
    background: #3b5998;
    color: white;
}

.woocommerce-product-share .share-twitter {
    background: #1da1f2;
    color: white;
}

.woocommerce-product-share .share-pinterest {
    background: #bd081c;
    color: white;
}

.woocommerce-product-share .share-email {
    background: #666;
    color: white;
}

/* ============================================
   Related Products and Upsells Styling
   ============================================ */

.related.products,
.up-sells.upsells.products {
    margin-top: 60px;
    background: white;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.related.products h2,
.up-sells.upsells.products h2 {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #000;
    border-bottom: 2px solid #007cba;
    padding-bottom: 15px;
}

.related.products ul.products,
.up-sells.upsells.products ul.products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.related.products ul.products li.product,
.up-sells.upsells.products ul.products li.product {
    width: calc(33.333% - 14px);
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    position: relative;
}

.related.products ul.products li.product .shop-card,
.up-sells.upsells.products ul.products li.product .shop-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: white;
    border-radius: 0;
    overflow: hidden;
}

.related.products ul.products li.product .shop-card:hover,
.up-sells.upsells.products ul.products li.product .shop-card:hover {
    text-decoration: none;
    color: inherit;
}

.related.products ul.products li.product .shop-card__img,
.up-sells.upsells.products ul.products li.product .shop-card__img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.related.products ul.products li.product .shop-card__img img,
.up-sells.upsells.products ul.products li.product .shop-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related.products ul.products li.product .shop-card:hover .shop-card__img img,
.up-sells.upsells.products ul.products li.product .shop-card:hover .shop-card__img img {
}

.related.products ul.products li.product .shop-card__content,
.up-sells.upsells.products ul.products li.product .shop-card__content {
    background: #fef9e7;
    padding: 20px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 0;
}

.related.products ul.products li.product .shop-card__title,
.up-sells.upsells.products ul.products li.product .shop-card__title {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin: 0 0 10px 0;
    text-align: center;
    line-height: 1.4;
}

.related.products ul.products li.product .shop-card__text,
.up-sells.upsells.products ul.products li.product .shop-card__text {
    font-size: 14px;
    color: #000;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related.products ul.products li.product .shop-card__price,
.up-sells.upsells.products ul.products li.product .shop-card__price {
    text-align: center;
}

.related.products ul.products li.product .shop-card__price .price,
.up-sells.upsells.products ul.products li.product .shop-card__price .price {
    font-size: 16px;
    color: #000;
    font-weight: normal;
}

.related.products ul.products li.product .shop-card__price .price .woocommerce-Price-amount,
.up-sells.upsells.products ul.products li.product .shop-card__price .price .woocommerce-Price-amount {
    font-size: 20px;
    font-weight: bold;
}

/* ============================================
   Cross-Sells Styling
   ============================================ */

.cross-sells {
    margin-top: 60px;
    background: white;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.cross-sells h2 {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #000;
    border-bottom: 2px solid #007cba;
    padding-bottom: 15px;
}

.cross-sells ul.products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cross-sells ul.products li.product {
    width: calc(33.333% - 14px);
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    position: relative;
}

.cross-sells ul.products li.product .shop-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: white;
    border-radius: 0;
    overflow: hidden;
}

.cross-sells ul.products li.product .shop-card:hover {
    text-decoration: none;
    color: inherit;
}

.cross-sells ul.products li.product .shop-card__img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.cross-sells ul.products li.product .shop-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cross-sells ul.products li.product .shop-card:hover .shop-card__img img {
}

.cross-sells ul.products li.product .shop-card__content {
    background: #fef9e7;
    padding: 20px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 0;
}

.cross-sells ul.products li.product .shop-card__title {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin: 0 0 10px 0;
    text-align: center;
    line-height: 1.4;
}

.cross-sells ul.products li.product .shop-card__text {
    font-size: 14px;
    color: #000;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cross-sells ul.products li.product .shop-card__price {
    text-align: center;
}

.cross-sells ul.products li.product .shop-card__price .price {
    font-size: 16px;
    color: #000;
    font-weight: normal;
}

.cross-sells ul.products li.product .shop-card__price .price .woocommerce-Price-amount {
    font-size: 20px;
    font-weight: bold;
}

/* ============================================
   Pagination Styling
   ============================================ */

.woocommerce-pagination {
    margin-top: 40px;
    text-align: center;
}

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

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

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.woocommerce-pagination ul li a:hover {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

.woocommerce-pagination ul li .current {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

.woocommerce-pagination ul li .prev,
.woocommerce-pagination ul li .next {
    font-weight: bold;
}

.woocommerce-pagination ul li .prev:hover,
.woocommerce-pagination ul li .next:hover {
    background: #005a87;
    border-color: #005a87;
}

/* ============================================
   Ordering and Result Count Styling
   ============================================ */

.woocommerce-ordering {
    margin-bottom: 20px;
}

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

.woocommerce-ordering select:focus {
    outline: none;
    border-color: #007cba;
    border: 2px solid #007cba;
}

.woocommerce-result-count {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

/* ============================================
   Additional WooCommerce Elements
   ============================================ */

/* Product sale flash */
.woocommerce span.onsale {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}

/* Product out of stock */
.woocommerce ul.products li.product.outofstock .woocommerce-loop-product__link::after {
    content: '売り切れ';
    position: absolute;
    top: 50%;
    left: 50%;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    z-index: 3;
}

/* Product loading states */
.woocommerce .blockUI.blockOverlay {
    background: rgba(255,255,255,0.8) !important;
}

.woocommerce .blockUI.blockMsg {
    background: #007cba !important;
    color: white !important;
    border-radius: 4px !important;
    padding: 20px !important;
    font-size: 16px !important;
}

/* Product notices */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    border-left: 4px solid;
}

.woocommerce .woocommerce-message {
    background: #d4edda;
    border-left-color: #28a745;
    color: #155724;
}

.woocommerce .woocommerce-info {
    background: #d1ecf1;
    border-left-color: #17a2b8;
    color: #0c5460;
}

.woocommerce .woocommerce-error {
    background: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
}

/* ============================================
   No Products Found Styling
   ============================================ */

.woocommerce-no-products-found {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.woocommerce-no-products-found .woocommerce-info {
    font-size: 18px;
    color: #666;
    margin: 0;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    border-left: 4px solid #007cba;
}

/* ============================================
   Final Responsive Adjustments
   ============================================ */

@media (max-width: 768px) {
    /* Product grid responsive */
    .woocommerce ul.products li.product,
    .related.products ul.products li.product,
    .up-sells.upsells.products ul.products li.product,
    .cross-sells ul.products li.product {
        width: calc(50% - 10px);
    }
    
    /* Single product responsive */
    .woocommerce div.product {
        flex-direction: column;
        gap: 20px;
    }
    
    .woocommerce div.product div.summary {
        padding-left: 0;
    }
    
    /* Checkout responsive */
    .woocommerce-checkout .col2-set {
        flex-direction: column;
        gap: 20px;
    }
    
    /* Cart responsive */
    .woocommerce .cart-collaterals {
        justify-content: center;
    }
    
    /* Tabs responsive */
    .woocommerce-tabs .wc-tabs {
        flex-direction: column;
    }
    
    .woocommerce-tabs .wc-tabs li {
        flex: none;
    }
    
    .woocommerce-tabs .wc-tabs li a {
        border-bottom: 1px solid #e9ecef;
        border-right: none;
    }
    
    .woocommerce-tabs .wc-tabs li.active a,
    .woocommerce-tabs .wc-tabs li a:hover {
        border-bottom-color: #e9ecef;
        border-right: 3px solid #007cba;
    }
}

@media (max-width: 480px) {
    /* Product grid mobile */
    .woocommerce ul.products li.product,
    .related.products ul.products li.product,
    .up-sells.upsells.products ul.products li.product,
    .cross-sells ul.products li.product {
        width: 100%;
    }
    
    /* Hide some table columns on mobile */
    .woocommerce table.shop_table .product-thumbnail,
    .woocommerce table.shop_table .product-remove {
        display: none;
    }
    
    /* Single product mobile */
    .woocommerce div.product {
        padding: 20px;
    }
    
    /* Cart mobile */
    .woocommerce .cart-collaterals {
        margin-top: 20px;
    }
    
    .woocommerce .cart_totals {
        min-width: auto;
        width: 100%;
    }
}

/* ============================================
   Breadcrumb Styling
   ============================================ */

.woocommerce-breadcrumb {
    padding: 15px 0;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.woocommerce-breadcrumb a {
    color: #007cba;
    text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
    text-decoration: underline;
}

.woocommerce-breadcrumb .delimiter {
    margin: 0 8px;
    color: #999;
}

/* ============================================
   Product Search Form Styling
   ============================================ */

.woocommerce-product-search {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.woocommerce-product-search .search-field {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.woocommerce-product-search .search-field:focus {
    outline: none;
    border-color: #007cba;
    border: 2px solid #007cba;
}

.woocommerce-product-search button {
    padding: 12px 20px;
    background: #007cba;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.woocommerce-product-search button:hover {
    background: #005a87;
}

/* Cart count styling for navigation */
.cart-count-nav,
.cart-count-mobile {
    color: #e74c3c !important;
    font-weight: bold !important;
    font-size: 12px !important;
}

.cart-count-nav {
    margin-left: 5px !important;
}

.cart-count-mobile {
    margin-left: 5px !important;
}
