/*
Theme Name: Alan Adı Satış Teması
Theme URI: https://example.com/alan-adi-satis
Author: Ozdal
Author URI: https://example.com
Description: WooCommerce tabanlı, minimalist, Tailwind CSS destekli alan adı satış teması.
Version: 1.0.1
Text Domain: ozdal-domains
*/

/* WordPress Core Alignments */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Custom Utilities - Converted from Tailwind for CDN compatibility */
.woocommerce-input {
    border: 1px solid #d1d5db;
    /* gray-300 */
    border-radius: 0.5rem;
    /* rounded-lg */
    padding: 0.5rem;
    /* p-2 */
    width: 100%;
    /* w-full */
    outline: none;
}

.woocommerce-input:focus {
    box-shadow: 0 0 0 2px #ff6600;
    /* ring-2 orange-500 */
}

/* Pagination Styles */
ul.page-numbers {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.page-numbers li {
    display: inline-block;
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    /* 10 */
    height: 2.5rem;
    /* 10 */
    border-radius: 9999px;
    /* rounded-full */
    border: 1px solid #e5e7eb;
    /* gray-200 */
    background-color: white;
    color: #4b5563;
    /* gray-600 */
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.page-numbers.current {
    background-color: #ff6600;
    /* brand-orange */
    color: white;
    border-color: #ff6600;
}

.page-numbers:hover:not(.current) {
    background-color: #f3f4f6;
    /* gray-100 */
    color: #ff6600;
}

.page-numbers.dots {
    border: none;
    background: transparent;
    cursor: default;
}

/* Global WooCommerce Form Overrides */
.woocommerce-input-wrapper {
    width: 100%;
}

.woocommerce .input-text,
.woocommerce input[type="text"],
.woocommerce input[type="password"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce textarea,
.woocommerce select {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    background-color: white;
    font-size: 0.95rem;
    line-height: 1.5;
    outline: none;
    transition: border-color 0.2s, ring 0.2s;
}

.woocommerce .input-text:focus,
.woocommerce input:focus,
.woocommerce textarea:focus,
.woocommerce select:focus {
    border-color: #ff6600;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.woocommerce form .form-row {
    padding: 0;
    margin-bottom: 1rem;
}

.woocommerce .button {
    background-color: #333 !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 0.5rem !important;
    font-weight: bold !important;
    transition: background-color 0.2s !important;
}

.woocommerce .button:hover {
    background-color: #000 !important;
}

.woocommerce .button.alt {
    background-color: #ff6600 !important;
}

.woocommerce .button.alt:hover {
    background-color: #cc5200 !important;
}